mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
* wip interface primitives * wip * Integrate it inside rpc- crates * fmt * move tx to mod.rs * Add interfaces, executor to toml * Added nits, comments fix
13 lines
308 B
Rust
13 lines
308 B
Rust
use crate::{Header, Receipt, Transaction};
|
|
|
|
/// Ethereum full block.
|
|
#[derive(Debug, Clone, PartialEq, Eq, Default)]
|
|
pub struct Block {
|
|
/// Block header.
|
|
pub header: Header,
|
|
/// Transactions in this block.
|
|
pub body: Vec<Transaction>,
|
|
/// Block receipts.
|
|
pub receipts: Vec<Receipt>,
|
|
}
|