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.
bitcoin/src/node
dergoegge 78407b99ed
[clang-tidy] Enable the misc-no-recursion check
3 weeks ago
..
README.md
abort.cpp node: Make translations of fatal errors consistent 1 month ago
abort.h node: Make translations of fatal errors consistent 1 month ago
blockmanager_args.cpp refactor: Move stopafterblockimport handling out of blockstorage 10 months ago
blockmanager_args.h Add [[nodiscard]] where ignoring a Result return type is an error 11 months ago
blockstorage.cpp node: Make translations of fatal errors consistent 1 month ago
blockstorage.h refactor: Use reference instead of pointer in IsBlockPruned 5 months ago
caches.cpp move-only: Extract common/args and common/config.cpp from util/system 1 year ago
caches.h
chainstate.cpp refactor: Remove call to ShutdownRequested from chainstate init 5 months ago
chainstate.h refactor: Remove call to ShutdownRequested from chainstate init 5 months ago
chainstatemanager_args.cpp refactor: Move `{MAX,DEFAULT}_SCRIPTCHECK_THREADS` constants 7 months ago
chainstatemanager_args.h refactor: Move `{MAX,DEFAULT}_SCRIPTCHECK_THREADS` constants 7 months ago
coin.cpp
coin.h scripted-diff: Bump copyright headers 1 year ago
coins_view_args.cpp move-only: Extract common/args and common/config.cpp from util/system 1 year ago
coins_view_args.h refactor, txdb: Add CoinsViewOptions struct 1 year ago
connection_types.cpp net: expose transport types/session IDs of connections in RPC and logs 7 months ago
connection_types.h net: expose transport types/session IDs of connections in RPC and logs 7 months ago
context.cpp kernel: Add notification interface 12 months ago
context.h scripted-diff: Rename MainSignals to ValidationSignals 2 months ago
database_args.cpp move-only: Extract common/args and common/config.cpp from util/system 1 year ago
database_args.h refactor, dbwrapper: Add DBParams and DBOptions structs 1 year ago
eviction.cpp [net] Move eviction logic to its own file 2 years ago
eviction.h [net] Move eviction logic to its own file 2 years ago
interface_ui.cpp Add InitError(error, details) overload 1 year ago
interface_ui.h Add InitError(error, details) overload 1 year ago
interfaces.cpp [clang-tidy] Enable the misc-no-recursion check 3 weeks ago
kernel_notifications.cpp node: Make translations of fatal errors consistent 1 month ago
kernel_notifications.h node: Make translations of fatal errors consistent 1 month ago
mempool_args.cpp mempool: persist with XOR 6 months ago
mempool_args.h refactor: Replace std::optional<bilingual_str> with util::Result 11 months ago
mempool_persist_args.cpp move-only: Extract common/args and common/config.cpp from util/system 1 year ago
mempool_persist_args.h refactor: Move fs.* to util/fs.* 1 year ago
miner.cpp refactor: Fix timedata includes 3 months ago
miner.h [refactor] rewrite BlockAssembler inBlock and failedTx as sets of txids 6 months ago
mini_miner.cpp [refactor] Miniminer var cached_descendants to descendants 6 months ago
mini_miner.h [refactor] updating miniminer comments to be more accurate 6 months ago
minisketchwrapper.cpp Use steady clock in SeedStrengthen and FindBestImplementation 1 year ago
minisketchwrapper.h
peerman_args.cpp Merge bitcoin/bitcoin#28149: net processing: clamp PeerManager::Options user input 9 months ago
peerman_args.h [net processing] Introduce PeerManager options 9 months ago
protocol_version.h Rename version.h to node/protocol_version.h 5 months ago
psbt.cpp scripted-diff: Bump copyright headers 1 year ago
psbt.h
transaction.cpp refactor: De-globalize g_signals 2 months ago
transaction.h RPC: Add maxfeerate and maxburnamount args to submitpackage 2 months ago
txreconciliation.cpp refactor: Move system from util to common library 12 months ago
txreconciliation.h [net processing] Move -txreconciliation to PeerManager::Options 9 months ago
utxo_snapshot.cpp lint: remove /* Continued */ markers from codebase 9 months ago
utxo_snapshot.h refactor: Remove unused nchaintx from SnapshotMetadata constructor 7 months ago
validation_cache_args.cpp move-only: Extract common/args and common/config.cpp from util/system 1 year ago
validation_cache_args.h validationcaches: Add and use ValidationCacheSizes 2 years 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.