MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / test_rebumping_not_replaceable

Function test_rebumping_not_replaceable

test/functional/wallet_bumpfee.py:218–223  ·  view source on GitHub ↗
(rbf_node, dest_address)

Source from the content-addressed store, hash-verified

216
217
218def test_rebumping_not_replaceable(rbf_node, dest_address):
219 # check that re-bumping a non-replaceable bump tx fails
220 rbfid = spend_one_input(rbf_node, dest_address)
221 bumped = rbf_node.bumpfee(rbfid, {"totalFee": 10000, "replaceable": False})
222 assert_raises_rpc_error(-4, "Transaction is not BIP 125 replaceable", rbf_node.bumpfee, bumped["txid"],
223 {"totalFee": 20000})
224
225
226def test_unconfirmed_not_spendable(rbf_node, rbf_node_address):

Callers 1

run_testMethod · 0.85

Calls 2

assert_raises_rpc_errorFunction · 0.90
spend_one_inputFunction · 0.85

Tested by

no test coverage detected