File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,14 @@ class CMessageHeader
67
67
68
68
/* * nServices flags */
69
69
enum {
70
+ // NODE_NETWORK means that the node is capable of serving the block chain. It is currently
71
+ // set by all Bitcoin Core nodes, and is unset by SPV clients or other peers that just want
72
+ // network services but don't provide them.
70
73
NODE_NETWORK = (1 << 0 ),
74
+ // NODE_GETUTXO means the node is capable of responding to the getutxo protocol request.
75
+ // Bitcoin Core does not support this but a patch set called Bitcoin XT does.
76
+ // See BIP 64 for details on how this is implemented.
77
+ NODE_GETUTXO = (1 << 1 ),
71
78
72
79
// Bits 24-31 are reserved for temporary experiments. Just pick a bit that
73
80
// isn't getting used, or one not being used much, and notify the
Original file line number Diff line number Diff line change @@ -878,10 +878,13 @@ QString formatServicesStr(quint64 mask)
878
878
switch (check)
879
879
{
880
880
case NODE_NETWORK:
881
- strList.append (QObject::tr (" NETWORK" ));
881
+ strList.append (" NETWORK" );
882
+ break ;
883
+ case NODE_GETUTXO:
884
+ strList.append (" GETUTXO" );
882
885
break ;
883
886
default :
884
- strList.append (QString (" %1[%2]" ).arg (QObject::tr ( " UNKNOWN" ) ).arg (check));
887
+ strList.append (QString (" %1[%2]" ).arg (" UNKNOWN" ).arg (check));
885
888
}
886
889
}
887
890
}
You can’t perform that action at this time.
0 commit comments