mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-17 05:12:07 +01:00
Merge 6aff3477349e51180cf4f62784d07a4d4ce00603 into 5f4422d68dc3530c353af1f87499de1c864b60ad
This commit is contained in:
commit
e9ee594dfa
@ -184,7 +184,9 @@ class ChainstateWriteCrashTest(BitcoinTestFramework):
|
||||
assert_equal(nodei_utxo_hash, node3_utxo_hash)
|
||||
|
||||
def generate_small_transactions(self, node, count, utxo_list):
|
||||
FEE = 1000 # TODO: replace this with node relay fee based calculation
|
||||
relay_fee_btc = float(node.rpc.getmempoolinfo()["minrelaytxfee"])
|
||||
relay_fee_sat = int(relay_fee_btc * COIN)
|
||||
FEE = relay_fee_sat
|
||||
num_transactions = 0
|
||||
random.shuffle(utxo_list)
|
||||
while len(utxo_list) >= 2 and num_transactions < count:
|
||||
|
Loading…
x
Reference in New Issue
Block a user