Writes a watch-only script and its metadata.
Declared in <wallet/walletdb.h>
bool
WriteWatchOnly(
CScript const& script,
CKeyMetadata const& keymeta);
true if the record was written.
| Name | Description |
|---|---|
| script | The script to watch. |
| keymeta | The metadata to store. |