feat(btc): update dg

Co-authored-by: Gaze <dev@gaze.network>
This commit is contained in:
Gaze
2024-04-17 06:36:20 +07:00
parent b22a026314
commit 06d8a70a69

View File

@@ -18,4 +18,5 @@ type BitcoinWriterDataDataGateway interface {
type BitcoinReaderDataDataGateway interface {
GetLatestBlockHeader(context.Context) (types.BlockHeader, error)
GetBlocksByHeightRange(ctx context.Context, from int64, to int64) ([]*types.Block, error)
}