chainfee: change min conf target to be 1

This commit changes the minBlockTarget used by the WebAPIEstimator to be
1, inline with the bitcoind's accepted min conf target.
This commit is contained in:
yyforyongyu committed 2021-06-29 20:25:46 +08:00
1 parent 5f0561fdbc
commit 1abc5f8b00
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ const (
// minBlockTarget is the lowest number of blocks confirmations that
// a WebAPIEstimator will cache fees for. Requesting an estimate for
// less than this will result in an error.
minBlockTarget uint32 = 2
minBlockTarget uint32 = 1
// minFeeUpdateTimeout represents the minimum interval in which a
// WebAPIEstimator will request fresh fees from its API.