Commit Graph

6 Commits

Author SHA1 Message Date
5b550f3245 Clear inherited checkpoints and update to mainnet config
Remove inherited Bitcoin checkpoints from Palladium coin definition to prevent
validation issues.
2025-11-28 13:49:04 +01:00
9000278f17 feat: add complete Palladium testnet support to ElectrumX
This commit implements full support for both Palladium mainnet and testnet
networks in ElectrumX, allowing users to switch between them via configuration.

Changes:
- Dockerfile: Fixed coin class registration by adding Palladium classes
  directly to coins.py instead of using external imports (avoids circular
  dependency). Both /usr/local/lib and /electrumx/src files are patched.
  Added required TX_COUNT, TX_COUNT_HEIGHT, TX_PER_BLOCK attributes.

- README.md: Updated with comprehensive network support documentation
  including network comparison table, step-by-step switching instructions,
  testnet-specific information, and corrected COIN/NET usage.

- docker-compose.yml: Configured for testnet with proper COIN and NET
  environment variables. Added clear comments for mainnet/testnet switching.

Network Configuration:
- Mainnet: COIN="Palladium" NET="mainnet" port 2332
- Testnet: COIN="Palladium" NET="testnet" port 12332
  (Note: COIN value is always "Palladium" for both networks)

Tested successfully with Palladium testnet node - synced 6,576 blocks
and serving on TCP:50001 and SSL:50002.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 13:24:42 +01:00
61ffb0729c Update coin configuration and imports
- Remove redundant NET setting as it's automatically determined by COIN
- Update Dockerfile to handle both Palladium and PalladiumTestnet imports
- Register both coin types in COIN_CLASSES
2025-11-28 12:49:04 +01:00
54b434d33f Add testnet support for palladium electrumx server
Add PalladiumTestnet class with testnet-specific configurations including ports, address prefixes, and genesis hash. Update docker-compose.yml with clear network configuration comments and documentation in README.md explaining how to switch between mainnet and testnet.
2025-11-28 12:32:12 +01:00
ddfab1582f (docker): update electrumx-plm container networking and config
- Replace host networking with explicit port mapping and host gateway
- Update DAEMON_URL to use host.docker.internal
- Remove redundant healthcheck configuration
2025-10-15 14:05:27 +02:00
ee54f4b545 Add docker-compose.yml for container setup 2025-09-26 16:13:01 +02:00