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
Neil Booth
277e2447c0
Fix the package versions in setup.py
7 years ago
Neil Booth
e568ee2488
Improve comments
7 years ago
Neil Booth
c715ae6249
Rework mempool and notification code
Clarifies the mempool interface to look more like what it
would in its own process
7 years ago
Neil Booth
3e8c413b77
In ChainState prepend private members with an underscore
7 years ago
Neil Booth
6cf7b049fa
Require aiohttp >= 2.0
7 years ago
Neil Booth
74c5c3f817
Don't accept onion peers if we have no proxy
7 years ago
Neil Booth
f7c95986bf
Fix failing test
7 years ago
Neil Booth
0c28136739
Remove dead code
7 years ago
Neil Booth
8e99d076b6
Logging tweaks
7 years ago
Neil Booth
ca3ba2b2d8
Rework mempool and BP<->prefretcher communication
7 years ago
Neil Booth
431989f0ea
Label 1.6a
7 years ago
Neil Booth
530c7cac6f
Clean up shutdown process of the block processor
- enables removal of executor code
- clarify flush guarantees
7 years ago
Neil Booth
41e734caeb
Clean up controller interface with other parts
7 years ago
Neil Booth
bd636a75ad
Clean up the process of opening the DBs, make asynchronous
7 years ago
Neil Booth
a019656a5e
Make it clear where BlockProcessor is instantiated
7 years ago
Omar Cruz
227696636d
Added Motion Coin mainnet ( #528 )
* Motion added
7 years ago
Neil Booth
023e463748
Prepare 1.6
7 years ago
Neil Booth
049017aa8c
Fix doc linkage
7 years ago
Neil Booth
94d1f7a651
Save raw blocks to disk for reorg purposes
We used to rely on the daemon being able to return the
orphaned blocks, but some old daemon codebases are buggy
and fail to do so.
Fixes #258 #315 #479
7 years ago
Neil Booth
813fc09d64
Use JSON RPC terms in docs, not Python
7 years ago
Neil Booth
7ce91b1a43
Minor tweaks
7 years ago
Neil Booth
f5926cf865
Label as 1.6pre3
7 years ago
Neil Booth
391e69b66c
Introduce ChainState object
- reduces the tangle of object dependencies
- rationalizes responsibilities
7 years ago
Neil Booth
53425ce585
Move task logic to Tasks object
This helps to rationalize the inter-object
dependencies.
7 years ago
Neil Booth
22b01d4dfb
Move masternode cache.
It was mistakenly made a pylru cache...
Don't force non-Dash coins to carry the cache.
7 years ago
Neil Booth
9cf3b5358f
Move raw_header to session manager
Ultimately this stuff belongs in a ChainState object.
7 years ago
Neil Booth
b7572ce9c0
More refactoring of controller
- remove the header cache - not needed for higher protocol versions
- simplify session notification; move to session manager
- move history cache to session manager
7 years ago
Neil Booth
c8c896a14c
Minor tweaks.
7 years ago
ghost43
c7f3f7ac6d
new protocol method: blockchain.transaction.id_from_pos ( #524 )
7 years ago
Neil Booth
60435c0c06
Fix peer discovery for protocol >= 1.4
7 years ago
Neil Booth
c7f6f3ede6
Move get_utxos to session
7 years ago
Neil Booth
c712d4be32
Fix session_count invocation
(thanks to nijel)
7 years ago
Neil Booth
a3d3bbe9a7
Move more code out of controller to sessions
Disable a test that will require significant work
7 years ago
Neil Booth
0b55a3f7f2
Mark as pre2
7 years ago
Neil Booth
e41d1db25c
Create SessionManager class
Break out controller functionality for session management.
7 years ago
Neil Booth
c35c062780
Move more code to session class from controller
7 years ago
Neil Booth
063f1b2eff
Move block_get_header and estimate_fee to session
7 years ago
Neil Booth
ca777ed427
Move three more methods from the controller to session
7 years ago
Neil Booth
3dbc10bca0
Move address handlers from controller to session
7 years ago
Neil Booth
4f99f254ea
Move scripthash handlers from controller to session
7 years ago
Neil Booth
739bb687fc
Convert PROTOCOL_MIN, PROTOCOL_MAX to tuples
7 years ago
Neil Booth
c790fd567c
Move things from Controller to session class
which better belong there:
- PROTOCOL_MIN, PROTOCOL_MAX
- server_features()
- server_version_args()
- inline protocol_tuple()
7 years ago
Neil Booth
fdb34e7d25
Store session's protocol version as a tuple, not string
7 years ago