Skip to content

Commit fea022b

Browse files
authored
bsc-api-list.md: update fast finality api doc (#653)
1 parent 6cb78af commit fea022b

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

docs/bnb-smart-chain/developers/json_rpc/bsc-api-list.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Finality is a crucial aspect of blockchain security, ensuring that once a block
77

88
### Probabilistic Finality and Economic Finality
99

10-
BNB Smart Chain (BSC) implements a dual-layer finality mechanism combining **Economic Finality** and **Probabilistic Finality** to ensure transaction security and network efficiency.
10+
BNB Smart Chain (BSC) implements a dual-layer finality mechanism combining Economic Finality and Probabilistic Finality to ensure transaction security and network efficiency.
1111

1212
#### Economic Finality (Fast Finality)
1313

14-
The **Fast Finality** feature, introduced through **[BEP-126](https://github.com/bnb-chain/BEPs/blob/master/BEPs/BEP126.md)**, enables Economic Finality using a slashing mechanism similar to Casper FFG and Tendermint. Key characteristics:
14+
The Fast Finality feature, introduced through **[BEP-126](https://github.com/bnb-chain/BEPs/blob/master/BEPs/BEP126.md)**, enables Economic Finality using a slashing mechanism similar to Casper FFG and Tendermint. Key characteristics:
1515

16-
- **Block n achieves economic finality by block n+2**
16+
- Block n achieves economic finality by block n+2
1717
- Transaction finality time: **~3.75 seconds** (with 1.5 seconds block time)
1818
- Economic penalties make block reversal extremely expensive
1919
- Validators violating voting rules forfeit part of their staked assets
@@ -22,19 +22,18 @@ This significantly improves user experience through faster and more reliable tra
2222

2323
#### Probabilistic Finality (Fallback Mechanism)
2424

25-
When Fast Finality is unavailable, BSC falls back to **Probabilistic Finality**. Security increases as more blocks are added - the deeper a block is buried, the lower the probability of reversal.
25+
When Fast Finality is unavailable, BSC falls back to Probabilistic Finality. Security increases as more blocks are added - the deeper a block is buried, the lower the probability of reversal.
2626

27-
**Network Parameters:**
28-
- **TurnLength**: 8 (consecutive blocks per validator)
29-
- **ValidatorSize**: 21 (total active validators)
30-
- **Block Time**: ~1.5 seconds
27+
Network Parameters:
3128

32-
**Finality Requirements:**
33-
- **Majority (>1/2) validator confirmations**: 88 blocks (11 × 8) ≈ **132 seconds**
34-
- **Supermajority (>2/3) validator confirmations**: 120 blocks (15 × 8) ≈ **180 seconds**
29+
- TurnLength: 8 (consecutive blocks per validator)
30+
- ValidatorSize: 21 (total active validators)
31+
- Block Time: ~1.5 seconds
3532

36-
**Formula**: `Required Blocks = n × TurnLength`
37-
- Where **n** = 11 (majority) or 15 (supermajority consensus)
33+
Finality Requirements:
34+
35+
- Majority (>1/2) validator confirmations: 88 blocks (11 × 8) ≈ 132 seconds
36+
- Supermajority (>2/3) validator confirmations: 120 blocks (15 × 8) ≈ 180 seconds
3837

3938
This dual-layer approach ensures network security and finality guarantees even when Fast Finality encounters issues.
4039

0 commit comments

Comments
 (0)