So Obscura's get_block fails to parse the response JSON to Block<N> and get_blocks returns a 500 error.
When Obscura's block fetch fails, this PR implements a temp auto-switching to Aleo's API client.
When and if Obscura gets back to working, this will use Obscura as default, this switch only happens if Obscura fails or throws a JSON error.
So Obscura's
get_block
fails to parse the response JSON toBlock<N>
andget_blocks
returns a 500 error. When Obscura's block fetch fails, this PR implements a temp auto-switching to Aleo's API client.When and if Obscura gets back to working, this will use Obscura as default, this switch only happens if Obscura fails or throws a JSON error.