MCPcopy Create free account
hub / github.com/ElementsProject/elements / WriteTx

Method WriteTx

src/wallet/walletdb.cpp:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90bool WalletBatch::WriteTx(const CWalletTx& wtx)
91{
92 return WriteIC(std::make_pair(DBKeys::TX, wtx.GetHash()), wtx);
93}
94
95bool WalletBatch::EraseTx(uint256 hash)
96{

Callers 5

ReorderTransactionsMethod · 0.80
MarkReplacedMethod · 0.80
AddToWalletMethod · 0.80
AbandonTransactionMethod · 0.80
MarkConflictedMethod · 0.80

Calls 1

GetHashMethod · 0.45

Tested by

no test coverage detected