public final class Shuffling
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Shuffling.Event |
static class |
Shuffling.Stage |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<Shuffling> listener,
Shuffling.Event eventType) |
static DbIterator<Shuffling> |
getAccountShufflings(long accountId,
boolean includeFinished,
int from,
int to) |
static int |
getActiveCount() |
static DbIterator<Shuffling> |
getActiveShufflings(int from,
int to) |
static DbIterator<Shuffling> |
getAll(int from,
int to) |
long |
getAmount() |
static DbIterator<Shuffling> |
getAssignedShufflings(long assigneeAccountId,
int from,
int to) |
long |
getAssigneeAccountId() |
short |
getBlocksRemaining() |
static int |
getCount() |
static DbIterator<Shuffling> |
getFinishedShufflings(int from,
int to) |
byte[] |
getFullHash() |
long |
getHoldingId() |
static int |
getHoldingShufflingCount(long holdingId,
boolean includeFinished) |
static DbIterator<Shuffling> |
getHoldingShufflings(long holdingId,
Shuffling.Stage stage,
boolean includeFinished,
int from,
int to) |
HoldingType |
getHoldingType() |
long |
getId() |
long |
getIssuerId() |
ShufflingParticipant |
getLastParticipant() |
ShufflingParticipant |
getParticipant(long accountId) |
byte |
getParticipantCount() |
byte[][] |
getRecipientPublicKeys() |
byte |
getRegistrantCount() |
static Shuffling |
getShuffling(byte[] fullHash) |
static Shuffling |
getShuffling(long shufflingId) |
Shuffling.Stage |
getStage() |
byte[] |
getStateHash() |
Attachment.ShufflingAttachment |
process(long accountId,
java.lang.String secretPhrase,
byte[] recipientPublicKey) |
static boolean |
removeListener(Listener<Shuffling> listener,
Shuffling.Event eventType) |
Attachment.ShufflingCancellation |
revealKeySeeds(java.lang.String secretPhrase,
long cancellingAccountId,
byte[] shufflingStateHash) |
public static boolean addListener(Listener<Shuffling> listener, Shuffling.Event eventType)
public static boolean removeListener(Listener<Shuffling> listener, Shuffling.Event eventType)
public static int getCount()
public static int getActiveCount()
public static DbIterator<Shuffling> getAll(int from, int to)
public static DbIterator<Shuffling> getActiveShufflings(int from, int to)
public static DbIterator<Shuffling> getFinishedShufflings(int from, int to)
public static Shuffling getShuffling(long shufflingId)
public static Shuffling getShuffling(byte[] fullHash)
public static int getHoldingShufflingCount(long holdingId, boolean includeFinished)
public static DbIterator<Shuffling> getHoldingShufflings(long holdingId, Shuffling.Stage stage, boolean includeFinished, int from, int to)
public static DbIterator<Shuffling> getAccountShufflings(long accountId, boolean includeFinished, int from, int to)
public static DbIterator<Shuffling> getAssignedShufflings(long assigneeAccountId, int from, int to)
public long getId()
public long getHoldingId()
public HoldingType getHoldingType()
public long getIssuerId()
public long getAmount()
public byte getParticipantCount()
public byte getRegistrantCount()
public short getBlocksRemaining()
public Shuffling.Stage getStage()
public long getAssigneeAccountId()
public byte[][] getRecipientPublicKeys()
public ShufflingParticipant getParticipant(long accountId)
public ShufflingParticipant getLastParticipant()
public byte[] getStateHash()
public byte[] getFullHash()
public Attachment.ShufflingAttachment process(long accountId, java.lang.String secretPhrase, byte[] recipientPublicKey)
public Attachment.ShufflingCancellation revealKeySeeds(java.lang.String secretPhrase, long cancellingAccountId, byte[] shufflingStateHash)