Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
system.cpp
Go to the documentation of this file.
4
5namespace sysio { namespace chain { namespace webassembly {
6 /* these are both unfortunate that we didn't make the return type an int64_t */
8 return static_cast<uint64_t>( context.control.pending_block_time().time_since_epoch().count() );
9 }
10
12 return static_cast<uint64_t>( context.trx_context.published.time_since_epoch().count() );
13 }
14
16 return context.control.is_protocol_feature_activated( *feature_digest );
17 }
18
20 return context.get_sender();
21 }
22
24 return context.control.pending_block_num();
25 }
26
27}}} // ns sysio::chain::webassembly
bool is_feature_activated(legacy_ptr< const digest_type > feature_digest) const
Definition system.cpp:15
int * count
unsigned int uint32_t
Definition stdint.h:126
unsigned __int64 uint64_t
Definition stdint.h:136
Immutable except for fc::from_variant.
Definition name.hpp:43