public interface TransactionProcessor extends Observable<java.util.List<? extends Transaction>,TransactionProcessor.Event>
Modifier and Type | Interface and Description |
---|---|
static class |
TransactionProcessor.Event |
addListener, removeListener
DbIterator<? extends Transaction> getAllUnconfirmedTransactions()
DbIterator<? extends Transaction> getAllUnconfirmedTransactions(int from, int to)
DbIterator<? extends Transaction> getAllUnconfirmedTransactions(java.lang.String sort)
DbIterator<? extends Transaction> getAllUnconfirmedTransactions(int from, int to, java.lang.String sort)
Transaction getUnconfirmedTransaction(long transactionId)
Transaction[] getAllWaitingTransactions()
Transaction[] getAllBroadcastedTransactions()
void clearUnconfirmedTransactions()
void requeueAllUnconfirmedTransactions()
void rebroadcastAllUnconfirmedTransactions()
void broadcast(Transaction transaction) throws NxtException.ValidationException
NxtException.ValidationException
void processPeerTransactions(org.json.simple.JSONObject request) throws NxtException.ValidationException
NxtException.ValidationException
void processLater(java.util.Collection<? extends Transaction> transactions)
java.util.SortedSet<? extends Transaction> getCachedUnconfirmedTransactions(java.util.List<java.lang.String> exclude)
java.util.List<Transaction> restorePrunableData(org.json.simple.JSONArray transactions) throws NxtException.NotValidException
NxtException.NotValidException