btck::OutPoint

Owning wrapper over a btck_TransactionOutPoint.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

class OutPoint
    : public Handle<btck_TransactionOutPoint, btck_transaction_out_point_copy, btck_transaction_out_point_destroy>
    , public OutPointApi<OutPoint>

Base Classes

NameDescription
Handle<btck_TransactionOutPoint, btck_transaction_out_point_copy, btck_transaction_out_point_destroy>Owning RAII handle for a copyable C object of type CType.
OutPointApi<OutPoint>CRTP mixin adding out-point accessors shared by the view and owning types.

Member Functions

NameDescription
OutPoint [constructor]Constructs an owning copy from a view.
operator= Assignment operators
Txid Returns the referenced transaction id.
get Returns the owned C handle.
index Returns the referenced output index within its transaction.

Protected Data Members

NameDescription
m_ptr The owned C handle.