Clear inherited checkpoints and update to mainnet config
Remove inherited Bitcoin checkpoints from Palladium coin definition to prevent validation issues.
This commit is contained in:
@@ -25,6 +25,9 @@ class Palladium(Bitcoin):
|
||||
# Genesis hash (Bitcoin mainnet)
|
||||
GENESIS_HASH = "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
|
||||
|
||||
# Clear inherited checkpoints
|
||||
CHECKPOINTS = []
|
||||
|
||||
# Network statistics (required by ElectrumX)
|
||||
TX_COUNT = 1000
|
||||
TX_COUNT_HEIGHT = 1
|
||||
|
||||
@@ -15,11 +15,11 @@ services:
|
||||
# For TESTNET use: COIN: "Palladium", NET: "testnet" and DAEMON_URL port 12332
|
||||
|
||||
COIN: "Palladium" # Always "Palladium" for both networks
|
||||
NET: "testnet" # Change to "mainnet" for mainnet
|
||||
NET: "mainnet"
|
||||
|
||||
# Palladium Core RPC connection
|
||||
# MAINNET: port 2332 | TESTNET: port 12332
|
||||
DAEMON_URL: "http://rpcuser:rpcpassword@host.docker.internal:12332/" # RPC credentials
|
||||
DAEMON_URL: "http://<rpcuser>:<rpcpassword>@host.docker.internal:2332/" # RPC credentials
|
||||
|
||||
SERVICES: "tcp://0.0.0.0:50001,ssl://0.0.0.0:50002"
|
||||
|
||||
|
||||
@@ -17,6 +17,10 @@ class Palladium(Bitcoin):
|
||||
# === Genesis hash (Bitcoin mainnet) ===
|
||||
GENESIS_HASH = "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f"
|
||||
|
||||
# === Checkpoints ===
|
||||
# Since we share Genesis with Bitcoin, we must clear inherited checkpoints
|
||||
CHECKPOINTS = []
|
||||
|
||||
# === Default ports ===
|
||||
RPC_PORT = 2332
|
||||
PEER_DEFAULT_PORTS = {'t': '2333', 's': '52333'}
|
||||
|
||||
Reference in New Issue
Block a user