Skip to content

Commit

Permalink
Merge pull request #262 from massalabs/fix_doc_config
Browse files Browse the repository at this point in the history
Fix doc config
  • Loading branch information
damip authored Jan 11, 2024
2 parents 384fd51 + 1e3eaf2 commit f7a5362
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
20 changes: 16 additions & 4 deletions docs/node/all-configs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,30 @@ Use with caution, overriding some configurations could lead to node
instability and/or a complete desynchronization from Massa blockchain.
:::


## Node configuration

You can override the default configuration via
the `massa-node/config/config.toml` file.

<!-- The content will be added at build time via ./scripts/download-configs.sh -->
<Tabs>

<TabItem value="mainnet" label="🖥 MainNet" default>

```toml
EXTERNAL_MAINNET_NODE_CONFIG_CONTENT

```

</TabItem>

<TabItem value="buildnet" label="👷 BuildNet" default>
<TabItem value="buildnet" label="👷 BuildNet">

```toml
EXTERNAL_BUILDNET_NODE_CONFIG_CONTENT

```

</TabItem>
</Tabs>

Expand All @@ -42,14 +48,20 @@ the `massa-client/config/config.toml` file.
<!-- The content will be added at build time via ./scripts/download-configs.sh -->
<Tabs>
<TabItem value="mainnet" label="🖥 MainNet" default>

```toml
EXTERNAL_MAINNET_CLIENT_CONFIG_CONTENT

```

</TabItem>

<TabItem value="buildnet" label="👷 BuildNet" default>
<TabItem value="buildnet" label="👷 BuildNet">

```toml
EXTERNAL_BUILDNET_CLIENT_CONFIG_CONTENT

```

</TabItem>
</Tabs>
</Tabs>
2 changes: 1 addition & 1 deletion external/client/mainnet/config-files.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://raw.githubusercontent.com/massalabs/massa/mainnet/massa-client/base_config/config.toml
https://raw.githubusercontent.com/massalabs/massa/MAIN.2.0/massa-client/base_config/config.toml
2 changes: 1 addition & 1 deletion external/node/mainnet/config-files.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://raw.githubusercontent.com/massalabs/massa/mainnet/massa-node/base_config/config.toml
https://raw.githubusercontent.com/massalabs/massa/MAIN.2.0/massa-node/base_config/config.toml

0 comments on commit f7a5362

Please sign in to comment.