diff --git a/config/src/comments.rs b/config/src/comments.rs index 68d5b1316..4ed227896 100644 --- a/config/src/comments.rs +++ b/config/src/comments.rs @@ -130,6 +130,44 @@ fn comments() -> HashMap { .to_string(), ); + retval.insert( + "[server.webhook_config]".to_string(), + " +######################################### +### WEBHOOK CONFIGURATION ### +######################################### +" + .to_string(), + ); + + retval.insert( + "nthreads".to_string(), + " +#The url where a POST request will be sent when a new block is accepted by our node. +#block_accepted_url = \"http://127.0.0.1:8080/acceptedblock\" + +#The url where a POST request will be sent when a new transaction is received by a peer. +#tx_received_url = \"http://127.0.0.1:8080/tx\" + +#The url where a POST request will be sent when a new header is received by a peer. +#header_received_url = \"http://127.0.0.1:8080/header\" + +#The url where a POST request will be sent when a new block is received by a peer. +#block_received_url = \"http://127.0.0.1:8080/block\" + +#The number of worker threads that will be assigned to making the http requests. +" + .to_string(), + ); + + retval.insert( + "timeout".to_string(), + " +#The timeout of the http request in seconds. +" + .to_string(), + ); + retval.insert( "[server.dandelion_config]".to_string(), "