MCPcopy Create free account
hub / github.com/bitcoinxt/bitcoinxt / WriteCScript

Method WriteCScript

src/wallet/walletdb.cpp:120–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120bool CWalletDB::WriteCScript(const uint160& hash, const CScript& redeemScript)
121{
122 nWalletDBUpdated++;
123 return Write(std::make_pair(std::string("cscript"), hash), redeemScript, false);
124}
125
126bool CWalletDB::WriteWatchOnly(const CScript &dest)
127{

Callers 1

AddCScriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected