Browse Source

Merge branch 'master' of github.com:kyuupichan/electrumx

master
Neil Booth 8 years ago
parent
commit
992fcc7735
  1. 2
      contrib/daemontools/run
  2. 6
      contrib/python3.6/python-3.6.sh
  3. 1
      contrib/raspberrypi3/install_electrumx.sh
  4. 1
      contrib/raspberrypi3/run_electrumx.sh
  5. 20
      lib/coins.py

2
contrib/daemontools/run

@ -1,3 +1,3 @@
j#!/bin/sh
#!/bin/sh
echo "Launching ElectrumX server..."
exec 2>&1 envdir ./env /bin/sh -c 'envuidgid $USERNAME python3 $ELECTRUMX'

6
contrib/python3.6/python-3.6.sh

@ -1,5 +1,7 @@
Installation of Python 3.6
--------------------------
#!/bin/sh
###########################
#Installation of Python 3.6
###########################
sudo add-apt-repository ppa:jonathonf/python-3.6
sudo apt-get update && sudo apt-get install python3.6 python3.6-dev

1
contrib/raspberrypi3/install_electrumx.sh

@ -1,3 +1,4 @@
#!/bin/sh
###################
# install electrumx
###################

1
contrib/raspberrypi3/run_electrumx.sh

@ -1,3 +1,4 @@
#!/bin/sh
###############
# run_electrumx
###############

20
lib/coins.py

@ -794,3 +794,23 @@ class Zcash(Coin):
@classmethod
def deserializer(cls):
return DeserializerZcash
class Einsteinium(Coin):
NAME = "Einsteinium"
SHORTNAME = "EMC2"
NET = "mainnet"
# TODO add correct values for XPUB, XPRIV
XPUB_VERBYTES = bytes.fromhex("0488b21e")
XPRV_VERBYTES = bytes.fromhex("0488ade4")
P2PKH_VERBYTE = bytes.fromhex("21")
P2SH_VERBYTE = bytes.fromhex("05")
WIF_BYTE = bytes.fromhex("a1")
GENESIS_HASH = ('4e56204bb7b8ac06f860ff1c845f03f9'
'84303b5b97eb7b42868f714611aed94b')
TX_COUNT = 2087559
TX_COUNT_HEIGHT = 1358517
TX_PER_BLOCK = 2
IRC_PREFIX = "E_"
IRC_CHANNEL = "#electrum-emc2"
RPC_PORT = 41879

Loading…
Cancel
Save