Skip to content

Commit

Permalink
Merge pull request #83 from jabef/feature/altcoin-additions
Browse files Browse the repository at this point in the history
added Bitcoin Cash Plus and GeoCoin
  • Loading branch information
StuartFarmer authored Feb 23, 2018
2 parents 2575656 + 01b2c9f commit 561dece
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 31 deletions.
33 changes: 33 additions & 0 deletions network/bitcoin_cash_plus.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

from clove.network.bitcoin import Bitcoin


class BitcoinCashPlus(Bitcoin):
"""
Class with all the necessary BCP network information based on
https://github.com/bitcoincashplus/bitcoincashplus/blob/master/src/chainparams.cpp
(date of access: 02/21/2018)
"""
name = 'bitcoin-cash-plus'
symbols = ('BCP', )
seeds = (
'seed.bcpfork.org',
'seed.bcpseeds.net',
'seed.bitcoincashplus.org',
)
port = 8337


class BitcoinCashPlusTestNet(BitcoinCashPlus):
"""
Class with all the necessary BCP testing network information based on
https://github.com/bitcoincashplus/bitcoincashplus/blob/master/src/chainparams.cpp
(date of access: 02/21/2018)
"""
name = 'test-bitcoin-cash-plus'
seeds = (
'test-seed.bcpfork.org',
'test-seed.bcpseeds.net',
'test-seed.bitcoincashplus.org',
)
port = 18337
55 changes: 24 additions & 31 deletions network/geocoin.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,24 @@
from clove.network.bitcoin import Bitcoin


class GeoCoin(Bitcoin):
"""
Class with all the necessary GeoCoin network information based on
https://github.com/doriancoins/doriancoin/blob/master/src/net.cpp
(date of access: 02/21/2018)
"""
name = 'geocoin'
symbols = ('GEO', )
seeds = ("dnsseed.doriancointools.com",
"dnsseed.doriancoinpool.org",
"dnsseed.ltc.xurious.com",
"dnsseed.koin-project.com",
"dnsseed.weminemnc.com")
port = 1949


class GeoCoinTestNet(GeoCoin):
"""
Class with all the necessary GeoCoin testing network information based on
https://github.com/doriancoins/doriancoin/blob/master/src/net.cpp
(date of access: 02/21/2018)
"""
name = 'test-geocoin'
seeds = ("testnet-seed.doriancointools.com",
"testnet-seed.weminemnc.com")
port = 11949


from clove.network.bitcoin import Bitcoin


class GeoCoin(Bitcoin):
"""
Class with all the necessary GeoCoin network information based on
https://github.com/onetimer/onetimer/blob/master/src/net.cpp
(date of access: 02/22/2018)
"""
name = 'geocoin'
symbols = ('GEO', )
seeds = ("104.236.52.122")
port = 9748


class GeoCoinTestNet(GeoCoin):
"""
Class with all the necessary GeoCoin testing network information based on
https://github.com/onetimer/onetimer/blob/master/src/net.cpp
(date of access: 02/21/2018)
"""
name = 'test-geocoin'
seeds = ("104.236.52.122")
port = 9748

0 comments on commit 561dece

Please sign in to comment.