Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
Docker 5 genesisSlot
Browse files Browse the repository at this point in the history
  • Loading branch information
karimodm committed Nov 16, 2023
1 parent 837e70f commit 00bdb31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/genesis-snapshot/presets/presets.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ var Docker = []options.Option[snapshotcreator.Options]{
iotago.NewV3ProtocolParameters(
iotago.WithNetworkOptions("docker", "rms"),
iotago.WithSupplyOptions(4_600_000_000_000_000, 1, 1, 10, 100, 100, 100),
iotago.WithTimeProviderOptions(1000, time.Now().Unix(), 10, 13),
iotago.WithTimeProviderOptions(5, time.Now().Unix(), 10, 13),
iotago.WithLivenessOptions(30, 30, 7, 14, 30),
// increase/decrease threshold = fraction * slotDurationInSeconds * schedulerRate
iotago.WithCongestionControlOptions(500, 500, 500, 800000, 500000, 100000, 1000, 100),
Expand Down Expand Up @@ -242,7 +242,7 @@ var Feature = []options.Option[snapshotcreator.Options]{
iotago.NewV3ProtocolParameters(
iotago.WithNetworkOptions("feature", "rms"),
iotago.WithSupplyOptions(4_600_000_000_000_000, 100, 1, 10, 100, 100, 100),
iotago.WithTimeProviderOptions(666666, time.Now().Unix()-100_000, 10, 13), // Let's fix genesis at 10_000 slots back.
iotago.WithTimeProviderOptions(666666, time.Now().Unix() - 100_000, 10, 13), // Let's fix genesis at 10_000 slots back.
iotago.WithLivenessOptions(30, 30, 10, 20, 30),
// increase/decrease threshold = fraction * slotDurationInSeconds * schedulerRate
iotago.WithCongestionControlOptions(500, 500, 500, 800000, 500000, 100000, 1000, 100),
Expand Down

0 comments on commit 00bdb31

Please sign in to comment.