bitcoin-s/app
Chris Stewart 66ec96b1f5 2020 11 13 issue 2258 (#2260)
* Introduce ChainHandlerCached which behaves like the old ChainHandler. Now Chainhandler.getBestBlockHeader() will read headers from the database

* Remove ChainHandler.blockchains field, now it's only available in ChainHandlerCached

* De-futurify ChainHandler.fromDatabase()

* Adjust logging

* Patch test case

* Use BlockHeaderDAO.chainTips when getting best header rather thean BlockHeaderDAO.getBlockchains(). Implement a helper method ChainHandler.toChainHandlerCached()

* Fix chain.md,wallet.md

* Make ChainHandler.getBestBlockHeader() consider time of header if chainwork is the same. Make test cases less strict on what header is the best header when both chainwork and time are the same on the eader

* Only execute callbacks on headers that are going to be created in the database, not all headers passed into ChainHandler.processHeadersWithChains()

* Turn up log level again

* Small optimizations, check if we have seen a header before before processing it in ChainHandler.processHeadersWithChains(). Fix FilterSyncMarker.toString(). Use ChainHandlerCached in Node

* Remove ChainHandlerCached in appServer, re-add it in Node.scala
2020-11-17 06:19:07 -06:00
..
bundle Refactor Mains to use common BitcoinSRunner (#2141) 2020-10-08 07:17:48 -05:00
cli Add ability to change aes password (#2254) 2020-11-15 08:07:49 -06:00
cli-test Somewhat dirty standalone server and CLI binary (#558) 2019-07-10 06:33:17 -05:00
gui 2020 11 02 cleanup (#2233) 2020-11-03 11:07:04 -06:00
oracle-server Add ability to change aes password (#2254) 2020-11-15 08:07:49 -06:00
server 2020 11 13 issue 2258 (#2260) 2020-11-17 06:19:07 -06:00
server-test Add ability to change aes password (#2254) 2020-11-15 08:07:49 -06:00