mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Recognise temporary REPLACE_BY_FEE service bit
This commit is contained in:
parent
cecfe80cc5
commit
d0cccad9d4
2 changed files with 5 additions and 0 deletions
|
|
@ -276,6 +276,8 @@ enum ServiceFlags : uint64_t {
|
||||||
// collisions and other cases where nodes may be advertising a service they
|
// collisions and other cases where nodes may be advertising a service they
|
||||||
// do not actually support. Other service bits should be allocated via the
|
// do not actually support. Other service bits should be allocated via the
|
||||||
// BIP process.
|
// BIP process.
|
||||||
|
|
||||||
|
NODE_REPLACE_BY_FEE = (1 << 26),
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -835,6 +835,9 @@ QString formatServicesStr(quint64 mask)
|
||||||
case NODE_XTHIN:
|
case NODE_XTHIN:
|
||||||
strList.append("XTHIN");
|
strList.append("XTHIN");
|
||||||
break;
|
break;
|
||||||
|
case NODE_REPLACE_BY_FEE:
|
||||||
|
strList.append("REPLACE_BY_FEE?");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
|
strList.append(QString("%1[%2]").arg("UNKNOWN").arg(check));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue