add check and daemon api endpoint to fix #41
This commit is contained in:
parent
d1f9911fd4
commit
00baf30141
3 changed files with 32 additions and 11 deletions
|
@ -103,6 +103,10 @@ class PrivateEndpoints:
|
|||
subprocess.Popen([SCRIPT_NAME, 'restart'])
|
||||
return Response("bye")
|
||||
|
||||
@private_endpoints_bp.route('/gethidden')
|
||||
def get_hidden_blocks():
|
||||
return Response('\n'.join(client_api.publicAPI.hideBlocks))
|
||||
|
||||
@private_endpoints_bp.route('/getstats')
|
||||
def getStats():
|
||||
# returns node stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue