@@ -18,7 +18,8 @@ class ChainstateManager;
18
18
static constexpr bool DEFAULT_TXRECONCILIATION_ENABLE{false };
19
19
/* * Default for -maxorphantx, maximum number of orphan transactions kept in memory */
20
20
static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100 ;
21
- /* * Default number of orphan+recently-replaced txn to keep around for block reconstruction */
21
+ /* * Default number of non-mempool transactions to keep around for block reconstruction. Includes
22
+ orphan, replaced, and rejected transactions. */
22
23
static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100 ;
23
24
static const bool DEFAULT_PEERBLOOMFILTERS = false ;
24
25
static const bool DEFAULT_PEERBLOCKFILTERS = false ;
@@ -46,11 +47,16 @@ class PeerManager : public CValidationInterface, public NetEventsInterface
46
47
{
47
48
public:
48
49
struct Options {
49
- /* * Whether this node is running in -blocksonly mode */
50
+ // ! Whether this node is running in -blocksonly mode
50
51
bool ignore_incoming_txs{DEFAULT_BLOCKSONLY};
52
+ // ! Whether transaction reconciliation protocol is enabled
51
53
bool reconcile_txs{DEFAULT_TXRECONCILIATION_ENABLE};
54
+ // ! Maximum number of orphan transactions kept in memory
52
55
uint32_t max_orphan_txs{DEFAULT_MAX_ORPHAN_TRANSACTIONS};
56
+ // ! Number of non-mempool transactions to keep around for block reconstruction. Includes
57
+ // ! orphan, replaced, and rejected transactions.
53
58
size_t max_extra_txs{DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN};
59
+ // ! Whether all P2P messages are captured to disk
54
60
bool capture_messages{false };
55
61
};
56
62
0 commit comments