Skip to content

Rewrite permlink search

Requires: !300 (merged)

  • calculate paging from result set instead of grouping and counting all comment operations
  • add block_range object (like in new blocksearch) - that allows to generate more pages than default 10 pages
  • patterns changed only for last page due to limiting the result to 10 pages

You can use this version of permlink search here:

https://hive-3.pl.syncad.com/#/Accounts/hafbe_endpoints.get_comment_permlinks (headblock)

https://local.bc.fqdn.pl/#/Accounts/hafbe_endpoints.get_comment_permlinks (5m blocks)

This version fixes the performance problem that occurs on large accounts with many posts and comments, it allows to get 10 pages of latest permlinks with possibility to generate more pages (by utilizing block_range object).

Currently FE filters by block (last 30 days) that hides the performance problem for those accounts, but the result is empty or contains 1-5 permlinks, this version fixes the problem because it allows to search by whole range with much greater performace

Edited by Michal Zander

Merge request reports

Loading