lbryio / lbryio/lbry-sdk

If video is before its channel in a block, it will be considered anonymous in resolve

Open
#3,610 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

If a stream claim creation happens before the creation of the channel the claim belongs to, the stream claim won't properly be considered belonging to the channel. (Not 100% sure if this is what happens)

Claim https://odysee.com/koifishresinpour:f on a channel https://odysee.com/@SacredMoonResinArt:6 has "is_channel_signature_valid": true, but following calls don't return it. And canonical_url doesn't include the channel.

lbrynet resolve 'lbry://@SacredMoonResinArt:6/koifishresinpour (gives NOT_FOUND)
lbrynet claim search --claim_ids f3bdb94532facacd18457190f1417cf44cdcc1ea --valid_channel_signature

Claim and channel were created in same block. Maybe transaction that included claim was read before the creation of channel. (If that matters)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the lbrynet resolve and claim search entry points shown in the report, and reproduce the commands for the referenced claim and channel. Trace how a stream claim and its channel are associated when both are created in the same block; done means the channel-qualified resolve succeeds and claim search returns the valid channel signature.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.