8#include <boost/multi_index/hashed_index.hpp>
9#include <boost/multi_index/mem_fun.hpp>
13namespace sysio {
namespace chain {
14 using boost::multi_index_container;
15 using namespace boost::multi_index;
38 packed_trx.
resize_and_fill( trxsize, [&trx](
char* data, std::size_t size) {
57 ordered_unique< tag<by_expiration>,
63 ordered_unique< tag<by_delay>,
69 ordered_unique< tag<by_sender_id>,
109 static const uint64_t overhead = overhead_per_row_per_index_ram_bytes * 5;
#define CHAINBASE_SET_INDEX_TYPE(OBJECT_TYPE, INDEX_TYPE)
void resize_and_fill(std::size_t new_size, F &&f)
time_point expiration
this generated transaction will not be applied until the specified time
time_point published
this generated transaction will not be applied after this time
generated_transaction(generated_transaction &>)=default
generated_transaction(const generated_transaction >)=default
transaction_id_type trx_id
generated_transaction(const generated_transaction_object >o)
vector< char > packed_trx
boost::multi_index_container< Object, Args..., chainbase::node_allocator< Object > > shared_multi_index_container
void pack(Stream &s, const std::deque< T > &value)
size_t pack_size(const T &v)
unsigned __int128 uint128_t
chainbase::shared_multi_index_container< generated_transaction_object, indexed_by< ordered_unique< tag< by_id >, BOOST_MULTI_INDEX_MEMBER(generated_transaction_object, generated_transaction_object::id_type, id)>, ordered_unique< tag< by_trx_id >, BOOST_MULTI_INDEX_MEMBER(generated_transaction_object, transaction_id_type, trx_id)>, ordered_unique< tag< by_expiration >, composite_key< generated_transaction_object, BOOST_MULTI_INDEX_MEMBER(generated_transaction_object, time_point, expiration), > >, ordered_unique< tag< by_delay >, composite_key< generated_transaction_object, BOOST_MULTI_INDEX_MEMBER(generated_transaction_object, time_point, delay_until), > >, ordered_unique< tag< by_sender_id >, composite_key< generated_transaction_object, BOOST_MULTI_INDEX_MEMBER(generated_transaction_object, account_name, sender), > > > > generated_transaction_multi_index
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
unsigned __int64 uint64_t
Immutable except for fc::from_variant.