Skip to content

Commit

Permalink
restore grandpa primitive
Browse files Browse the repository at this point in the history
  • Loading branch information
timwu20 committed Nov 6, 2024
1 parent 0bb8754 commit f571741
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/primitives/consensus/grandpa/grandpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ type SignedMessage[H, N any] grandpa.SignedMessage[H, N, AuthoritySignature, Aut
// Commit is a commit message for this chain's block type.
type Commit[H, N any] grandpa.Commit[H, N, AuthoritySignature, AuthorityID]

// ScheduledChange is a scheduled authority change.
type ScheduledChange[N runtime.Number] struct {
NextAuthorities AuthorityList
Delay N
}

// GrandpaJustification is A GRANDPA justification for block finality, it includes
// a commit message and an ancestry proof including all headers routing all
// precommit target blocks to the commit target block. Due to the current voting
Expand Down

0 comments on commit f571741

Please sign in to comment.