dash/src/interfaces
PastaPastaPasta 628c6160b6
Cxx17 refac ci trivial (#4507)
* guard gmtime_r with HAVE_GMTIME_R properly

* resolve dash-cppcheck linter error

* Mark stuff as override to resolve compiler warnings

Co-authored-by: Wladimir J. van der Laan <laanwj@protonmail.com>
2021-10-12 00:55:49 +03:00
..
handler.cpp Merge #13769: Mark single-argument constructors "explicit" 2021-08-03 13:34:34 -03:00
handler.h scripted-diff: Merge #12906: Avoid interface keyword to fix windows gitian build 2020-10-14 12:10:12 +01:00
node.cpp Cxx17 refac ci trivial (#4507) 2021-10-12 00:55:49 +03:00
node.h Merge #13216: [Qt] implements concept for different disk sizes on intro 2021-08-24 19:14:49 -04:00
README.md scripted-diff: Merge #12906: Avoid interface keyword to fix windows gitian build 2020-10-14 12:10:12 +01:00
wallet.cpp refactor: remove redundant filename prefixes for Dash-specific logic (#4475) 2021-10-01 22:19:08 +03:00
wallet.h Merge bitcoin#13825: [wallet] Kill accounts 2021-09-17 02:17:00 +03:00

Internal c++ interfaces

The following interfaces are defined here:

  • Chain — used by wallet to access blockchain and mempool state. Added in #10973.

  • Chain::Client — used by node to start & stop Chain clients. Added in #10973.

  • Node — used by GUI to start & stop bitcoin node. Added in #10244.

  • Wallet — used by GUI to access wallets. Added in #10244.

  • Handler — returned by handleEvent methods on interfaces above and used to manage lifetimes of event handlers.

  • Init — used by multiprocess code to access interfaces above on startup. Added in #10102.

The interfaces above define boundaries between major components of bitcoin code (node, wallet, and gui), making it possible for them to run in different processes, and be tested, developed, and understood independently. These interfaces are not currently designed to be stable or to be used externally.