diff options
author | Jon Atack <jon@atack.com> | 2022-07-20 17:17:34 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2022-07-29 19:27:16 +0200 |
commit | b27ba169ebd4a8e4ec29be590f03a4d0da61a0cc (patch) | |
tree | cc207bba001c7aafde455f48484f3a25d589c0aa /src/wallet | |
parent | 207a22877330709e4462e6092c265ab55c8653ac (diff) | |
download | bitcoin-b27ba169ebd4a8e4ec29be590f03a4d0da61a0cc.tar.xz |
refactor: make all NodeImpl/ChainImpl/ExternalSignerImpl members public
as the classes themselves are private, and to be consistent within all the
*Impl classes in src/node/interfaces.cpp and src/wallet/interfaces.cpp
following this order:
public:
// ... virtual methods ...
// ... nonvirtual helper methods ...
// ... data members ...
and add documentation in src/node/interfaces.cpp and src/wallet/interfaces.cpp
to help future reviewers and contributors.
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/interfaces.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp index 23f91d9b3a..4f30060e29 100644 --- a/src/wallet/interfaces.cpp +++ b/src/wallet/interfaces.cpp @@ -48,6 +48,8 @@ using interfaces::WalletTxStatus; using interfaces::WalletValueMap; namespace wallet { +// All members of the classes in this namespace are intentionally public, as the +// classes themselves are private. namespace { //! Construct wallet tx struct. WalletTx MakeWalletTx(CWallet& wallet, const CWalletTx& wtx) |