BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Public Attributes | List of all members
graphene::chain::htlc_object Class Reference

database object to store HTLCs More...

#include <htlc_object.hpp>

Inheritance diagram for graphene::chain::htlc_object:
graphene::db::abstract_object< htlc_object, protocol_ids, htlc_object_type > graphene::db::base_abstract_object< htlc_object > graphene::db::object

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_datamemo
 
- 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< objectclone () 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< objectclone () 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
 

Detailed Description

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.

Member Data Documentation

◆ conditions

condition_info graphene::chain::htlc_object::conditions

Definition at line 66 of file htlc_object.hpp.

◆ memo

fc::optional<memo_data> graphene::chain::htlc_object::memo

Definition at line 67 of file htlc_object.hpp.

◆ transfer

transfer_info graphene::chain::htlc_object::transfer

Definition at line 65 of file htlc_object.hpp.


The documentation for this class was generated from the following file: