Neil Booth
|
2803ef913e
|
Merge branch 'master' into devel
|
2018-08-08 16:33:11 +09:00 |
|
Neil Booth
|
12c49bbe75
|
Suppress accept_connection2 asyncio log spew
|
2018-08-08 12:48:22 +09:00 |
|
Neil Booth
|
931b227618
|
Verify a peer concurrently
|
2018-08-08 12:40:48 +09:00 |
|
Neil Booth
|
9b4276c68d
|
Have peers.py use its own task group
|
2018-08-08 12:35:58 +09:00 |
|
Neil Booth
|
9c5d59e997
|
Use new Session interface
|
2018-08-08 12:19:26 +09:00 |
|
Neil Booth
|
2d66a4f5aa
|
aiorpcX 0.7.0 has better string text for TaskTimeout
|
2018-08-08 12:19:18 +09:00 |
|
Neil Booth
|
6697614427
|
Use close from aiorpcX 0.7.0
|
2018-08-08 12:19:09 +09:00 |
|
Neil Booth
|
962b4679d7
|
Require aiorpcX 0.7.0
|
2018-08-08 12:18:57 +09:00 |
|
Neil Booth
|
a3afab83d6
|
Better handle bad input to query RPC call
Based on #559. Also:
- remove unused import
- restore timeout to 15s
- handle invalid input by catching at a higher level
and converting to RPCError
|
2018-08-07 21:21:27 +09:00 |
|
Neil Booth
|
1badab2186
|
Add documentation of proposed protocol 1.5 changes
|
2018-08-07 15:09:26 +09:00 |
|
Neil Booth
|
74e6fe416f
|
Move close() up to the base class
Fixes #557
|
2018-08-07 10:46:12 +09:00 |
|
Neil Booth
|
955a8e927d
|
Put flushing-to-DB in a thread
- flush() and backup_flush() are now async
|
2018-08-06 22:28:25 +09:00 |
|
Neil Booth
|
1efc8cb8ec
|
Make the merkle cache and read_headers async
read_headers runs in a thread to avoid blocking
|
2018-08-06 21:49:26 +09:00 |
|
Neil Booth
|
db5d516756
|
Make raw_header async
|
2018-08-06 21:49:26 +09:00 |
|
Neil Booth
|
f24b022fa4
|
Remove dead code
|
2018-08-06 21:49:26 +09:00 |
|
Neil Booth
|
12dbf2c74a
|
Rename get_history to limited_history
- make it async and run in a thread
|
2018-08-06 21:49:26 +09:00 |
|
Neil Booth
|
a036a2eb3f
|
Rename get_utxos to all_utxos.
- no longer takes a limit
- runs in a thread to avoid blocking
|
2018-08-06 21:38:53 +09:00 |
|
Neil Booth
|
0c8d5ddf63
|
Mark as dev branch
|
2018-08-06 21:38:53 +09:00 |
|
Neil Booth
|
78388999a7
|
Prepare 1.8
|
2018-08-06 18:55:47 +09:00 |
|
Neil Booth
|
c9f97d98e0
|
Improve electrumx_rpc error handling
|
2018-08-06 18:35:55 +09:00 |
|
Neil Booth
|
c141bfffd9
|
Remove some dead debug code
|
2018-08-06 18:17:46 +09:00 |
|
Neil Booth
|
55da063f6b
|
Tweak exception output to use !r
|
2018-08-06 18:04:20 +09:00 |
|
Neil Booth
|
1956b9d659
|
Use a regex for message suppression
|
2018-08-06 14:55:25 +09:00 |
|
Neil Booth
|
09e840de3c
|
Fix spawn call
|
2018-08-06 14:47:53 +09:00 |
|
Neil Booth
|
4bb78ecbbb
|
Move history cache to session_mgr
|
2018-08-06 14:34:44 +09:00 |
|
Neil Booth
|
790d462b55
|
Use a list for order
|
2018-08-06 11:59:55 +09:00 |
|
Neil Booth
|
e5b2268387
|
Fix groestlcoin address parsing
Baesd on erasmospunk's PR #551
|
2018-08-06 08:39:44 +09:00 |
|
Neil Booth
|
2afb95930f
|
Update aiorpcX requirements
|
2018-08-06 06:43:15 +09:00 |
|
John L. Jegutanis
|
dbfe9096c2
|
Fix reorg crash due a missing await (#555)
|
2018-08-05 18:49:50 +09:00 |
|
Neil Booth
|
02a34d05c2
|
async/await fixes
|
2018-08-05 12:10:34 +09:00 |
|
Neil Booth
|
51c9988b81
|
Various fixes
- Fix pycodestyle
- Change session.close API
- Fix logging
|
2018-08-05 11:06:36 +09:00 |
|
Neil Booth
|
4c2834f899
|
Prepare 1.8 beta
|
2018-08-05 10:17:35 +09:00 |
|
Neil Booth
|
2c7d56d097
|
Update to aiorpcX 0.6
|
2018-08-05 10:17:35 +09:00 |
|
Steven
|
aaf5b34156
|
Fix typo. (#553)
|
2018-08-03 20:48:05 +09:00 |
|
John L. Jegutanis
|
0815ff8e24
|
Add Decred support (#550)
* Refactor reorg_hashes function
* Add Decred support
|
2018-08-02 22:20:36 +09:00 |
|
Neil Booth
|
898e2eea00
|
Make pycodestyle happy
|
2018-08-02 16:17:30 +09:00 |
|
Neil Booth
|
93311ca84e
|
Move query.py to contrib/
|
2018-08-02 15:41:06 +09:00 |
|
Neil Booth
|
9185198703
|
Rework electrumx_rpc; add "query" command
|
2018-08-02 15:37:11 +09:00 |
|
Neil Booth
|
147989a0a6
|
Get query.py working
|
2018-08-02 10:56:21 +09:00 |
|
Kefkius
|
9e3893b065
|
Add Groestlcoin (#544)
* Add Groestlcoin
* GRS: Add tests
|
2018-08-02 07:12:14 +09:00 |
|
Neil Booth
|
4c7ab221a7
|
Allow per-class tx hash functions
Idea from erasmospunk; see #548
|
2018-08-01 12:08:01 +09:00 |
|
Neil Booth
|
aa1f43b6be
|
Prepare 1.7.3
|
2018-08-01 10:49:42 +09:00 |
|
Neil Booth
|
6c3cce5705
|
Remove dead code
|
2018-07-31 06:48:05 +08:00 |
|
Neil Booth
|
c65f1214a9
|
Fix doc typos
|
2018-07-30 21:34:27 +08:00 |
|
Neil Booth
|
2c07939120
|
Temporarily remove one task group from peers.py
Fixes #538
|
2018-07-29 23:46:58 +08:00 |
|
Neil Booth
|
7b9cd944be
|
Require aiorpcX 0.5.9
|
2018-07-29 05:58:44 +08:00 |
|
Neil Booth
|
0b4f6b3d6d
|
Prepare 1.7.1
|
2018-07-28 17:13:54 +08:00 |
|
Neil Booth
|
d962c97ef1
|
Have one peer monitoring task per peer
|
2018-07-28 16:29:02 +08:00 |
|
Neil Booth
|
751f9917a4
|
Switch to curio primitives
Gives much clearer code
|
2018-07-28 14:35:54 +08:00 |
|
Neil Booth
|
55ef1ab157
|
Rework server_base to spawn a single task
|
2018-07-28 12:32:08 +08:00 |
|