From 0e809723c7dd5abaac98757a51e4c55ee2cca7f9 Mon Sep 17 00:00:00 2001 From: Ali Ghasemzadeh Date: Sun, 27 Mar 2022 23:49:35 +0430 Subject: [PATCH 1/3] Change validator slots. --- features-and-modules/governance.md | 6 +++--- validators/validator-overview.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features-and-modules/governance.md b/features-and-modules/governance.md index 536058f..b687897 100644 --- a/features-and-modules/governance.md +++ b/features-and-modules/governance.md @@ -10,7 +10,7 @@ In 2014, Daniel Larimer developed the Delegated Proof of Stake (DPoS) mechanism BitSong DPoS allows users to commit their balances as votes, which are used to elect a fixed number of delegates to validate incoming transactions on the blockchain. As such, validators manage blockchain operations on behalf of their delegators, guaranteeing security and consensus. -The DPoS model tends to reduce latency and increase the performance of a network, meaning it can process more transactions per second. This is mainly due to the fact that it allows consensus to be reached with a lower number of validating nodes. Currently, there are 64 validators on the BitSong mainnet. +The DPoS model tends to reduce latency and increase the performance of a network, meaning it can process more transactions per second. This is mainly due to the fact that it allows consensus to be reached with a lower number of validating nodes. Currently, there are 100 validators on the BitSong mainnet. [Visit the BitSong mainnet explorer.](https://explorebitsong.com) @@ -22,9 +22,9 @@ The BitSong Network relies on a set of validators that are responsible for commi Validator candidates can bond their own BTSG and have BTSG delegated or staked to them by BTSG token holders. -The BitSong Network currently has slots for 64 validators, but over time this will increase to 100 validators, subject to a governance vote. Validators are selected according to the total amount of bonded BTSG – whether the BTSG is staked from the validators own wallet, or delegated to them by delegators. +The BitSong Network currently has slots for 100 validators, but over time this will increase to 100 validators, subject to a governance vote. Validators are selected according to the total amount of bonded BTSG – whether the BTSG is staked from the validators own wallet, or delegated to them by delegators. -The top 64 validator candidates with the most stake will become BitSong Network validators. At every block, a validator is chosen to sign that block, based on their voting power (determined by the amount of bonded tokens) at the time of the block. Validators with higher voting power will sign blocks more often than validators with lower voting power. +The top 100 validator candidates with the most stake will become BitSong Network validators. At every block, a validator is chosen to sign that block, based on their voting power (determined by the amount of bonded tokens) at the time of the block. Validators with higher voting power will sign blocks more often than validators with lower voting power. Validators and their delegators will earn BTSG as block provisions and tokens as transaction fees through execution of the Tendermint consensus protocol. Initially, transaction fees will be paid in BTSG. Note that validators can set commission on the fees their delegators receive as additional incentive. Choosing the right commission level is a balance, as the validator must be able to remain competitive enough to attract delegators to stake their BTSG. diff --git a/validators/validator-overview.md b/validators/validator-overview.md index c4de6c7..53f06b4 100644 --- a/validators/validator-overview.md +++ b/validators/validator-overview.md @@ -6,7 +6,7 @@ BitSong is based on the Tendermint consensus engine. A set of Validators is responsible for adding new blocks of transactions to the BitSong blockchain, for which they receive rewards in BTSG tokens. -Upon joining the network, a Validator agrees to bond BTSG tokens. The BTSG can be their own, or the Validator can have BTSG delegated or staked to them by other BTSG holders. There are currently 64 Validator slots on the BitSong network. +Upon joining the network, a Validator agrees to bond BTSG tokens. The BTSG can be their own, or the Validator can have BTSG delegated or staked to them by other BTSG holders. There are currently 100 Validator slots on the BitSong network. Therefore, the top 64 Validator candidates with the most bonded BTSG are selected at each block to participate in the next round of block production. Their likelihood of being able to produce the next block is weighted according to the amount of their bonded BTSG. From a0b3d7de7dfa003d5edb18a6031d0d44c71a22bf Mon Sep 17 00:00:00 2001 From: Ali Ghasemzadeh Date: Wed, 30 Mar 2022 01:43:01 +0430 Subject: [PATCH 2/3] Change validator slots. --- blockchain/create-validator.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blockchain/create-validator.md b/blockchain/create-validator.md index 548427a..ea37f0b 100644 --- a/blockchain/create-validator.md +++ b/blockchain/create-validator.md @@ -20,6 +20,8 @@ bitsongd tx staking create-validator \ --commission-rate="0.10" \ --commission-max-rate="0.20" \ --commission-max-change-rate="0.01" \ + --gas="auto" \ + --gas-prices="0.1ubtsg" --min-self-delegation="1" ``` @@ -40,5 +42,5 @@ You are looking for the `bech32` encoded `address` in the `~/.bitsongd/config/pr {% hint style="info" %} Note: -Only the top **64** validators in voting power are included in the active validator set. +Only the top **100** validators in voting power are included in the active validator set. {% endhint %} From 4d875d16b83291f6a961117e445e31404c83023a Mon Sep 17 00:00:00 2001 From: Ali Ghasemzadeh Date: Wed, 30 Mar 2022 01:46:16 +0430 Subject: [PATCH 3/3] use bitsongd instead of bitsong. --- blockchain/join-the-mainnet.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/blockchain/join-the-mainnet.md b/blockchain/join-the-mainnet.md index d7a916c..11714f4 100644 --- a/blockchain/join-the-mainnet.md +++ b/blockchain/join-the-mainnet.md @@ -61,7 +61,7 @@ Now we have to syncronise the node with the current state of the blockchain. The ``` # Thanks to qf3l3k for creating and testing these commands -sudo systemctl stop bitsong && bitsongd unsafe-reset-all +sudo systemctl stop bitsongd && bitsongd unsafe-reset-all SNAP_RPC="https://rpc.bitsong.forbole.com:443" SNAP_RPC2="https://bitsong.stakesystems.io:2053" @@ -80,9 +80,9 @@ s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \ s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \ s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.bitsongd/config/config.toml -sudo systemctl restart bitsong +sudo systemctl restart bitsongd -sudo journalctl -u bitsong -f +sudo journalctl -u bitsongd -f ``` ### Enable the REST API