Port claim_search endpoint #2

Closed
opened 2021-05-07 16:49:52 +02:00 by lyoshenka · 0 comments
lyoshenka commented 2021-05-07 16:49:52 +02:00 (Migrated from github.com)

Python query logic is here: https://github.com/lbryio/lbry-sdk/blob/master/lbry/wallet/server/db/elasticsearch/search.py#L402

We want to implement the same logic in this hub

Python query logic is here: https://github.com/lbryio/lbry-sdk/blob/master/lbry/wallet/server/db/elasticsearch/search.py#L402 We want to implement the same logic in this hub - [x] add all supported params to https://github.com/lbryio/hub/blob/master/protobuf/definitions/hub.proto#L11 - [x] implement query logic in server/search.go - [ ] fix SearchResponse to match what the python hub returns. it should only be outpoints, not full claims. - [ ] port tests (and add as necessary)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
LBRYCommunity/herald.go#2
No description provided.