Add support for new getcfilters message called UtreexoCFilter
When a new block is added, a new UtreexoCFilter filter is created and persisted on the node.
This filter is created by serializing the contents of the roots at that height.
When a node receives a getcfilters message, the logic doesn't change much, it handles it almost identical to how it deals with basic filters.
There's a problem however in this Draft PR. on utreexoproofindex.go file, on like 358, we check is the root is a CSN by just assigning it a variable, however, we want to actually make this check properly, I need a bit of help there.
This is meant to be just a draft PR
Add support for new getcfilters message called
UtreexoCFilter
When a new block is added, a new UtreexoCFilter filter is created and persisted on the node. This filter is created by serializing the contents of the roots at that height. When a node receives a getcfilters message, the logic doesn't change much, it handles it almost identical to how it deals with basic filters.There's a problem however in this Draft PR. on
utreexoproofindex.go
file, on like358
, we check is the root is a CSN by just assigning it a variable, however, we want to actually make this check properly, I need a bit of help there.