mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
General Merkle Follow Up (#2510)
* tmlibs -> libs * update changelog * address some comments from review of #2298
This commit is contained in:
+1
-1
@@ -88,7 +88,7 @@ type PersistentProvider interface {
|
||||
}
|
||||
```
|
||||
|
||||
* DBProvider - persistence provider for use with any tmlibs/DB.
|
||||
* DBProvider - persistence provider for use with any libs/DB.
|
||||
* MultiProvider - combine multiple providers.
|
||||
|
||||
The suggested use for local light clients is client.NewHTTPProvider(...) for
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"sync"
|
||||
|
||||
log "github.com/tendermint/tendermint/libs/log"
|
||||
lerr "github.com/tendermint/tendermint/lite/errors"
|
||||
"github.com/tendermint/tendermint/types"
|
||||
@@ -25,10 +26,9 @@ type DynamicVerifier struct {
|
||||
// This is a source of new info, like a node rpc, or other import method.
|
||||
source Provider
|
||||
|
||||
// pending map for synchronize concurrent verification requests
|
||||
// pending map to synchronize concurrent verification requests
|
||||
mtx sync.Mutex
|
||||
pendingVerifications map[int64]chan struct{}
|
||||
|
||||
mtx sync.Mutex
|
||||
}
|
||||
|
||||
// NewDynamicVerifier returns a new DynamicVerifier. It uses the
|
||||
|
||||
Reference in New Issue
Block a user