public static final class Appendix.Phasing extends Appendix.AbstractAppendix
Appendix.AbstractAppendix, Appendix.AbstractEncryptedMessage, Appendix.Encryptable, Appendix.EncryptedMessage, Appendix.EncryptToSelfMessage, Appendix.Message, Appendix.Phasing, Appendix.Prunable, Appendix.PrunableEncryptedMessage, Appendix.PrunablePlainMessage, Appendix.PublicKeyAnnouncement, Appendix.UnencryptedEncryptedMessage, Appendix.UnencryptedEncryptToSelfMessage, Appendix.UnencryptedPrunableEncryptedMessage
Constructor and Description |
---|
Phasing(int finishHeight,
PhasingParams phasingParams,
byte[][] linkedFullHashes,
byte[] hashedSecret,
byte algorithm) |
Modifier and Type | Method and Description |
---|---|
byte |
getAlgorithm() |
Fee |
getBaselineFee(Transaction transaction) |
int |
getFinishHeight() |
byte[] |
getHashedSecret() |
byte[][] |
getLinkedFullHashes() |
Fee |
getNextFee(Transaction transaction) |
PhasingParams |
getParams() |
long |
getQuorum() |
VoteWeighting |
getVoteWeighting() |
long[] |
getWhitelist() |
getBaselineFeeHeight, getFullSize, getJSONObject, getNextFeeHeight, getSize, getVersion, isPhased, putBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasAppendix
public Phasing(int finishHeight, PhasingParams phasingParams, byte[][] linkedFullHashes, byte[] hashedSecret, byte algorithm)
public Fee getBaselineFee(Transaction transaction)
getBaselineFee
in interface Appendix
getBaselineFee
in class Appendix.AbstractAppendix
public Fee getNextFee(Transaction transaction)
getNextFee
in interface Appendix
getNextFee
in class Appendix.AbstractAppendix
public int getFinishHeight()
public long getQuorum()
public long[] getWhitelist()
public VoteWeighting getVoteWeighting()
public byte[][] getLinkedFullHashes()
public byte[] getHashedSecret()
public byte getAlgorithm()
public PhasingParams getParams()