feat: ciphertrace cashout flow

This commit is contained in:
Sérgio Salgado 2022-01-10 15:06:27 +00:00
parent 8a4046ebbe
commit ae8c86a6a7
7 changed files with 153 additions and 7 deletions

View file

@ -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
}
}