feat: scorechain address analysis
This commit is contained in:
parent
5ae9b76c3b
commit
501da5f54a
15 changed files with 158 additions and 308 deletions
|
|
@ -994,20 +994,8 @@ function plugins (settings, deviceId) {
|
|||
.then(buildRates)
|
||||
}
|
||||
|
||||
function rateWallet (cryptoCode, address) {
|
||||
return walletScoring.rateWallet(settings, cryptoCode, address)
|
||||
}
|
||||
|
||||
function isValidWalletScore (score) {
|
||||
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)
|
||||
function rateAddress (cryptoCode, address) {
|
||||
return walletScoring.rateAddress(settings, cryptoCode, address)
|
||||
}
|
||||
|
||||
function isWalletScoringEnabled (tx) {
|
||||
|
|
@ -1046,10 +1034,7 @@ function plugins (settings, deviceId) {
|
|||
notifyOperator,
|
||||
fetchCurrentConfigVersion,
|
||||
pruneMachinesHeartbeat,
|
||||
rateWallet,
|
||||
isValidWalletScore,
|
||||
getTransactionHash,
|
||||
getInputAddresses,
|
||||
rateAddress,
|
||||
isWalletScoringEnabled,
|
||||
probeLN,
|
||||
buildAvailableUnits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue