BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Member Functions | Public Attributes | List of all members
graphene::protocol::htlc_redeem_operation Struct Reference

#include <htlc.hpp>

Inheritance diagram for graphene::protocol::htlc_redeem_operation:


struct  fee_params_t

Public Member Functions

void validate () const
account_id_type fee_payer () const
 Who is to pay the fee. More...
share_type calculate_fee (const fee_params_t &fee_params) const
- Public Member Functions inherited from graphene::protocol::base_operation
virtual ~base_operation ()=default
template<typename T >
share_type calculate_fee (const T &params) const
virtual void get_required_authorities (vector< authority > &) const
virtual void get_required_active_authorities (flat_set< account_id_type > &) const
virtual void get_required_owner_authorities (flat_set< account_id_type > &) const
fc::optional< fc::future< void > > validate_parallel (uint32_t skip) const

Public Attributes

asset fee
htlc_id_type htlc_id
account_id_type redeemer
std::vector< char > preimage
extensions_type extensions

Additional Inherited Members

- Static Public Member Functions inherited from graphene::protocol::base_operation
static uint64_t calculate_data_fee (uint64_t bytes, uint64_t price_per_kbyte)

Detailed Description

Definition at line 90 of file htlc.hpp.

Member Function Documentation

◆ calculate_fee()

share_type graphene::protocol::htlc_redeem_operation::calculate_fee ( const fee_params_t fee_params) const

Definition at line 53 of file htlc.cpp.

◆ fee_payer()

account_id_type graphene::protocol::htlc_redeem_operation::fee_payer ( ) const

Who is to pay the fee.

Definition at line 116 of file htlc.hpp.

◆ validate()

void graphene::protocol::htlc_redeem_operation::validate ( ) const

Reimplemented from graphene::protocol::base_operation.

Definition at line 49 of file htlc.cpp.

Member Data Documentation

◆ extensions

extensions_type graphene::protocol::htlc_redeem_operation::extensions

Definition at line 106 of file htlc.hpp.

◆ fee

asset graphene::protocol::htlc_redeem_operation::fee

Definition at line 98 of file htlc.hpp.

◆ htlc_id

htlc_id_type graphene::protocol::htlc_redeem_operation::htlc_id

Definition at line 100 of file htlc.hpp.

◆ preimage

std::vector<char> graphene::protocol::htlc_redeem_operation::preimage

Definition at line 104 of file htlc.hpp.

◆ redeemer

account_id_type graphene::protocol::htlc_redeem_operation::redeemer

Definition at line 102 of file htlc.hpp.

The documentation for this struct was generated from the following files: