HomePhabricator

Add NODE_BLOOM service bit and bump protocol version
afb0ccaf9c9eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Add NODE_BLOOM service bit and bump protocol version

Lets nodes advertise that they offer bloom filter support explicitly.
The protocol version bump allows SPV nodes to assume that NODE_BLOOM is
set if NODE_NETWORK is set for pre-70011 nodes.

Also adds an option to turn bloom filter support off for nodes which
advertise a version number >= 70011. Nodes attempting to use bloom
filters on such protocol versions are banned, and a later upgade
should drop nodes of an older version which attempt to use bloom
filters.

Much code stolen from Peter Todd.

Implements BIP 111

Details

Provenance
Matt Corallo <git@bluematt.me>Authored on Aug 21 2015, 04:15
deadalnixPushed on May 14 2017, 22:04
Parents
rABC536207f3167d: Merge pull request #6636
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Corallo <git@bluematt.me> committed rABCafb0ccaf9c9e: Add NODE_BLOOM service bit and bump protocol version (authored by Matt Corallo <git@bluematt.me>).Sep 6 2015, 06:29