Add first attempts at HTTP bootstrap

This commit is contained in:
Paul Hauner
2019-08-14 10:36:55 +10:00
parent 82e8aafb01
commit 4f98a3985f
8 changed files with 162 additions and 0 deletions

View File

@@ -48,6 +48,8 @@ pub enum GenesisState {
},
/// Load a YAML-encoded genesis state from a file.
Yaml { file: PathBuf },
/// Use a HTTP server (running our REST-API) to load genesis and finalized states and blocks.
HttpBootstrap { server: String },
}
impl Default for Config {