Top Tweets for #leafset
QNet CI/CD Pipelines #1258 – #1264
This extensive multi-pipeline update resolves zero-trust reward leafset recovery, fixes post-rollback sync deadlocks and storage recovery ceilings, eliminates node boot-time crashes on fresh servers, and cleans up log noise during rolling restarts.
1. Zero-Trust Shard Recovery & Corrected Reward History (#1258, #1259, #1262)
The Problem:
Unrecoverable Reward Inputs: Missing local reward data (super_elig_) during catch-up previously required full node resyncs. Furthermore, contract state endpoint /api/v1/rewards/history read an unwritten location, reporting all past rewards as 0.0 ("missed") while pending figures showed millions of QNC.
Oldest-First Truncation & Peer Timeouts: wallet_claimable_qnc stops evaluating at the first missing epoch. Peer repair fetched target missing epochs newest-first, leaving the oldest blocking gap unhealed and truncating reported totals. Additionally, fetching ~2,400 shards at target scale could be stalled for hours by a single slow peer.
Slow Hourly Healing: Local shard healing ran on an hourly maintenance loop, causing temporary node restarts to under-report wallet balances for up to an hour.
The Fix:
Zero-Trust Peer Leafset Fetching: Nodes can now fetch missing leafsets via GET /api/v1/rewards/epoch/{epoch}/leafset?shard=N from any peer. The data is accepted only if it hashes to the QC-certified macroblock root already held locally.
Oldest-First Targeted Repair & 60s Budget: Peer repair now prioritizes the oldest missing epoch to unblock wallet_claimable_qnc immediately. The entire set assembly is bound to a strict 60-second total budget, falling through to alternative peers on timeout.
1-Minute Slot-Level Local Healing: Local shard healing now runs every slot (~1 minute) on a blocking worker pool, while network-heavy peer repair remains hourly.
Certified Root Reward History: Rewrote /api/v1/rewards/history to resolve directly against certified roots, explicitly returning statuses (claimed, claimable, not_eligible, unavailable-on-this-node).
2. Producer Re-Anchoring & Storage Height Recovery (#1260 & #1261)
The Problem:
Post-Rollback Sync Deadlock: After a rollback, storage lowered but the producer loop's internal height mirror did not. The re-anchor logic was placed after a behind-check that skipped the loop execution, trapping the mirror at its pre-rollback height. The coordinator asked for blocks the node already had while ignoring the true underlying gap, making the node report "synced" while applying no new blocks.
Hardcoded Height Ceilings: Boot recovery for lost chain_height metadata scanned forward using a hardcoded ceiling of 200000. Because the live chain was past height 370,000, nodes with lost metadata recovered to a height far below their actual stored blocks.
Incorrect Light Node Status: node/status returned a hardcoded 0 for light node heartbeats, causing wallets to display "0 of 1" despite active on-chain attestations.
The Fix:
Top-of-Loop Producer Re-Anchor: Moved height re-anchoring to run unconditionally at the very top of every producer loop iteration, before presence scans, behind-checks, and production gates.
O(1) Lexicographical Seek: Replaced forward scan probes with a single reverse seek on the zero-padded microblock Column Family (mb_body_key), returning the exact tip in O(1) time regardless of chain height.
Accurate Attestation Reporting: node/status now reports true on-chain attestation facts for light clients.
3. Uptime Panic Fix & Attestation Key Resolution (#1263)
The Problem:
Fresh VPS Boot Panic: Four locations performed unchecked subtraction on Instant (e.g., Instant - Duration::from_secs(3600)). On freshly booted servers with less than 1 hour of system uptime, Instant underflowed and panicked immediately.
Last Seen Hashtags on Sotwe
ChauHastaMañana
Seen from Thailand
incestoconpapá
Seen from Chile
desiwife
Seen from India
momson()** +filter:native_video
Seen from Oman
momson((())) filter:videos
Seen from Brazil
mentalidadTroll
Seen from Korea
リアエン5月3日
Seen from Thailand
섹트
Seen from Japan
newlifemidlife
Seen from Thailand
machika
Trends for you
Most Popular Users

Elon Musk 
@elonmusk
239.3M followers

Barack Obama 
@barackobama
118.5M followers

Cristiano Ronaldo 
@cristiano
114.3M followers

Donald J. Trump 
@realdonaldtrump
111.7M followers

Narendra Modi 
@narendramodi
106.9M followers

Rihanna 
@rihanna
98.6M followers

NASA 
@nasa
92M followers

Justin Bieber 
@justinbieber
91.7M followers

KATY PERRY 
@katyperry
89.9M followers

Taylor Swift 
@taylorswift13
83.9M followers

Lady Gaga 
@ladygaga
75.4M followers

Virat Kohli 
@imvkohli
73.3M followers

Kim Kardashian 
@kimkardashian
70.8M followers

YouTube 
@youtube
68.6M followers

Neymar Jr 
@neymarjr
66.3M followers

Bill Gates 
@billgates
65.1M followers

Selena Gomez 
@selenagomez
63M followers

The Ellen Show
@theellenshow
62.1M followers

CNN 
@cnn
61.6M followers

X 
@x
60.6M followers
