Gap in envoy doesn't account for edge cases where a user is using passport in other watch only wallets

  • What are you trying to achieve?
    I want to see the change output for a passport spend in envoy. It was spent in Zeus to open a channel. I chose to make the gap in Zeus 2000, believing this would simply be how many addresses it looks at, not realizing that when spending with my passport, the change output would be AFTER those first 2000 addresses… In hindsight this makes sense I suppose, but left me not able to see the change in Sparrow or Envoy. I changed the gap limit in Sparrow from 100 to 2100, and it appeared. But not sure how to do this in Envoy.

  • What version of Envoy are you using?
    1.8.4

  • Does your query relate to the mobile wallet or a Passport account?
    Passport

1 Like

Hey @expatri0tic thank you for the post and suggestion! Did you confirm via sparrow or other software the issue was that the gap limit was too low?

Yes I went to Sparrow and the change wasn’t visible til I moved the gap limit from 100 to 2100, then the change showed up. not sure envoy allows for this level of granular control

Gotcha, thanks for confirming. Yeah, allowing users to be more picky about the gap limit and being able to define your own gap limit is within the scope of what we want to work on, and we alreay have an open internal issue for this.

However, implementing this will be far easier after we make the upgrade to BDK1.0. This upgrade will reshuffle the way everything connects and behaves internally in the app, so we would really prefer to implement this gap limit feature after BDK1.0.

FYI, we are planning on implementing BDK1.0 sometime early next year, aiming for Q1 2025 as of right now. So regrettably this feature wil have to wait until then, but the good news is that it is in our radar. Thank you for bringing up to our attention anyway!

2 Likes

No problem! Luckily for me Envoy is just one way I engage with my wallet. And for users who ONLY use Envoy, this problem would not have happened!! Haha, chicken and the egg situation. It only happened because I imported into Zeus with 2000 addresses and 2000 change outputs, not realizing that meant it would look at those for balance but would SKIP them for generating NEW change outputs. If you only use in Envoy you won’t do things like that.

2 Likes