Don't reexport bigint from util

This commit is contained in:
Fredrik
2017-09-04 16:36:49 +02:00
parent 56f46edab8
commit 308f36a532
285 changed files with 675 additions and 332 deletions

View File

@@ -45,7 +45,9 @@ use light::net::{
};
use light::request::{self, CompleteHeadersRequest as HeadersRequest};
use network::PeerId;
use util::{U256, H256, Mutex, RwLock};
use bigint::prelude::U256;
use bigint::hash::H256;
use util::{Mutex, RwLock};
use rand::{Rng, OsRng};
use self::sync_round::{AbortReason, SyncRound, ResponseContext};

View File

@@ -22,7 +22,7 @@ use ethcore::encoded;
use ethcore::header::Header;
use light::request::{HashOrNumber, CompleteHeadersRequest as HeadersRequest};
use rlp::DecoderError;
use util::H256;
use bigint::hash::H256;
/// Errors found when decoding headers and verifying with basic constraints.
#[derive(Debug, PartialEq)]

View File

@@ -27,7 +27,7 @@ use light::net::ReqId;
use light::request::CompleteHeadersRequest as HeadersRequest;
use network::PeerId;
use util::H256;
use bigint::hash::H256;
use super::response;