BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
database object to store HTLCs More...
#include <htlc_object.hpp>
Classes | |
struct | condition_info |
struct | from_extractor |
struct | timelock_extractor |
struct | to_extractor |
struct | transfer_info |
Public Attributes | |
transfer_info | transfer |
condition_info | conditions |
fc::optional< memo_data > | memo |
Public Attributes inherited from graphene::db::object | |
object_id_type | id |
Additional Inherited Members | |
Public Member Functions inherited from graphene::db::abstract_object< htlc_object, protocol_ids, htlc_object_type > | |
abstract_object () | |
object_id< SpaceID, TypeID > | get_id () const |
Public Member Functions inherited from graphene::db::base_abstract_object< htlc_object > | |
std::unique_ptr< object > | clone () const override |
void | move_from (object &obj) override |
fc::variant | to_variant () const override |
std::vector< char > | pack () const override |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
Public Member Functions inherited from graphene::db::object | |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
virtual | ~object ()=default |
virtual std::unique_ptr< object > | clone () const =0 |
virtual fc::variant | to_variant () const =0 |
virtual std::vector< char > | pack () const =0 |
Static Public Attributes inherited from graphene::db::abstract_object< htlc_object, protocol_ids, htlc_object_type > | |
static constexpr uint8_t | space_id |
static constexpr uint8_t | type_id |
database object to store HTLCs
This object is stored in the database while an HTLC is active. The HTLC will become inactive at expiration or when unlocked via the preimage.
Definition at line 40 of file htlc_object.hpp.
condition_info graphene::chain::htlc_object::conditions |
Definition at line 66 of file htlc_object.hpp.
fc::optional<memo_data> graphene::chain::htlc_object::memo |
Definition at line 67 of file htlc_object.hpp.
transfer_info graphene::chain::htlc_object::transfer |
Definition at line 65 of file htlc_object.hpp.