MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / GetTransactionsPaginated

Method GetTransactionsPaginated

database/repository.go:57–57  ·  view source on GitHub ↗

Gets the total count of committed transactions for a parent

(ctx context.Context, id string, batchSize int, offset int64)

Source from the content-addressed store, hash-verified

55 GetAllTransactions(cxt context.Context, limit, offset int) ([]model.Transaction, error) // Retrieves all transactions
56 GetTotalCommittedTransactions(cxt context.Context, parentID string) (*big.Int, error) // Gets the total count of committed transactions for a parent
57 GetTransactionsPaginated(ctx context.Context, id string, batchSize int, offset int64) ([]*model.Transaction, error) // Retrieves transactions in a paginated manner
58 GetInflightTransactionsByParentID(ctx context.Context, parentTransactionID string, batchSize int, offset int64) ([]*model.Transaction, error) // Retrieves inflight transactions by parent ID
59 GetRefundableTransactionsByParentID(ctx context.Context, parentTransactionID string, batchSize int, offset int64) ([]*model.Transaction, error) // Retrieves refundable transactions by parent ID
60 GroupTransactions(ctx context.Context, groupCriteria string, batchSize int, offset int64) (map[string][]*model.Transaction, error) // Groups transactions based on specified criteria

Callers 1

Implementers 2

Datasourcedatabase/db.go
MockDataSourcedatabase/mocks/repo_mocks.go

Calls

no outgoing calls

Tested by

no test coverage detected