Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ WriteTx
Method
WriteTx
src/wallet/walletdb.cpp:98–101 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
96
}
97
98
bool WalletBatch::WriteTx(const CWalletTx& wtx)
99
{
100
return WriteIC(std::make_pair(DBKeys::TX, wtx.GetHash()), wtx);
101
}
102
103
bool WalletBatch::EraseTx(Txid hash)
104
{
Callers
6
ExportWatchOnlyWallet
Function · 0.80
ReorderTransactions
Method · 0.80
MarkReplaced
Method · 0.80
AddToWallet
Method · 0.80
RecursiveUpdateTxState
Method · 0.80
ApplyMigrationData
Method · 0.80
Calls
1
GetHash
Method · 0.45
Tested by
no test coverage detected