Recognise temporary REPLACE_BY_FEE service bit

This commit is contained in:
Luke Dashjr 2016-02-12 23:40:02 +00:00 committed by Gregory Sanders
parent cecfe80cc5
commit d0cccad9d4
2 changed files with 5 additions and 0 deletions

View file

@ -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),
};
/**

View file

@ -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));
}