> For the complete documentation index, see [llms.txt](https://bicern.gitbook.io/bicern-whitepaper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bicern.gitbook.io/bicern-whitepaper/consensus.md).

# Consensus Mechanism

#### Consensus Mechanism: Scalable Decentralized Trust

Bicern adopts a hybrid consensus mechanism combining Proof of Stake (PoS) and Delegated Proof of Stake (DPoS), ensuring high transaction throughput, low energy consumption, and decentralized trust management.

**High Energy Efficiency:**

Compared to Proof of Work (PoW), PoS and DPoS reduce energy consumption and enhance the platform’s environmental sustainability. PoS selects block producers by "staking" validator funds, while DPoS allows users to vote for trusted validators, significantly reducing computational resource waste.

**Validator Selection Function**: Using hash functions such as SHA-256 or BLS12-381, combined with node deposits (or stakes) and voting weight, the system selects the most reliable validators.

**Faster Block Times:**

The hybrid PoS-DPoS mechanism reduces block generation time and improves transaction confirmation speed. PoS minimizes the competitive block generation process, while DPoS optimizes consensus through token holder votes, ensuring the platform responds quickly.

**Block Time Optimization**: Bicern dynamically adjusts block intervals based on transaction frequency using an on-chain load prediction algorithm to ensure real-time data processing.

**Decentralized Governance:**

The DPoS mechanism allows Bicern users to vote based on their token holdings, directly influencing platform upgrades and governance decisions, achieving decentralized platform governance.

**Voting Mechanism**: A weighted voting mechanism ensures voting power is proportional to token holdings, preventing any single entity from controlling the platform.

**Social Mining:**

Bicern integrates social behavior with blockchain economics. Users earn token rewards by creating content, interacting, and sharing, which enhances platform activity and fairness.

**Social Mining Algorithm**: A weighted function based on user activity scores calculates rewards, ensuring fairness in the platform’s reward mechanism linked to social behaviors.

**Advantages of the Consensus Mechanism:**

Unlike traditional social platforms like WeChat and Telegram, Bicern’s decentralized mechanism guarantees user control over interactions and offers stronger resistance to censorship and immutability, providing true privacy protection.

**Technical Measures:**

**Smart Contract Integrity**: Bicern ensures all social data and interaction records are immutable through standard smart contracts like ERC-20 and ERC-721.

**Zero-Knowledge Proofs (ZKP)**: Bicern uses ZKP technology to verify user identity and social interactions while ensuring privacy and preventing the leakage of sensitive information.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bicern.gitbook.io/bicern-whitepaper/consensus.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
