Merge pull request #827 from input-output-hk/yveshauser/deltaq-report
DeltaQ report
DeltaQ report
Signed-off-by: Chris Gianelloni <[email protected]>
Maps adversarial relay node infrastructure costs to measurable front-running rates, with exploitable yield discounted by FIFO batcher prevalence and DEX order fraction from script mapping. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Move ChainTree, ChainNode, and their 7 unit tests from consensus.rs into chain_tree.rs. Add point() accessor so consensus doesn't reach into ChainTree internals. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Display tip_hash alongside tip_block_no in the inspector panel, matching the format already used in topology nodes (e.g. "5 #a3b2"). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Emit NodeEvent::RolledBack for both peer-triggered rollbacks (NetworkEvent::RolledBack) and consensus fork-switch rollbacks (on_validation_complete returns true). UI shows violet flash on topology nodes and magenta chip in event log. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Track adopted_tip_hash separately from the chain tree's speculative best tip. When on_validation_complete finds the new block is on a different fork than the adopted tip, walk prev_hash links to find the common ancestor and issue InjectRollback before InjectBlock. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Replace the single local_tip in Consensus with a ChainTree that tracks block headers keyed by hash, linked via prev_hash. Longest chain (highest block_number) is selected as best tip. Blocks deeper than security_param_k (default 2160) are pruned. Block production now receives prev_hash and block_number from consensus so headers contain correct chain linkage and globally consistent height. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Use Typography component="div" so the Chip (renders <div>) isn't nested inside a <p> element. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Track blocks_produced in NodeSeriesPoint and display a green blocks chart in the inspector, matching the aggregate charts style. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Style recharts tooltips in aggregate charts and inspector panel with dark backgrounds and white text to match the dashboard theme. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Dark purple background, larger title left-aligned, node/edge count on the right, white text throughout. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Replace 1s HTTP polling with Server-Sent Events for event delivery. Events now appear in the UI as they arrive from nodes, making block propagation visible as a wave across the graph. - Add GET /api/events/stream SSE endpoint with broadcast channel - Add useEventStream hook with 50ms batching to avoid render storms - Remove TipAdvanced from flash triggers (redundant with RBReceived) - Protect "produced" flash from being overwritten by "received" Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Co-authored-by: Sebastian Nagel <[email protected]>
Cleanup