* Support parity protocol. (#8035)
* updater: apply exponential backoff after download failure (#8059)
* updater: apply exponential backoff after download failure
* updater: reset backoff on new release
* Max code size on Kovan (#8067)
* Enable code size limit on kovan
* Fix formatting.
* Limit incoming connections. (#8060)
* Limit ingress connections
* Optimized handshakes logging
* WASM libraries bump (#7970)
* update wasmi, parity-wasm, wasm-utils to latest version
* Update to new wasmi & error handling
* also utilize new stack limiter
* fix typo
* replace dependency url
* Cargo.lock update
* add some dos protection (#8084)
* revert removing blooms (#8066)
* Revert "fix traces, removed bloomchain crate, closes #7228, closes #7167"
This reverts commit 1bf62038678295e5586f02a38a0c5aab9a9efe62.
* Revert "fixed broken logs (#7934)"
This reverts commit f8a2e53f3e.
* fixed broken logs
* bring back old lock order
* remove migration v13
* revert CURRENT_VERSION to 12 in migration.rs
* more dos protection (#8104)
* Const time comparison (#8113)
* Use `subtle::slices_equal` for constant time comparison.
Also update the existing version of subtle in `ethcrypto` from
0.1 to 0.5
* Test specifically for InvalidPassword error.
* fix trace filter returning returning unrelated reward calls, closes #8070 (#8098)
* network: init discovery using healthy nodes (#8061)
* network: init discovery using healthy nodes
* network: fix style grumble
* network: fix typo
* Postpone Kovan hard fork (#8137)
* ethcore: postpone Kovan hard fork
* util: update version fork metadata
* Disable UI by default. (#8105)
* dapps: update parity-ui dependencies (#8160)
27 lines
912 B
Rust
27 lines
912 B
Rust
use std::collections::HashMap;
|
|
use ethereum_types::H256;
|
|
use header::BlockNumber;
|
|
use blockchain::block_info::BlockInfo;
|
|
use blockchain::extras::{BlockDetails, BlockReceipts, TransactionAddress};
|
|
use blooms::{BloomGroup, GroupPosition};
|
|
|
|
/// Block extras update info.
|
|
pub struct ExtrasUpdate<'a> {
|
|
/// Block info.
|
|
pub info: BlockInfo,
|
|
/// Block timestamp.
|
|
pub timestamp: u64,
|
|
/// Current block uncompressed rlp bytes
|
|
pub block: &'a [u8],
|
|
/// Modified block hashes.
|
|
pub block_hashes: HashMap<BlockNumber, H256>,
|
|
/// Modified block details.
|
|
pub block_details: HashMap<H256, BlockDetails>,
|
|
/// Modified block receipts.
|
|
pub block_receipts: HashMap<H256, BlockReceipts>,
|
|
/// Modified blocks blooms.
|
|
pub blocks_blooms: HashMap<GroupPosition, BloomGroup>,
|
|
/// Modified transaction addresses (None signifies removed transactions).
|
|
pub transactions_addresses: HashMap<H256, Option<TransactionAddress>>,
|
|
}
|