Skip to content

Commit d0cccad

Browse files
luke-jrinstagibbs
authored andcommitted
Recognise temporary REPLACE_BY_FEE service bit
1 parent cecfe80 commit d0cccad

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/protocol.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ enum ServiceFlags : uint64_t {
276276
// collisions and other cases where nodes may be advertising a service they
277277
// do not actually support. Other service bits should be allocated via the
278278
// BIP process.
279+
280+
NODE_REPLACE_BY_FEE = (1 << 26),
279281
};
280282

281283
/**

src/qt/guiutil.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,9 @@ QString formatServicesStr(quint64 mask)
835835
case NODE_XTHIN:
836836
strList.append("XTHIN");
837837
break;
838+
case NODE_REPLACE_BY_FEE:
839+
strList.append("REPLACE_BY_FEE?");
840+
break;
838841
default:
839842
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
840843
}

0 commit comments

Comments
 (0)