Closed louisinger closed 1 month ago
This PR adds a gRPC admin service to the ASP daemon. This service is protected using basic authorization token.
TL;DR
AUTH_USER
AUTH_PASS
admin.proto
GetBalance
GetScheduledSweep
GetRounds
GetRoundDetails
it closes #151
@tiero @altafan @bordalix please review
integration tests fixed in https://github.com/ark-network/ark/pull/167
This PR adds a gRPC admin service to the ASP daemon. This service is protected using basic authorization token.
TL;DR
AUTH_USER
&AUTH_PASS
lets to define the authorization token (default to admin:admin).admin.proto
.Admin API
GetBalance
returns ocean accounts balance (connectors and main account)GetScheduledSweep
returns the rounds outputs that will be swept (with schedulet_at timestamp).GetRounds
lets to search for round ids between a range of timestampGetRoundDetails
returns stats about the round (vtxos amount, vtxos txid, forfeit amounts, exit amount ...)it closes #151
@tiero @altafan @bordalix please review