public interface BlockchainTransactionService
| Modifier and Type | Method and Description |
|---|---|
void |
checkPendingTransactions()
checks transactions marked as pending in DB and verify their status on
blockchain.
|
void |
computeContractTransactionDetail(TransactionDetail transactionDetail,
Object transactionReceipt)
Compute contract transaction detail from blockchain.
|
TransactionDetail |
computeTransactionDetail(String hash,
ContractDetail contractDetail)
compute a transaction detail from blockchain using the transaction hash and
the contract detail to use.
|
TransactionDetail |
computeTransactionDetail(TransactionDetail transactionDetail,
ContractDetail contractDetail)
compute transaction detail from blockchain.
|
void |
scanNewerBlocks()
Scans newly mined blocks in Blockchain to verify if there are transactions
on configured token or wallet.
|
void computeContractTransactionDetail(TransactionDetail transactionDetail, Object transactionReceipt)
transactionDetail - transactionReceipt - TransactionDetail computeTransactionDetail(TransactionDetail transactionDetail, ContractDetail contractDetail) throws InterruptedException
transactionDetail - contractDetail - TransactionDetail object with details retrieved from
blockchainInterruptedExceptionTransactionDetail computeTransactionDetail(String hash, ContractDetail contractDetail) throws InterruptedException
hash - contractDetail - TransactionDetail object with details retrieved from
blockchainInterruptedExceptionvoid checkPendingTransactions()
void scanNewerBlocks()
throws InterruptedException,
IOException
InterruptedExceptionIOExceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.