c2pool
C2pool: decentralized, DoS-resistant, Hop-Proof PoW mining pool
What XERJ indexed
Snapshot
The whole repository at commit 41b9f03341 (2026-10-17). master is 90 commits ahead.
Selected work

“count self-connections per host, ban the 4th in 600 s …”. 3 files, 571 lines in test, src/impl.
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-19. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
p2poolc2poolminingpoolsharechainweakchainhashrateblockchain
Example questions
- How does c2pool implement p2pool?
- What does src/impl do in c2pool?
- Show the mining code in c2pool.
Inside the indexed corpus
- 3,284 files, 65.8 MB in total, about 20.5 KB per file.
- The selected commit changed 3 of those files.
- Languages by size: C++ 90.4%, Python 2.7%, HTML 1.6%, C 1.4%, CMake 1.2%.
- On GitHub since 2020-02-01, last push 2026-10-31, 6,518 commits on master.
- The pin is 90 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported AGPL-3.0 for frstrtr/c2pool on 2026-10-31, and the LICENSE file at commit 41b9f03341 was reviewed as AGPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
frstrtr (@frstrtr) has 1 selected repository on the hub.
Using XERJ with c2pool
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 3,284 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 frstrtr/c2pool at the pinned commit and indexes it on your machine.
Search the GitHub repository frstrtr/c2pool with XERJ (https://hub.xerj.org/corpus/frstrtr--c2pool). 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/frstrtr/c2pool c2pool && git -C c2pool checkout 41b9f033419f5d5449620f428ce052f9c614bf0e 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./c2pool --url http://127.0.0.1:9200 --prefix c2pool --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: AGPL-3.0. Read it for the approach only, do not copy code.
Related
frstrtrCryptography, TLS and secrets corporadunorth595--xrpl-did-mcpaccord-legal-modelsdunorth595--xrpl-agent-lognatusor/MONEUgosuda/bitcoin-rsati1993de/vargamesh-core
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.