mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-14 16:54:27 +01:00
Add bonus gettxnslist/count/skip endpoint for spender wallet :)
This commit is contained in:
@@ -238,6 +238,13 @@ main() {
|
||||
response_to_client "${response}" ${?}
|
||||
break
|
||||
;;
|
||||
gettxnslist)
|
||||
# curl (GET) http://192.168.111.152:8080/gettxnslist/20/10
|
||||
|
||||
response=$(gettxnslist $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f3) $(echo "${line}" | cut -d ' ' -f2 | cut -d '/' -f4))
|
||||
response_to_client "${response}" ${?}
|
||||
break
|
||||
;;
|
||||
getbalance)
|
||||
# curl (GET) http://192.168.111.152:8080/getbalance
|
||||
|
||||
|
||||
Reference in New Issue
Block a user