midnight-node
Bringing rational privacy to blockchain
What XERJ indexed
Snapshot
Only changes/node/added, docs, ledger/src, ledger/tests, node/src at commit ef0ed5898a (2026-09-24). main is 80 commits ahead.
Selected work

“add midnight_ledgerStats RPC for ledger collection sizes …”. 10 files, 491 lines in node, ledger.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-12. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
blockchaincardanopolkadot-sdkprivacy-protectioncompactmidnightntwrk
Example questions
- How does midnight-node implement blockchain?
- What does node do in midnight-node?
- Show the cardano code in midnight-node.
Inside the indexed corpus
- 3,161 files, 99.7 MB in total, about 32.3 KB per file.
- The selected commit changed 10 of those files (0.3%).
- Languages by size: Rust 88.1%, Shell 5.6%, TypeScript 3.9%, Earthly 1.7%, Python 0.3%.
- On GitHub since 2025-05-20, last push 2026-10-31, 2,027 commits on main.
- The pin is 80 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for midnightntwrk/midnight-node on 2026-10-31, but the LICENSE file at commit ef0ed5898a was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Christos Palaskas (@chrispalaskas) has 1 selected repository on the hub.
Using XERJ with midnight-node
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 3,161 files.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones midnightntwrk/midnight-node at the pinned commit and indexes it on your machine.
Search the GitHub repository midnightntwrk/midnight-node with XERJ (https://hub.xerj.org/corpus/midnightntwrk--midnight-node). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/midnightntwrk/midnight-node midnight-node && git -C midnight-node checkout ef0ed5898ad1f77ad1ddc0516ca3a819812dd547 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./midnight-node --url http://127.0.0.1:9200 --prefix midnight-node --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
Christos PalaskasCryptography, TLS and secrets corporafastcryptoaccord-legal-modelsdunorth595--xrpl-agent-loginput-output-hk/cardano-initblinklabs-io/gouroborosfoundry-rs/foundry
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.