raiden
raiden copied to clipboard
`/status` API endpoint should return blocks to sync instead of `unavailable`
trafficstars
While syncing with the blockchain initially, the status endpoint returns unavailable -- for use in UI cases (e.g. wizard/webui), it should help the API caller to estimate how long it will be unavailable.
According to the docs the blocks_to_sync should already be returned. There seems to be a bug in the API code.