rpc: mempool.
This commit is contained in:
parent
af585e2bbd
commit
31d2f36c42
@ -1116,10 +1116,10 @@ RPC.prototype.mempoolToJSON = function mempoolToJSON(verbose, callback) {
|
|||||||
height: entry.height,
|
height: entry.height,
|
||||||
startingpriority: entry.priority,
|
startingpriority: entry.priority,
|
||||||
currentpriority: entry.getPriority(self.chain.height),
|
currentpriority: entry.getPriority(self.chain.height),
|
||||||
descendantcount: 0,
|
descendantcount: self.mempool.countDescendants(tx),
|
||||||
descendantsize: entry.size,
|
descendantsize: entry.size,
|
||||||
descendantfees: entry.fees,
|
descendantfees: entry.fees,
|
||||||
depends: []
|
depends: self.mempool.getDepends(tx)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user