use leveldown staging.

This commit is contained in:
Christopher Jeffrey 2016-04-08 14:55:54 -07:00
parent 7c725c40aa
commit 9a0af8a591
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 1 additions and 4 deletions

View File

@ -1254,8 +1254,6 @@ ChainDB.prototype._getTX = function _getTX(hash, callback) {
// For BIP30
// https://bitcointalk.org/index.php?topic=67738.0
ChainDB.prototype.isUnspentTX = function isUnspentTX(hash, callback) {
return callback(null, false);
if (this.options.spv)
return callback(null, false);

View File

@ -110,7 +110,6 @@ Fullnode.prototype._init = function _init() {
});
this.on('tx', function(tx) {
return;
self.walletdb.addTX(tx, function(err) {
if (err)
self.emit('error', err);

View File

@ -30,7 +30,7 @@
"dependencies": {
"bn.js": "4.11.0",
"elliptic": "6.2.3",
"leveldown": "git://github.com/Level/leveldown.git#master"
"leveldown": "git://github.com/chjj/leveldown.git#staging"
},
"optionalDependencies": {
"secp256k1": "3.0.0",