MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SetAddressBook

Method SetAddressBook

src/wallet/wallet.cpp:2524–2528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2522}
2523
2524bool CWallet::SetAddressBook(const CTxDestination& address, const std::string& strName, const std::optional<AddressPurpose>& purpose)
2525{
2526 WalletBatch batch(GetDatabase());
2527 return SetAddressBookWithDB(batch, address, strName, purpose);
2528}
2529
2530bool CWallet::DelAddressBook(const CTxDestination& address)
2531{

Callers 5

setAddressBookMethod · 0.80
setlabelFunction · 0.80
SetupDescriptorsWalletFunction · 0.80
WalletMigrationFunction · 0.80

Calls

no outgoing calls

Tested by 2

SetupDescriptorsWalletFunction · 0.64