From d0cccad9d418c1a2fb574fd6e85cd90215608a49 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Fri, 12 Feb 2016 23:40:02 +0000 Subject: [PATCH] Recognise temporary REPLACE_BY_FEE service bit --- src/protocol.h | 2 ++ src/qt/guiutil.cpp | 3 +++ 2 files changed, 5 insertions(+) diff --git a/src/protocol.h b/src/protocol.h index 50d197415b..642dcc5394 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -276,6 +276,8 @@ enum ServiceFlags : uint64_t { // collisions and other cases where nodes may be advertising a service they // do not actually support. Other service bits should be allocated via the // BIP process. + + NODE_REPLACE_BY_FEE = (1 << 26), }; /** diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 09eae77908..84e534bfc8 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -835,6 +835,9 @@ QString formatServicesStr(quint64 mask) case NODE_XTHIN: strList.append("XTHIN"); break; + case NODE_REPLACE_BY_FEE: + strList.append("REPLACE_BY_FEE?"); + break; default: strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check)); }