public class TransactionUtils extends Object
Utility class to provide the following to Bitcoinj transactions:
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkEssentiallyEqual(org.bitcoinj.core.Transaction unsignedTransaction,
org.bitcoinj.core.Transaction signedTransaction)
Check that the signedTransaction returned from the hardware wallet is essentially the same as the unsignedTransaction
that was sent to it
|
static com.google.common.base.Optional<org.bitcoinj.core.Transaction> |
getTransactionByHash(org.bitcoinj.core.Transaction tx,
byte[] txHash) |
public static com.google.common.base.Optional<org.bitcoinj.core.Transaction> getTransactionByHash(org.bitcoinj.core.Transaction tx,
byte[] txHash)
tx - The transaction to searchtxHash - The transaction hash to match onpublic static boolean checkEssentiallyEqual(org.bitcoinj.core.Transaction unsignedTransaction,
org.bitcoinj.core.Transaction signedTransaction)
unsignedTransaction - the unsignedTransaction sent to the hardware signing devicesignedTransaction - the signed transaction returned from te hardware signing deviceCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.