---
updatedAt: 2026-12-01T03:27:13.000Z
agentTools:
  projectIndex: https://developers.tron.network/llms.txt
---

# Consensus and DPoS

How TRON's 27 Super Representatives produce blocks under Delegated Proof of Stake, how blocks become irreversible, what happens at each scheduled maintenance update, how rewards are distributed, and how the consensus survives the realistic failure modes.

TRON uses **Delegated Proof of Stake (DPoS)** consensus. Twenty-seven **Super Representatives (SRs)**, elected by stakers' votes, take turns in block-production slots normally scheduled every 3 seconds. Blocks become irreversible — *solidified* — once at least 19 distinct active SRs have each produced a block at that height or above, typically in about 1 minute. Network parameters are themselves modifiable through on-chain proposals voted on by the SRs, which means consensus is also the network's governance loop.

This page covers the roles, the production schedule, fork choice, how blocks become final, what happens when SRs misbehave or the network degrades, how rewards flow, and how parameter changes propagate through the same consensus.

<Callout icon="📘" theme="info">
  **Prerequisites**

  - [Tokenomics](https://developers.tron.network/docs/tron-economic-model)
  - [Blocks](https://developers.tron.network/docs/block)
  - [Super Representatives](https://developers.tron.network/docs/super-representatives)
</Callout>

***

## At a glance

| Property                              | Value                                         | Notes                                                                                                                                                       |
| ------------------------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Consensus algorithm                   | Delegated Proof of Stake (DPoS)               | 27 elected producers, fixed schedule                                                                                                                        |
| Block time                            | 3 seconds                                     | One slot = one scheduled SR                                                                                                                                 |
| Round length                          | Normally 81 seconds                           | 27 slots × 3 s when the round does not cross a maintenance update and no SR misses a slot                                                                   |
| Active SRs                            | 27                                            | `MAX_ACTIVE_WITNESS_NUM`                                                                                                                                    |
| Total ranked candidates               | Top 127                                       | Active 27 + 100 SR Partners share voter rewards                                                                                                             |
| Maintenance Period length             | 6 hours                                       | `MAINTENANCE_TIME_INTERVAL`, modifiable via proposal `#0`                                                                                                   |
| Post-maintenance block-production gap | Two slots                                     | After a maintenance-triggering block, the next two 3-second slots are skipped                                                                               |
| Solidification threshold              | ≥19 distinct active SRs                       | Code uses `SOLIDIFIED_THRESHOLD = 70` over active SR `latestBlockNum` values; with 27 active SRs, the result is 19                                          |
| Typical time to solidification        | About 1 minute                                | User-visible Mainnet behavior during healthy block production. The code does not calculate solidification by counting down a fixed number of confirmations. |
| Block production reward               | 8 TRX per block                               | Chain parameter `#5` (`getWitnessPayPerBlock`)                                                                                                              |
| Voter reward (shared by top 127)      | 128 TRX per block                             | Chain parameter `#31` (`getWitness127PayPerBlock`)                                                                                                          |
| Mempool ordering                      | Depends on local state and node configuration | No priority-fee bidding; strict FIFO is not guaranteed                                                                                                      |
| Finality model                        | Threshold-based, deterministic                | Once the solid height advances past a block, it does not roll back                                                                                          |

The Maintenance Period, block-production reward, and voter reward are dynamic chain parameters that can be changed through proposals. Query [`wallet/getchainparameters`](https://developers.tron.network/reference/wallet-getchainparameters) for all chain parameters and their current values.

***

## Vocabulary

The terms below are used consistently throughout this page and the rest of the consensus documentation. Several have parallels in other chains' consensus designs but with subtle TRON-specific meanings worth noting on first encounter.

| Term                           | Meaning                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Super Representative (SR)**  | One of the 27 currently active block producers, elected by votes. Sometimes called *witness* in code (`witness_address`, `WitnessCreateContract`); the role and the protobuf field are the same thing.                                                                                                                                          |
| **SR Partner (SRP)**           | An account ranked 28th–127th by vote count. Cannot produce blocks, but earns voter rewards.                                                                                                                                                                                                                                                     |
| **SR Candidate (SRC)**         | Any account that has registered as a block-producer candidate via `WitnessCreateContract` (paying a one-time, burned 9,999 TRX fee). Eligible to receive votes.                                                                                                                                                                                 |
| **TRON Power (TP)**            | A non-transferable voting weight. Under the current Mainnet resource model, staking 1 TRX grants 1 TP, and 1 TP authorizes one vote.                                                                                                                                                                                                            |
| **Slot**                       | A 3-second window during which one specific SR is scheduled to produce a block. If that SR fails, the slot is recorded as missed and the next slot belongs to the next SR.                                                                                                                                                                      |
| **Round**                      | One normal production rotation of the 27 active SRs. When the rotation does not cross a maintenance update and no SR misses a slot, each SR has one slot and the round takes 81 seconds. A maintenance update can change the active set and order and introduces two skipped slots, so the 81-second duration does not apply across that point. |
| **Maintenance Period (MP)**    | The recurring interval between scheduled maintenance updates, currently 6 hours on Mainnet (`MAINTENANCE_TIME_INTERVAL`, configurable by proposal). The active SR set and production order remain stable between updates.                                                                                                                       |
| **Scheduled maintenance time** | A timestamp threshold stored in chain state. The first block whose timestamp reaches or exceeds the threshold triggers maintenance processing.                                                                                                                                                                                                  |
| **Solidified block**           | A block for which at least 19 distinct active SRs have each produced a block at that height or above. The SolidityNode service indexes only these blocks.                                                                                                                                                                                       |
| **Witness signature**          | The SR's signature over a block, written to the `witness_signature` field. Other nodes accept the block only if this signature is valid against the slot's expected SR (or its delegated `witness_permission` key).                                                                                                                             |

***

## Roles

Three role tiers participate in consensus and the proposal system:

| Role               | Vote rank | Active? | Can produce blocks | Can submit `ProposalCreateContract` | Can submit `ProposalApproveContract` | Approval counted at expiry | Voter reward |
| ------------------ | --------- | ------- | ------------------ | ----------------------------------- | ------------------------------------ | -------------------------- | ------------ |
| Active SR          | Top 27    | Yes     | Yes                | Yes                                 | Yes                                  | **Yes**                    | Yes          |
| SR Partner (SRP)   | 28 – 127  | No      | No                 | Yes                                 | Yes (recorded but filtered out)      | No                         | Yes          |
| SR Candidate (SRC) | 128+      | No      | No                 | Yes                                 | Yes (recorded but filtered out)      | No                         | No           |

Any account can register as an SR Candidate by submitting a `WitnessCreateContract`, which **burns** a one-time 9,999 TRX application fee. With the current Mainnet setting `getAllowOptimizeBlackHole=1`, java-tron records this fee directly as burned instead of crediting the black-hole account. It cannot be reclaimed even if the account later stops being an SR and functions as the network's Sybil-resistance gate for entering the producer pool.

Once registered, an SRC accumulates votes. At each scheduled maintenance update, the network re-ranks all SRCs by total votes received and promotes the top 27 into the active set for the next Maintenance Period; ranks 28–127 become SR Partners. As the rankings change, candidates can move among the active-SR, SR-Partner, and other-candidate tiers.

> 📘 **Super Representative terminology**
>
> The role is called Super Representative in documentation prose. The contract type and storage fields use the legacy name (`WitnessCreateContract`, `witness_address`, `localwitness`, `--witness`); these are kept in code for backward compatibility. Whenever you see `witness_*` in API responses or config files, read it as "SR".

***

## Election and active-set rotation

The DPoS election is continuous — there is no separate "election day". Votes accumulate as accounts cast or revoke them, and the active set is recomputed from the latest tally at each scheduled maintenance update.

### How votes work

A vote is a non-transferable allocation of **TRON Power (TP)** from one account to one or more SR candidates. Mainnet currently has `getAllowNewResourceModel=0`, so staking TRX for Bandwidth or Energy through `FreezeBalanceV2Contract` grants 1 TP per 1 TRX staked. Voting is then performed by submitting a `VoteWitnessContract` transaction listing one or more candidates and the number of votes assigned to each. The total votes assigned must not exceed the account's available TP.

A `VoteWitnessContract` **replaces** the previous vote allocation in full — the entire votes list is rewritten on every call. To "remove" a vote for a specific SR, send a new `VoteWitnessContract` with a list that omits that SR.

### Vote tallying at a maintenance update

Votes change continuously, but the resulting active SR set is recomputed only when a block triggers scheduled maintenance. The network then does the following, in order:

1. **Update each SR's cumulative per-vote reward index `Vi`**, adding the just-ended period's voter reward divided by that SR's effective vote count for later voter-reward calculations.
2. **Apply pending vote deltas** accumulated since the previous maintenance update, updating each SR's running vote count.
3. **Re-rank** all candidates by updated vote count.
4. **Promote** the new top 27 to the active set, demote any falling below 27, and record the new role of every candidate.
5. **Snapshot brokerage values** per SR for the new Maintenance Period.

These updates are applied while the maintenance-triggering block is processed. The next scheduled block uses the updated active SR set and production order.

### Effects of mid-cycle vote changes

The active SR set remains unchanged between maintenance updates. Vote changes made during a Maintenance Period therefore do not change the current block producers; they are tallied at the next scheduled maintenance update and used to determine the active set for the next Maintenance Period. Voter rewards use separate per-cycle account-vote accounting rules; see [Voting for SRs](https://developers.tron.network/docs/voting-for-srs) for details.

***

## Block production schedule

TRON normally schedules one block-production slot every **3 seconds**, in an order derived from the active set established at the most recent scheduled maintenance update. When the rotation does not cross a maintenance update and every SR produces on schedule, the 27 SRs complete one round in 81 seconds. A maintenance update can change the active set and order and introduces two skipped slots, so the 81-second duration does not apply across that point.

### Slot order and rotation

The slot order is deterministic. SRs are sorted by vote count descending; the highest-voted SR receives the first slot of the round, the second-highest the second slot, and so on. The production order remains unchanged between maintenance updates, even as votes continue to shift. At the next scheduled maintenance update, the network uses the updated ranking to determine the production order for the next Maintenance Period.

### What happens inside a slot

When an SR's slot arrives, the SR:

1. Selects transactions from its local **transaction mempool**. By default, transactions are selected in queue insertion order. Enabling `openTransactionSort` instead prioritizes transactions by fee, from highest to lowest. This option is disabled by default.
2. Processes each transaction in a per-tx revoking session. Whether the transaction lands in the block depends on the contract type:

   * **System contracts** (e.g., `TransferContract`, `FreezeBalanceV2Contract`, `VoteWitnessContract`, `WitnessCreateContract`): if the actuator's `validate()` or `execute()` throws — invalid address, insufficient balance, account does not exist — the session is rolled back and the transaction is **dropped from the block** entirely.
   * **Smart-contract calls** (`TriggerSmartContract`, `CreateSmartContract`): the transaction is **included in the block whether the VM execution succeeds or reverts**. A reverted call lands in the block with a `FAILED` result status; the Energy consumed (and any TRX burned to cover an Energy shortfall) is **not refunded**. This matches Ethereum-style semantics — failed contract calls are recorded on-chain because the caller has paid for the work.

   Pre-execution failures common to both contract types — invalid signature, expired TAPOS reference, insufficient Bandwidth, transaction-too-large — also drop the transaction with no block inclusion.
3. Adds metadata: parent block ID, the SR's own address, the new block's height, and the block timestamp.
4. **Signs** the block with the configured `localwitness` private key. The signature lands in the `witness_signature` field.
5. Broadcasts the block to peers, who verify the signature, replay each included transaction (re-running validation and VM execution), and append the block to their local chain.

TRON has no protocol mechanism for senders to bid for ordering through a priority fee — `fee_limit` is an Energy budget, not an inclusion bid. Transaction order depends on the producing SR's local mempool state and packing configuration, so applications must not rely on strict FIFO ordering.

### Missed slots

If a scheduled SR fails to produce in its slot — common reasons include node downtime, network partition, or pre-upgrade drain — the slot is simply **left empty**. There is no replacement producer; the next slot proceeds at its scheduled time with the next SR. The empty slot does not delay subsequent slots.

A missed slot has two costs:

* The producing SR loses that block's 8 TRX block production reward. The entire 128 TRX voter reward pool for that slot is also forfeited because rewards are paid only for successful block production; every top-127 SR and its voters lose their proportional share for that slot.
* The network's average block time temporarily widens. After 1 missed slot in a round, the next block is 6 seconds later than scheduled instead of 3.

A persistently failing SR drops in voter confidence and typically loses votes, which may move it out of the active 27 at the next scheduled maintenance update. The network has no built-in slashing — the punishment for missed slots is economic (lost block rewards) and reputational (lost votes), not direct stake confiscation.

### Post-maintenance block-production gap

With the current Mainnet parameter, scheduled maintenance occurs at 6-hour intervals. The first block whose timestamp reaches or exceeds the next scheduled maintenance time triggers maintenance processing. After that block is applied, the scheduler skips the next two 3-second slots (`MAINTENANCE_SKIP_SLOTS = 2`). If no SR misses a slot and there is no additional network delay, the next planned block has a timestamp 9 seconds after the maintenance-triggering block and uses the updated active SR set and production order. Protocol-skipped slots are not assigned to an SR and are not recorded as missed production.

***

## Fork choice rule

Network propagation delays can cause block-producing nodes to temporarily build on different chain tips, creating branches. Nodes validate incoming blocks and temporarily retain valid branches, then use subsequent blocks to determine which branch to follow.

When a node receives another valid block at the same height as its latest block, it temporarily retains the alternative while continuing to use its current branch. If the alternative branch later grows to a greater block height, the node may switch to it, replacing unsolidified blocks on the original branch. Applications should therefore wait until the block containing a transaction is solidified before treating its inclusion as final.

```text
               ┌── 100 ── 101
  ... 98 → 99 ─┤
               └── 100' ── 101' ── 102'
```

In this example, a node may first use `100 → 101` as its local chain while retaining the connectable `100'` branch. When the other branch reaches `102'`, it can become the higher head and trigger a fork switch.

### Equivocation and branch convergence

If one SR signs two different blocks for the same slot, different peers may initially receive different blocks and form short-lived branches. Subsequent SRs extend one branch, and peers converge through the same fork-switching mechanism. Until solidification, consumers must still account for reorganization. A block signed by an SR outside its scheduled slot fails the scheduled-witness validation.

### How forks resolve

Forks at the tip typically resolve as SRs continue extending one valid branch. When that branch forms a higher valid head, nodes on the competing branch can switch to it. Once the solidified height advances past the fork point, that history can no longer be replaced.

There is no automatic slashing for missed or equivocating blocks. `StatisticManager.applyBlock` increments a per-SR `totalMissed` counter for each empty slot, but the protocol does not confiscate stake. Voters can respond to poor performance or misbehavior by reallocating votes at a later scheduled maintenance update.

Branch switching applies only above the solidified height.

***

## Block solidification

On the TRON network, each new block must wait for additional active Super Representatives (SRs) to keep extending the chain. Once **at least 19 distinct active SRs (out of 27)** have each produced a block at that height or above, the block is considered **solidified** — meaning it is final on-chain and cannot be replaced by a fork.

In practice, a new block typically becomes solidified in **about 1 minute**. The solid height only moves forward and never rolls back, which is why exchanges and wallets generally treat "block solidified" as the point of final settlement.

The threshold is set by the chain constant `SOLIDIFIED_THRESHOLD = 70` (percent). The code does not hard-code 19. It sorts the active SRs' `latestBlockNum` values in **ascending** order, then picks the value at position `size × (1 − threshold/100)`. With 27 active SRs, that position is `8`:

```java
int position = (int) (size * (1 - SOLIDIFIED_THRESHOLD * 1.0 / 100));
long newSolidNum = numbers.get(position);
```

The value at index 8 is the 9th-smallest `latestBlockNum`. Indices 8 through 26 represent **19 distinct active SRs** whose latest produced block is at height H or above, so height H becomes the new solidified height.

| Mechanism            | Detail                                                                                                                                                                      |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Threshold            | 19 of 27 active SRs on mainnet; derived from `SOLIDIFIED_THRESHOLD = 70` and the active SR set size                                                                         |
| What counts          | An SR counts only when it has itself produced a block at height H or above on this chain                                                                                    |
| What gets solidified | The block at H and all earlier blocks                                                                                                                                       |
| Typical time         | About 1 minute while at least 19 active SRs are producing blocks normally                                                                                                   |
| Worst case           | No fixed upper bound. Solidification stops advancing if fewer than 19 distinct active SRs continue producing blocks, and resumes after sufficient block production recovers |
| Where it's queryable | The SolidityNode service indexes only solidified data                                                                                                                       |

> 📘 **SR endorsement is implicit, not explicit.**
>
> An SR contributes to solidification by producing a block at height H or above on the same chain. Receiving, forwarding, or merely linking through `parentHash` does not contribute by itself. There is no separate "vote on this block" message.

For exchanges, bridges, and large-transfer confirmation logic, query the SolidityNode endpoint instead of the FullNode endpoint to ensure the data has been solidified.

***

## Rewards

Each new block produces two reward streams paid in TRX:

| Reward                  | Recipient                                   | Per block                 | Chain parameter                    |
| ----------------------- | ------------------------------------------- | ------------------------- | ---------------------------------- |
| Block production reward | The SR producing the block                  | 8 TRX (8,000,000 sun)     | `#5` (`getWitnessPayPerBlock`)     |
| Voter reward pool       | Shared among the top 127 SRs by vote weight | 128 TRX (128,000,000 sun) | `#31` (`getWitness127PayPerBlock`) |

Both reward values are governed by on-chain proposals. Query the current values at any time:

```text
BASE_URL=https://api.trongrid.io   # example — replace with any TRON node (TronGrid, third-party, or self-hosted)
POST ${BASE_URL}/wallet/getchainparameters
```

In the returned `chainParameter` array, look up entries by `key` — never by array index, since the array order does not match the proposal ID numbers.

### Brokerage and voter share

Each SR sets a **brokerage** rate (default `20`, range `0`–`100`) that determines what share of the block production and voter rewards the SR retains before passing the rest to its voters. With a brokerage of 20 and a daily voter reward pool of `128 × 28792` ≈ 3.69M TRX (28,792 blocks per day at 3 s each), an SR that received 5% of the network's votes would:

* Retain 20% × 5% × 3.69M ≈ 36,900 TRX/day in its allowance balance.
* Pass through 80% × 5% × 3.69M ≈ 147,500 TRX/day for its voters to claim.

Voter reward claims are not automatic. Each voter calls `WithdrawBalanceContract` (max once per 24 hours) to move their accrued share into their spendable balance. Reward calculation uses a per-cycle snapshot of vote allocation; mid-cycle vote changes do not affect the current Maintenance Period's rewards. See [Voting for SRs](https://developers.tron.network/docs/voting-for-srs) for the snapshot semantics and the at-most-one-claim-per-day rule.

### Why voter rewards are spread over the top 127

The voter reward pool is split among the top 127 candidates (the 27 active SRs and the 100 SR Partners), proportional to the votes each received. SR Partners earn voter rewards even though they do not produce blocks. This design keeps healthy competition for SR slots — accounts that nearly miss the active 27 still earn enough to be worth running, which keeps a deep candidate pool ready to step in if any of the top 27 fails or loses votes.

The block production reward (8 TRX) goes only to the SR that actually produced the block — there is no analog for SR Partners, since they do not produce.

***

## On-chain governance

Current network-parameter values — including block rewards, resource prices, and enabled TVM features — live in chain state. The java-tron protocol implementation still defines the parameter IDs and validates permitted ranges, fork or version prerequisites, dependencies, and one-way activation rules. Active-SR proposals can modify a value only when those checks allow it; not every setting is arbitrary or reversible.

A proposal accepts approvals during its voting window and is settled at expiry. It goes through three stages:

1. **Submit** — Any SR, SRP, or SRC submits a `ProposalCreateContract` carrying a map of `{parameter_id: new_value}`. Before accepting the transaction, a node validates the proposed values against the parameter ranges, fork prerequisites, and dependencies implemented by its java-tron version. The proposal voting window is controlled by chain parameter `#92` `getProposalExpireTime`, currently usually 3 days on Mainnet.
2. **Vote** — Until expiry, any SR / SRP / SRC may submit `ProposalApproveContract` to add or withdraw an approval. All submissions are recorded on-chain; only approvals from the **27 active SRs in effect before the expiration update** are counted toward the threshold.
3. **Tally and apply** — The first block whose timestamp reaches or exceeds the proposal's expiration time tallies the approvals before updating the active SR set. If ≥18 eligible approvals are recorded, the proposal becomes `APPROVED` and its parameter changes apply to subsequent blocks. If fewer, the proposal becomes `DISAPPROVED`. Either way the final state is permanently queryable.

The proposal-approval threshold (18) is **distinct from** the block-solidification threshold (19). The two mechanisms have related but different BFT bounds.

For the full lifecycle, vote-with-withdraw mechanics, committee rotation effects, and the canceling rule, see [Committee & proposals](https://developers.tron.network/docs/committee). For common network parameters and how to query them, see [Network parameters](https://developers.tron.network/docs/network-parameters).

***

## APIs

| API                                                           | Description                                                                           |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [`wallet/getchainparameters`](https://developers.tron.network/reference/wallet-getchainparameters)  | List all chain parameters and current values                                          |
| [`wallet/listwitnesses`](https://developers.tron.network/reference/listwitnesses)                   | List all registered SR candidates; `isJobs=true` identifies the current 27 active SRs |
| [`wallet/getnowblock`](https://developers.tron.network/reference/wallet-getnowblock)                | Latest block (FullNode)                                                               |
| [`wallet/getblockbylimitnext`](https://developers.tron.network/reference/getblockbylimitnext)       | Range of blocks by height                                                             |
| [`wallet/getnextmaintenancetime`](https://developers.tron.network/reference/getnextmaintenancetime) | Next scheduled maintenance time                                                       |
| [`walletsolidity/getnowblock`](https://developers.tron.network/reference/getnowblock)               | Latest **solidified** block (SolidityNode)                                            |
| [`wallet/proposalcreate`](https://developers.tron.network/reference/proposalcreate)                 | Submit a proposal                                                                     |
| [`wallet/proposalapprove`](https://developers.tron.network/reference/proposalapprove)               | Approve an open proposal                                                              |
| [`wallet/listproposals`](https://developers.tron.network/reference/wallet-listproposals)            | List recent proposals and their states                                                |
| [`wallet/votewitnessaccount`](https://developers.tron.network/reference/votewitnessaccount)         | Vote for one or more SRs (replaces the prior allocation)                              |
| [`wallet/withdrawbalance`](https://developers.tron.network/reference/withdrawbalance)               | Claim accumulated voter rewards                                                       |

***

## Related resources

* [Super Representatives](https://developers.tron.network/docs/super-representatives) — How to apply, configure, and operate an SR node
* [Committee & proposals](https://developers.tron.network/docs/committee) — Full proposal lifecycle and committee rotation effects
* [Network parameters](https://developers.tron.network/docs/network-parameters) — Current maintenance-interval and reward values, with their governance rules
* [Voting for SRs](https://developers.tron.network/docs/voting-for-srs) — Voter mechanics and reward-claim rules
* [Blocks](https://developers.tron.network/docs/block) — Block structure, the composite block ID, and TAPOS reference
* [Vote for Super Representatives](https://developers.tron.network/recipes/vote-for-srs) — TronWeb recipe to cast votes and claim rewards
* [Create a Governance Proposal](https://developers.tron.network/recipes/create-proposal) — TronWeb recipe to submit and track a proposal