Skip to content

Commit 934441a

Browse files
authored
add LBRY Credits (LBC) (spesmilo#186)
1 parent 3666ed7 commit 934441a

File tree

2 files changed

+109
-0
lines changed

2 files changed

+109
-0
lines changed

electrumx/lib/coins.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4027,3 +4027,23 @@ class Syscoin(AuxPowMixin, Coin):
40274027
RPC_PORT = 8370
40284028
REORG_LIMIT = 2000
40294029
CHUNK_SIZE = 360
4030+
4031+
4032+
class Lbry(Coin):
4033+
NAME = "Lbry"
4034+
SHORTNAME = "LBC"
4035+
NET = "mainnet"
4036+
XPUB_VERBYTES = bytes.fromhex("019C354f")
4037+
XPRV_VERBYTES = bytes.fromhex("019C3118")
4038+
P2PKH_VERBYTE = bytes.fromhex("55")
4039+
P2SH_VERBYTES = (bytes.fromhex("7a"),)
4040+
WIF_BYTE = bytes.fromhex("1c")
4041+
GENESIS_HASH = ('9c89283ba0f3227f6c03b70216b9f665'
4042+
'f0118d5e0fa729cedf4fb34d6a34f463')
4043+
DESERIALIZER = lib_tx.DeserializerSegWit
4044+
BASIC_HEADER_SIZE = 112
4045+
TX_COUNT = 50792939
4046+
TX_COUNT_HEIGHT = 1178612
4047+
TX_PER_BLOCK = 43
4048+
RPC_PORT = 9245
4049+
REORG_LIMIT = 5000

tests/blocks/lbry_mainnet_1000000.json

Lines changed: 89 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)