dash/src/node
2023-12-17 12:42:45 -06:00
..
blockstorage.cpp merge bitcoin#21575: Create blockstorage module 2023-07-28 00:18:27 -05:00
blockstorage.h fix: add missing includes and remove obsolete includes (#5562) 2023-09-07 09:07:02 -05:00
coin.cpp merge bitcoin#21525: Followup fixups to bundle 4 2023-06-06 22:38:56 +05:30
coin.h merge bitcoin#17564: Use mempool from node context instead of global 2022-05-18 20:49:34 +05:30
coinstats.cpp merge bitcoin#23411: Avoid integer overflow in ApplyStats when activating snapshot 2023-09-04 20:50:27 -05:00
coinstats.h fix: add missing includes and remove obsolete includes (#5562) 2023-09-07 09:07:02 -05:00
context.cpp feat: add CMNHFManager and logic to make hard-forks accordingly received signals 2023-10-06 11:02:15 -05:00
context.h feat: add CMNHFManager and logic to make hard-forks accordingly received signals 2023-10-06 11:02:15 -05:00
interfaces.cpp refactor: new method listMNCollaterials() for chain interface 2023-12-17 12:42:45 -06:00
README.md merge bitcoin#21575: Create blockstorage module 2023-07-28 00:18:27 -05:00
transaction.cpp Merge #21162: Net Processing: Move RelayTransaction() into PeerManager 2023-12-08 21:16:00 +03:00
transaction.h Merge bitcoin/bitcoin#22528: refactor: move GetTransaction to node/transaction.cpp 2023-12-03 20:13:09 -06:00
utxo_snapshot.h merge bitcoin#16899: UTXO snapshot creation (dumptxoutset) 2022-05-23 10:38:33 +05:30

src/node/

The src/node/ directory contains code that needs to access node state (state in CChain, CBlockIndex, CCoinsView, CTxMemPool, and similar classes).

Code in src/node/ is meant to be segregated from code in src/wallet/ and src/qt/, to ensure wallet and GUI code changes don't interfere with node operation, to allow wallet and GUI code to run in separate processes, and to perhaps eventually allow wallet and GUI code to be maintained in separate source repositories.

As a rule of thumb, code in one of the src/node/, src/wallet/, or src/qt/ directories should avoid calling code in the other directories directly, and only invoke it indirectly through the more limited src/interfaces/ classes.

This directory is at the moment sparsely populated. Eventually more substantial files like src/validation.cpp and src/txmempool.cpp might be moved there.