feat: add ciphertrace base implementation
This commit is contained in:
parent
201fec33e4
commit
904c383431
20 changed files with 258 additions and 39 deletions
|
|
@ -828,9 +828,12 @@ function plugins (settings, deviceId) {
|
|||
.then(buildRates)
|
||||
}
|
||||
|
||||
function rateWallet (address) {
|
||||
return walletScoring.rateWallet(settings, address)
|
||||
.then(res => res.rating)
|
||||
function rateWallet (cryptoCode, address) {
|
||||
return walletScoring.rateWallet(settings, cryptoCode, address)
|
||||
}
|
||||
|
||||
function isValidWalletScore (score) {
|
||||
return walletScoring.isValidWalletScore(settings, score)
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
@ -861,7 +864,8 @@ function plugins (settings, deviceId) {
|
|||
notifyOperator,
|
||||
fetchCurrentConfigVersion,
|
||||
pruneMachinesHeartbeat,
|
||||
rateWallet
|
||||
rateWallet,
|
||||
isValidWalletScore
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue