Skip to content

Commit cf0cee1

Browse files
committed
func: add note about lack of 1P1C propagation in tree submitpackage
1 parent 8424290 commit cf0cee1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/functional/mempool_ephemeral_dust.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ def test_no_minrelay_fee(self):
462462
# Sweeps all dust, where all dusty txs are already in-mempool
463463
sweep_tx = self.wallet.create_self_transfer_multi(fee_per_output=25000, utxos_to_spend=all_parent_utxos, version=2)
464464

465+
# N.B. Since we have multiple parents these are not propagating via 1P1C relay.
466+
# minrelay being zero allows them to propagate on their own.
465467
res = self.nodes[0].submitpackage([dusty_tx["hex"] for dusty_tx in dusty_txs] + [sweep_tx["hex"]])
466468
assert_equal(res['package_msg'], "success")
467469
assert_mempool_contents(self, self.nodes[0], expected=[dusty_tx["tx"] for dusty_tx in dusty_txs] + [sweep_tx["tx"], cancel_sweep["tx"]])

0 commit comments

Comments
 (0)