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

Method GetAllTransactions

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

Updates the status of a transaction

(cxt context.Context, limit, offset int)

Source from the content-addressed store, hash-verified

53 GetExistingTransactionReferences(ctx context.Context, references []string) (map[string]struct{}, error) // Gets existing transaction references in bulk
54 UpdateTransactionStatus(cxt context.Context, id string, status string) error // Updates the status of a transaction
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

Callers 4

GetAllTransactionsMethod · 0.65
indexTransactionsMethod · 0.65
dbHasDataFunction · 0.65
GetAllTransactionsMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by

no test coverage detected