wallet::WalletBatch::WriteWatchOnly

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

NameDescription
scriptThe script to watch.
keymetaThe metadata to store.