Commit 5978c85
committed
Only enforce successful fee rate cache updates on mainnet
This behavior mirrors what we do in the Esplora case: we only enforce
successful fee rate updates on mainnet. On regtest/signet/testnet we
will just skip (i.e. return `Ok(())`) if we fail to retrieve the updates
(e.g., when bitcoind's `estimatesmartfee` isn't sufficiently populated)
and will either keep previously-retrieved values or worst case fallback
to the fallback defaults.1 parent 0814b13 commit 5978c85
1 file changed
+23
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
841 | 841 | | |
842 | 842 | | |
843 | 843 | | |
| 844 | + | |
844 | 845 | | |
845 | 846 | | |
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
850 | 851 | | |
851 | | - | |
| 852 | + | |
852 | 853 | | |
853 | 854 | | |
854 | 855 | | |
855 | 856 | | |
856 | 857 | | |
857 | 858 | | |
858 | 859 | | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
| 860 | + | |
| 861 | + | |
864 | 862 | | |
865 | 863 | | |
866 | 864 | | |
867 | 865 | | |
868 | 866 | | |
869 | 867 | | |
870 | 868 | | |
871 | | - | |
| 869 | + | |
872 | 870 | | |
873 | 871 | | |
874 | 872 | | |
| |||
903 | 901 | | |
904 | 902 | | |
905 | 903 | | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
906 | 922 | | |
907 | 923 | | |
908 | 924 | | |
| |||
0 commit comments