Skip to content

Commit

Permalink
add RecheckTxs method
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaiba committed Dec 12, 2024
1 parent 4bbe029 commit 78e8529
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node/consensus/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ package consensus
import (
"context"

"github.com/kwilteam/kwil-db/node/mempool"

ktypes "github.com/kwilteam/kwil-db/core/types"
"github.com/kwilteam/kwil-db/node/types"
"github.com/kwilteam/kwil-db/node/types/sql"
Expand All @@ -21,6 +23,7 @@ type DB interface {
type Mempool interface {
PeekN(maxSize int) []types.NamedTx
Remove(txid types.Hash)
RecheckTxs(ctx context.Context, checkFn mempool.CheckFn)
}

// BlockStore includes both txns and blocks
Expand Down

0 comments on commit 78e8529

Please sign in to comment.