-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add `block_transaction_size_limit` to `ConsensusParameters` * Satisfy clippy * Add support for using `ConsensusParametersV2` * Update `CHANGELOG.md` * Remove superfluous constructor `ConsensusParameters::new_v2()` * Update `CHANGELOG.md` * Remove the superfluous `ConsensusParameters::standard_v2()` constructor and use V2 by default * Update CHANGELOG.md Co-authored-by: Green Baneling <[email protected]> * Explain the changes in `ConsensusParametersV2` in a doc comment * `block_transaction_size_limit` for parametes is set to `u64::MAX` * Add test showing that it is not possible to set explicit block size limit for legacy (V1) consensus parameters --------- Co-authored-by: Green Baneling <[email protected]>
- Loading branch information
Showing
6 changed files
with
159 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -920,6 +920,7 @@ mod tests { | |
Default::default(), | ||
Default::default(), | ||
Default::default(), | ||
Default::default(), | ||
) | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters