-
Notifications
You must be signed in to change notification settings - Fork 78
[CHORE] Testnet config #663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,20 @@ | ||
| { | ||
| include "base.conf" | ||
| chain-id = "0x2A" | ||
| network-id = 42 | ||
| custom-genesis-file = "chains/private-genesis.json" | ||
| dao = null | ||
| bootstrap-nodes = [] | ||
| include "base.conf" | ||
| frontier-block-number = "0" | ||
| homestead-block-number = "0" | ||
| eip150-block-number = "0" | ||
| eip155-block-number = "0" | ||
| eip160-block-number = "0" | ||
| difficulty-bomb-pause-block-number = "0" | ||
| difficulty-bomb-continue-block-number = "0" | ||
| difficulty-bomb-removal-block-number = "0" | ||
| atlantis-block-number = "0" | ||
| agharta-block-number = "0" | ||
| phoenix-block-number = "0" | ||
|
|
||
| chain-id = "0x2A" | ||
| network-id = 42 | ||
| custom-genesis-file = "chains/private.json" | ||
| dao = null | ||
| bootstrap-nodes = [] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,12 +12,21 @@ mantis { | |
| # Set to false to disable broadcasting the NewBlockHashes message, as its usefulness is debatable, | ||
| # especially in the context of private networks | ||
| broadcast-new-block-hashes = false | ||
|
|
||
| pruning { | ||
| mode = "archive" | ||
| } | ||
| } | ||
|
|
||
| blockchains { | ||
| network = "private" | ||
| } | ||
|
|
||
| consensus { | ||
| coinbase = "0011223344556677889900112233445566778899" # has to be changed for each node | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why this is part of the default?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wanted to have anything here(it is the default from application.conf). For each node, we have to obtain a different account |
||
| mining-enabled = true | ||
| } | ||
|
|
||
| network { | ||
| discovery { | ||
| # We assume a fixed cluster, so `bootstrap-nodes` must not be empty | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would double check if we do not have some boolean conflicts when are block numbers are equal to 0 (like in ets test sometimes we have fork block equal to
-1to keep the ordering between forks)