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

update the protocol docs #31

Merged
merged 2 commits into from
Jun 21, 2024
Merged
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
20 changes: 3 additions & 17 deletions content/protocol/consensus/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,10 @@ Here is the list of the consensus parameters:
- **Sortition Interval**: The maximum number of blocks that a sortition transaction can remain valid and be included
in a block.
This is set to 7 blocks.
- **Fee Fraction**: The fraction of transaction value that must be paid in order for a transaction to be included in a block.
This is set to 0.0001 PAC, meaning that 0.01% of transaction value are awarded to the block proposer.
- **Minimum Fee**: The minimum transaction fee that must be paid.
This is set to 1,000 (satoshi), which is equivalent to 0.000001 PAC coin.
- **Maximum Fee**: The maximum transaction fee that must be paid.
This is set to 1,000,000 (satoshi), which is equivalent to 0.001 PAC coin.
- **Fee Fraction**: Deprecated.
- **Minimum Fee**: Deprecated.
- **Maximum Fee**: Deprecated.
- **Maximum Stake**: The maximum amount of coins that can be staked by a validator.
This is set to 1,000,000,000,000 (satoshi), which is 1000 PAC coins.
- **Minimum Stake**: The minimum amount of coins that can be staked by a validator.
This is set to 1,000,000,000 (satoshi), which is 1 PAC coins.

```shell
000000 A6 01 01 02 18 64 03 00 04 58 20 19 BA 0A 47 81 ¦....d...X .º.G.
000010 3C 13 B2 45 9F 4C E3 85 1C A4 2D A8 29 9C 4F 17 <.²E.Lã..¤-¨).O.
000020 B2 26 E8 BA D1 A9 85 91 72 AB 96 05 55 01 5D A8 ²&èºÑ©..r«..U.]¨
000030 F5 E1 96 D6 E9 61 60 9A E4 15 28 C4 EC 73 68 97 õá.Öéa`.ä.(Äìsh.
000040 59 37 06 58 30 B0 47 D5 C2 C0 72 29 92 84 35 5F Y7.X0°GÕÂÀr)..5_
000050 5B 50 14 B5 BF 77 F1 70 2B C0 8B 36 06 1D DB A0 [P.µ¿wñp+À.6..Û
000060 8E 41 BE BF 51 AB 04 16 D2 65 97 31 90 D2 6C BB .A¾¿Q«..Òe.1.Òl»
000070 79 14 46 81 E7 y.F.ç
```
2 changes: 2 additions & 0 deletions content/protocol/transaction/bond.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Once a bond transaction committed, the validator cannot participate in the
[sortition algorithm](/protocol/consensus/sortition/) for 1 hour.
This is called the "bond interval" and is defined in the
[consensus parameter](/protocol/consensus/parameters/).
Validators within the committee cannot increase their stake.
Therefore, bond transactions will be processed only when the validators are not in the committee.

## Payload Structure

Expand Down