Files
2026-05-04 17:14:34 +02:00

34 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# purple-data
Technical reference for building infrastructure on top of **BitcoinPurple (BTCP)** — a Bitcoin fork with 1-minute blocks and a 1,000,000 BTCP supply cap.
## Contents
[`technical-data.md`](technical-data.md) is the single source of truth for all chain-specific constants, sourced directly from the BTCP codebase. It covers:
- **Network parameters** — ports, magic bytes, address prefixes, HD key version bytes, genesis hashes for mainnet, testnet, signet, and regtest
- **Consensus rules** — block time, halving schedule, difficulty retarget (every 120 blocks), soft-fork activation heights
- **ElectrumX** — `coins_btcp.py` coin class, Docker patch snippet, environment variables
- **Electrum wallet** — `constants.py` class definitions, derivation paths, checkpoints format, header verification logic
- **Lightning Network** — `chain_hash` values, BOLT11 HRP, block-time-scaled timeout parameters (×10 vs Bitcoin), CLN and LND fork notes
- **`bitcoinpurple.conf`** — full annotated node configuration
## Quick orientation
| Parameter | Mainnet | Testnet |
|-----------|---------|---------|
| P2P port | `13496` | `23496` |
| RPC port | `13495` | `23495` |
| ElectrumX TCP / SSL | `50001` / `50002` | `60001` / `60002` |
| Bech32 HRP | `btcp` | `tbtcp` |
| BOLT11 prefix | `lnbtcp…` | `lntbtcp…` |
| Block time | 60 s | 60 s |
| Halving interval | 500,000 blocks | — |
| Max supply | 1,000,000 BTCP | — |
> **Lightning note:** BTCP has 1-minute blocks. All LN timeout values expressed in blocks must be multiplied by **×10** compared to Bitcoin defaults (e.g. `to_self_delay` 144 → 1440, `cltv_expiry_delta` 40 → 400).
## License
[MIT](LICENSE)