mempool: update mem usage.

This commit is contained in:
Christopher Jeffrey 2016-11-25 21:23:17 -08:00
parent db10df4ccb
commit 5dbb896aea
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;
};