Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depend on btc client (electrs) for canonical chain #374

Merged
merged 14 commits into from
Jan 15, 2025
2 changes: 1 addition & 1 deletion database/bfgd/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ type Database interface {

// Btc block table
BtcBlockInsert(ctx context.Context, bb *BtcBlock) error
BtcBlockReplace(ctx context.Context, btcBlock *BtcBlock) (int64, error)
BtcBlockByHash(ctx context.Context, hash [32]byte) (*BtcBlock, error)
BtcBlockHeightByHash(ctx context.Context, hash [32]byte) (uint64, error)
BtcBlocksHeightsWithNoChildren(ctx context.Context) ([]uint64, error)

// Pop data
PopBasisByL2KeystoneAbrevHash(ctx context.Context, aHash [32]byte, excludeUnconfirmed bool, page uint32) ([]PopBasis, error)
Expand Down
Loading
Loading