Function FullNode.makeBlockStorage

Returns an instance of an IBlockStorage

IBlockStorage makeBlockStorage();

IBlockStorage is the object that handles the long-term storage of blocks. The base function returns an object that stores on disk, however derived classes may extend this to specify a different behavior.

Returns

An instance of a BlockStorage