Commit Graph

34 Commits

Author SHA1 Message Date
Neil Booth
c8f3c79167 Memory views for blocks don't seem to help 2016-10-16 09:08:38 +09:00
Neil Booth
46654a19f4 Merge branch 'rpc' into develop 2016-10-16 08:59:50 +09:00
Neil Booth
0b01026b88 Add an RPC server
And associated electrumx_rpc command
2016-10-16 08:58:53 +09:00
Neil Booth
19cbb2d00d Fix ETA estimate 2016-10-15 12:43:23 +09:00
Neil Booth
282d46a46c Flush to disk when flushing history 2016-10-15 11:41:55 +09:00
Neil Booth
34096a02e9 Recovery from excess history flushes 2016-10-15 08:42:42 +09:00
Neil Booth
cbe1ef60ca Better logging 2016-10-14 20:26:10 +09:00
Neil Booth
46b9519ee0 Adjust sleeps. 2016-10-14 20:17:09 +09:00
Neil Booth
5f77ff4ef0 Flush history separately.
We do not yet remove excess history.
2016-10-14 20:09:47 +09:00
Neil Booth
6b513a91d0 CACHE_MB is now the environment var. 2016-10-14 07:56:25 +09:00
Neil Booth
370cceab83 Clean up RPC handling
Remove class
Handle exceptions properly by cancelling tasks
Log what is happening
Generalise send interface
2016-10-13 22:10:34 +09:00
Neil Booth
4b99ae4e11 Fix ETA calc 2016-10-13 07:16:42 +09:00
Neil Booth
3fce298835 Better time est. A couple of fixes. 2016-10-12 18:59:15 +09:00
Neil Booth
5653bf75f5 More robust init 2016-10-12 05:38:24 +09:00
Neil Booth
ba1662bbf7 Add ETA stats. Show daemon height again. 2016-10-11 21:45:48 +09:00
Neil Booth
c7f930a18a Clean up db initialization and state writing 2016-10-11 21:20:04 +09:00
Neil Booth
d8e9eb7796 Accurate cache accounting 2016-10-11 17:38:03 +09:00
Neil Booth
682cc8ff86 Better size est. 2016-10-11 06:49:50 +09:00
Neil Booth
d11c60f6ad Cache size logging 2016-10-11 06:43:59 +09:00
Neil Booth
14f4228af7 Add missing line 2016-10-11 00:11:10 +09:00
Neil Booth
4e777b5861 Let's try a smarter UTXO cache. 2016-10-11 00:04:13 +09:00
Neil Booth
df1a62b826 Only log if advanced 2016-10-10 11:50:49 +09:00
Neil Booth
6644102441 Use hash168 to distinguish address types in DB 2016-10-10 11:42:33 +09:00
Neil Booth
4879422e92 Improve the leveldb flush; it should be a lot faster now.
More useful logging and stats.
2016-10-10 07:23:19 +09:00
Neil Booth
329f411640 Fix percentages 2016-10-09 13:27:02 +09:00
Neil Booth
7b36a1431c Add instrumentation 2016-10-09 13:00:46 +09:00
Neil Booth
ca11710fdd Print balance in query tool 2016-10-09 09:14:59 +09:00
Neil Booth
6ccdce2c77 Print if nothing. Clean up loop. 2016-10-09 08:41:42 +09:00
Neil Booth
db2e1d43d8 Merge branch 'query' into develop 2016-10-09 08:28:29 +09:00
Neil Booth
1e97686c5f Add a simple query for debugging 2016-10-09 08:26:46 +09:00
Neil Booth
17034ac7a7 Make get_utxos() and get_history() generators
The also take a limit.
2016-10-08 23:42:01 +09:00
Neil Booth
b65e8cc9d0 Fix an incorrect comment, and a typo 2016-10-08 17:50:03 +09:00
Neil Booth
64b7554b73 Fix some typos 2016-10-08 17:34:12 +09:00
Neil Booth
a3dbc68614 Initial revision 2016-10-08 17:17:43 +09:00