Limit number of uncles that can be provided. (#4298)
* Limit number of uncles that can be provided. * Check length of uncles vector on inherent. * Set fatal error to true for too many uncles. * Take max uncles in create_inherent.
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- frame/authorship/src/lib.rs 19 additions, 7 deletionsframe/authorship/src/lib.rs
- primitives/authorship/Cargo.toml 1 addition, 0 deletionsprimitives/authorship/Cargo.toml
- primitives/authorship/src/lib.rs 17 additions, 1 deletionprimitives/authorship/src/lib.rs
Please register or sign in to comment