Commit Graph

3 Commits

Author SHA1 Message Date
Neil Booth
69754a62eb Be more careful closing history DB
Fixes #485
2018-06-02 15:56:58 +09:00
Neil Booth
e0186d7661 Move clean_db() logic to when hist DB is opened 2018-05-26 09:27:24 +08:00
Neil Booth
5e1ed3ffa6 Separate history management into its own object
- the object also manages unflushed history
- the history DB has its own version, starting at 0

This is the first step to making history management into
a separate service and to larger block sizes.

The next step is an improved history format, which I hope will both
save space and be a solution to issue #185.  The DB should be able to
upgrade in-place without re-syncing the chain.
2018-05-25 23:36:18 +08:00