BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Types | Public Member Functions | Public Attributes | List of all members
graphene::chain::hardfork_visitor Struct Reference

The hardfork_visitor struct checks whether a given operation type has been hardforked in or not. More...

#include <hardfork_visitor.hpp>

Public Types

using result_type = bool
 
using first_unforked_op = custom_authority_create_operation
 
using BSIP_40_ops = TL::list< custom_authority_create_operation, custom_authority_update_operation, custom_authority_delete_operation >
 
using hf2103_ops = TL::list< ticket_create_operation, ticket_update_operation >
 

Public Member Functions

 hardfork_visitor (fc::time_point_sec now)
 

Public Attributes

fc::time_point_sec now
 

Detailed Description

The hardfork_visitor struct checks whether a given operation type has been hardforked in or not.

This visitor can be invoked in several different ways, including operation::visit, typelist::runtime::dispatch, or direct invocation by calling the visit() method passing an operation variant, narrow operation type, operation tag, or templating on the narrow operation type

Definition at line 46 of file hardfork_visitor.hpp.

Member Typedef Documentation

Definition at line 50 of file hardfork_visitor.hpp.

Definition at line 48 of file hardfork_visitor.hpp.

Definition at line 51 of file hardfork_visitor.hpp.

Definition at line 47 of file hardfork_visitor.hpp.

Constructor & Destructor Documentation

graphene::chain::hardfork_visitor::hardfork_visitor ( fc::time_point_sec  now)
inline

Definition at line 54 of file hardfork_visitor.hpp.

Member Data Documentation

fc::time_point_sec graphene::chain::hardfork_visitor::now

Definition at line 52 of file hardfork_visitor.hpp.


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