mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Merge #21148: Split orphan handling from net_processing into txorphanage
5e50e2d1b9txorphanage: comment improvements (Anthony Towns)eeeafb324enet_processing: move AddToCompactExtraTransactions into PeerManagerImpl (Anthony Towns)f8c0688b94scripted-diff: Update txorphanage naming convention (Anthony Towns)6bd4963c06txorphanage: Move functions and data into class (Anthony Towns)03257b832dtxorphanage: Extract EraseOrphansForBlock (Anthony Towns)3c4c3c2fddnet_processing: drop AddOrphanTx (Anthony Towns)26d1a6ccd5denialofservices_tests: check txorphanage's AddTx (Anthony Towns)1041616d7etxorphanage: Extract OrphanageAddTx (Anthony Towns)f294da7274txorphanage: Extract GetOrphanTx (Anthony Towns)83679ffc60txorphanage: Extract HaveOrphanTx (Anthony Towns)ee135c8d5btxorphanage: Extract AddChildrenToWorkSet (Anthony Towns)38a11c355atxorphanage: Add lock annotations (Anthony Towns)81dd57e5b1txorphanage: Pass uint256 by reference instead of value (Anthony Towns)9d5313df7emove-only: Add txorphanage module (Anthony Towns) Pull request description: Splits orphan handling into its own module and reduces global usage. ACKs for top commit: jnewbery: utACK5e50e2d1b9amitiuttarwar: utACK5e50e2d1b9glozow: re ACK5e50e2d1b9, comment updates laanwj: Code review ACK5e50e2d1b9Tree-SHA512: 92a959bb5dd414c96f78cb8dcaa68adb85faf16b8b843a2cbe0bb2aa08df13ad6bd9424d29b98f57a82ec29c942fbdbea3011883d00bf0b0feb643e295174e46
This commit is contained in:
@@ -154,7 +154,7 @@ class InvalidTxRequestTest(BitcoinTestFramework):
|
||||
orphan_tx_pool[i].vin.append(CTxIn(outpoint=COutPoint(i, 333)))
|
||||
orphan_tx_pool[i].vout.append(CTxOut(nValue=11 * COIN, scriptPubKey=SCRIPT_PUB_KEY_OP_TRUE))
|
||||
|
||||
with node.assert_debug_log(['mapOrphan overflow, removed 1 tx']):
|
||||
with node.assert_debug_log(['orphanage overflow, removed 1 tx']):
|
||||
node.p2ps[0].send_txs_and_test(orphan_tx_pool, node, success=False)
|
||||
|
||||
rejected_parent = CTransaction()
|
||||
|
||||
Reference in New Issue
Block a user