Function Ledger.getBlocks
Get a range of blocks, starting from the provided block height.
auto getBlocks(HeightRange)
(
HeightRange rng
) nothrow @safe;
Requesting entries not in the Ledger will lead to an Exception being thrown.
Parameters
Name | Description |
---|---|
rng | A range of height, e.g. as generated by iota |
Returns
A range spawning the requested heights