MCPcopy 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
98bool WalletBatch::WriteTx(const CWalletTx& wtx)
99{
100 return WriteIC(std::make_pair(DBKeys::TX, wtx.GetHash()), wtx);
101}
102
103bool WalletBatch::EraseTx(Txid hash)
104{

Callers 6

ExportWatchOnlyWalletFunction · 0.80
ReorderTransactionsMethod · 0.80
MarkReplacedMethod · 0.80
AddToWalletMethod · 0.80
ApplyMigrationDataMethod · 0.80

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected