new transaction risk heuristic (TransactionRisk table in DB); now one can retrieve the list of transactions with their live-times, mean/variance and deviations globally and not related to peer as in the previous heuristic
another mean of node risk calculation (NodeRisk table in DB); it shows how many too slow or too fast transactions the peer has committed in relation to the whole seen transactions set
endpoints to retrieve both of these tables
Things to yet be done in this PR (open for discussion):
quantiles of the transactions (e.g. top 1% of the fastest) in addition to just the 3 standard deviations
This PR adds the following:
TransactionRisk
table in DB); now one can retrieve the list of transactions with their live-times, mean/variance and deviations globally and not related to peer as in the previous heuristicNodeRisk
table in DB); it shows how many too slow or too fast transactions the peer has committed in relation to the whole seen transactions setThings to yet be done in this PR (open for discussion):