Neil Booth
11c6c919a6
Move fs_flush to db.py and merge with fs_update
7 years ago
Neil Booth
d87c3dedcf
Move assert_flushed DB logic to db.py
7 years ago
Neil Booth
70319bb22d
Merge branch 'master' into devel
7 years ago
Neil Booth
dd67b57c30
Catch and log failures in the main peers task
Closes #565
7 years ago
Neil Booth
afae1b4a42
Fix rare race condition
Closes #567
7 years ago
Neil Booth
83813ff1ac
Extend SUPPRESS_MESSAGE_REGEX
Fixes #521
7 years ago
Neil Booth
7f28677549
Merge branch 'master' into devel
7 years ago
Neil Booth
9dff85c027
Prepare 1.8.2
7 years ago
Neil Booth
028374ede4
Shield the taking of the lock, otherwise it is lost
7 years ago
Neil Booth
e95f556234
Merge branch 'master' into devel
7 years ago
Neil Booth
e2d3f655fb
Set retry_event on correct object
Fixes #564
7 years ago
Neil Booth
9a2dfa9ab0
Merge branch 'master' into devel
7 years ago
Neil Booth
ab848ed312
Update aiorpcX dep in setup.py
Fixes #563
7 years ago
Neil Booth
87d55c3fc5
Prepare 1.8.1
7 years ago
Neil Booth
9b22fd3a15
Peer verification needs to be serial...
7 years ago
Neil Booth
09edee6091
Merge branch 'mc-initialization' into devel
7 years ago
Neil Booth
e0ccf0cce3
Populate the header merkle cache in a thread
- It can take a while
- Client requests that need it will block until it's done
- It's a function of FS state so move it to the DB
- Tweak docs
Fixes #558
7 years ago
Neil Booth
0a8045278a
Merge branch 'no-shutdown-hacks' into devel
7 years ago
Neil Booth
2803ef913e
Merge branch 'master' into devel
7 years ago
Neil Booth
28ea9ae2f4
Remove hackery
7 years ago
Neil Booth
12c49bbe75
Suppress accept_connection2 asyncio log spew
7 years ago
Neil Booth
931b227618
Verify a peer concurrently
7 years ago
Neil Booth
9b4276c68d
Have peers.py use its own task group
7 years ago
Neil Booth
9c5d59e997
Use new Session interface
7 years ago
Neil Booth
2d66a4f5aa
aiorpcX 0.7.0 has better string text for TaskTimeout
7 years ago
Neil Booth
6697614427
Use close from aiorpcX 0.7.0
7 years ago
Neil Booth
962b4679d7
Require aiorpcX 0.7.0
7 years ago
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
7 years ago
Neil Booth
1badab2186
Add documentation of proposed protocol 1.5 changes
7 years ago
Neil Booth
74e6fe416f
Move close() up to the base class
Fixes #557
7 years ago
Neil Booth
955a8e927d
Put flushing-to-DB in a thread
- flush() and backup_flush() are now async
7 years ago
Neil Booth
1efc8cb8ec
Make the merkle cache and read_headers async
read_headers runs in a thread to avoid blocking
7 years ago
Neil Booth
db5d516756
Make raw_header async
7 years ago
Neil Booth
f24b022fa4
Remove dead code
7 years ago
Neil Booth
12dbf2c74a
Rename get_history to limited_history
- make it async and run in a thread
7 years ago
Neil Booth
a036a2eb3f
Rename get_utxos to all_utxos.
- no longer takes a limit
- runs in a thread to avoid blocking
7 years ago
Neil Booth
0c8d5ddf63
Mark as dev branch
7 years ago
Neil Booth
78388999a7
Prepare 1.8
7 years ago
Neil Booth
c9f97d98e0
Improve electrumx_rpc error handling
7 years ago
Neil Booth
c141bfffd9
Remove some dead debug code
7 years ago
Neil Booth
55da063f6b
Tweak exception output to use !r
7 years ago
Neil Booth
1956b9d659
Use a regex for message suppression
7 years ago
Neil Booth
09e840de3c
Fix spawn call
7 years ago
Neil Booth
4bb78ecbbb
Move history cache to session_mgr
7 years ago
Neil Booth
790d462b55
Use a list for order
7 years ago
Neil Booth
e5b2268387
Fix groestlcoin address parsing
Baesd on erasmospunk's PR #551
7 years ago
Neil Booth
2afb95930f
Update aiorpcX requirements
7 years ago
John L. Jegutanis
dbfe9096c2
Fix reorg crash due a missing await ( #555 )
7 years ago
Neil Booth
02a34d05c2
async/await fixes
7 years ago
Neil Booth
51c9988b81
Various fixes
- Fix pycodestyle
- Change session.close API
- Fix logging
7 years ago