dash/src/node
2022-06-03 18:25:38 +05:30
..
coin.cpp merge bitcoin#17564: Use mempool from node context instead of global 2022-05-18 20:49:34 +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#19056: Make gettxoutsetinfo/GetUTXOStats interruptible 2022-05-23 10:39:43 +05:30
coinstats.h merge bitcoin#19056: Make gettxoutsetinfo/GetUTXOStats interruptible 2022-05-23 10:39:43 +05:30
context.cpp merge bitcoin#18037: Allow scheduler to be mocked 2022-04-20 00:23:32 +05:30
context.h merge bitcoin#18571: Disable debug log file 2022-06-03 18:25:38 +05:30
README.md merge bitcoin#15638: Pull wallet code out of libbitcoin_server (#4560) 2021-11-16 10:19:47 -05:00
transaction.cpp merge bitcoin#17564: Use mempool from node context instead of global 2022-05-18 20:49:34 +05:30
transaction.h merge bitcoin#16839: Replace Connman and BanMan globals with NodeContext local 2022-04-20 00:22:35 +05:30
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.

The src/node/ directory is a new directory introduced in #14978 and at the moment is sparsely populated. Eventually more substantial files like src/validation.cpp and src/txmempool.cpp might be moved there.