Add support for NODE_COMPACT_FILTERS by default
This commit is contained in:
parent
36bd7f9a0f
commit
d098ad9a1f
2 changed files with 3 additions and 0 deletions
2
main.cpp
2
main.cpp
|
@ -150,10 +150,12 @@ public:
|
||||||
filter_whitelist.insert(NODE_NETWORK);
|
filter_whitelist.insert(NODE_NETWORK);
|
||||||
filter_whitelist.insert(NODE_NETWORK | NODE_BLOOM);
|
filter_whitelist.insert(NODE_NETWORK | NODE_BLOOM);
|
||||||
filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS);
|
filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS);
|
||||||
|
filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_COMPACT_FILTERS);
|
||||||
filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM);
|
filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM);
|
||||||
filter_whitelist.insert(NODE_NETWORK_LIMITED);
|
filter_whitelist.insert(NODE_NETWORK_LIMITED);
|
||||||
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_BLOOM);
|
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_BLOOM);
|
||||||
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS);
|
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS);
|
||||||
|
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_COMPACT_FILTERS);
|
||||||
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_BLOOM);
|
filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_BLOOM);
|
||||||
}
|
}
|
||||||
if (host != NULL && ns == NULL) showHelp = true;
|
if (host != NULL && ns == NULL) showHelp = true;
|
||||||
|
|
|
@ -62,6 +62,7 @@ enum
|
||||||
NODE_NETWORK = (1 << 0),
|
NODE_NETWORK = (1 << 0),
|
||||||
NODE_BLOOM = (1 << 2),
|
NODE_BLOOM = (1 << 2),
|
||||||
NODE_WITNESS = (1 << 3),
|
NODE_WITNESS = (1 << 3),
|
||||||
|
NODE_COMPACT_FILTERS = (1 << 6),
|
||||||
NODE_NETWORK_LIMITED = (1 << 10),
|
NODE_NETWORK_LIMITED = (1 << 10),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue