https://github.com/bitcoin/bitcoin/pull/15118
04cca3309 Style cleanup. 4c01e4e15 flatfile: Unit tests for FlatFileSeq methods. 65a489e93 scripted-diff: Rename CBlockDiskPos to FlatFilePos. d6d8a78f2 Move CDiskBlockPos from chain to flatfile. e0380933e validation: Refactor file flush logic into FlatFileSeq. 992404b31 validation: Refactor block file pre-allocation into FlatFileSeq. e2d2abb99 validation: Refactor OpenDiskFile into method on FlatFileSeq. 9183d6ef6 validation: Extract basic block file logic into FlatFileSeq class. 62e7addb6 util: Move CheckDiskSpace to util.