steemit / sbds

Steem Blockchain Data Service
https://developers.steem.io/#services-sbds
Other
37 stars 23 forks source link

implement sbds.find_recent_shitpost_comment_content #78

Open sneak opened 7 years ago

sneak commented 7 years ago

I'm trying to implement a call to search over all the depth=1 comments (so, not root posts, but top level comments on root posts) that are:

1) length under 30 bytes 2) within the last 30 days 3) repeated more than once by the same or different users 4) grouped by comment counts

example output:

[
   [ "great", 2038 ],
   [ "nice post", 1893],
   [ "wow very beautiful post", 1102 ],
   [ "wow very creative", 982 ],
   [ "nice", 347 ],
   [ "welcome", 27 ]
]

I think that to do this the way I want requires #77 but would probably still work sufficiently even without the depth filtering requested there.