cache, serve & display more comprehensive RBF info

This commit is contained in:
Mononaut committed 2023-01-17 16:09:16 -06:00
1 parent 48382c9dc7
commit cc628aa443
9 files changed
+159 -18

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ class WebsocketHandler {
client['track-tx'] = parsedMessage['track-tx'];
// Client is telling the transaction wasn't found
if (parsedMessage['watch-mempool']) {
const rbfCacheTx = rbfCache.get(client['track-tx']);
const rbfCacheTx = rbfCache.getReplacedBy(client['track-tx']);
if (rbfCacheTx) {
response['txReplaced'] = {
txid: rbfCacheTx.txid,