Commit Graph

73 Commits

Author SHA1 Message Date
cronos-polis
93e4b1f15a Add Polis, ColossusXT, GoByte, Monoeci (#504) 2018-07-02 14:24:02 -07:00
WO
93ee197b48 Add Koto testnet (#491) 2018-06-09 11:07:36 +09:00
elmora-do
7baf6cf68d Add $PAC (#474)
* Add $PAC

* Refactor and improve masternode notifications
* Update DASH/$PAC RPC documentation

These RPC commands were documented:

masternode.announce.broadcast
masternode.subscribe
masternode.list
masternode.info
2018-06-06 09:15:36 +09:00
Neil Booth
b993bd8f8e Rename protocol_version_string to version_string 2018-06-05 00:07:16 +09:00
WO
8d42c23026 Update for Zcash v3 tx (#475) 2018-05-26 17:48:58 +07:00
Neil Booth
e88b8c0dec Update compaction test
Version -> 1.4.4pre1
2018-05-26 00:02:33 +08:00
Neil Booth
5e1ed3ffa6 Separate history management into its own object
- the object also manages unflushed history
- the history DB has its own version, starting at 0

This is the first step to making history management into
a separate service and to larger block sizes.

The next step is an improved history format, which I hope will both
save space and be a solution to issue #185.  The DB should be able to
upgrade in-place without re-syncing the chain.
2018-05-25 23:36:18 +08:00
Neil Booth
77051f83a4 Make HASHX_LEN a global, not a coin property 2018-05-22 11:44:27 +08:00
ddude
56de4dea67 Adding Xuez Coin (#472) 2018-05-19 09:49:54 +08:00
Nico
9877e1f846 added Machinecoin (MAC) (#470) 2018-05-18 20:03:21 +08:00
cipig
a7a8a1bd32 add GameCredits (GAME) (#467) 2018-05-12 22:51:49 +08:00
Peter Bushnell
e5cd5f3067 Add Uniform Fiscal Object (UFO) (#463)
* Add Uniform Fiscal Object

* Remove spaces in name

* Rename test
2018-05-06 07:15:14 +08:00
Neil Booth
bc6093a8fe Fully integrate aiorpcX 2018-04-08 10:16:36 +09:00
John L. Jegutanis
90f28314d2 Add DROP_CLIENT env variable (#432)
This will disconnect any client based on their version string,
using a regular expression.
Useful for dropping buggy/unsupported clients.
2018-04-05 06:49:56 +09:00
TheLazieR Yip
02ab8e5742 Add block tests for DASH (#431) 2018-03-30 17:42:42 +09:00
-k
a1802b436b add AXE support (#429) 2018-03-30 11:38:36 +09:00
wilsonmeier
0f4f51d932 Changes for BTG (#409)
* Implemented electrum_header for BTG to include solution (needed for validation on clientside)
Add RPC_PORT for BTG node

* Added node regtest compatibility

* Updated unittests

* Changed chunksize and regtest rpc port

* Changed bits transfer format to decimal

* Add testnet v3 params and corrected coin name
2018-03-13 09:41:04 +08:00
cipherzzz
c26227413e Add Decred(DCR) (#402) 2018-03-08 23:06:58 +08:00
dax
cf49b737d3 Enable verbose mode in blockchain.transaction.get (#397)
getrawtransaction: optional verbose mode

Update PROTOCOL.rst docs
2018-03-07 08:59:06 +08:00
blackjok3rtt
824dc76d95 Add coin SNG (#400)
* add SnowGem
2018-03-06 23:34:17 +08:00
Carsen Klock
19e0f9bce2 Add Denarius (DNR) (#396)
* Added DNR

With tests
2018-03-05 18:26:25 +08:00
John L. Jegutanis
6add2e5a9b Add custom base58check algorithm (#389) 2018-02-27 21:44:30 +08:00
Lucas Betschart
b37b53f358 Add Feathercoin test (#379) 2018-02-21 18:53:07 +08:00
John L. Jegutanis
dfea542d0e Add Bitcoin Atom support (#378) 2018-02-21 18:22:16 +08:00
cipig
302cfcfebf add Bitcore (BTX) (#362) 2018-01-31 08:01:33 +00:00
cipig
394be855af add BitcoinZ (BTCZ) (#360)
* add BitcoinZ (BTCZ)
2018-01-30 08:52:47 +00:00
WO
dc35d3f8da Add Koto (#358)
* add Koto

* Add testfile
2018-01-29 14:47:23 +00:00
xarakas
8891bf651f Add NYC Support (#354) 2018-01-24 21:58:24 -04:00
AmiT177
1da936a59b Added HOdlcoin support. (#350)
* Added HOdlcoin support.

* Update coins.py

* HOdlcoin block test
2018-01-19 04:49:48 -04:00
Neil Booth
bf74b5f99f Fix pytest 3.3 failures 2018-01-03 10:52:18 +08:00
Rhett Creighton
4dd226f9c0 Add Zclassic (#337)
* Add Zclassic with EquihashMixin
2018-01-02 08:23:30 +08:00
cipig
f236446e7c add CHIPS (#326) 2017-12-06 22:51:25 +09:00
Neil Booth
35dd1f6199 Remove IRC support 2017-11-27 15:05:42 +09:00
Duke Leto
02438e488d Add Hush using the shiny new EquihashMixin (#319) 2017-11-27 10:39:01 +09:00
cipig
1888a03577 add Komodo and Monaize (#318)
* add KMD

* KMD testblock

* clear peers

* add MNZ (KMD assetchain)

* fix mixin
2017-11-27 06:32:38 +09:00
脇山P
9c834d6091 Add support for Monacoin testnet and update mainnet peers (#310) 2017-11-14 08:28:34 +09:00
John L. Jegutanis
f3fea9f8ee Equihash POW abstraction and Bitcoin Gold support (#311)
* Extract the Equihash mixin from Zcash

The extracted EquihashMixin and DeserializerEquihash are used when
the Equihash POW support is needed but the Zcash transaction parsing
is not.

* Add Bitcoin Gold support

* Minor formatting fixing
2017-11-14 08:27:57 +09:00
Neil Booth
c9b9e920f6 Compplete tests for lib/util.py 2017-10-15 18:02:18 +09:00
Neil Booth
08b80b9306 Improve coverage of Env tests 2017-10-15 16:50:04 +09:00
Sergii Vakula
9303153150 Add support for Emercoin (#284)
* Add parameters for emercoin.

* Add tests for emercoin.

* add block for test new read_header function

* add to daemon https protocol support
2017-10-13 10:12:24 +09:00
Neil Booth
81947d796b Enhance PEER_DISCOVERY environment variable
It is now tri-state - ON, OFF or SELF.

Fixes #287
2017-10-11 13:54:13 +09:00
Neil Booth
05d6351686 Strip boolean environment variable strings
Update tests
2017-10-05 18:01:45 +09:00
Neil Booth
131344715a Minor environment variable improvements
- COIN and NET strip surrounding whitespace
- new environment variable RPC_HOST, similar to HOST, but
  for RPC.  Permits fine-grained control of which addresses
  the RPC server listens on.
- HOST and RPC_HOST strip surrounding whitespace from hostnames
  and IP addresses
- tests and documentation updated to match
2017-09-09 22:00:54 +09:00
Justin Turner Arthur
0c2e5c6368 Minor optimizations to Bitcoin tx processing (#214)
* Construct unpacking functions for byte format up front to save time
wasted on parsing format string every iteration.

* Store length ahead of time as the overhead adds up.

* Reduce object attribute lookups in hash functions.

* Clean up lib pkg API changes. Unit test new "public" API members.
Underscore prefix for internal hash module funcs. Make bytes.fromhex a
public function.

* Document recent performance findings.
2017-09-09 11:06:46 +07:00
Neil Booth
f4cc1e2926 Fix protocol version reported in server.peers.subscribe
- new library function protocol_version_string() with tests
- remove ad-hoc class functions

Fixes #251
2017-09-08 10:54:56 +09:00
Neil Booth
8f004785af Update tests for COIN changes 2017-09-07 14:26:16 +09:00
Neil Booth
a978ca6df7 Permit HOST to be a comma-separated list.
Update documentation to match.
2017-09-06 20:19:59 +09:00
Neil Booth
9c25685eb9 Handle client protocol range requests.
Add more tests.
2017-09-06 17:11:18 +09:00
Neil Booth
135ab68f74 Simple protocol negotiation and setting of handlers
It turns out clients pass 0.10 instead of 1.0 as the protocol version.
Distinguish some handlers for 1.0 and 1.1 protocols.
Log protocol version request
Add tests of new library function
2017-09-06 16:24:56 +09:00
Neil Booth
137236712f Add EVENT_LOOP_POLICY environment variable
Based on #215 by JustinTArthur.

- Accept EVENT_LOOP_POLICY of uvloop
- Move initilisation from electrumx_server to controller
- SocksProxy now requires a loop
- Update tests
2017-08-26 14:03:02 +09:00