Skip to content
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
2 changes: 1 addition & 1 deletion docs/mechanism-algorithm/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The private key is a 32-byte large number, and the public key consists of two 32
1. Calculate the checksum

a. Perform SHA256 hash operation on `address` to get `h1`
b. Perform SHA256 operation on `h1` again to get `h2`
b. Perform SHA256 operation on `h1` again to get `h2`
c. Take the first 4 bytes of `h2` as the checksum `check`

2. Splice data Append `check` to `address` to get `address||check`
Expand Down
3 changes: 2 additions & 1 deletion docs/mechanism-algorithm/sr.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ Rewards are divided into block rewards and vote rewards. The differences are as
| **Related On-chain Parameter ID** | #5 (requires activation of #30 chain parameter) | #31 (requires activation of #30 chain parameter) |
| **Related On-chain Parameter Name** | `getWitnessPayPerBlock` | `getWitness127PayPerBlock` |
| **Rewards Distribution Target** | SRs, their voters | SRs/SR partners, their voters |
| **Rewards Distribution Time** | **SR**: After producing each block<br><br>**Voters**: Triggered when voters initiate any of these 4 transactions:<br>- `VoteWitnessContract`<br>- `WithdrawBalanceContract`<br>- `UnfreezeBalanceContract`<br>- `UnfreezeBalanceV2Contract` | **SRs/SR partners**: After producing each block<br><br>**Voters**: Triggered when voters initiate any of these 4 transactions:<br>- `VoteWitnessContract`<br>- `WithdrawBalanceContract`<br>- `UnfreezeBalanceContract`<br>- `UnfreezeBalanceV2Contract` |
| **Rewards Distribution** | **SR**: After producing each block<br><br>**Voters**: Triggered when voters initiate any of these 4 transactions:<br>- `VoteWitnessContract`<br>- `UnfreezeBalanceContract`<br>- `UnfreezeBalanceV2Contract`<br>- `WithdrawBalanceContract`(unlike the prior 3 transactions: rewards withdrawn to account balance immediately after distribution) | **SRs/SR partners**: After producing each block<br><br>**Voters**: Triggered when voters initiate any of these 4 transactions:<br>- `VoteWitnessContract`<br>- `UnfreezeBalanceContract`<br>- `UnfreezeBalanceV2Contract`<br>- `WithdrawBalanceContract`(unlike the prior 3 transactions: rewards withdrawn to account balance immediately after distribution) |
| **Rewards Withdrawn to Account Balance** |Triggered when `WithdrawBalanceContract` transaction is initiated | Triggered when `WithdrawBalanceContract` transaction is initiated|
| **Specific Rewards** | SR: <br>`8 * brokerageRate`<br><br>voter:<br> `8 * (1-brokerageRate) * (votes of this voter) / (total votes received by this SR)` | SR/SR partner:<br> `128 * brokerageRate * (votes received by this SR/SR partner) / (total votes received by all SRs & SR partners)`<br><br>voter:<br> `128 * (1-brokerageRate) * (votes of this voter) / (total votes received by all SRs & SR partners)` |


Expand Down
1 change: 1 addition & 0 deletions docs/using_javatron/installing_javatron.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ Launch a main-network full node with the built-in default configuration:
```bash
nohup java -jar ./build/libs/FullNode.jar &
```

* `nohup ... &`: Runs the command in the background and ignores the hangup signal.

> For production deployments or long-running Mainnet nodes, please refer to the below [JVM Parameter Optimization for FullNode](#jvm-parameter-optimization-for-mainnet-fullnode-deployment) guide for the recommended Java commands.
Expand Down