• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

README.mdH A D28-Jan-20211.1 KiB2318

coin.cppH A D28-Jan-2021787 2416

coin.hH A D28-Jan-2021696 258

coinstats.cppH A D28-Jan-20214.3 KiB146116

coinstats.hH A D28-Jan-20211 KiB4226

context.cppH A D28-Jan-2021425 169

context.hH A D28-Jan-20212.3 KiB6034

psbt.cppH A D28-Jan-20215.4 KiB148109

psbt.hH A D28-Jan-20212.1 KiB5531

transaction.cppH A D28-Jan-20214.1 KiB10867

transaction.hH A D28-Jan-20211.8 KiB4210

ui_interface.cppH A D28-Jan-20214 KiB6652

ui_interface.hH A D28-Jan-20214.8 KiB12262

utxo_snapshot.hH A D28-Jan-20211.4 KiB4221

README.md

1# src/node/
2
3The [`src/node/`](./) directory contains code that needs to access node state
4(state in `CChain`, `CBlockIndex`, `CCoinsView`, `CTxMemPool`, and similar
5classes).
6
7Code in [`src/node/`](./) is meant to be segregated from code in
8[`src/wallet/`](../wallet/) and [`src/qt/`](../qt/), to ensure wallet and GUI
9code changes don't interfere with node operation, to allow wallet and GUI code
10to run in separate processes, and to perhaps eventually allow wallet and GUI
11code to be maintained in separate source repositories.
12
13As a rule of thumb, code in one of the [`src/node/`](./),
14[`src/wallet/`](../wallet/), or [`src/qt/`](../qt/) directories should avoid
15calling code in the other directories directly, and only invoke it indirectly
16through the more limited [`src/interfaces/`](../interfaces/) classes.
17
18The [`src/node/`](./) directory is a new directory introduced in
19[#14978](https://github.com/bitcoin/bitcoin/pull/14978) and at the moment is
20sparsely populated. Eventually more substantial files like
21[`src/validation.cpp`](../validation.cpp) and
22[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
23