Commit 750fff3f authored by Éloïs's avatar Éloïs
Browse files

[doc] gva: ad some comments

parent 606cca62
...@@ -238,6 +238,8 @@ impl GvaModule { ...@@ -238,6 +238,8 @@ impl GvaModule {
software_version: &'static str, software_version: &'static str,
) { ) {
log::info!("GvaServer::start: conf={:?}", conf); log::info!("GvaServer::start: conf={:?}", conf);
// Create BcaExecutor and GvaSchema
let self_pubkey = self_keypair.public_key(); let self_pubkey = self_keypair.public_key();
duniter_bca::set_bca_executor( duniter_bca::set_bca_executor(
currency.clone(), currency.clone(),
...@@ -261,6 +263,7 @@ impl GvaModule { ...@@ -261,6 +263,7 @@ impl GvaModule {
true, true,
); );
// Create warp server routes
let graphql_post = warp_::graphql( let graphql_post = warp_::graphql(
&conf, &conf,
gva_schema.clone(), gva_schema.clone(),
...@@ -300,6 +303,7 @@ impl GvaModule { ...@@ -300,6 +303,7 @@ impl GvaModule {
)) ))
}); });
// Start warp server
log::info!( log::info!(
"GVA server listen on http://{}:{}/{}", "GVA server listen on http://{}:{}/{}",
conf.get_ip4(), conf.get_ip4(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment