Files
chia-blockchain/.cursor/rules/context-consensus.mdc
T
Almog De PazandGitHub 79008d11d5 context for moduls and testing for cursor to use automatically (#20572)
* context fo cursor

* pass with docs refrence, fix line counts and some more and minor fixes

* lint

* pr comments

* fixes
2026-05-01 14:02:08 -05:00

16 lines
567 B
Plaintext

---
description: Auto-attach consensus context when working in consensus code
globs:
- chia/consensus/**
---
# Consensus Context Available
Deep context for this subsystem exists at `.cursor/context/consensus.md`.
Read it before exploring code — it documents `add_block()`, `_reconsider_peak()`,
`ForkInfo`, `validate_block_body()`, difficulty adjustment, VDF iteration math,
block rewards, and `AugmentedBlockchain` with line-level analysis and invariants.
If the change involves reorgs or cross-module state, also read
`.cursor/context/global-invariants.md`.