cache, serve & display more comprehensive RBF info
This commit is contained in:
1 parent
48382c9dc7
commit
cc628aa443
9 files changed
+159
-18
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user