Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
25699d90
Commit
25699d90
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
fix after rebase
parent
42012d58
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
This commit is part of merge request
!176
. Comments created here will be created in the context of that merge request.
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
node/src/chain_spec/gdev.rs
+10
-10
10 additions, 10 deletions
node/src/chain_spec/gdev.rs
with
10 additions
and
10 deletions
node/src/chain_spec/gdev.rs
+
10
−
10
Edit
View file @
25699d90
...
@@ -339,11 +339,11 @@ fn gen_genesis_for_local_chain(
...
@@ -339,11 +339,11 @@ fn gen_genesis_for_local_chain(
assert!
(
initial_smiths_len
<=
initial_identities_len
);
assert!
(
initial_smiths_len
<=
initial_identities_len
);
assert!
(
initial_authorities_len
<=
initial_smiths_len
);
assert!
(
initial_authorities_len
<=
initial_smiths_len
);
let
babe_epoch_duration
=
get_env
_u32
(
"DUNITER_BABE_EPOCH_DURATION"
,
30
)
as
u64
;
let
babe_epoch_duration
=
get_env
(
"DUNITER_BABE_EPOCH_DURATION"
,
30
)
as
u64
;
let
cert_validity_period
=
get_env
_u32
(
"DUNITER_CERT_VALIDITY_PERIOD"
,
1_000
);
let
cert_validity_period
=
get_env
(
"DUNITER_CERT_VALIDITY_PERIOD"
,
1_000
);
let
membership_period
=
get_env
_u32
(
"DUNITER_MEMBERSHIP_PERIOD"
,
1_000
);
let
membership_period
=
get_env
(
"DUNITER_MEMBERSHIP_PERIOD"
,
1_000
);
let
smith_cert_validity_period
=
get_env
_u32
(
"DUNITER_SMITH_CERT_VALIDITY_PERIOD"
,
1_000
);
let
smith_cert_validity_period
=
get_env
(
"DUNITER_SMITH_CERT_VALIDITY_PERIOD"
,
1_000
);
let
smith_membership_period
=
get_env
_u32
(
"DUNITER_SMITH_MEMBERSHIP_PERIOD"
,
1_000
);
let
smith_membership_period
=
get_env
(
"DUNITER_SMITH_MEMBERSHIP_PERIOD"
,
1_000
);
let
ud_creation_period
=
get_env
(
"DUNITER_UD_CREATION_PERIOD"
,
60_000
);
let
ud_creation_period
=
get_env
(
"DUNITER_UD_CREATION_PERIOD"
,
60_000
);
let
ud_reeval_period
=
get_env
(
"DUNITER_UD_REEEVAL_PERIOD"
,
1_200_000
);
let
ud_reeval_period
=
get_env
(
"DUNITER_UD_REEEVAL_PERIOD"
,
1_200_000
);
let
ud
=
1_000
;
let
ud
=
1_000
;
...
@@ -505,11 +505,11 @@ fn gen_genesis_for_benchmark_chain(
...
@@ -505,11 +505,11 @@ fn gen_genesis_for_benchmark_chain(
assert!
(
initial_smiths_len
<=
initial_identities_len
);
assert!
(
initial_smiths_len
<=
initial_identities_len
);
assert!
(
initial_authorities_len
<=
initial_smiths_len
);
assert!
(
initial_authorities_len
<=
initial_smiths_len
);
let
babe_epoch_duration
=
get_env
_u32
(
"DUNITER_BABE_EPOCH_DURATION"
,
30
)
as
u64
;
let
babe_epoch_duration
=
get_env
(
"DUNITER_BABE_EPOCH_DURATION"
,
30
)
as
u64
;
let
cert_validity_period
=
get_env
_u32
(
"DUNITER_CERT_VALIDITY_PERIOD"
,
1_000
);
let
cert_validity_period
=
get_env
(
"DUNITER_CERT_VALIDITY_PERIOD"
,
1_000
);
let
membership_period
=
get_env
_u32
(
"DUNITER_MEMBERSHIP_PERIOD"
,
1_000
);
let
membership_period
=
get_env
(
"DUNITER_MEMBERSHIP_PERIOD"
,
1_000
);
let
smith_cert_validity_period
=
get_env
_u32
(
"DUNITER_SMITH_CERT_VALIDITY_PERIOD"
,
1_000
);
let
smith_cert_validity_period
=
get_env
(
"DUNITER_SMITH_CERT_VALIDITY_PERIOD"
,
1_000
);
let
smith_membership_period
=
get_env
_u32
(
"DUNITER_SMITH_MEMBERSHIP_PERIOD"
,
1_000
);
let
smith_membership_period
=
get_env
(
"DUNITER_SMITH_MEMBERSHIP_PERIOD"
,
1_000
);
let
ud_creation_period
=
get_env
(
"DUNITER_UD_CREATION_PERIOD"
,
60_000
);
let
ud_creation_period
=
get_env
(
"DUNITER_UD_CREATION_PERIOD"
,
60_000
);
let
ud_reeval_period
=
get_env
(
"DUNITER_UD_REEEVAL_PERIOD"
,
1_200_000
);
let
ud_reeval_period
=
get_env
(
"DUNITER_UD_REEEVAL_PERIOD"
,
1_200_000
);
let
ud
=
1_000
;
let
ud
=
1_000
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment