Files
nanoreth/crates/primitives/src/block.rs
rakita bc30cbce61 Skeleton primitives and interface crate (#13)
* wip interface primitives

* wip

* Integrate it inside rpc- crates

* fmt

* move tx to mod.rs

* Add interfaces, executor to toml

* Added nits, comments fix
2022-10-06 14:48:57 +02:00

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>,
}