Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

altcoin: Add Ferrite (MWEB deserializer) #226

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 13 additions & 7 deletions electrumx/lib/coins.py
Original file line number Diff line number Diff line change
Expand Up @@ -4180,7 +4180,7 @@ class Ferrite(Coin):
WIF_BYTE = bytes.fromhex("a3")
GENESIS_HASH = ('46ca17415c18e43f5292034ebf9bbd10'
'de80a61fc6dc17180e6609f33d3b48f3')
DESERIALIZER = lib_tx.DeserializerSegWit
DESERIALIZER = lib_tx.DeserializerLitecoin
TX_COUNT = 164010
TX_COUNT_HEIGHT = 150251
TX_PER_BLOCK = 2
Expand All @@ -4189,9 +4189,12 @@ class Ferrite(Coin):
ESTIMATE_FEE = 0.00001
RELAY_FEE = 0.00001
PEERS = [
'enode1.ferritecoin.org s t',
'enode2.ferritecoin.org s t',
'enode3.ferritecoin.org s t',
'118.189.201.104 t50001',
'118.189.201.104 t50002',
'118.189.201.104 t50003',
'enode1.ferritecoin.org t80',
'enode2.ferritecoin.org t80',
'enode3.ferritecoin.org t80'
]


Expand All @@ -4213,7 +4216,10 @@ class FerriteTestnet(Ferrite):
ESTIMATE_FEE = 0.00001
RELAY_FEE = 0.00001
PEERS = [
'enode1.ferritecoin.org s t',
'enode2.ferritecoin.org s t',
'enode3.ferritecoin.org s t',
'118.189.201.104 t50001',
'118.189.201.104 t50002',
'118.189.201.104 t50003',
'enode1.ferritecoin.org t80',
'enode2.ferritecoin.org t80',
'enode3.ferritecoin.org t80'
]