[ad_1]
Check out /bitcoin/src/interfaces/pockets.h,/bitcoin/src/qt/overviewpage.cpp,/bitcoin/src/pockets/interfaces.cpp, /bitcoin/src/pockets/rpcwallet.cpp and the assessments in /bitcoin/check/useful/wallet_basic.py, /bitcoin/check/useful/wallet_multiwallet.py
*pockets.h
//! Assortment of pockets balances.
struct WalletBalances
{
CAmount steadiness = 0;
CAmount unconfirmed_balance = 0;
CAmount immature_balance = 0;
bool have_watch_only = false;
CAmount watch_only_balance = 0;
CAmount unconfirmed_watch_only_balance = 0;
CAmount immature_watch_only_balance = 0;
bool balanceChanged(const WalletBalances& prev) const
watch_only_balance != prev.watch_only_balance
};
- please notice a pair deprecated calls in rpcwallet.cpp
static RPCHelpMan getwalletinfo()
{
return RPCHelpMan{“getwalletinfo”,
“Returns an object containing numerous pockets state information.n”,
{},
RPCResult{
RPCResult::Sort::OBJ, “”, “”,
{
{
{RPCResult::Sort::STR, “walletname”, “the pockets identify”},
{RPCResult::Sort::NUM, “walletversion”, “the pockets model”},
{RPCResult::Sort::STR, “format”, “the database format (bdb or sqlite)”},
{RPCResult::Sort::STR_AMOUNT, “steadiness”, “DEPRECATED. An identical to getbalances().mine.trusted”},
{RPCResult::Sort::STR_AMOUNT, “unconfirmed_balance”, “DEPRECATED. An identical to getbalances().mine.untrusted_pending”},
{RPCResult::Sort::STR_AMOUNT, “immature_balance”, “DEPRECATED. An identical to getbalances().mine.immature”},
*please evaluate the scale back storage part in https://bitcoin.org/en/full-node#configuration-tuning if you’re operating in pruned mode
*verify your Berkeley db constructed, it shops pockets information and has a pair issues to look out for within the configuration (particularly should you use Ubuntu or Debian)
https://github.com/bitcoin/bitcoin/blob/grasp/doc/build-unix.md
https://github.com/bitcoin/bitcoin/blob/grasp/doc/build-unix.md#berkeley-db
*couple notes on Segwit
https://bitcoincore.org/en/2016/01/26/segwit-benefits/
[ad_2]