Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change validator slots. #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion blockchain/create-validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```

Expand All @@ -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 %}
6 changes: 3 additions & 3 deletions blockchain/join-the-mainnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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 <a href="#enable-the-rest-api" id="enable-the-rest-api"></a>
Expand Down
6 changes: 3 additions & 3 deletions features-and-modules/governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion validators/validator-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.&#x20;

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.&#x20;
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.&#x20;

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.&#x20;

Expand Down