mempool: update mem usage.
This commit is contained in:
parent
db10df4ccb
commit
5dbb896aea
@ -1717,7 +1717,7 @@ Mempool.prototype.memUsage = function memUsage(tx) {
|
||||
var mem = 0;
|
||||
var i, j, input, output, coin, op;
|
||||
|
||||
mem += 264; // tx (note: probably more now due to hhash pointer)
|
||||
mem += 272; // tx
|
||||
mem += 80; // _hash
|
||||
mem += 88; // _hhash
|
||||
mem += 80; // _raw
|
||||
@ -1785,7 +1785,7 @@ Mempool.prototype.memUsage = function memUsage(tx) {
|
||||
}
|
||||
}
|
||||
|
||||
mem += 176; // mempool entry
|
||||
mem += 152; // mempool entry
|
||||
|
||||
return mem;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user