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

Method TxnBegin

src/wallet/bdb.cpp:699–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

697}
698
699bool BerkeleyBatch::TxnBegin()
700{
701 if (!pdb || activeTxn)
702 return false;
703 DbTxn* ptxn = env->TxnBegin();
704 if (!ptxn)
705 return false;
706 activeTxn = ptxn;
707 return true;
708}
709
710bool BerkeleyBatch::TxnCommit()
711{

Callers 3

RecoverDatabaseFileFunction · 0.45
EncryptWalletMethod · 0.45
CreateFromDumpFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected