OdyseeTeam / chainquery

Chainquery parses and syncs the LBRY blockchain data into structured SQL
https://lbry.tech
MIT License
2.25k stars 42 forks source link

Add support for trending receipts per address / claim #106

Closed kauffj closed 5 years ago

kauffj commented 5 years ago

Take the same logic being used to calculate view trending in our internal logic (Z scores, etc.) and apply it to LBC received by addresses / claims.

This allows for the detection of trending channels and claims on a support/tip/payment basis.

I think it is debatable that this is appropriate to add to chainquery since it is not pure blockchain data. Let's discuss whether this is appropriate either on the ticket or in chat.

tiger5226 commented 5 years ago

I think it is applicable. We do this in other areas too, namely metadata. This is technically just a set of bytes but we transform it into columns for usability. We already have a supports table too so it should not be too difficult if this is what we end up doing.

kauffj commented 5 years ago

Some additional clarification what this should be able to support:

lyoshenka commented 5 years ago

This is happening in https://github.com/lbryio/lbry/pull/2008

tiger5226 commented 5 years ago

@lyoshenka I just noticed this, just to be clear trending will instead happen in the wallet server?

lyoshenka commented 5 years ago

yes