mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 17:01:09 +03:00
Replace query parameter values with placeholders
This commit is contained in:
parent
322552dde4
commit
365814303d
1 changed files with 7 additions and 7 deletions
|
@ -820,18 +820,18 @@ pub fn build_router(
|
||||||
"get chain/outputs".to_string(),
|
"get chain/outputs".to_string(),
|
||||||
"get status".to_string(),
|
"get status".to_string(),
|
||||||
"get txhashset/roots".to_string(),
|
"get txhashset/roots".to_string(),
|
||||||
"get txhashset/lastoutputs?n=10".to_string(),
|
|
||||||
"get txhashset/lastrangeproofs?n=1".to_string(),
|
|
||||||
"get txhashset/lastkernels?n=1".to_string(),
|
|
||||||
"get txhashset/outputs?start_index=1&max=100".to_string(),
|
|
||||||
"get txhashset/merkleproof?n=output_id".to_string(),
|
"get txhashset/merkleproof?n=output_id".to_string(),
|
||||||
|
"get txhashset/lastoutputs?n=<count>".to_string(),
|
||||||
|
"get txhashset/lastrangeproofs?n=<count>".to_string(),
|
||||||
|
"get txhashset/lastkernels?n=<count>".to_string(),
|
||||||
|
"get txhashset/outputs?start_index=<index>&max=<count>".to_string(),
|
||||||
"get pool".to_string(),
|
"get pool".to_string(),
|
||||||
"post pool/push".to_string(),
|
"post pool/push".to_string(),
|
||||||
"post peers/a.b.c.d:p/ban".to_string(),
|
"post peers/<ip>:<port>/ban".to_string(),
|
||||||
"post peers/a.b.c.d:p/unban".to_string(),
|
"post peers/<ip>:<port>/unban".to_string(),
|
||||||
"get peers/all".to_string(),
|
"get peers/all".to_string(),
|
||||||
"get peers/connected".to_string(),
|
"get peers/connected".to_string(),
|
||||||
"get peers/a.b.c.d".to_string(),
|
"get peers/<ip>".to_string(),
|
||||||
"get headers".to_string(),
|
"get headers".to_string(),
|
||||||
];
|
];
|
||||||
let index_handler = IndexHandler { list: route_list };
|
let index_handler = IndexHandler { list: route_list };
|
||||||
|
|
Loading…
Reference in a new issue