breez / breez-sdk-greenlight

MIT License
244 stars 43 forks source link

Optimize fetching claim tx by querying the lockup address #1102

Closed roeierez closed 1 month ago

roeierez commented 1 month ago

Instead of querying the claim address (final user address) for the claim tx it is better to query the lockup address. Since the claim is not in our control I have seen a case where it had thousands of transactions resulted in 80m of transactions associated with that address. The lockup address should have max 2 transactions associated with.