Skip to content

Add a way to create a Blockchain or Database from a configuration #42

Closed

Description

@afilini

something like

pub trait ConfigurableBlockchain: Blockchain {
    type Config: Debug + Serialize + Deserialize;

    fn from_config(source: Self::Config) -> Result<Self, Error>;
}

... and the same for the database

Metadata

Metadata

Assignees

No one assigned

    Labels

    new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions