예제 #1
0
파일: walletdb.cpp 프로젝트: afk11/bitcoin
bool WalletBatch::ErasePool(int64_t nPool)
{
    return EraseIC(std::make_pair(std::string("pool"), nPool));
}
예제 #2
0
bool WalletBatch::EraseTx(uint256 hash)
{
    return EraseIC(std::make_pair(std::string("tx"), hash));
}
예제 #3
0
bool WalletBatch::ErasePurpose(const std::string& strAddress)
{
    return EraseIC(std::make_pair(std::string("purpose"), strAddress));
}
예제 #4
0
bool WalletBatch::EraseName(const std::string& strAddress)
{
    // This should only be used for sending addresses, never for receiving addresses,
    // receiving addresses must always have an address book entry if they're not change return.
    return EraseIC(std::make_pair(std::string("name"), strAddress));
}
예제 #5
0
bool WalletBatch::EraseAccount(const std::string& strAccount)
{
    return EraseIC(std::make_pair(std::string("acc"), strAccount));
}
예제 #6
0
bool CWalletDB::ErasePurpose(const std::string& strPurpose)
{
    return EraseIC(std::make_pair(std::string("purpose"), strPurpose));
}