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

#include <assert.hpp>

Public Member Functions

bool validate () const
 

Public Attributes

block_id_type id
 

Detailed Description

Used to verify that a specific block is part of the blockchain history. This helps protect some high-value transactions to newly created IDs

The block ID must be within the last 2^16 blocks.

Definition at line 69 of file assert.hpp.

Member Function Documentation

◆ validate()

bool graphene::protocol::block_id_predicate::validate ( ) const
inline

Definition at line 72 of file assert.hpp.

Member Data Documentation

◆ id

block_id_type graphene::protocol::block_id_predicate::id

Definition at line 71 of file assert.hpp.


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