feat: ciphertrace cashout flow
This commit is contained in:
parent
8a4046ebbe
commit
ae8c86a6a7
7 changed files with 153 additions and 7 deletions
|
|
@ -836,6 +836,14 @@ function plugins (settings, deviceId) {
|
|||
return walletScoring.isValidWalletScore(settings, score)
|
||||
}
|
||||
|
||||
function getTransactionHash (tx) {
|
||||
return walletScoring.getTransactionHash(settings, tx.cryptoCode, tx.toAddress)
|
||||
}
|
||||
|
||||
function getInputAddresses (tx, txHashes) {
|
||||
return walletScoring.getInputAddresses(settings, tx.cryptoCode, txHashes)
|
||||
}
|
||||
|
||||
return {
|
||||
getRates,
|
||||
buildRates,
|
||||
|
|
@ -865,7 +873,9 @@ function plugins (settings, deviceId) {
|
|||
fetchCurrentConfigVersion,
|
||||
pruneMachinesHeartbeat,
|
||||
rateWallet,
|
||||
isValidWalletScore
|
||||
isValidWalletScore,
|
||||
getTransactionHash,
|
||||
getInputAddresses
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue