mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 13:55:23 -05:00
func: add note about lack of 1P1C propagation in tree submitpackage
This commit is contained in:
parent
8424290304
commit
cf0cee1617
1 changed files with 2 additions and 0 deletions
|
@ -462,6 +462,8 @@ class EphemeralDustTest(BitcoinTestFramework):
|
|||
# Sweeps all dust, where all dusty txs are already in-mempool
|
||||
sweep_tx = self.wallet.create_self_transfer_multi(fee_per_output=25000, utxos_to_spend=all_parent_utxos, version=2)
|
||||
|
||||
# N.B. Since we have multiple parents these are not propagating via 1P1C relay.
|
||||
# minrelay being zero allows them to propagate on their own.
|
||||
res = self.nodes[0].submitpackage([dusty_tx["hex"] for dusty_tx in dusty_txs] + [sweep_tx["hex"]])
|
||||
assert_equal(res['package_msg'], "success")
|
||||
assert_mempool_contents(self, self.nodes[0], expected=[dusty_tx["tx"] for dusty_tx in dusty_txs] + [sweep_tx["tx"], cancel_sweep["tx"]])
|
||||
|
|
Loading…
Add table
Reference in a new issue