34 lines
1.7 KiB
Markdown
34 lines
1.7 KiB
Markdown
|
|
# 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)
|