Skip to content

[Feat.Req] Limit number of receipts per RAV request #96

Closed
@aasseman

Description

@aasseman

Problem statement
TAP Agent will currently try to send all unaggregated receipts with a RAV request.
The TAP Aggregator will currently not accept more than 10MB of data per request (otherwise would be a DoS vector). It was therefore decided that the TAP Aggregator should be guaranteed to handle a maximum of 15,000 receipts per call.

Expectation proposal
Implement the logic that will only pull up to 15,000 oldest unaggregated receipts per RAV request, as well as continuing to do more RAV requests if there should be more than 15,000 receipts to aggregate.
This will involve changes in https://github.com/semiotic-ai/timeline-aggregation-protocol/tree/main/tap_core.

Additional context
https://github.com/semiotic-ai/timeline-aggregation-protocol/blob/main/tap_aggregator/README.md

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions