Skip to content

Add getPayerTotal to read-only query surface #9

Description

@MarcusDavidG

get_payer_total currently requires iterating all payments. Consider exposing a dedicated storage key per (invoice_id, payer) pair for O(1) lookup.

Impact: Reduces compute cost for invoices with many payers, relevant for crowdfunded invoice use cases on Stellar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions