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

..08-Sep-2021-

README.mdH A D08-Sep-20211,015 2217

blockstorage.cppH A D08-Sep-202119.5 KiB565425

blockstorage.hH A D08-Sep-20213.1 KiB8345

coin.cppH A D08-Sep-2021827 2517

coin.hH A D08-Sep-2021696 258

coinstats.cppH A D08-Sep-20216.2 KiB183140

coinstats.hH A D08-Sep-20212 KiB6945

context.cppH A D08-Sep-2021495 1912

context.hH A D08-Sep-20212.5 KiB6740

interfaces.cppH A D08-Sep-202128.3 KiB707661

psbt.cppH A D08-Sep-20215.4 KiB150110

psbt.hH A D08-Sep-20212.2 KiB5732

transaction.cppH A D08-Sep-20215.2 KiB12272

transaction.hH A D08-Sep-20211.8 KiB4210

ui_interface.cppH A D08-Sep-20214 KiB6652

ui_interface.hH A D08-Sep-20214.8 KiB12262

utxo_snapshot.hH A D08-Sep-20211.2 KiB3719

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
18This directory is at the moment
19sparsely populated. Eventually more substantial files like
20[`src/validation.cpp`](../validation.cpp) and
21[`src/txmempool.cpp`](../txmempool.cpp) might be moved there.
22