In order to facilitate code separation, distinct interfaces between the node and the wallet have been created:
-
The node holds a
WalletImpl
interface to call functions on the wallet. -
The wallet holds a
ChainImpl
interface to call functions on the node. -
The node notifies the wallet about new transactions and blocks through the
CValidationInterface
.
Tip
|
For more information on *Impl classes see PIMPL technique in the appendix.
|