diff options
| author | Jim Posen <[email protected]> | 2020-05-04 11:13:13 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2020-05-31 23:01:06 -0400 |
| commit | 132b30d9c84f2a8053714a438f227b583a89a9ea (patch) | |
| tree | fbabe20e488f17a3d1d58724d772d5381723b256 /src/protocol.cpp | |
| parent | Apply cfilters review fixups (diff) | |
| download | discoin-132b30d9c84f2a8053714a438f227b583a89a9ea.tar.xz discoin-132b30d9c84f2a8053714a438f227b583a89a9ea.zip | |
[net] Signal NODE_COMPACT_FILTERS if we're serving compact filters.
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.
Diffstat (limited to 'src/protocol.cpp')
| -rw-r--r-- | src/protocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index 83a24b9d9..7f58125f0 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -213,6 +213,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 } |