bip158Example Code snippet to demonstrate the construction of a GCS filter from a block as described in BIP158 See the step-by-step described here