Use optional to implement get_blocks_by_height interface
theoreticalbts opened this issue · 0 comments
theoreticalbts commented
Once we have optional
we should re-implement block_item
to be simply:
optional< block > block;
optional< block_receipt > receipt;
and then get information from block
as needed.