mirror of https://github.com/bitcoin/bitcoin
Merge #17474: Bugfix: GUI: Recognise NETWORK_LIMITED in formatServicesStr
pull/17661/head4341bffb6e
GUI: Refactor formatServicesStr to warn when a ServicesFlag is missing (Luke Dashjr)df77de8c21
Bugfix: GUI: Recognise NETWORK_LIMITED in formatServicesStr (Luke Dashjr) Pull request description: Currently, only the bottom 8 service bits are shown in the GUI peer details view. `NODE_NETWORK_LIMITED` is the 11th bit (2^10). The first commit expands the range to cover the full 64 bits, and properly label `"NETWORK_LIMITED"`. The second commit refactors the code so that any future omitted service bits will trigger a compile warning. ACKs for top commit: jonasschnelli: utACK4341bffb6e
jonasschnelli: Tested ACK4341bffb6e
hebasto: Concept ACK4341bffb6e
Tree-SHA512: 8338737d03fbcd92024159aabd7e632d46e13c72436d935b504d2bf7ee92b7d124e89a5917bf64d51c87f12a64de703270c2d7b4c6711fa8ed08ea7887d817c7
commit
5948398b18
Loading…
Reference in new issue