public TransactionStorage extends ReadOnlyTransactionStorage
Thread-safe storage of transactions.
Modifier and Type | Method and Description |
---|---|
boolean |
addTransaction(SignedTransaction transaction)
Add a new transaction to the store. If the store already has a transaction with the same id it will be
overwritten.
|
getTransaction, getUpdates, track
boolean addTransaction(SignedTransaction transaction)
Add a new transaction to the store. If the store already has a transaction with the same id it will be overwritten.
transaction
- The transaction to be recorded.