Futures
Access hundreds of perpetual contracts
CFD
Gold
One platform for global traditional assets
Options
Hot
Trade European-style vanilla options
Unified Account
Maximize your capital efficiency
Demo Trading
Introduction to Futures Trading
Learn the basics of futures trading
Futures Events
Join events to earn rewards
Demo Trading
Use virtual funds to practice risk-free trading
CFD
Stock CFD Derivatives
US Stocks
Access real US stocks and ETFs
HK Stocks
Trade quality Hong Kong-listed stocks
Korean Stocks
SK Hynix
Real Korean stocks and top assets
Stock Futures
High leverage, 24/7 trading
Tokenized Stocks
Backed by real stock assets
IPO Access
Unlock full access to global stock IPOs
GUSD
3.8%
Mint GUSD for Treasury RWA yields
Stocks Activities
Trade Popular Stocks and Unlock Generous Airdrops
Launch
CandyDrop
Collect candies to earn airdrops
Launchpool
Quick staking, earn potential new tokens
HODLer Airdrop
Hold GT and get massive airdrops for free
Pre-IPOs
Unlock full access to global stock IPOs
Alpha Points
Trade on-chain assets and earn airdrops
Futures Points
Earn futures points and claim airdrop rewards
Promotions
AI
Gate AI
Your all-in-one conversational AI partner
Gate AI Bot
Use Gate AI directly in your social App
GateClaw
Gate Blue Lobster, ready to go
Gate for AI Agent
AI infrastructure, Gate MCP, Skills, and CLI
Gate Skills Hub
10K+ Skills
From office tasks to trading, the all-in-one skill hub makes AI even more useful.
The GHAST mechanism is an ingenious solution designed by Conflux to strike a balance between high performance and security.
It works by introducing adaptive weights, allowing the system to maintain extremely fast confirmation speed under normal conditions (average about 23 seconds), and when facing liveness attacks, it can automatically enter a “defense mode” (by producing special blocks to reduce the effective block production speed), thereby ensuring the system’s final security.
This mechanism ensures that Conflux can resist complex attacks while maintaining high throughput, achieving a combination of decentralization, security, and scalability.
$CFX #PreIPOs第二期OpenAI認購 #台積電Q2淨利暴增77.4%
Regarding Conflux GHAST’s core concepts, design motivations, and working principles; the following is an explanation of the GHAST (Greedy Heaviest Adaptive Subtrees) mechanism:
1. Core problem: Addressing the “liveness attack”
Background
Conflux uses a Tree-Graph structure that allows parallel block production, and it confirms transactions through the heaviest-chain rule (GHOST). However, this mechanism has an inherent flaw: the liveness attack.
Attack scenario
An attacker can “cultivate” two evenly matched sub-blocks under the last common ancestor block, and use the impact on network propagation to split honest computing power into two opposing camps. Both subtrees then grow at a similar speed, preventing either side from gaining a decisive advantage, thereby stopping new blocks from being confirmed. This attack is not intended for double-spending; instead, it aims to prevent the system from confirming new transactions, disrupting the system’s “liveness.”
2. Solution: The GHAST (Greedy Heaviest Adaptive Subtrees) mechanism
To solve the above problem, the Conflux research team designed the GHAST mechanism. Its core idea is to adaptively adjust block weights so that the system can automatically “slow down” under attack—sacrificing some performance for security—while remaining fast in normal conditions.
Key points:
Three different block weights:
In the traditional heaviest-chain rule, each block has a weight of 1. GHAST introduces three weights: 0, 1, and X (where X is a relatively large number, such as 1000).
Blocks with weight 0 or X are called special blocks, while blocks with weight 1 are normal blocks.
Two types of blocks:
Normal blocks: weight is always 1, indistinguishable from ordinary blocks.
Special blocks: their weight is determined by the block’s hash. With a probability of 1/X, the weight is X; otherwise, the weight is 0. The difficulty of mining a special block is the same as mining a normal block, but its expected weight is still 1.
3. Block type is determined by the “historical tree-graph structure,” not by miners’ will:
This is a key feature of GHAST. Whether a block is normal or special is determined entirely by its “historical tree-graph structure” (i.e., the graph structure formed by all blocks before that block). Miners cannot choose it arbitrarily.
This design ensures all nodes agree on the block type, avoiding divergence in main-chain selection.
4. Adaptive logic:
Normal state: In the absence of attacks, blocks produced by honest nodes are all normal blocks (weight 1), and the system maintains fast block production.
Attack state: When the system detects abnormal behavior (e.g., signs that the tree-graph structure becomes “abnormal,” indicating a liveness attack), blocks produced by honest nodes automatically become special blocks. The weight of special blocks is either 0 or X (with an expected value of 1). This is equivalent to dynamically adjusting block difficulty, effectively reducing the system’s block production speed during the attack period, breaking the attacker’s strategy for maintaining balance, and ultimately solving the liveness attack problem.
3. Summary
The GHAST mechanism is an ingenious scheme designed by Conflux to strike a balance between high performance and security. By introducing adaptive weights, it allows the system to maintain very fast confirmation speed in normal times (averaging about 23 seconds), while automatically entering a “defense mode” against liveness attacks (by producing special blocks to reduce the effective block production speed), thereby ensuring the system’s final security. This mechanism enables Conflux to achieve high throughput while resisting complex attacks, realizing a combination of decentralization, security, and scalability.
$BTC #CFX #PreIPOs第二期OpenAI認購 $CFX
Source: official media / online news materials, for reference, learning, and exchange only. Please strictly comply with the laws and regulations in your jurisdiction. This article does not represent any investment advice.