-
Notifications
You must be signed in to change notification settings - Fork 10
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
Running a sequencer #227
Draft
augustocollado
wants to merge
10
commits into
main
Choose a base branch
from
augustocollado/node-operators-revisit
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Running a sequencer #227
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
2794913
sequencers index page fix
augustocollado 70b25bf
Onboard sequencers - Index page
augustocollado 786ef3b
run a sequencer index
augustocollado 22e3d33
sequencers with docker - partial
augustocollado 328d505
Sequencers section
augustocollado 356921a
startup commands
augustocollado 9baaff6
upgrade
augustocollado 46a407a
missing backslash
augustocollado 684e211
updated command
augustocollado 3a2f1bd
Running a sequencer
augustocollado File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
50 changes: 35 additions & 15 deletions
50
...ators/sequencers/onboarding/run-a-sequencer/sequencers-docker/docker-command.md
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 |
---|---|---|
@@ -1,23 +1,43 @@ | ||
--chain=dancebox \ | ||
--name=INSERT_YOUR_TANSSI_NODE_NAME \ | ||
--sync=warp \ | ||
--base-path=/data/para \ | ||
--name=INSERT_YOUR_SEQUENCER_NODE_NAME \ | ||
--base-path=/data/container \ | ||
--node-key-file=/data/node-key \ | ||
--keystore-path=/data/keys/session \ | ||
--telemetry-url='wss://telemetry.polkadot.io/submit/ 0' \ | ||
--database=paritydb \ | ||
--rpc-port=9944 \ | ||
--rpc-cors=all \ | ||
--rpc-max-connections 100 \ | ||
--unsafe-rpc-external \ | ||
--rpc-methods=unsafe \ | ||
--prometheus-port=9615 \ | ||
--prometheus-external \ | ||
--listen-addr=/ip4/0.0.0.0/tcp/30333 \ | ||
--state-pruning=2000 \ | ||
--blocks-pruning=2000 \ | ||
--db-cache=1024 \ | ||
--trie-cache-size=1073741824 \ | ||
--collator \ | ||
--telemetry-url='wss://telemetry.polkadot.io/submit/ 0' \ | ||
--database paritydb \ | ||
--node-key-file /data/node-key \ | ||
--in-peers=100 \ | ||
--detailed-log-output \ | ||
-- \ | ||
--name=INSERT_YOUR_BLOCK_PRODUCER_NODE_NAME \ | ||
--base-path=/data/container \ | ||
--telemetry-url='wss://telemetry.polkadot.io/submit/ 0' \ | ||
-- \ | ||
--chain=westend_moonbase_relay_testnet \ | ||
--name=INSERT_YOUR_RELAY_NODE_NAME \ | ||
--chain=/chain-network/relay-raw-no-bootnodes-specs.json \ | ||
--name=INSERT_YOUR_TANSSI_NODE_NAME \ | ||
--sync=fast \ | ||
--base-path=/data/relay \ | ||
--base-path=/data/relay \ | ||
--node-key-file=/data/node-key \ | ||
--database=paritydb \ | ||
--rpc-port=9945 \ | ||
--rpc-cors=all \ | ||
--rpc-methods=safe \ | ||
--unsafe-rpc-external \ | ||
--prometheus-port=9616 \ | ||
--prometheus-external \ | ||
--listen-addr=/ip4/0.0.0.0/tcp/30334 \ | ||
--pool-limit=0 \ | ||
--db-cache=128 \ | ||
--out-peers=15 \ | ||
--state-pruning=2000 \ | ||
--blocks-pruning=2000 \ | ||
--telemetry-url='wss://telemetry.polkadot.io/submit/ 0' \ | ||
--database paritydb | ||
--bootnodes=/dns4/fraa-stagelight-rpc-0.a.stagenet.tanssi.network/tcp/30334/p2p/12D3KooWCUwf99GjNKtDJ7SnuGPaecdiugiWJ3pr9JdoH27BW2tZ \ | ||
--bootnodes=/dns4/fraa-stagelight-rpc-1.a.stagenet.tanssi.network/tcp/30334/p2p/12D3KooWHRQfPBf82SUU39CFh5jcUT1TL2ZvvTWvnbtghxqqNQwa" |
8 changes: 4 additions & 4 deletions
8
...s/onboarding/run-a-sequencer/sequencers-docker/terminal/pulling-docker-image.md
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<div id="termynal" data-termynal> | ||
<span data-ty="input"><span class="file-path"></span>docker pull moondancelabs/tanssi</span> | ||
<span data-ty="input"><span class="file-path"></span>docker pull moondancelabs/stagelight-collators:3</span> | ||
<span data-ty> | ||
<br> | ||
<br> Using default tag: latest | ||
<br> latest: Pulling from moondancelabs/tanssi | ||
<br> latest: Pulling from moondancelabs/stagelight-collators:3 | ||
<br> e1caac4eb9d2: Pull complete | ||
<br> 1d4409959e6d: Pull complete | ||
<br> b8beed19c122: Pull complete | ||
<br> c0fab1f18601: Pull complete | ||
<br> d9dcf3cddfc5: Pull complete | ||
<br> Digest: sha256:0f717d6cf247bbb1b082f5f9e5761b23c44a0be8b704492a57fdbf8c63c0a91c | ||
<br> Status: Downloaded newer image for moondancelabs/tanssi | ||
<br> docker.io/moondancelabs/tanssi:latest | ||
<br> Status: Downloaded newer image for moondancelabs/stagelight-collators:3 | ||
<br> docker.io/moondancelabs/stagelight-collators:3 | ||
</span> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
...node-operators/sequencers/onboarding/run-a-sequencer/generate-node-key-intro.md
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 |
---|---|---|
@@ -1 +1 @@ | ||
Starting from [runtime 700 release](https://github.com/moondance-labs/tanssi/releases/tag/runtime-700){target=\_blank}, Tanssi block producer nodes don't generate the session keys automatically on start-up. To generate and store on disk the session keys that will be referenced on the start-up command, run the following command: | ||
Starting from [runtime 700 release](https://github.com/moondance-labs/tanssi/releases/tag/runtime-700){target=\_blank}, Tanssi sequencer nodes don't generate the session keys automatically on start-up. To generate and store on disk the session keys that will be referenced on the start-up command, run the following command: |
4 changes: 2 additions & 2 deletions
4
.snippets/text/node-operators/sequencers/onboarding/run-a-sequencer/intro.md
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
One of Tanssi's core propositions is that it provides decentralized and trustless block production for its networks. Tanssi's runtime handles sequencer assignments to all the active networks in the Tanssi ecosystem. | ||
|
||
Each time, the assignment algorithm distributes the available block producers per session, assigning them to a random chain. Consequently, they would be producing blocks for the same network only for a relatively short period, increasing the overall security of the ecosystem. | ||
Each time, the assignment algorithm distributes the available set of sequencers per session, assigning them to a random chain. Consequently, they would be producing blocks for the same network only for a relatively short period, increasing the overall security of the ecosystem. | ||
|
||
To this end, Tanssi's binary file (the software used to run nodes) already has an embedded mechanism to switch block production automatically to the assigned chain without requiring the node operator to make any changes. The binary includes the logic to sync the new chain and produce blocks when the session changes. Consequently, sequencers need to run the Tanssi binary file, and not that of the networks (like full nodes). | ||
To this end, Tanssi's binary file (the software used to run nodes) already has an embedded mechanism to switch block production automatically to the assigned chain without requiring the node operator to make any changes. The binary includes the logic to sync the new chain and produce blocks when the session changes. Consequently, sequencers need to run the Tanssi binary file, and not that of the networks (like full nodes do). |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.