Skip to content

Commit

Permalink
Recognise temporary REPLACE_BY_FEE service bit
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr authored and instagibbs committed Dec 18, 2018
1 parent cecfe80 commit d0cccad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};

/**
Expand Down
3 changes: 3 additions & 0 deletions src/qt/guiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit d0cccad

Please sign in to comment.