BTCP-Rebase/src/interfaces
James O'Beirne c5b277033a Add purpose arg to Wallet::getAddress
Also make all arguments to getAddress required and document args at call sites.
2018-04-25 13:08:53 -04:00
..
README.md scripted-diff: Avoid `interface` keyword to fix windows gitian build 2018-04-07 03:42:02 -04:00
handler.cpp Remove duplicate includes 2018-04-09 09:18:49 +02:00
handler.h scripted-diff: Avoid `interface` keyword to fix windows gitian build 2018-04-07 03:42:02 -04:00
node.cpp wallet: Make fee settings non-static members 2018-04-23 10:49:21 -04:00
node.h wallet: Make fee settings non-static members 2018-04-23 10:49:21 -04:00
wallet.cpp Add purpose arg to Wallet::getAddress 2018-04-25 13:08:53 -04:00
wallet.h Add purpose arg to Wallet::getAddress 2018-04-25 13:08:53 -04:00

README.md

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.