mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
14 lines
354 B
Go
14 lines
354 B
Go
package sync
|
|
|
|
import (
|
|
libcommon "github.com/ledgerwatch/erigon-lib/common"
|
|
"github.com/ledgerwatch/erigon/polygon/bor"
|
|
)
|
|
|
|
// valset.ValidatorSet abstraction for unit tests
|
|
type validatorSetInterface interface {
|
|
bor.ValidateHeaderTimeSignerSuccessionNumber
|
|
IncrementProposerPriority(times int)
|
|
Difficulty(signer libcommon.Address) (uint64, error)
|
|
}
|