mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge #19070: p2p: Signal support for compact block filters with NODE_COMPACT_FILTERS
f5c003d3ea[test] Add test for NODE_COMPACT_FILTER. (Jim Posen)132b30d9c8[net] Signal NODE_COMPACT_FILTERS if we're serving compact filters. (Jim Posen)b3fbc94d4fApply cfilters review fixups (John Newbery) Pull request description: If -peerblockfilters is configured, signal the `NODE_COMPACT_FILTERS` service bit to indicate that we are able to serve compact block filters, headers and checkpoints. ACKs for top commit: MarcoFalke: re-review and Concept ACKf5c003d3eafjahr: Code review ACKf5c003d3eaclarkmoody: Concept ACKf5c003d3eaariard: Concept and Code Review ACKf5c003djonatack: ACKf5c003d3eTree-SHA512: 34d1c153530a0e55d09046fe548c9dc37344b5d6d50e00af1b4e1de1e7b49de770fca8471346a17c151de9fe164776296bb3dd5af331977f0c3ef1e6fc906f85
This commit is contained in:
@@ -217,6 +217,7 @@ static std::string serviceFlagToStr(size_t bit)
|
||||
case NODE_GETUTXO: return "GETUTXO";
|
||||
case NODE_BLOOM: return "BLOOM";
|
||||
case NODE_WITNESS: return "WITNESS";
|
||||
case NODE_COMPACT_FILTERS: return "COMPACT_FILTERS";
|
||||
case NODE_NETWORK_LIMITED: return "NETWORK_LIMITED";
|
||||
// Not using default, so we get warned when a case is missing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user