dash/src/node
2024-06-26 13:50:50 +00:00
..
blockstorage.cpp merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
blockstorage.h refactor: remove CActiveMasternodeManager global, move to NodeContext 2024-04-12 17:01:24 +00:00
coin.cpp merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
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#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
coinstats.h Merge #20813: scripted-diff: Bump copyright headers 2024-04-10 03:19:34 +07:00
context.cpp merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
context.h merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
interfaces.cpp merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
psbt.cpp fix: follow-up bitcoin#15638 to move AnalyzePSBT related code 2024-01-10 12:05:57 -06:00
psbt.h fix: follow-up bitcoin#15638 to move AnalyzePSBT related code 2024-01-10 12:05:57 -06:00
README.md merge bitcoin#21575: Create blockstorage module 2023-07-28 00:18:27 -05:00
transaction.cpp merge bitcoin#21866: Farewell, global Chainstate! 2024-06-26 13:50:50 +00:00
transaction.h Merge bitcoin/bitcoin#22528: refactor: move GetTransaction to node/transaction.cpp 2023-12-03 20:13:09 -06:00
ui_interface.cpp Merge #18152: qt: Use SynchronizationState enum for signals to GUI 2024-01-10 19:15:47 -06:00
ui_interface.h Merge bitcoin/bitcoin#24191: refactor: Make MessageBoxFlags enum underlying type unsigned 2024-02-28 13:16:39 -06:00
utxo_snapshot.h Merge bitcoin/bitcoin#21681: validation: fix ActivateSnapshot to use hardcoded nChainTx 2024-04-23 22:41:09 +07:00

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.