Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
dd3f32d8
Unverified
Commit
dd3f32d8
authored
May 12, 2020
by
joe petrowski
Committed by
GitHub
May 12, 2020
Browse files
change BlockHashCount parameter (#1086)
parent
7b116e35
Pipeline
#92117
passed with stages
in 25 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
runtime/common/src/lib.rs
View file @
dd3f32d8
...
...
@@ -51,7 +51,7 @@ pub use impls::{CurrencyToVoteHandler, TargetedFeeAdjustment, ToAuthor};
pub
type
NegativeImbalance
<
T
>
=
<
balances
::
Module
<
T
>
as
Currency
<<
T
as
system
::
Trait
>
::
AccountId
>>
::
NegativeImbalance
;
parameter_types!
{
pub
const
BlockHashCount
:
BlockNumber
=
2
5
0
;
pub
const
BlockHashCount
:
BlockNumber
=
2
40
0
;
pub
const
MaximumBlockWeight
:
Weight
=
2
*
WEIGHT_PER_SECOND
;
pub
const
AvailableBlockRatio
:
Perbill
=
Perbill
::
from_percent
(
75
);
pub
const
MaximumBlockLength
:
u32
=
5
*
1024
*
1024
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment