| 118 | } |
| 119 | |
| 120 | bool 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 | |
| 126 | bool CWalletDB::WriteWatchOnly(const CScript &dest) |
| 127 | { |