51 Commits (198fe298b7f34a0250840db5a14c3f695d169752)

Author SHA1 Message Date
TheLazieR Yip e987510432 Replace double_sha256 with header_hash from coin 8 years ago
Neil Booth aa9f106865 Add missing self; use max_secs where intended. 8 years ago
Neil Booth 8617c82ec2 Floor disk_count at zero. 8 years ago
Neil Booth 3d87e299ea Move formatted_time to library 8 years ago
Neil Booth ffd6cd63b0 Fix thinko 8 years ago
Neil Booth d6fa4a1564 More logging improvements 8 years ago
Neil Booth f4651c0ca4 Store tx_num in 'h' table key so keys are unique 8 years ago
Neil Booth c5c7b6f438 Have all expensive requests yield. 8 years ago
Neil Booth 85786b87a2 Save all UTXOs 8 years ago
Neil Booth 1b9a9b8927 Start saving DB version and checking it 8 years ago
Neil Booth f98dc9c351 Practise optimism like before 8 years ago
Neil Booth 311f7f9ffd Better optimised storage of UTXO set 8 years ago
Neil Booth 094fd44fc2 Merge UTXO cache into BlockProcessor 8 years ago
Neil Booth 06b6d695c2 Only attempt to flush if cancelled 8 years ago
Neil Booth 3972e18e98 Move the rest of fs_cache into BlockProcessor 8 years ago
Neil Booth ad2dabf751 Remove the FS cache 8 years ago
Neil Booth 5736e9cb70 Move utxo_cache to BlockProcessor where it belongs 8 years ago
Neil Booth 5c5e90d574 Move BlockServer to more appropriate location 8 years ago
Neil Booth 93d53bdd87 The controller is dead! 8 years ago
Neil Booth c0a112f8ea Split out part of block processor into db.py 8 years ago
Neil Booth c008c04e43 Move caches to their own file. 8 years ago
Neil Booth 30d1b7f77c Add proper block chaining check 8 years ago
Neil Booth 78d0acc95b Fix get_tx_hash 8 years ago
Neil Booth 28eb95edd3 Break out FS cache into its own class 8 years ago
Neil Booth 334ffdaa4f Begin work on proper server 8 years ago
Neil Booth c8f3c79167 Memory views for blocks don't seem to help 8 years ago
Neil Booth 19cbb2d00d Fix ETA estimate 8 years ago
Neil Booth 282d46a46c Flush to disk when flushing history 8 years ago
Neil Booth 34096a02e9 Recovery from excess history flushes 8 years ago
Neil Booth cbe1ef60ca Better logging 8 years ago
Neil Booth 5f77ff4ef0 Flush history separately. 8 years ago
Neil Booth 6b513a91d0 CACHE_MB is now the environment var. 8 years ago
Neil Booth 4b99ae4e11 Fix ETA calc 8 years ago
Neil Booth 3fce298835 Better time est. A couple of fixes. 8 years ago
Neil Booth 5653bf75f5 More robust init 8 years ago
Neil Booth ba1662bbf7 Add ETA stats. Show daemon height again. 8 years ago
Neil Booth c7f930a18a Clean up db initialization and state writing 8 years ago
Neil Booth d8e9eb7796 Accurate cache accounting 8 years ago
Neil Booth 682cc8ff86 Better size est. 8 years ago
Neil Booth d11c60f6ad Cache size logging 8 years ago
Neil Booth 14f4228af7 Add missing line 8 years ago
Neil Booth 4e777b5861 Let's try a smarter UTXO cache. 8 years ago
Neil Booth 6644102441 Use hash168 to distinguish address types in DB 8 years ago
Neil Booth 4879422e92 Improve the leveldb flush; it should be a lot faster now. 8 years ago
Neil Booth 329f411640 Fix percentages 8 years ago
Neil Booth 7b36a1431c Add instrumentation 8 years ago
Neil Booth ca11710fdd Print balance in query tool 8 years ago
Neil Booth 17034ac7a7 Make get_utxos() and get_history() generators 8 years ago
Neil Booth b65e8cc9d0 Fix an incorrect comment, and a typo 8 years ago
Neil Booth 64b7554b73 Fix some typos 8 years ago