Skip to content

Commit

Permalink
added starting block for lightninhg support
Browse files Browse the repository at this point in the history
  • Loading branch information
wellenreiter01 committed May 10, 2022
1 parent 1973917 commit 911d48a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 0 additions & 2 deletions contrib/deterministic-build/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,4 @@ colorama==0.4.4 \
--hash=sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2
scrypt==0.8.18 \
--hash=sha256:04c256912a4271ad2a0856737800e06965431412bd5b36d361febffb67dc30ba \
neoscrypt==1.0 \
--hash=sha256:3d0f404f7e4b9c7b33c4f08b4750dbb573a0d6a2e195bdc7e3bdee24a0895262\

8 changes: 7 additions & 1 deletion electrum/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ def max_checkpoint(cls) -> int:
return 0


@classmethod
def rev_genesis_bytes(cls) -> bytes:
return bytes.fromhex(bitcoin.rev_hex(cls.GENESIS))


class BitcoinMainnet(AbstractNet):
#FTC Mainnet
NET_NAME = "Mainnet"
Expand All @@ -66,7 +71,8 @@ class BitcoinMainnet(AbstractNet):
DEFAULT_PORTS = {'t': '50001', 's': '50002'}
DEFAULT_SERVERS = read_json('servers.json', {})
CHECKPOINTS = read_json('checkpoints.json', [])

BLOCK_HEIGHT_FIRST_LIGHTNING_CHANNELS = 4149000

XPRV_HEADERS = {
'standard': 0x0488daee, # xprv
'p2wpkh-p2sh': 0x049d7878, # yprv
Expand Down

0 comments on commit 911d48a

Please sign in to comment.