bitcoinj icon indicating copy to clipboard operation
bitcoinj copied to clipboard

Add BIP 158 (Neutrino) support

Open msgilligan opened this issue 6 years ago • 4 comments

Create an implementation and prepare a possible strategy to migrate from the default SPV client BIP-0037 to BIP-158 (Neutrino)

msgilligan avatar Nov 02 '19 23:11 msgilligan

.. and in my research I just found some comments by @schildbach here: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-July/017159.html

msgilligan avatar Nov 02 '19 23:11 msgilligan

I have looked at the link and noticed @schildbach mentioned

  1. It filters blocks only. It doesn't address unconfirmed transactions.

we can get unconfirmed transactions data from the mempool. As mentioned in the first point. Its even more resource intensive on mobile devices not to mention the network limitations around the world.

But for desktop its still a nice idea. If we decided to work on it then may be we should have it as another option along with BIP 37. BIP 158 can be used in desktop and server environment. And BIP 37 can be used with light clients and also with trusted onion (for end-to end encryption) nodes.

java4tech avatar Jul 07 '20 11:07 java4tech

Yes, even a combination of BIP 158 (for blocks) and BIP 37 (for unconfirmed transactions) would be useful, even for mobile.

Hopefully BIP 158 filters will be committed to the blockchain not too far in the future. Currently with BIP 158 you also have to trust the node.

schildbach avatar Jul 07 '20 15:07 schildbach

I would like to start moving forward with adding this to bitcoinj.

msgilligan avatar May 26 '23 14:05 msgilligan