Hi Justus, It might be helpful to consult the Rust implementation of BIP158 here: https://github.com/rust-bitcoin/rust-bitcoin/blob/master/src/util/bip158.rs It has a cleaner structure than Core or Neutrino, includes server and client side and passes Core's test vectors. Regards, Tamas Blummer > On Jul 22, 2019, at 17:58, Justus Ranvier via bitcoin-dev wrote: > > Signed PGP part > On 7/22/19 12:01 AM, Matt Corallo via bitcoin-dev wrote: >> Finally, regarding alternatives, the filter-generation code for BIP >> 157/158 has been in Bitcoin Core for some time, though the P2P serving >> side of things appears to have lost any champions working on it. I >> presume one of the Lightning folks will eventually, given they appear to >> be requiring their users connect to a handful of their own servers right >> now, but if you really need it, its likely not a ton of work to pipe >> them through. > > If you want projects to adopt BIP-157/158, you'd do well to fix the > numerous errors in the specification. > > As it stands right now it is impossible to implement the protocol using > the specification because he code examples are broken to the point of > appearing intentionally sabotaged. > > >