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

Method WriteCScript

src/wallet/walletdb.cpp:151–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151bool WalletBatch::WriteCScript(const uint160& hash, const CScript& redeemScript)
152{
153 return WriteIC(std::make_pair(DBKeys::CSCRIPT, hash), redeemScript, false);
154}
155
156bool WalletBatch::WriteWatchOnly(const CScript &dest, const CKeyMetadata& keyMeta)
157{

Callers 1

AddCScriptWithDBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected