Skip to content

Bootnode to use the network directory #1378

@AgeManning

Description

@AgeManning

Description

Lighthouse has a global datadir cli param. The beacon node uses this and creates a DATA_DIR/network directory and stores the identity key as well as the local ENR.

A new subcommand for lighthouse boot-node creates a discovery server but generates a new network identity and ENR each run. This is not conducive to spinning up testnets. We would like it also to read from the DATA_DIR/network directory and use the ENR and local identity key.

It may be an interesting exercise to see how the beacon_node does logic and duplicate it in the boot_node subcommand. I imagine we can borrow some of the functions used in the beacon_node for the boot node.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions