Package nxt.shuffling
Class Shuffler
java.lang.Object
nxt.shuffling.Shuffler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic enumstatic final classstatic final classstatic classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddListener(Listener<Shuffler> listener, Shuffler.Event eventType) static ShuffleraddOrGetShuffler(ChildChain childChain, byte[] privateKey, byte[] recipientPublicKey, byte[] shufflingFullHash, long feeRateNQTPerFXT) longgetAccountShufflers(long accountId) longbyte[]static ShufflergetShuffler(long accountId, byte[] shufflingFullHash) byte[]getShufflingShufflers(byte[] shufflingFullHash) static booleanremoveListener(Listener<Shuffler> listener, Shuffler.Event eventType) static voidstatic ShufflerstopShuffler(long accountId, byte[] shufflingFullHash)
-
Method Details
-
addOrGetShuffler
public static Shuffler addOrGetShuffler(ChildChain childChain, byte[] privateKey, byte[] recipientPublicKey, byte[] shufflingFullHash, long feeRateNQTPerFXT) throws Shuffler.ShufflerException - Throws:
Shuffler.ShufflerException
-
getAllShufflers
-
getShufflingShufflers
-
getAccountShufflers
-
getShuffler
-
stopShuffler
-
stopAllShufflers
public static void stopAllShufflers() -
addListener
-
removeListener
-
getAccountId
public long getAccountId() -
getRecipientPublicKey
public byte[] getRecipientPublicKey() -
getShufflingFullHash
public byte[] getShufflingFullHash() -
getFailedTransaction
-
getFeeRateNQTPerFXT
public long getFeeRateNQTPerFXT() -
getFailureCause
-
getChildChain
-