Writes a watch‐only script and its metadata.

Synopsis

Declared in <wallet/walletdb.h>

bool
WriteWatchOnly(
    CScript const& script,
    CKeyMetadata const& keymeta);

Return Value

true if the record was written.

Parameters

Name

Description

script

The script to watch.

keymeta

The metadata to store.

Created with MrDocs