fix compile warnings
Reimported and resolved conflicts from before transactional_db branch
Make our simulated time adjustable into the past
Allow an empty callback when scanning blockchain
more test fixes
Merge remote-tracking branch 'upstream/master'
Fix issue of not check open wallet before unlock