8namespace sysio {
namespace chain {
15 const flat_set<digest_type>&,
17 bool skip_validate_signee
25 const flat_set<digest_type>&,
44 bool is_valid()
const {
return validated; }
45 bool is_pub_keys_recovered()
const {
return _pub_keys_recovered; }
48 _pub_keys_recovered =
false;
49 auto result = std::move( _cached_trxs );
53 void set_trxs_metas( vector<transaction_metadata_ptr>&& trxs_metas,
bool keys_recovered ) {
54 _pub_keys_recovered = keys_recovered;
55 _cached_trxs = std::move( trxs_metas );
57 const vector<transaction_metadata_ptr>& trxs_metas()
const {
return _cached_trxs; }
59 bool validated =
false;
61 bool _pub_keys_recovered =
false;
64 vector<transaction_metadata_ptr> _cached_trxs;
manages light-weight state for all potential unconfirmed forks
std::function< std::vector< signature_type >(const digest_type &)> signer_callback_type
deque< block_state_ptr > branch_type
std::shared_ptr< signed_block > signed_block_ptr
std::shared_ptr< block_state > block_state_ptr
#define FC_REFLECT_DERIVED(TYPE, INHERITS, MEMBERS)
Specializes fc::reflector for TYPE where type inherits other reflected classes.
defines visit functions for T Unless this is specialized, visit() will not be defined for T.
friend bool block_state_is_valid(const block_state &)