BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
32 namespace graphene {
namespace protocol {
134 const std::vector<char>&
preimage ) :
194 const htlc_hash& preimage_hash, uint16_t preimage_size ) :
223 FC_REFLECT(
graphene::protocol::htlc_extend_operation::fee_params_t, (fee) (fee_per_day))
227 (fee)(from)(to)(amount)(preimage_hash)(preimage_size)(claim_period_seconds)(extensions))
228 FC_REFLECT(
graphene::protocol::htlc_redeem_operation, (fee)(htlc_id)(redeemer)(preimage)(extensions))
230 (fee)(htlc_id)(from)(to)(redeemer)(amount)(htlc_preimage_hash)(htlc_preimage_size)(preimage))
231 FC_REFLECT(
graphene::protocol::htlc_extend_operation, (fee)(htlc_id)(update_issuer)(seconds_to_add)(extensions))
233 (fee)(htlc_id)(to)(original_htlc_recipient)(htlc_amount)(htlc_preimage_hash)(htlc_preimage_size))
fc::sha256 htlc_algo_sha256
account_id_type fee_payer() const
account_id_type fee_payer() const
who will pay the fee
uint16_t htlc_preimage_size
htlc_refund_operation(const htlc_id_type &htlc_id, const account_id_type &htlc_from, const account_id_type &htlc_to, const asset &amount, const htlc_hash &preimage_hash, uint16_t preimage_size)
fc::static_variant< htlc_algo_ripemd160, htlc_algo_sha1, htlc_algo_sha256, htlc_algo_hash160 > htlc_hash
FC_REFLECT_TYPENAME(fc::log_message)
std::vector< char > preimage
account_id_type original_htlc_recipient
share_type calculate_fee(const fee_params_t &k) const
account_id_type htlc_to() const
share_type calculate_fee(const fee_params_t &fee_params, uint32_t fee_per_kb) const
#define GRAPHENE_BLOCKCHAIN_PRECISION
share_type calculate_fee(const fee_params_t &fee_params) const
account_id_type update_issuer
htlc_hash htlc_preimage_hash
fc::optional< memo_data > memo
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
fc::hash160 htlc_algo_hash160
account_id_type htlc_from() const
account_id_type fee_payer() const
Who is to pay the fee.
share_type calculate_fee(const fee_params_t &k) const
This is a virtual operation; there is no fee.
htlc_redeemed_operation()
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
htlc_hash htlc_preimage_hash
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
share_type calculate_fee(const fee_params_t &fee_params) const
provides stack-based nullable value similar to boost::optional
uint16_t htlc_preimage_size
account_id_type fee_payer() const
Who is to pay the fee.
std::vector< char > preimage
extension< additional_options_type > extensions
extensions_type extensions
account_id_type fee_payer() const
fc::ripemd160 htlc_algo_ripemd160
uint32_t claim_period_seconds
htlc_redeemed_operation(htlc_id_type htlc_id, account_id_type from, account_id_type to, account_id_type redeemer, asset amount, const htlc_hash &preimage_hash, uint16_t preimage_size, const std::vector< char > &preimage)
future_extensions::flat_set_type extensions_type
extensions_type extensions