Skip to content

Allow claims outside the claimtrie #398

@BrannonKing

Description

@BrannonKing

The computation of the claim trie is the bottleneck on sync, and it will soon be the overall bottleneck on each new block. Many LBRY streams presently use this mechanism but have no need for claim competition, as they are grouped by channel.

We need to enable a mechanism to allow these streams-in-a-channel to migrate to a non-competitive registration. The proposed method is that we will modify the trie to ignore claims for the root node (aka, claims with an empty name will no longer compete). We will no longer allow someone to competitively claim the root node; there's no way to view it presently anyhow.

Subtasks

  • update LBRY spec to, among other things, remove the requirement that URLs have a name component. Add examples of URLs with only a claim ID.
  • we need a hard-fork plan for this.
  • the hard-fork will need to pull all the claims in root at present out of the trie.
  • should the RPC methods to query claims by name return the entire list of no-names?
  • proof RPC methods will need to not support empty claim names

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions