calculateTimeToFull
fun calculateTimeToFull(nightValue: BigInteger, initialDust: BigInteger = java.math.BigInteger.ZERO): Long
Calculates the time to reach full capacity for a given Night value.
Formula:
time_to_full = max_capacity / generation_rateContent copied to clipboard
Return
Time to full capacity in seconds
Parameters
nightValue
Value of the Night UTXO in Specks
initialDust
Initial dust value (default 0)