MCPcopy Create free account
hub / github.com/LUX-Core/lux / WriteCScript

Method WriteCScript

src/walletdb.cpp:136–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136bool CWalletDB::WriteCScript(const uint160& hash, const CScript& redeemScript)
137{
138 nWalletDBUpdateCounter++;
139 return Write(std::make_pair(std::string("cscript"), hash), *(const CScriptBase*)(&redeemScript), false);
140}
141
142bool CWalletDB::WriteWatchOnly(const CScript& dest)
143{

Callers 1

AddCScriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected