bat-ledger
bat-ledger copied to clipboard
A BAT-based micropayments system for users and publishers
Eyeshade can get behind at times, processing the log slowly. We need to investigate how to speed up consumption of the suggestions topic.
It would be nice to have a description of the important tables and columns used in Eyeshade. Put in Ops repo.
The one [we use](https://github.com/brave-intl/bat-ledger/blob/master/package.json#L95) ([sinek](https://github.com/nodefluent/node-sinek)) had support dropped a year ago. Let's move to https://github.com/tulios/kafkajs
database is not currently normalized `votes.surveyor_id != surveyors.id` need this in order to move to dynamo
currently everything is defaulting to uphold. this needs to be able to include any provider with whom we settle relevant files will include: - eyeshade/controllers/publishers.js - eyeshade/workers/settlements.js - eyeshade/lib/transaction.js
no longer used by publishers: removed in brave-intl/publishers#3049
metrics needs to be updated to match [grants](https://grant.rewards.brave.com/metrics) so that [dashboard](https://grafana.bsg.brave.com/d/BKR-FpwWz/service-endpoints?orgId=1&var-environment=production&var-job=eyeshade) can be usable
Hapi is no longer being maintained. It is at least a good idea to upgrade as far as we can. May also have to switch namespace (@sideways)
node is currently on v8. need to get as close to Long Term Stable as possible. This may not be possible right away because of sinek.