Skip to content

Commit

Permalink
describe interface methods better
Browse files Browse the repository at this point in the history
  • Loading branch information
badgersrus committed May 16, 2024
1 parent 7091fae commit 40edfde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/host/storage/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ type BatchResolver interface {
FetchBatchHeaderByHeight(height *big.Int) (*common.BatchHeader, error)
// FetchBatchByHeight returns the `PublicBatch` with the given height
FetchBatchByHeight(height *big.Int) (*common.PublicBatch, error)
// FetchTotalTxCount returns the number of transactions in the DB
// FetchTotalTxCount returns the value of the transactions_count table. Fast but inaccurate for Tenscan
FetchTotalTxCount() (*big.Int, error)
// FetchTotalTxsQuery returns the number of transactions in the DB
// FetchTotalTxsQuery returns the number of transactions in the DB. Required for e2e tests
FetchTotalTxsQuery() (*big.Int, error)
// FetchTransaction returns the transaction given its hash
FetchTransaction(hash gethcommon.Hash) (*common.PublicTransaction, error)
Expand Down

0 comments on commit 40edfde

Please sign in to comment.