mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-29 16:38:39 +00:00
10 lines
348 B
Go
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)
|
|
}
|