Package nxt.account
Class PublicKeyAnnouncementAppendix
java.lang.Object
nxt.blockchain.Appendix.AbstractAppendix
nxt.account.PublicKeyAnnouncementAppendix
- All Implemented Interfaces:
Appendix
-
Nested Class Summary
Nested classes/interfaces inherited from interface nxt.blockchain.Appendix
Appendix.AbstractAppendix, Appendix.Encryptable, Appendix.Parser, Appendix.Prunable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Appendix.Parserstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Transaction transaction, Account senderAccount, Account recipientAccount) intprotected intbyte[]booleanbooleanprotected voidputMyBytes(ByteBuffer buffer) protected voidputMyJSON(org.json.simple.JSONObject json) voidvalidate(Transaction transaction) Methods inherited from class nxt.blockchain.Appendix.AbstractAppendix
getBaselineFee, getBaselineFeeHeight, getFee, getFullSize, getJSONObject, getNextFee, getNextFeeHeight, getSize, getVersion, isPhased, loadPrunable, loadPrunable, putBytes, validateAtFinish, validateId, verifyVersion
-
Field Details
-
appendixType
public static final int appendixType- See Also:
-
appendixName
- See Also:
-
appendixParser
-
-
Constructor Details
-
PublicKeyAnnouncementAppendix
public PublicKeyAnnouncementAppendix(byte[] publicKey)
-
-
Method Details
-
getAppendixType
public int getAppendixType() -
getAppendixName
- Specified by:
getAppendixNamein classAppendix.AbstractAppendix
-
getMySize
protected int getMySize()- Specified by:
getMySizein classAppendix.AbstractAppendix
-
putMyBytes
- Specified by:
putMyBytesin classAppendix.AbstractAppendix
-
putMyJSON
protected void putMyJSON(org.json.simple.JSONObject json) - Specified by:
putMyJSONin classAppendix.AbstractAppendix
-
validate
- Specified by:
validatein classAppendix.AbstractAppendix- Throws:
NxtException.ValidationException
-
apply
- Specified by:
applyin classAppendix.AbstractAppendix
-
isPhasable
public boolean isPhasable()- Specified by:
isPhasablein classAppendix.AbstractAppendix
-
getPublicKey
public byte[] getPublicKey() -
isAllowed
-