public class EthereumBlockchainTransactionService extends Object implements org.exoplatform.addon.wallet.service.BlockchainTransactionService, org.picocontainer.Startable
| Constructor and Description |
|---|
EthereumBlockchainTransactionService(EthereumClientConnector ethereumClientConnector) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkPendingTransactionValidity(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail) |
void |
checkTransactionStatusOnBlockchain(String transactionHash,
boolean pendingTransactionFromDatabase) |
void |
computeTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
org.exoplatform.addon.wallet.model.ContractDetail contractDetail,
org.web3j.protocol.core.methods.response.Transaction transaction,
org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt) |
long |
refreshBlockchainGasPrice() |
void |
scanNewerBlocks() |
void |
sendRawTransactions() |
void |
start() |
void |
stop() |
public EthereumBlockchainTransactionService(EthereumClientConnector ethereumClientConnector)
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic void scanNewerBlocks()
throws IOException
scanNewerBlocks in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceIOExceptionpublic void sendRawTransactions()
sendRawTransactions in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServicepublic void checkPendingTransactionValidity(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail)
checkPendingTransactionValidity in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServicepublic void checkTransactionStatusOnBlockchain(String transactionHash, boolean pendingTransactionFromDatabase)
checkTransactionStatusOnBlockchain in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServicepublic long refreshBlockchainGasPrice()
throws IOException
refreshBlockchainGasPrice in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceIOExceptionpublic void computeTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
org.exoplatform.addon.wallet.model.ContractDetail contractDetail,
org.web3j.protocol.core.methods.response.Transaction transaction,
org.web3j.protocol.core.methods.response.TransactionReceipt transactionReceipt)
Copyright © 2003–2019 eXo Platform SAS. All rights reserved.