Add Koto testnet (#491)
This commit is contained in:
parent
0646d874be
commit
93ee197b48
17
lib/coins.py
17
lib/coins.py
@ -1047,6 +1047,23 @@ class Koto(Coin):
|
|||||||
'electrum.kotocoin.info s t',
|
'electrum.kotocoin.info s t',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
class KotoTestnet(Koto):
|
||||||
|
SHORTNAME = "TOKO"
|
||||||
|
NET = "testnet"
|
||||||
|
P2PKH_VERBYTE = bytes.fromhex("18A4")
|
||||||
|
P2SH_VERBYTES = [bytes.fromhex("1839")]
|
||||||
|
WIF_BYTE = bytes.fromhex("EF")
|
||||||
|
GENESIS_HASH = ('bf84afbde20c2d213b68b231ddb585ab'
|
||||||
|
'616ef7567226820f00d9b397d774d2f0')
|
||||||
|
TX_COUNT = 91144
|
||||||
|
TX_COUNT_HEIGHT = 89662
|
||||||
|
TX_PER_BLOCK = 1
|
||||||
|
RPC_PORT = 18432
|
||||||
|
PEER_DEFAULT_PORTS = {'t': '51001', 's': '51002'}
|
||||||
|
PEERS = [
|
||||||
|
'testnet.kotocoin.info s t',
|
||||||
|
]
|
||||||
|
|
||||||
class Komodo(KomodoMixin, EquihashMixin, Coin):
|
class Komodo(KomodoMixin, EquihashMixin, Coin):
|
||||||
NAME = "Komodo"
|
NAME = "Komodo"
|
||||||
SHORTNAME = "KMD"
|
SHORTNAME = "KMD"
|
||||||
|
|||||||
14
tests/blocks/koto_testnet_10000.json
Normal file
14
tests/blocks/koto_testnet_10000.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"hash": "a9b4154878118387b4494ba0ee9c68c46572442a10613dfe8150fa5810fa70fd",
|
||||||
|
"size": 170,
|
||||||
|
"height": 10000,
|
||||||
|
"merkleroot": "9ebd0c89c919e18eb5c353dbd1faad4e322cde50a814ce36cf0d33ce7a925d56",
|
||||||
|
"tx": [
|
||||||
|
"9ebd0c89c919e18eb5c353dbd1faad4e322cde50a814ce36cf0d33ce7a925d56"
|
||||||
|
],
|
||||||
|
"time": 1521741949,
|
||||||
|
"nonce": 1023934464,
|
||||||
|
"bits": "1f052641",
|
||||||
|
"previousblockhash": "84fdcc6d547b652aa86ce52ca593887c8d126dc81d840addb8f8dc55f6282e29",
|
||||||
|
"block": "04000000292e28f655dcf8b8dd0a841dc86d128d7c8893a52ce56ca82a657b546dccfd84565d927ace330dcf36ce14a850de2c324eadfad1db53c3b58ee119c9890cbd9e7df0b35a4126051f0000083d0101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff0402102700ffffffff019032f989000000001976a9145754343f9da87f8ede9461d41407de4e0f76879688ac00000000"
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user