Restrict max code size to 23999 bytes for EIP-150 and after.

Former-commit-id: 379c1e17d6740be225ed99bad73732330bd9c10a
This commit is contained in:
Gav Wood
2016-11-11 11:56:58 +01:00
committed by arkpar
parent afa21ce001
commit 780cf0ce1a
5 changed files with 19 additions and 7 deletions

View File

@@ -85,6 +85,10 @@ pub struct EthashParams {
/// See main EthashParams docs.
#[serde(rename="eip161dTransition")]
pub eip161d_transition: Option<Uint>,
/// See main EthashParams docs.
#[serde(rename="maxCodeSize")]
pub max_code_size: Option<Uint>,
}
/// Ethash engine deserialization.