Commit Graph

26 Commits

Author SHA1 Message Date
Anton Kaliaev
1b9e0261b6 merge initProvider and makeProvider 2019-08-16 11:43:45 +04:00
Anton Kaliaev
97131a1544 add more docs from ADR-44 2019-08-15 16:22:26 +04:00
Anton Kaliaev
46c3d0baec move concurrent_provider to its own file 2019-08-15 12:09:15 +04:00
Anton Kaliaev
91e69bbdac Merge branch 'master' into jae/verifyingcachineprovider 2019-08-14 16:03:33 +04:00
Zaki Manian
415d9579e1 Add the compare validator powers proposal as discussed with Zarko in the ADR 2019-07-16 19:55:09 -07:00
Anton Kaliaev
88b7c53dcf fix comment and use errors.New instead of fmt.Errorf 2019-07-09 19:38:14 +04:00
Anton Kaliaev
f95b11e07a fix HeightAndHashPresent func 2019-07-09 17:55:55 +04:00
Anton Kaliaev
1f03ceb0ba refactor verifying/provider
- mention unbonding period
- use log.Logger instead of fmt
2019-07-09 17:52:10 +04:00
Anton Kaliaev
45a447aa2f move PrivKeys to internal folder
read https://golang.org/cmd/go/#hdr-Internal_Directories if you want to
know how internal directories work
2019-07-09 17:42:04 +04:00
Anton Kaliaev
ceff0af81d restructure code in verifying/provider 2019-07-08 16:45:22 +04:00
Zaki Manian
b441a71221 Make ConcurrentProvider public 2019-07-07 22:09:53 -07:00
Zaki Manian
39e589e3c7 Fix VerifyingProvider Nit 2019-07-07 21:55:00 -07:00
Zaki Manian
6746befb44 Add linear non bisceting verifier 2019-07-06 20:20:37 -07:00
Zaki Manian
fb3663cfb1 verifyAndSave now internally checks if the commit is validate before proceeding.
Fix a comment for clarity
2019-07-06 19:05:10 -07:00
Zaki Manian
b97a8b69ed Update lite/verifying/provider.go
Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
2019-07-06 11:48:48 -07:00
Marko Baricevic
49bea520cf change trust to trusted 2019-07-06 09:47:47 +02:00
Marko Baricevic
3acc6e60e8 import and type calls fix 2019-07-06 09:46:01 +02:00
Zaki Manian
0a145b83be Update lite/verifying/provider.go
Co-Authored-By: Ismail Khoffi <Ismail.Khoffi@gmail.com>
2019-07-05 20:52:21 -07:00
Zaki Manian
02c467237e Fix DB backed name change 2019-07-05 20:23:38 -07:00
Zaki Manian
165a3d15fb Fix conflicts with upsteam changes 2019-07-05 20:23:23 -07:00
Zaki Manian
7635b1ed7e Handle error 2019-05-01 17:32:49 -07:00
Zaki Manian
59d3d40dbf Added the Verify method to implement Provider 2019-04-30 10:01:36 -07:00
Jack Zampolin
0a87ddef96 Abstract out provider init logic and logger 2019-04-26 13:38:39 -04:00
Jack Zampolin
236cdf87aa NewProvider function complete 2019-04-25 15:11:30 -04:00
Zaki Manian
88b69a956f Improve getTargetCommit with better business logic 2019-04-24 17:58:19 -04:00
jaekwon
1a86c869e8 WIP 2019-04-17 11:27:37 -07:00