Constructors

Synopses

Declared in <kernel/bitcoinkernel_wrapper.h>

Constructs an owning copy from a view.

Constructs an output from a script pubkey and amount.

explicit
TransactionOutput(
    ScriptPubkey const& script_pubkey,
    int64_t amount);

Parameters

Name

Description

view

The view to copy.

script_pubkey

The output's locking script.

amount

The output value in satoshis.

Created with MrDocs