Crate common_types[−][src]
Types used in the public API
This crate stores Tetsy Vapory specific types that are COMMONLY used across different separate modules of the codebase. It should only focus on data structures, not any logic that relates to them.
The interaction between modules should be possible by implementing a required trait that potentially uses some of the data structures from that crate.
NOTE If you can specify your data type in the same crate as your trait, please do that.
Don’t treat this crate as a bag for any types that we use in Tetsy Vapory.
This one is reserved for types that are shared heavily (like transactions),
historically this contains types extracted from vapcore
crate, if possible
we should try to dissolve that crate in favour of more fine-grained crates,
by moving the types closer to where they are actually required.
Modules
account_diff | Diff between two accounts. |
ancestry_action | Actions on ancestry blocks when working on a new block. |
basic_account | Basic account type – the decoded RLP from the state trie. |
block | Base data structure of this module is |
block_status | General block status |
blockchain_info | Blockhain info type definition |
call_analytics | Call analytics related types |
chain_notify | Types pertaining to sending messages and finding routes through the chain. Used mostly by the ChainNotify trait. |
client_types | Client related types. |
data_format | Data format for importing/exporting blocks from disk |
encoded | Lazily-decoded owning views of RLP-encoded blockchain objects. These views are meant to contain trusted data – without encoding errors or inconsistencies. |
engines | Engine-specific types. |
errors | General error types for use in tetsy-vapory. |
filter | Blockchain filter |
header | Block header. |
ids | Unique identifiers. |
import_route | Calculate import route for newly inserted blocks. |
io_message | Defines the |
log_entry | Log entry type definition. |
pruning_info | Information about portions of the state and chain which the client may serve. |
receipt | Receipt |
security_level | Indication of how secure the chain is. |
snapshot | Snapshot type definitions |
state_diff | State diff module. |
trace_filter | Trace filter related types |
transaction | Vapory Transactions |
tree_route | Tree route info type definition |
verification | Verification types |
views | Block oriented views onto rlp. |
Macros
view | Create a view into RLP-data |
Type Definitions
BlockNumber | Type for block number. |