Function Ledger.expectedHeight
Get the Height
this Ledger
should be at if fully synchronized
Parameters
Name | Description |
---|---|
utcTime | The current time at UTC (in number of seconds since epoch) |
Returns
The block height that is expected at the provided utcTime
.
If utcTime
is before Genesis, 0
is returned.