Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
devportal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
hive
devportal
Commits
781c7213
Commit
781c7213
authored
4 years ago
by
inertia
Browse files
Options
Downloads
Patches
Plain Diff
add rc config
parent
391d524d
No related branches found
No related tags found
2 merge requests
!61
Deploy to Production
,
!58
add rc config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_tutorials-recipes/setting-up-a-testnet.md
+4
-0
4 additions, 0 deletions
_tutorials-recipes/setting-up-a-testnet.md
with
4 additions
and
0 deletions
_tutorials-recipes/setting-up-a-testnet.md
+
4
−
0
View file @
781c7213
...
@@ -161,6 +161,8 @@ Then make the following changes to the generated `config.ini`:
...
@@ -161,6 +161,8 @@ Then make the following changes to the generated `config.ini`:
*
Enable plugins
`chain debug_node p2p webserver block_api chain_api database_api debug_node_api network_broadcast_api`
*
Enable plugins
`chain debug_node p2p webserver block_api chain_api database_api debug_node_api network_broadcast_api`
*
Pick a random port for p2p, say
`12541`
*
Pick a random port for p2p, say
`12541`
*
Edit
`shared-file-size`
down, say
`12G`
*
Edit
`shared-file-size`
down, say
`12G`
*
Edit
`rc-account-whitelist`
down, say
`porter tnman`
*
Add
`rc-start-at-block`
to, say
`100000`
*
Pick a random port for
`webserver-http-endpoint`
and set
`webserver-ws-endpoint`
to the next-highest port.
*
Pick a random port for
`webserver-http-endpoint`
and set
`webserver-ws-endpoint`
to the next-highest port.
To summarize, the
*changed*
values are:
To summarize, the
*changed*
values are:
...
@@ -169,6 +171,8 @@ To summarize, the *changed* values are:
...
@@ -169,6 +171,8 @@ To summarize, the *changed* values are:
plugin
=
chain debug_node p2p webserver block_api chain_api database_api debug_node_api network_broadcast_api
plugin
=
chain debug_node p2p webserver block_api chain_api database_api debug_node_api network_broadcast_api
shared-file-size
=
12G
shared-file-size
=
12G
p2p-endpoint
=
0.0.0.0:12541
p2p-endpoint
=
0.0.0.0:12541
rc-account-whitelist
=
porter tnman
rc-start-at-block
=
100000
webserver-http-endpoint
=
0.0.0.0:18751
webserver-http-endpoint
=
0.0.0.0:18751
webserver-ws-endpoint
=
0.0.0.0:18752
webserver-ws-endpoint
=
0.0.0.0:18752
```
```
...
...
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