Replies: 11 comments
-
Wasabi backend has the code to build BIP158 filters, however, only when it runs Bitcoin Knots. |
Beta Was this translation helpful? Give feedback.
-
ping @dangershony who did great work on that integration. |
Beta Was this translation helpful? Give feedback.
-
Can you provide more context?
Is this for desktop wallets or also mobile? The problem is the filters you currently get form wasabi backed are not compatible with core (unless this was changed since I worked on that but I don't think it was) so to support local fullnode you'll need to construct slightly different filters in the app before fetching from core. |
Beta Was this translation helpful? Give feedback.
-
mobile only for the time being. The intent is that one can run a full node in their home network or cloud on a pc perhaps. I think the benefit would be that their node did verification rather than the Chaincase back end. Do you think downloading full blocks provides much of a security benefit compared to downloading them from p2p? Doesn't that node download them from p2p? Curious also from your last point of understanding what would need to change to make filters compatible with core? |
Beta Was this translation helpful? Give feedback.
-
Ah no in case of mobile it's the same (I was referring to desktop in that comment)
That's a very interesting idea, in that case probably filters are best for saving on bandwidth.
wasabi implemented filters before core, when core implemented they made small changes to the filter params so they are not compatible (its an easy fix just change params). |
Beta Was this translation helpful? Give feedback.
-
If you have a trusted node at home, you might as well send the xpub there, and the node returns all relevant txs. This would be quite different to how Wasabi desktop client works, but there's no privacy loss, and a big performance increase, I'd guess. |
Beta Was this translation helpful? Give feedback.
-
Exposing the core RPC interface is not fit for this purpose afaik. If one were to send xpub, what node do they interface with? |
Beta Was this translation helpful? Give feedback.
-
the xpub will be in bitcoin Core wallet, and run through blocks there. the big downside, which is why this wasn't chosen in wasabi, was the reliance on Core wallet functionality. |
Beta Was this translation helpful? Give feedback.
-
You have a point max, sending xpub is an option but probably represent significant more work while just to treating home node as a second coordinator is easier(ish) to impl. |
Beta Was this translation helpful? Give feedback.
-
The issue with sending xpub is afaik one would have to open RPC to the network which is ill advised. We would need some interface like Samourai Dojo to sit on top of a node to do that right |
Beta Was this translation helpful? Give feedback.
-
After asking on The Lightning Lab @ Clubhouse it seems like full nodes would be our first step toward lightning integration as well. Whether or not offering lighting only to users running nodes is worth it is a completely different question. At least umbrel makes it easy for end users these days to set up lnd |
Beta Was this translation helpful? Give feedback.
-
Ideally, users construct filters themselves and download them to their lite client via bip 157. I don't think this is possible right now. This way they can truly do verification on their own.
Wasabi lets you download blocks exclusively from your full node right now. Is that sufficient utility for users to add it as a feature? difficulty ~3 for this style of addition
Beta Was this translation helpful? Give feedback.
All reactions