4

I'm running a pruned full node of bitcoin core version 0.14.0 and checking on https://bitnodes.21.co/nodes/ I can see that my node was labelled "NODE_WITNESS (12)" unlike of the others nodes shown, which was labelled "NODE_WITNESS (13)".

3

I've looked through several pages on bitnodes to find some more nodes that show NODE_WITNESS (12). I've noticed a pattern: the number corresponds to the services that a node offers. Nodes advertise the services that they offer by sending a bitmap named nServices. The number in the brackets matches the decimal representation of the service bits that a node has set.

Looking around a bit, I've identified the following five bits:

  • NODE_NETWORK (1)
  • NODE_GETUTXOS (2)
  • NODE_BLOOM (4)
  • NODE_WITNESS (8)
  • NODE_XTHIN (16)

So, I'd say that with (12), you must be offering the services NODE_BLOOM, NODE_WITNESS (12), lemme guess, you run a pruning node? :) Or would it be "blocksonly"?


Edit: Here are the service bits defined in the source code: protocol.h:249

  • 1
    Yes, I'm running a pruning node! – Vinicius Sa Apr 7 '17 at 2:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.