use leveldown staging.
This commit is contained in:
parent
7c725c40aa
commit
9a0af8a591
@ -1254,8 +1254,6 @@ ChainDB.prototype._getTX = function _getTX(hash, callback) {
|
|||||||
// For BIP30
|
// For BIP30
|
||||||
// https://bitcointalk.org/index.php?topic=67738.0
|
// https://bitcointalk.org/index.php?topic=67738.0
|
||||||
ChainDB.prototype.isUnspentTX = function isUnspentTX(hash, callback) {
|
ChainDB.prototype.isUnspentTX = function isUnspentTX(hash, callback) {
|
||||||
return callback(null, false);
|
|
||||||
|
|
||||||
if (this.options.spv)
|
if (this.options.spv)
|
||||||
return callback(null, false);
|
return callback(null, false);
|
||||||
|
|
||||||
|
|||||||
@ -110,7 +110,6 @@ Fullnode.prototype._init = function _init() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.on('tx', function(tx) {
|
this.on('tx', function(tx) {
|
||||||
return;
|
|
||||||
self.walletdb.addTX(tx, function(err) {
|
self.walletdb.addTX(tx, function(err) {
|
||||||
if (err)
|
if (err)
|
||||||
self.emit('error', err);
|
self.emit('error', err);
|
||||||
|
|||||||
@ -30,7 +30,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bn.js": "4.11.0",
|
"bn.js": "4.11.0",
|
||||||
"elliptic": "6.2.3",
|
"elliptic": "6.2.3",
|
||||||
"leveldown": "git://github.com/Level/leveldown.git#master"
|
"leveldown": "git://github.com/chjj/leveldown.git#staging"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"secp256k1": "3.0.0",
|
"secp256k1": "3.0.0",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user