mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-17 07:01:20 +00:00
Add logs to lite/*; Fix rpc status to return consensus height, not blockstore height
This commit is contained in:
@ -2,6 +2,7 @@ package lite
|
||||
|
||||
import (
|
||||
"github.com/tendermint/tendermint/types"
|
||||
log "github.com/tendermint/tmlibs/log"
|
||||
)
|
||||
|
||||
// Provider provides information for the lite client to sync validators.
|
||||
@ -16,6 +17,9 @@ type Provider interface {
|
||||
// Get the valset that corresponds to chainID and height and return.
|
||||
// Height must be >= 1.
|
||||
ValidatorSet(chainID string, height int64) (*types.ValidatorSet, error)
|
||||
|
||||
// Set a logger.
|
||||
SetLogger(logger log.Logger)
|
||||
}
|
||||
|
||||
// A provider that can also persist new information.
|
||||
|
Reference in New Issue
Block a user