Skip to content

Instantly share code, notes, and snippets.

@benfavre
Created June 28, 2018 22:14
Show Gist options
  • Save benfavre/0fe6f240457131aff7126b10861baf43 to your computer and use it in GitHub Desktop.
Save benfavre/0fe6f240457131aff7126b10861baf43 to your computer and use it in GitHub Desktop.
Lisk enable / check forging status
curl -X PUT \
http://127.0.0.1:7000/api/node/status/forging \
-H 'cache-control: no-cache' \
-H 'content-type: application/json' \
-d '{
"publicKey": "YYYYYYYYY",
"password": "XXX",
"forging": true
}'
curl -X GET \
http://127.0.0.1:7000/api/node/status/forging \
-H 'cache-control: no-cache' \
-H 'content-type: application/json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment