-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from jabef/feature/altcoin-additions
added Bitcoin Cash Plus and GeoCoin
- Loading branch information
Showing
2 changed files
with
57 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |