Silent payments #4
Replies: 11 comments 34 replies
-
Regarding @Sjors feedback on #1 :
Based on the discussion at CoreDev, it was agreed Regarding the GUI, send / receive is only supported on the CLI for now, can tackle the GUI in it's own PR (although I am largely unfamiliar with the GUI codebase 😬 ). Regarding labels:
Order shouldn't matter at all with labels? In general, I think reusing the range argument for labels could make sense? Generally speaking, the wallet should keep track of how many labels it has used. In order to deal with the gap limit problem, when rescanning the wallet should pre-generate a large number of labels (the BIP recommends 100,000). Another idea is to include the number of labels used in the |
Beta Was this translation helpful? Give feedback.
-
(splitting this out so we can use the inline comment feature)
I don't think there's any difference with other descriptors; when a descriptor is generated from the wallet seed we add origin information, when we import its key from somewhere else, we either don't add origin info or we add the remote origin info if we know it.
It wouldn't break anything to change the behaviour later. |
Beta Was this translation helpful? Give feedback.
-
Well, we can't merge the cli changes if we don't at least disable sending to silent payment address in the GUI. From my experience with adding external signer support, the code paths between GUI and cli are almost identical. You probably just missed one call site, with whatever you did to make this work in the cli. It's probably easier to fix the issue than to figure out how to disable this. |
Beta Was this translation helpful? Give feedback.
-
Generally our keypool is 1000, which is what the At least when importing them. But if we want to encourage this 100,000 recommendation, we should also use when exporting a descriptor. In that case it's easiest to also set this number at wallet creation time. |
Beta Was this translation helpful? Give feedback.
-
I have no idea what messed up that early wallet. The approach here should avoid any future confusion #3 (comment):
|
Beta Was this translation helpful? Give feedback.
-
Add
|
Beta Was this translation helpful? Give feedback.
-
How do we InferDescriptor from sp addressesWe need |
Beta Was this translation helpful? Give feedback.
-
Just tried importing my test descriptions into a fresh wallet using During (or at the end of) the rescan it crashes with:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
For watch-only wallets the rescan is using "fast variant using block filters", which it shouldn't. I can work around it by turning off |
Beta Was this translation helpful? Give feedback.
-
Loading an existing wallet, created with
Loading a wallet created in the regular manner doesn't crash. |
Beta Was this translation helpful? Give feedback.
-
For general discussion of implementation details for silent payments on the branch
josibake/implement-bip352-full
.Beta Was this translation helpful? Give feedback.
All reactions