Takes balance snapshots
(ctx context.Context, balanceID string, targetTime time.Time, fromSource bool)
| 103 | GetSourceDestination(sourceId, destinationId string) ([]*model.Balance, error) // Retrieves balances between source and destination |
| 104 | TakeBalanceSnapshots(ctx context.Context, batchSize int) (int, error) // Takes balance snapshots |
| 105 | GetBalanceAtTime(ctx context.Context, balanceID string, targetTime time.Time, fromSource bool) (*model.Balance, error) // Retrieves a balance at a specific time |
| 106 | UpdateBalanceIdentity(balanceID string, identityID string) error // Updates only the identity_id of a balance |
| 107 | |
| 108 | // Advanced filtering methods |
no outgoing calls
no test coverage detected