public interface TransactionProcessor extends Observable<java.util.List<Transaction>,TransactionProcessor.Event>
Modifier and Type | Interface and Description |
---|---|
static class |
TransactionProcessor.Event |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(Transaction transaction) |
java.util.Collection<? extends Transaction> |
getAllUnconfirmedTransactions() |
Transaction |
getUnconfirmedTransaction(java.lang.Long transactionId) |
Transaction |
newTransaction(short deadline,
byte[] senderPublicKey,
java.lang.Long recipientId,
long amountNQT,
long feeNQT,
java.lang.String referencedTransactionIdFullHash) |
Transaction |
newTransaction(short deadline,
byte[] senderPublicKey,
java.lang.Long recipientId,
long amountNQT,
long feeNQT,
java.lang.String referencedTransactionFullHash,
Attachment attachment) |
Transaction |
parseTransaction(byte[] bytes) |
void |
processPeerTransactions(org.json.simple.JSONObject request) |
addListener, removeListener
java.util.Collection<? extends Transaction> getAllUnconfirmedTransactions()
Transaction getUnconfirmedTransaction(java.lang.Long transactionId)
void broadcast(Transaction transaction) throws NxtException.ValidationException
NxtException.ValidationException
void processPeerTransactions(org.json.simple.JSONObject request)
Transaction parseTransaction(byte[] bytes) throws NxtException.ValidationException
NxtException.ValidationException
Transaction newTransaction(short deadline, byte[] senderPublicKey, java.lang.Long recipientId, long amountNQT, long feeNQT, java.lang.String referencedTransactionIdFullHash) throws NxtException.ValidationException
NxtException.ValidationException
Transaction newTransaction(short deadline, byte[] senderPublicKey, java.lang.Long recipientId, long amountNQT, long feeNQT, java.lang.String referencedTransactionFullHash, Attachment attachment) throws NxtException.ValidationException
NxtException.ValidationException