Commit Graph

86 Commits

Author SHA1 Message Date
Neil Booth
b0d5c623b4 Set block_size to the default of 4K 2016-10-28 05:45:09 +09:00
Neil Booth
cdbb6b093a Fix fs_cache tx count 2016-10-27 19:26:47 +09:00
Neil Booth
2001d5c4f4 Merge the DB and BlockProcessor classes 2016-10-27 07:59:46 +09:00
Neil Booth
c0be9860d8 Restore get_tx_hash fix 2016-10-27 07:58:50 +09:00
Neil Booth
c008c04e43 Move caches to their own file.
Move the DB to the block_processor file.  It will merge with it soon.
2016-10-27 07:58:00 +09:00
Neil Booth
ace80c7b87 Split out the prefetcher. 2016-10-27 07:49:56 +09:00
Neil Booth
a813eaf5f5 Rename BlockCache and put in own file 2016-10-27 07:49:23 +09:00
Neil Booth
897e68d20c Move some daemon logic to daemon.py 2016-10-27 07:45:10 +09:00
Neil Booth
6711ed0ae8 Clean up initialization of controller 2016-10-27 07:44:26 +09:00
Neil Booth
8452d0c016 Split out daemon handler into separate file. 2016-10-27 07:43:48 +09:00
Neil Booth
30d1b7f77c Add proper block chaining check 2016-10-27 07:38:39 +09:00
Neil Booth
78d0acc95b Fix get_tx_hash 2016-10-27 07:33:21 +09:00
Neil Booth
28eb95edd3 Break out FS cache into its own class 2016-10-27 07:30:24 +09:00
Neil Booth
6ad8c16c47 Handle a couple more requests. 2016-10-27 07:25:34 +09:00
Neil Booth
1084060493 Clean up controller init, and sync on catch up 2016-10-27 07:23:52 +09:00
Neil Booth
208ed5d2b2 Don't start servers 2016-10-27 07:13:50 +09:00
Neil Booth
0f5670eda8 Merge branch 'server' into develop 2016-10-17 20:03:14 +09:00
Neil Booth
334ffdaa4f Begin work on proper server 2016-10-17 20:02:42 +09:00
Neil Booth
edc33febe8 Improve help of electrumx_rpc 2016-10-16 09:31:00 +09:00
Neil Booth
b06f2a7c1c Fix imports 2016-10-16 09:13:05 +09:00
Neil Booth
dfaaa465ee Merge branch 'no_memview' into develop 2016-10-16 09:09:43 +09:00
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
b387daee03 Merge branch 'fix_eta' into develop 2016-10-16 06:47:14 +09:00
Neil Booth
965b15023e Update notes / comments 2016-10-15 14:45:32 +09:00
Neil Booth
ad97004d11 Merge branch 'release-0.01' into develop 2016-10-15 13:12:57 +09:00
Neil Booth
283aba6a79 Fix text 2016-10-15 13:12:09 +09:00
Neil Booth
19cbb2d00d Fix ETA estimate 2016-10-15 12:43:23 +09:00
Neil Booth
5fd928628c Merge branch 'release-0.01' into develop 2016-10-15 12:28:12 +09:00
Neil Booth
3872f0f4cf Merge branch 'release-0.01' 2016-10-15 12:27:12 +09:00
Neil Booth
4cf6a96707 Update notes etc. 2016-10-15 12:26:55 +09:00
Neil Booth
a71c393656 Merge branch 'flush_fs' into develop 2016-10-15 11:54:43 +09:00
Neil Booth
282d46a46c Flush to disk when flushing history 2016-10-15 11:41:55 +09:00
Neil Booth
75753e8005 Merge branch 'hist_sep' into develop 2016-10-15 08:43:14 +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
21b25741c0 Merge branch 'cache_MB' into develop 2016-10-14 07:56:44 +09:00
Neil Booth
6b513a91d0 CACHE_MB is now the environment var. 2016-10-14 07:56:25 +09:00
Neil Booth
acfa037f6f Merge branch 'rpc' into develop 2016-10-13 22:12:38 +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
791aaa5879 Merge branch 'fixes' into develop 2016-10-12 19:00:25 +09:00
Neil Booth
3fce298835 Better time est. A couple of fixes. 2016-10-12 18:59:15 +09:00
Neil Booth
e881ba29fa Merge branch 'init_db' into develop 2016-10-12 05:38:48 +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
bf97afe532 Merge branch 'init_db' into develop 2016-10-11 21:20:38 +09:00