2018-06-04 10:19:50 +02:00
|
|
|
// Copyright 2015-2018 Parity Technologies (UK) Ltd.
|
2016-02-27 02:16:39 +01:00
|
|
|
// This file is part of Parity.
|
|
|
|
|
|
|
|
// Parity is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
|
|
|
|
// Parity is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2017-07-12 13:09:17 +02:00
|
|
|
//! Types used in the public API
|
|
|
|
|
2018-01-10 13:35:18 +01:00
|
|
|
extern crate ethereum_types;
|
Delete crates from parity-ethereum and fetch them from parity-common instead (#9083)
Use crates from parity-common: hashdb, keccak-hash, kvdb, kvdb-memorydb, kvdb-rocksdb, memorydb, parity-bytes, parity-crypto, path, patricia_trie, plain_hasher, rlp, target, test-support, trie-standardmap, triehash
2018-07-10 14:59:19 +02:00
|
|
|
extern crate parity_bytes as bytes;
|
2017-07-12 13:09:17 +02:00
|
|
|
extern crate ethjson;
|
|
|
|
extern crate rlp;
|
2017-08-20 06:01:46 +02:00
|
|
|
#[macro_use]
|
|
|
|
extern crate rlp_derive;
|
2017-11-10 19:04:55 +01:00
|
|
|
extern crate keccak_hash as hash;
|
2017-08-30 16:04:47 +02:00
|
|
|
extern crate heapsize;
|
2017-07-12 13:09:17 +02:00
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
extern crate rustc_hex;
|
|
|
|
|
2016-05-31 21:03:44 +02:00
|
|
|
pub mod account_diff;
|
2017-07-12 13:09:17 +02:00
|
|
|
pub mod basic_account;
|
|
|
|
pub mod block_status;
|
|
|
|
pub mod blockchain_info;
|
2016-07-07 09:39:32 +02:00
|
|
|
pub mod call_analytics;
|
2017-07-12 13:09:17 +02:00
|
|
|
pub mod filter;
|
|
|
|
pub mod ids;
|
|
|
|
pub mod log_entry;
|
2016-12-13 20:49:26 +01:00
|
|
|
pub mod pruning_info;
|
2017-07-12 13:09:17 +02:00
|
|
|
pub mod receipt;
|
|
|
|
pub mod restoration_status;
|
2016-12-28 13:44:51 +01:00
|
|
|
pub mod security_level;
|
2017-07-12 13:09:17 +02:00
|
|
|
pub mod snapshot_manifest;
|
|
|
|
pub mod state_diff;
|
|
|
|
pub mod trace_filter;
|
|
|
|
pub mod tree_route;
|
|
|
|
pub mod verification_queue_info;
|
2018-05-16 08:58:01 +02:00
|
|
|
pub mod ancestry_action;
|
2017-07-12 13:09:17 +02:00
|
|
|
|
|
|
|
/// Type for block number.
|
|
|
|
pub type BlockNumber = u64;
|