You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test requirements: a fully-synced Costwo or Flare node using the above config, and a connected Flare Rosetta server.
70
75
@@ -114,7 +119,6 @@ check:data
114
119
|`EXTRA_ARGUMENTS`|| Extra arguments passed to flare binary |
115
120
|`ROSETTA_FLARE_ENDPOINT`|`http://127.0.0.1:9650`| go-flare HTTP endpoint used by rosetta |
116
121
|`ROSETTA_CONFIG_PATH`|`/app/conf/${NETWORK_ID}/server-config.json`| Configuration path used by rosetta |
117
-
|`STAKING_ENABLED`|`true`| set it to `false` to make avalanchego sample all nodes, not just validators. Read [Disabling staking](#disabling-staking)! Avalanchego docs: [--staking-enabled](https://docs.avax.network/nodes/maintain/avalanchego-config-flags#--staking-enabled-boolean). |
118
122
|`MODE`|`online`| Run rosetta in [`online`](https://www.rosetta-api.org/docs/node_deployment.html#online-mode-endpoints) or [`offline`](https://www.rosetta-api.org/docs/node_deployment.html#offline-mode-endpoints) mode |
119
123
|`START_ROSETTA_SERVER_AFTER_BOOTSTRAP`|`false`| Waits for go-flare to fully bootstrap before launching rosetta-server |
120
124
@@ -137,10 +141,6 @@ check:data
137
141
138
142
Config folders in [`rosetta-cli-conf`](./server/rosetta-cli-conf/) also contain the Rosetta server config `server-config.json`. The used location of this config file can be overwritted with `ROSETTA_CONFIG_PATH` environment variable.
139
143
140
-
### Disabling staking
141
-
142
-
Disabling Proof of Stake is **dangerous**! Read the [avalanchego documentation](https://docs.avax.network/nodes/maintain/avalanchego-config-flags#--staking-enabled-boolean). If you want to proceed with disabled staking you will also need to [confirm this setting](#confirming-dangerous-settings) as it is a dangerous one.
143
-
144
144
### Confirming dangerous settings
145
145
146
146
To confirm dangrous settings set the environment variable `YES_I_REALLY_KNOW_WHAT_I_AM_DOING` to "i have read the documentation" with spaces replaced with minuses.
0 commit comments