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
Neil Booth
3eef0ba4cf
Rename block_full to block.
...
Retain the raw block in the named tuple.
2017-07-30 20:41:08 +09:00
Neil Booth
3612b88e2e
Permit underscores in hostnames.
...
Add tests.
2017-07-16 13:58:02 +09:00
Neil Booth
54c3ae4c5d
Improve bip32 test coverage
2017-07-12 15:09:17 +09:00
Neil Booth
9dfaedc727
Add bip32.py and tests.
2017-07-12 14:39:55 +09:00
Neil Booth
7a77637586
Add comprehensive tests of lib/hash.py
2017-07-10 19:01:03 +09:00
Neil Booth
2f26e81629
Implement history compression with tests.
...
Still to do: running compression in background when the flush
count reaches a certain level
2017-06-18 22:59:30 +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
pooler
961936245c
Allow multiple P2SH address versions
2017-04-30 09:48:52 +02:00
Neil Booth
d216d5111b
Prepare 1.0.9
2017-04-09 14:20:17 +09:00
Neil Booth
fde47d5739
Organise tests
2017-04-06 07:32:56 +09:00
Neil Booth
f3de91180e
Add tests for server/env.py
2017-04-06 07:27:48 +09:00
John L. Jegutanis
50a829c371
added raw block tests
2017-03-25 11:35:56 +09:00
John L. Jegutanis
bc31df8ee0
Fix support for Namecoin and Dogecoin, add Zcash support
...
Closes #83
2017-03-25 11:35:55 +09:00
John L. Jegutanis
05a74253c1
add some addresses tests ( #142 )
2017-02-28 06:33:10 +09:00
Nathan Marley
a03665696c
recommendations from pycodestyle (pep8 style)
2017-02-07 20:12:50 -08:00
Neil Booth
23c4616711
Fix testcase
2017-01-18 08:02:45 +09:00
Neil Booth
3a0d2b5881
Update tests
2017-01-07 11:51:12 +09:00
Johann Bauer
e9e7ff16ad
Add tests for close.
2016-11-27 21:47:56 +01:00
Neil Booth
1b95bcd8ac
Open DB differently depending on if syncing
...
If syncing, use a high max_open_files, otherwise lower it.
2016-11-27 07:25:28 +09:00
Neil Booth
6849937628
Add a couple more tests
2016-11-14 07:43:08 +09:00
Johann Bauer
0eb9e9731e
Add unit tests for the methods in util
2016-11-14 07:26:43 +09:00
Johann Bauer
d34e0ed6d1
Add unit tests for storage interfaces
2016-11-06 18:16:16 +01:00