Commit Graph

98 Commits

Author SHA1 Message Date
cryptcoin-junkey
761213607c Add PEERS to Monacoin. (#219) 2017-08-12 10:27:00 +07:00
Extrememist
2031e88c20 Add Crown (#217)
* Add Crown

* Fix Parse
2017-08-11 07:05:19 +07:00
Riccardo Casatta
97ec00338d Adding regtest parameters (#213) 2017-08-04 23:12:34 +09:00
Neil Booth
620ee35af9 Merge branch 'master' of github.com:kyuupichan/electrumx 2017-08-03 23:13:23 +09:00
Neil Booth
f65fa2fd19 Update server list for BCC servers. 2017-08-03 23:12:56 +09:00
Justin Turner Arthur
28764936c4 Remove semicolons and a couple unused variables. (#212) 2017-08-02 15:55:44 +09:00
cryptcoin-junkey
ecad494f28 Add Monacoin. (#210)
Signed-off-by: Cryptcoin Junkey <cryptcoin.junkey@gmail.com>
2017-08-02 15:32:16 +09:00
Neil Booth
f696a7933d Prevent unnecessary copying of raw blocks 2017-07-30 20:47:54 +09:00
Neil Booth
3eef0ba4cf Rename block_full to block.
Retain the raw block in the named tuple.
2017-07-30 20:41:08 +09:00
John L. Jegutanis
350ed82711 Add Vertcoin support (#208) 2017-07-25 07:39:09 +09:00
Thomas König
164d0cd924 update FairCoin genesis block (#207)
update server list
2017-07-23 22:25:48 +09:00
Neil Booth
8a18da61c2 Add bitcoin-segwit 2017-07-20 13:12:38 +09:00
Neil Booth
3ca464e5b1 Update BTC server list 2017-07-16 15:01:23 +09:00
Neil Booth
9dfaedc727 Add bip32.py and tests. 2017-07-12 14:39:55 +09:00
John L. Jegutanis
b48465a065 Add Reddcoin support 2017-06-11 01:37:49 +03:00
John L. Jegutanis
fe30086795 Digibyte switched to SegWit 2017-06-11 01:37:49 +03:00
John L. Jegutanis
74f899e544 Add support for Blackcoin and Peercoin 2017-06-11 01:37:49 +03:00
Neil Booth
661883732c Update nolnet parameters 2017-06-07 23:47:17 +09:00
Neil Booth
4cc3720589 Disable IRC for bitcoin mainnet
Only require IRC_CHANNEL if IRC_PREFIX is given.
2017-06-07 23:47:17 +09:00
TheLazieR Yip
8d21eae2bb Move import lines to top of class 2017-05-15 04:12:15 +00:00
TheLazieR Yip
f179c67935 Add support for Dash Masternode methods
+ Add DashDaemon class
+ Add DashElectrumX class
+ Update coin configurations for Dash
2017-05-14 16:36:02 +00:00
TheLazieR Yip
b0e23e903d Allow custom ElectrumX class 2017-05-14 16:26:17 +00:00
John L. Jegutanis
a4e4f80ad7 Allow custom Daemon and BlockProcessor classes 2017-05-07 14:22:23 +02:00
SuBPaR42
400388336a Change to default server peers
electrum.trouth.net is no longer active.  Replaced with another E-S server ;-)
2017-05-01 08:35:09 -05:00
SuBPaR42
b52628143b Update coins.py
Updated to more recent block height and TX count
2017-04-30 08:21:42 -05:00
pooler
961936245c Allow multiple P2SH address versions 2017-04-30 09:48:52 +02:00
Neil Booth
92584cc3c6 Update Litecoin entries as Segwit has activated. 2017-04-28 22:31:40 +09:00
John L. Jegutanis
9549158115 Add Einsteinium support 2017-04-05 14:38:34 +03:00
Neil Booth
0aa9195fc5 Remove bad onion default peer 2017-04-02 10:58:56 +09:00
romanornr
7e8141c62d
Add Viacoin - Segwit Auxpow 2017-03-31 00:37:43 +02:00
Neil Booth
9620aa8bb6 Restore dummy NAME and NET 2017-03-26 12:29:04 +09:00
Neil Booth
a88fc75610 Tweaks to coins.py 2017-03-26 11:49:57 +09:00
protonn
122d78d25b Argentum; support for AuxPow 2017-03-25 19:02:24 -05:00
John L. Jegutanis
bc31df8ee0 Fix support for Namecoin and Dogecoin, add Zcash support
Closes #83
2017-03-25 11:35:55 +09:00
Neil Booth
37602d4eae A couple of tweaks to the prior commit. 2017-03-25 11:35:55 +09:00
John L. Jegutanis
ed7d8a319d Refactor block parsing API 2017-03-25 11:35:55 +09:00
Neil Booth
af67536598 Set reorg limit to 8k on testnet 2017-03-21 20:04:51 +09:00
Neil
5c050e1d31 Merge pull request #151 from erasmospunk/master
Set the correct XPUB, XPRV bytes for dogecoin
2017-03-18 11:53:01 +09:00
John L. Jegutanis
fe544eae7f Set the correct XPUB, XPRV bytes for dogecoin 2017-03-18 03:27:53 +02:00
pooler
11a3c77fdb Fix Litecoin parameters 2017-03-17 12:16:44 +01:00
Neil Booth
42dfd16b14 Add Bitoin Unlimited nolnet 2017-03-04 09:52:47 +09:00
Neil Booth
85f17b75c8 Remove stray commas 2017-02-27 19:39:22 +09:00
Neil Booth
ac8e38a87c Tweak prior 2017-02-27 07:36:52 +09:00
John L. Jegutanis
6b1b9d01f2 Better handle base58 version bytes and allow for a >1 byte version 2017-02-27 07:36:33 +09:00
Thomas König
b6be653f4f Adding FairCoin (#122)
* Adding FairCoin

* remove redundant 'header_len' function

* removed serializer
added missing commas
removed assertion from read_block and replaced it with a comment
2017-02-19 19:03:21 +09:00
Neil Booth
3f35bc0298 More PEP8 stuff 2017-02-18 13:05:26 +09:00
Neil Booth
33cdfa4fc8 Merge branch 'nmarley-pep8' into develop 2017-02-18 12:54:01 +09:00
Neil Booth
9bd7b5a9f9 Merge branch 'pep8' of https://github.com/nmarley/electrumx into nmarley-pep8 2017-02-18 12:51:58 +09:00
Neil Booth
151da40d5b Implement peer discovery protocol
Closes #104

DEFAULT_PORTS now a coin property
A Peer object maintains peer information
Revamp LocalRPC "peers" call to show a lot more information
Have lib/jsonrpc.py take care of handling request timeouts
Save and restore peers to a file
Loosen JSON RPC rules so we work with electrum-server and beancurd which don't follow the spec.
Handle incoming server.add_peer requests
Send server.add_peer registrations if peer doesn't have us or correct ports
Verify peers at regular intervals, forget stale peers, verify new peers or those with updated ports
If connecting via one port fails, try the other
Add socks.py for SOCKS4 and SOCKS5 proxying, so Tor servers can now be reached by TCP and SSL
Put full licence boilerplate in lib/ files
Disable IRC advertising on testnet
Serve a Tor banner file if it seems like a connection came from your tor proxy (see ENVIONMENT.rst)
Retry tor proxy hourly, and peers that are about to turn stale
Report more onion peers to a connection that seems to be combing from your tor proxy
Only report good peers to server.peers.subscribe; always report self if valid
Handle peers on the wrong network robustly
Default to 127.0.0.1 rather than localhost for Python <= 3.5.2 compatibility
Put peer name in logs of connections to it
Update docs
2017-02-18 12:43:45 +09:00
Neil Booth
251dca4da9 Update match groups 2017-02-17 21:42:34 +09:00