Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Improve ImportQueue #447

@bkchr

Description

@bkchr

The import queue is for importing a block that comes over the network. This works relative good in Substrate, however with #445 we need to share this import queue. In the pr this is done by implementing a poor man `SharedImportQueue.

A much better solution would be to:

  1. Improve the ImportQueue trait. Instead of having this poll function, every import request should return a Future that resolves to the results.
  2. The ImportQueue should be cloneable by default.
  3. Profit!

Metadata

Metadata

Assignees

No one assigned

    Labels

    E5-needs_substrate_prThis is an issue that needs to be implemented upstream in Substrate.J0-enhancementAn additional feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions