Package nxt.ms
Class CurrencyMint
java.lang.Object
nxt.ms.CurrencyMint
Manages currency proof of work minting
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType) longlongstatic longgetCounter(long currencyId, long accountId) longstatic voidinit()static booleanremoveListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)
-
Method Details
-
addListener
public static boolean addListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType) -
removeListener
public static boolean removeListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType) -
init
public static void init() -
getCurrencyId
public long getCurrencyId() -
getAccountId
public long getAccountId() -
getCounter
public long getCounter() -
getCounter
public static long getCounter(long currencyId, long accountId)
-