| 134 | } |
| 135 | |
| 136 | bool 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 | |
| 142 | bool CWalletDB::WriteWatchOnly(const CScript& dest) |
| 143 | { |