elements/src/node
2026-04-09 10:52:28 +00:00
..
abort.cpp
abort.h
blockmanager_args.cpp
blockmanager_args.h
blockstorage.cpp Merge 84cd6478c4 into merged_master (Bitcoin PR bitcoin/bitcoin#30927) 2026-03-26 15:51:45 +00:00
blockstorage.h Merge d73f37dda2 into merged_master (Bitcoin PR bitcoin/bitcoin#31346) 2026-04-09 01:16:46 +01:00
caches.cpp
caches.h
chainstate.cpp Merge bitcoin/bitcoin#31064: init: Correct coins db cache size setting 2024-10-29 15:12:41 -04:00
chainstate.h
chainstatemanager_args.cpp scripted-diff: Replace strprintf(Untranslated) with Untranslated(strprintf) 2024-12-04 15:09:05 -04:00
chainstatemanager_args.h refactor: Clamp worker threads in ChainstateManager constructor 2024-11-18 11:13:20 +01:00
coin.cpp
coin.h
coins_view_args.cpp
coins_view_args.h
connection_types.cpp
connection_types.h
context.cpp
context.h Merge 5837e3463f into merged_master (Bitcoin PR bitcoin/bitcoin#30967) 2026-03-30 10:15:21 +00:00
database_args.cpp
database_args.h
eviction.cpp
eviction.h
interface_ui.cpp refactor: Use + instead of strformat to concatenate translated & untranslated strings 2024-12-04 15:09:05 -04:00
interface_ui.h Merge fc037c8c83 into merged_master (Bitcoin PR bitcoin/bitcoin#27150) 2025-04-09 17:42:19 +00:00
interfaces.cpp Merge 5bbbc0d0ee into merged_master (Bitcoin PR bitcoin/bitcoin#31325) 2026-04-09 10:52:28 +00:00
kernel_notifications.cpp Ensure m_tip_block is never ZERO 2024-12-17 10:19:00 +07:00
kernel_notifications.h Ensure m_tip_block is never ZERO 2024-12-17 10:19:00 +07:00
mempool_args.cpp scripted-diff: Replace strprintf(Untranslated) with Untranslated(strprintf) 2024-12-04 15:09:05 -04:00
mempool_args.h
mempool_persist.cpp
mempool_persist.h
mempool_persist_args.cpp
mempool_persist_args.h
miner.cpp Merge cd3d9fa5ea into merged_master (Bitcoin PR bitcoin/bitcoin#31318) 2026-04-09 09:23:15 +00:00
miner.h Merge cd3d9fa5ea into merged_master (Bitcoin PR bitcoin/bitcoin#31318) 2026-04-09 09:23:15 +00:00
mini_miner.cpp
mini_miner.h
minisketchwrapper.cpp
minisketchwrapper.h
peerman_args.cpp
peerman_args.h
protocol_version.h
psbt.cpp Merge e9262ea32a into merged_master (Bitcoin PR bitcoin/bitcoin#26750) 2025-03-31 16:37:52 +02:00
psbt.h
README.md
timeoffsets.cpp
timeoffsets.h
transaction.cpp
transaction.h
txdownloadman.h [doc] comment fixups from n30110 2024-10-30 21:13:01 -04:00
txdownloadman_impl.cpp [p2p] filter 1p1c for child txid in recent rejects 2024-10-24 21:23:56 -04:00
txdownloadman_impl.h [doc] comment fixups from n30110 2024-10-30 21:13:01 -04:00
txreconciliation.cpp Merge 5c0cd205a1 into merged_master (Bitcoin PR bitcoin/bitcoin#29625) 2026-03-03 15:43:14 +00:00
txreconciliation.h
types.h refactor: fix typo in node/types.h 2024-12-18 14:55:35 +07:00
utxo_snapshot.cpp
utxo_snapshot.h
validation_cache_args.cpp
validation_cache_args.h
warnings.cpp
warnings.h

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.