Package nxt.freeze
Class FreezeMonitor
java.lang.Object
nxt.freeze.FreezeMonitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidenableFreeze(long holdingId, int minHeight, int actualHeight) getFreezeIdsAt(HoldingType holdingType, int actualHeight) static intgetMinFreezeHeight(long holdingId, HoldingType holdingType) static booleanhasFreezesAt(int actualHeight) booleanisFrozen(long holdingId) static booleanisFrozen(HoldingType holdingType, long holdingId) voidscheduleFreeze(long holdingId, int height)
-
Constructor Details
-
FreezeMonitor
-
-
Method Details
-
isFrozen
public boolean isFrozen(long holdingId) -
isFrozen
-
scheduleFreeze
public void scheduleFreeze(long holdingId, int height) -
enableFreeze
public void enableFreeze(long holdingId, int minHeight, int actualHeight) -
hasFreezesAt
public static boolean hasFreezesAt(int actualHeight) -
getFreezeIdsAt
-
getMinFreezeHeight
-
deleteAll
public static void deleteAll()
-