mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +03:00
Add commented webhook config (#2849)
* Add commented webhook config * Remove redundant config
This commit is contained in:
parent
7e57c10ec7
commit
a745df3e40
1 changed files with 38 additions and 0 deletions
|
@ -130,6 +130,44 @@ fn comments() -> HashMap<String, String> {
|
||||||
.to_string(),
|
.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(
|
retval.insert(
|
||||||
"[server.dandelion_config]".to_string(),
|
"[server.dandelion_config]".to_string(),
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue