Neil Booth
aa1f43b6be
Prepare 1.7.3
7 years ago
Neil Booth
6c3cce5705
Remove dead code
7 years ago
Neil Booth
c65f1214a9
Fix doc typos
7 years ago
Neil Booth
2c07939120
Temporarily remove one task group from peers.py
Fixes #538
7 years ago
Neil Booth
7b9cd944be
Require aiorpcX 0.5.9
7 years ago
Neil Booth
0b4f6b3d6d
Prepare 1.7.1
7 years ago
Neil Booth
d962c97ef1
Have one peer monitoring task per peer
7 years ago
Neil Booth
751f9917a4
Switch to curio primitives
Gives much clearer code
7 years ago
Neil Booth
55ef1ab157
Rework server_base to spawn a single task
7 years ago
Neil Booth
5ee5a54f5a
Session manager owns peer manager
7 years ago
Neil Booth
010ef08320
Catch SOCKSError
Fixes #534
7 years ago
ghost43
5304080220
server list: add to btc testnet ( #535 )
7 years ago
cipig
3cdf453663
change BTX address format ( #533 )
7 years ago
Neil Booth
bef04750d7
Handle the case there are no blocks
7 years ago
Neil Booth
9b23fbc747
Prepare 1.7
7 years ago
Neil Booth
7a3938be23
Make mempool histogram refresh frequency coin-specific
7 years ago
Neil Booth
5e4586ce54
Create a task to start_servers()
That way we start waiting on the shutdown event no matter what
so we can always be shut down
7 years ago
Neil Booth
365c217031
header_mc might be None
7 years ago
Neil Booth
68dbf9fad2
Tweak task handling so all errors are logged
7 years ago
Neil Booth
3fbd4992ce
Rework prefetch logic
This also fixes a recent reorg bug...
7 years ago
Neil Booth
d008707330
Fix bug recently introduced in reorgs
Fixes #532
7 years ago
Neil Booth
5a42f79bb8
Require an exact aiorpcX version
The interface is changing; best to target a single codebase
7 years ago
Neil Booth
ae143703ae
Travis: test Python 3.7
7 years ago
Neil Booth
db8ee48c2e
await on send_request directly
7 years ago
Neil Booth
8d3f98d3fd
Don't check task exceptions ourselves
7 years ago
Neil Booth
fa84b0f54b
Use asyncio.gather to propogate exceptions
7 years ago
Neil Booth
918592fbff
Remove RequestError; clean up a bit
7 years ago
Neil Booth
e1309836ca
Fix typo in prior
7 years ago
Neil Booth
eac214e508
Rework peer discovery
Make it more naturally async
7 years ago
Neil Booth
ba607544b9
Avoid callback in peer manager
Spawn separate tasks for each peer we test
7 years ago
Neil Booth
12c024f3ac
Log proxy detection failure
7 years ago
Neil Booth
79b98b2b54
Distinguish private and public methods of peer mgr
Give private methods a leading _
Remove dead code
7 years ago
Neil Booth
92ddb52f63
Update various comments
7 years ago
joesixpack
83732af4fe
Support for Minexcoin ( #529 )
7 years ago
Neil Booth
221f1222a6
Defer peer discovery
7 years ago
Neil Booth
316f642a08
Reduce memory footprint
- Use tuples in preference to lists
They are always at least 11% smaller memory
footprint, rising to 35% for short arrays
7 years ago
Neil Booth
7485d0aaf0
Retain the prevouts with each MemPoolTx
7 years ago
ghost43
45ccf8a64e
fix mempool tx fee calculation typo ( #531 )
7 years ago
Neil Booth
7c01acdbf2
Remove comment
7 years ago
Neil Booth
b05cc4e78b
Clean up fee histogram implementation
Much more efficient to just calculate it outright than try
and maintain datastructures
7 years ago
Neil Booth
3e535e47f4
Start peer discovery whilst syncing the mempool
7 years ago
Neil Booth
0963ce5230
Completely overhaul mempool sync logic
- highly concurrent and a lot more efficient than previously
- initial mempool sync should be much faster (feedback please)
- mempool processing no longer blocks client session handling
- uses less memory to store the mempool
- fixes an obscure bug where sometimes txs were dropped
- more robust, clean and easy to understand
Fixes #433
7 years ago
Neil Booth
21604cad15
Create a MemPoolTx object and use it
7 years ago
Neil Booth
4b3ceff0d2
Deserialize mempool txs in a thread
7 years ago
Neil Booth
9bd9476a54
Make mempool processing more properly asynchronous
7 years ago
Neil Booth
4da95dd853
Simplify refresh hashes loop
7 years ago
Neil Booth
821f907971
Put stats logging into its own task
7 years ago
Neil Booth
2c51b127de
Clarify mempool's exported interface
7 years ago
Neil Booth
a9a69acaf3
Pass the daemon not chain_state to mempool constructor
The mempool as its own process would maintain its own daemon
7 years ago
Neil Booth
35506f6054
Make notifications properly async
7 years ago