kaspad/domain/consensus/model/interface_processes_finalitymanager.go
2021-02-17 18:00:16 +02:00

10 lines
348 B
Go

package model
import "github.com/kaspanet/kaspad/domain/consensus/model/externalapi"
// FinalityManager provides method to validate that a block does not violate finality
type FinalityManager interface {
VirtualFinalityPoint() (*externalapi.DomainHash, error)
FinalityPoint(blockHash *externalapi.DomainHash) (*externalapi.DomainHash, error)
}