Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
trace_converter.hpp
Go to the documentation of this file.
1#pragma once
2
5
6namespace sysio {
7namespace state_history {
8
11
13 std::map<transaction_id_type, augmented_transaction_trace> cached_traces;
14 std::optional<augmented_transaction_trace> onblock_trace;
15
17 bytes pack(const chainbase::database& db, bool trace_debug_mode, const block_state_ptr& block_state);
18};
19
20} // namespace state_history
21} // namespace sysio
std::shared_ptr< transaction_trace > transaction_trace_ptr
Definition trace.hpp:20
std::shared_ptr< const packed_transaction > packed_transaction_ptr
checksum_type transaction_id_type
Definition types.hpp:236
std::shared_ptr< block_state > block_state_ptr
bytes pack(const chainbase::database &db, bool trace_debug_mode, const block_state_ptr &block_state)
std::optional< augmented_transaction_trace > onblock_trace
void add_transaction(const transaction_trace_ptr &trace, const chain::packed_transaction_ptr &transaction)
std::map< transaction_id_type, augmented_transaction_trace > cached_traces