binary for receipt

This commit is contained in:
Nikolay Volf 2016-05-06 17:41:17 +04:00
parent e7c4e5273a
commit 79d6c84a43

View File

@ -16,13 +16,21 @@
//! Receipt //! Receipt
use util::*; use util::numbers::*;
use std::ops::Deref;
use util::rlp::*;
use util::Bytes;
use util::HeapSizeOf;
use util::sha3::*;
use basic_types::LogBloom; use basic_types::LogBloom;
use header::BlockNumber; use header::BlockNumber;
use log_entry::{LogEntry, LocalizedLogEntry}; use log_entry::{LogEntry, LocalizedLogEntry};
use ipc::binary::BinaryConvertError;
use std::mem;
use std::collections::VecDeque;
/// Information describing execution of a transaction. /// Information describing execution of a transaction.
#[derive(Default, Debug, Clone)] #[derive(Default, Debug, Clone, Binary)]
pub struct Receipt { pub struct Receipt {
/// The state root after executing the transaction. /// The state root after executing the transaction.
pub state_root: H256, pub state_root: H256,