Callum Waters
ee3f34f4ab
light: create provider options struct ( #6064 )
4 years ago
Callum Waters
b9b55db4e5
light: remove max retry attempts from client and add to provider ( #6054 )
4 years ago
Callum Waters
c7b619188d
light: fix panic with RPC calls to commit and validator when height is nil ( #6026 )
4 years ago
Anton Kaliaev
1cd9bdb80b
light/provider/http: fix Validators ( #6022 )
Closes #6010
4 years ago
Callum Waters
f368b91caf
light: minor fixes / standardising errors ( #5716 )
## Description
I'm just doing a self audit of the light client. There's a few things I've changed
- Validate trust level in `VerifyNonAdjacent` function
- Make errNoWitnesses public (it's something people running software on top of a light client should be able to parse)
- Remove `ChainID` check of witnesses on start up. We do this already when we compare the first header with witnesses
- Remove `ChainID()` from provider interface
Closes : #4538
4 years ago
Anton Kaliaev
85a4be87a7
rpc/client: take context as first param ( #5347 )
Closes #5145
also applies to light/client
4 years ago
Callum Waters
e2927d2088
light: move dropout handling and invalid data to the provider ( #5308 )
4 years ago
Callum Waters
2b58a62721
light: implement light block ( #5298 )
4 years ago
Callum Waters
86707862d4
fix validator set proposer priorities in light client provider ( #5307 )
4 years ago
Anton Kaliaev
ce3c9c2341
rpc/core: return an error if `page=0` ( #4947 )
* rpc/core: return an error if `page=0`
Closes #4942
affected endpoints:
- /validators
- /tx_search
* swagger: update doc for /unconfirmed_txs
5 years ago
Marko
c2578e2262
light: rename lite2 to light & remove lite ( #4946 )
This PR removes lite & renames lite2 to light throughout the repo
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
Closes : #4944
5 years ago