Replies: 1 comment
-
|
new p2p addresses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
FIBOS Mainnet Upgrade
koalakoalalahas been successfully upgraded. After the upgrade, the FIBOS program version is V5.0.3.0. This document will outline the upgrade process and highlight key considerations during the upgrade.Upgrade Preparation
curl.curl -s https://fibos.io/download/installer.sh | shtar -zxvfto extract it. The download command is as follows:https://hub.docker.com/r/tpblock/fibos-node/tags, and you can pull the image using docker pull.Node Upgrade (Docker)
docker run -d --name fibos-node -v ./fibos-node/data:/node/data -v ./resources:/app/resources \ -p 8870:8870 -p 9870:9870 --env-file /app/resources/env.list tpblock/fibos-node:v5.0.3.0 node;resourcesDirectory and Files: Createenv.list,genesis.json, andp2p.jsonfiles, which will configure container environment variables and node settings.env.listEnvironment Variables File:genesis.jsonFile: The genesis file used for node startup should remain the same as before.{ "initial_timestamp": "2018-08-28T00:00:00.000", "initial_key": "FO6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV", "initial_configuration": { "max_block_net_usage": 1048576, "target_block_net_usage_pct": 1000, "max_transaction_net_usage": 524288, "base_per_transaction_net_usage": 12, "net_usage_leeway": 500, "context_free_discount_net_usage_num": 20, "context_free_discount_net_usage_den": 100, "max_block_cpu_usage": 200000, "target_block_cpu_usage_pct": 1000, "max_transaction_cpu_usage": 150000, "min_transaction_cpu_usage": 100, "max_transaction_lifetime": 3600, "deferred_trx_expiration_window": 600, "max_transaction_delay": 3888000, "max_inline_action_size": 4096, "max_inline_action_depth": 4, "max_authority_depth": 6 }, "initial_chain_id": "6aa7bd33b6b45192465afa3553dedb531acaaff8928cf64b70bd4c5e49b7ec6a" }p2p.jsonFile: This file contains the P2P node addresses used by the node. If there are fewer P2P addresses, you can use theP2P_PEER_ADDRESSconfiguration parameter instead. However, for a larger number of addresses, it's recommended to use thep2p.jsonconfiguration file. For example:[ "182.92.152.224:9870", "67.205.167.7:9870", "165.227.83.252:9870", "rpc-mainnet.bitewd.com:9870", "39.98.64.192:9871", "rpc-mainnet.bitewd.com:9870", "35.185.138.208:10443", "182.92.152.224:9870", "bp.fo.chains.one:9876", "uk.fo.chains.one:9876", "182.92.152.224:9870", "35.185.138.208:10443" ]Upgrade Considerations
Ensure you make backups of the old data to prevent data loss if the upgrade fails. If old node data is lost, you can download the old FIBOS node data from
https://ghost.fibos.io/ghost/to restore the node.BP node upgrades should stop the old node first, then start the new node. During the upgrade, no transactions should be sent to the new node.
During the BP node upgrade, only the old node's BP information (username, public key, private key, etc.) needs to be filled into the
env.listfile to start the new node.Beta Was this translation helpful? Give feedback.
All reactions