Skip to content

Idea: out-of-process block relayer #82

@abourget

Description

@abourget

An idea has been germinating here:

  • A p2p block relayer, that sits at the p2p level, and interconnects many nodes.
  • Acts as a node itself, so replies with a node_id, and propagates blocks and transactions like a nodeos node.
  • Has a cache of blocks, could read/write the blocks.log
  • Could check signatures on blocks, and relay if those sigs are from producers in the current schedule (or some loosely defined "validation" of blocks)
  • Propagate transactions or not? Could be tricky if we can't pre-validate them.. Could check well-formedness of transactions before propagating.
  • Could play with topology, reconnections and instrumentation without rebooting nodes.
  • We could test new ways to propagate blocks faster, without affecting the code system.

MVP

  • Point-to-point connections

Phase 2

  • DHT-like p2p connectivity, with slightly more random propagation paths

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions