Callum Waters and GitHub
c7b619188d
light: fix panic with RPC calls to commit and validator when height is nil ( #6026 )
2021-02-02 14:01:39 +01:00
Anton Kaliaev and GitHub
1cd9bdb80b
light/provider/http: fix Validators ( #6022 )
...
Closes #6010
2021-02-01 11:32:37 +00:00
Callum Waters and GitHub
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
2020-12-01 12:53:53 +00:00
Anton Kaliaev and GitHub
85a4be87a7
rpc/client: take context as first param ( #5347 )
...
Closes #5145
also applies to light/client
2020-09-23 09:21:57 +04:00
Callum Waters and GitHub
e2927d2088
light: move dropout handling and invalid data to the provider ( #5308 )
2020-09-02 18:28:48 +02:00
Callum Waters and GitHub
2b58a62721
light: implement light block ( #5298 )
2020-09-01 17:45:55 +02:00
Callum Waters and GitHub
86707862d4
fix validator set proposer priorities in light client provider ( #5307 )
2020-08-31 12:47:38 +02:00
Anton Kaliaev and GitHub
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
2020-06-03 16:51:51 +04:00
Marko and GitHub
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
2020-06-03 10:13:42 +00:00