sweep: make sweeper aware of unconfirmed parent transactions.
Extend the fee estimator to take into account parent transactions with their weights and fees. Do not try to cpfp parent transactions that have a higher fee rate than the sweep tx fee rate.
This commit is contained in:
13 files changed
+334
-30
No files matched your search
@@ -13,6 +13,7 @@ import (
|
||||
|
||||
var (
|
||||
defaultTestTimeout = 5 * time.Second
|
||||
processingDelay = 1 * time.Second
|
||||
mockChainHash, _ = chainhash.NewHashFromStr("00aabbccddeeff")
|
||||
mockChainHeight = int32(100)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user