Skip to content

Allow creation of domains without networking for bootstrapping #539

@tegefaulkes

Description

@tegefaulkes

Specification

For bootstrapping we want to set up Polykey state without starting up networking or attempting network discovery. To do this we just need to create and start domains that use and modify the DB as well as others. Some of these depend on networking code so to streamline this we need the ability to create some domains without providing networking as a dependency.

Alternatively, we can extract all of the state creation to utility functions and call only those in bootstrapping.

Additional context

Tasks

  1. streamline the bootstrapping process.
  2. Avoid depending on networking domains when doing bootstrapping.
  3. Avoid any typescript hacks such as as any or as domain.

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