Bitcoin Core integration/staging tree https://bitcoincore.org/en/download
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
James O'Beirne 00eeb31c76 scripted-diff: rename CChainState -> Chainstate 2 weeks ago
..
README.md doc: Remove irrelevant link to GitHub 1 year ago
blockstorage.cpp scripted-diff: rename CChainState -> Chainstate 2 weeks ago
blockstorage.h scripted-diff: rename CChainState -> Chainstate 2 weeks ago
caches.cpp Add src/node/* code to node:: namespace 9 months ago
caches.h Add src/node/* code to node:: namespace 9 months ago
chainstate.cpp scripted-diff: rename CChainState -> Chainstate 2 weeks ago
chainstate.h refactor: Fix iwyu on node/chainstate 2 months ago
coin.cpp Add src/node/* code to node:: namespace 9 months ago
coin.h Add src/node/* code to node:: namespace 9 months ago
connection_types.cpp [net] Move ConnectionType to its own file 3 months ago
connection_types.h [net] Move ConnectionType to its own file 3 months ago
context.cpp init: Initialize globals with kernel::Context's life 4 months ago
context.h kernel: Introduce empty and unused kernel::Context 4 months ago
eviction.cpp [net] Move eviction logic to its own file 3 months ago
eviction.h [net] Move eviction logic to its own file 3 months ago
interface_ui.cpp Make validation interface capable of signalling header presync 4 weeks ago
interface_ui.h Make validation interface capable of signalling header presync 4 weeks ago
interfaces.cpp Make validation interface capable of signalling header presync 4 weeks ago
mempool_args.cpp Merge bitcoin/bitcoin#25872: Fix issues when calling std::move(const&) 4 weeks ago
mempool_args.h scripted-diff: Move mempool_args to src/node 2 months ago
mempool_persist_args.cpp DumpMempool: Pass in dump_path, stop using gArgs 2 months ago
mempool_persist_args.h Move DEFAULT_PERSIST_MEMPOOL out of libbitcoinkernel 2 months ago
miner.cpp scripted-diff: rename CChainState -> Chainstate 2 weeks ago
miner.h scripted-diff: rename CChainState -> Chainstate 2 weeks ago
minisketchwrapper.cpp Add src/node/* code to node:: namespace 9 months ago
minisketchwrapper.h Add src/node/* code to node:: namespace 9 months ago
psbt.cpp Remove ::GetVirtualTransactionSize() alias 2 months ago
psbt.h Add src/node/* code to node:: namespace 9 months ago
transaction.cpp Add src/node/* code to node:: namespace 9 months ago
transaction.h refactor: Remove defunct attributes.h includes 4 months ago
utxo_snapshot.h scripted-diff: rename CChainState -> Chainstate 2 weeks ago
validation_cache_args.cpp validationcaches: Use size_t for sizes 2 months ago
validation_cache_args.h validationcaches: Add and use ValidationCacheSizes 2 months ago

README.md

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.