Package nxt
Class CurrencyMint
- java.lang.Object
-
- nxt.CurrencyMint
-
public final class CurrencyMint extends java.lang.Object
Manages currency proof of work minting
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CurrencyMint.Event
static class
CurrencyMint.Mint
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
addListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)
long
getAccountId()
long
getCounter()
static long
getCounter(long currencyId, long accountId)
long
getCurrencyId()
static boolean
removeListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)
-
-
-
Method Detail
-
addListener
public static boolean addListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)
-
removeListener
public static boolean removeListener(Listener<CurrencyMint.Mint> listener, CurrencyMint.Event eventType)
-
getCurrencyId
public long getCurrencyId()
-
getAccountId
public long getAccountId()
-
getCounter
public long getCounter()
-
getCounter
public static long getCounter(long currencyId, long accountId)
-
-