spent claims show up in search results #76
Labels
No labels
area: app c
area: app d
area: devops
area: discovery
area: docs
area: proposal
area: X-device Sync
Chainquery
consider soon
dependencies
Epic
Fix till next release
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
Parked
priority: blocker
priority: high
priority: low
priority: medium
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lighthouse.js#76
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When lighthouse queries chainquery for updated/new claims it doesn't do a check if it is spent.
It needs to check if the claim is spent and then delete it from elastic search so it is no longer searchable. The app will not resolve a spent claim and will only show that the position is available if someone wants to use it.
cd0f980904
Lighthouse also needs to delete claims from elastic search that are expired.
cd0f980904
The screenshot above is a test case. The local version does not return the result while production currently does.
"name":"jellyfishasda6s54d10as6","claimId":"f0dd8afe152f673e2d04aeabbeb9edf7204087e8"
There is also a dependency on chainquery. The claim must be spent in chainquery in order for this to be verifiable.
This can be checked here. The bid state must be "Spent" in order for lighthouse to be expected to remove it.
There is a dependency on Chainquery. Chainquery needs to be updated first to correctly handle spent claims.
PR #77
This has been deployed along side the chainquery release and the test case passes in production.