breez / breez-sdk-greenlight

MIT License
241 stars 42 forks source link

Optimize fetching claim tx by querying the lockup address #1102

Closed roeierez closed 3 weeks ago

roeierez commented 3 weeks 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.