Encode networkid as a u64.

This commit is contained in:
Gav Wood
2016-12-04 10:48:26 -08:00
parent 0c7b7fc8bc
commit 2911c549e3
8 changed files with 19 additions and 19 deletions

View File

@@ -113,7 +113,7 @@ pub trait Engine : Sync + Send {
fn verify_transaction(&self, _t: &SignedTransaction, _header: &Header) -> Result<(), Error> { Ok(()) }
/// The network ID that transactions should be signed with.
fn signing_network_id(&self, _env_info: &EnvInfo) -> Option<u8> { None }
fn signing_network_id(&self, _env_info: &EnvInfo) -> Option<u64> { None }
/// Verify the seal of a block. This is an auxilliary method that actually just calls other `verify_` methods
/// to get the job done. By default it must pass `verify_basic` and `verify_block_unordered`. If more or fewer