Fixes + docs

This commit is contained in:
g-homebase
2019-12-17 16:59:18 -05:00
committed by kexkey
parent 8b0954bf85
commit ae3e6ce9c5
6 changed files with 279 additions and 19 deletions

View File

@@ -238,10 +238,10 @@ main() {
response_to_client "${response}" ${?}
break
;;
gettxnslist)
# curl (GET) http://192.168.111.152:8080/gettxnslist/20/10
get_txns_spending)
# curl (GET) http://192.168.111.152:8080/get_txns_spending/20/10
response=$(gettxnslist $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f4))
response=$(get_txns_spending $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f4))
response_to_client "${response}" ${?}
break
;;