Function Ledger.getBlocksFrom
Get a range of blocks from start
to Ledger
std .algorithm .iteration .MapResult!(agora.consensus.state.Ledger.Ledger.getBlocks!(std.range.iota!(agora.common.Types.Height,agora.common.Types.Height).iota(agora.common.Types.Height,agora.common.Types.Height).Result).getBlocks(std.range.iota!(agora.common.Types.Height,agora.common.Types.Height).iota(agora.common.Types.Height,agora.common.Types.Height).Result).__lambda3(agora.common.Types.Height),std.range.iota!(agora.common.Types.Height,agora.common.Types.Height).iota(agora.common.Types.Height,agora.common.Types.Height).Result) getBlocksFrom
(
Height start
) nothrow @safe;
Parameters
Name | Description |
---|---|
start | the starting block height to begin retrieval from |
Returns
the range of blocks starting from start