bitcoin/src/node
Anthony Towns 1410d300df serialize: Drop useless version param from GetSerializeSize() 2023-11-16 11:14:13 +10:00
..
README.md
abort.cpp
abort.h
blockmanager_args.cpp
blockmanager_args.h
blockstorage.cpp serialize: Drop useless version param from GetSerializeSize() 2023-11-16 11:14:13 +10:00
blockstorage.h refactor: Remove CBlockFileInfo::SetNull 2023-10-20 16:29:02 +02:00
caches.cpp
caches.h
chainstate.cpp validation: remove unused mempool param in DetectSnapshotChainstate 2023-10-06 18:11:24 +02:00
chainstate.h
chainstatemanager_args.cpp
chainstatemanager_args.h
coin.cpp
coin.h
coins_view_args.cpp
coins_view_args.h
connection_types.cpp net: expose transport types/session IDs of connections in RPC and logs 2023-10-02 18:11:11 -04:00
connection_types.h net: expose transport types/session IDs of connections in RPC and logs 2023-10-02 18:11:11 -04:00
context.cpp
context.h
database_args.cpp
database_args.h
eviction.cpp
eviction.h
interface_ui.cpp
interface_ui.h
interfaces.cpp Use ParamsWrapper for witness serialization 2023-11-14 08:45:30 +10:00
kernel_notifications.cpp
kernel_notifications.h
mempool_args.cpp mempool: persist with XOR 2023-11-09 19:44:50 +01:00
mempool_args.h
mempool_persist_args.cpp
mempool_persist_args.h
miner.cpp [refactor] rewrite BlockAssembler inBlock and failedTx as sets of txids 2023-11-10 16:44:45 +01:00
miner.h [refactor] rewrite BlockAssembler inBlock and failedTx as sets of txids 2023-11-10 16:44:45 +01:00
mini_miner.cpp [refactor] Miniminer var cached_descendants to descendants 2023-11-07 08:56:43 -06:00
mini_miner.h [refactor] updating miniminer comments to be more accurate 2023-11-08 14:45:18 -06:00
minisketchwrapper.cpp
minisketchwrapper.h
peerman_args.cpp
peerman_args.h
psbt.cpp
psbt.h
transaction.cpp
transaction.h
txreconciliation.cpp
txreconciliation.h
utxo_snapshot.cpp
utxo_snapshot.h refactor: Remove unused nchaintx from SnapshotMetadata constructor 2023-10-12 11:14:32 +02:00
validation_cache_args.cpp
validation_cache_args.h

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.