Merge pull request #186 from cmgustavo/bug/01libSync
commented code for store tx with p2p
This commit is contained in:
commit
11020dbb40
@ -125,13 +125,15 @@ console.log('[Sync.js.109] WARN: Reach reog depth limit'); //TODO
|
|||||||
Sync.prototype.storeTxs = function(txs, cb) {
|
Sync.prototype.storeTxs = function(txs, cb) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
// TODO
|
// TODO -- Peertopeer
|
||||||
|
/*
|
||||||
self.txDb.createFromTxs(txs, function(err, inserted_txs, updated_addrs) {
|
self.txDb.createFromTxs(txs, function(err, inserted_txs, updated_addrs) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
self._handleBroadcast(null, inserted_txs, updated_addrs);
|
self._handleBroadcast(null, inserted_txs, updated_addrs);
|
||||||
return cb(err);
|
return cb(err);
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
return Sync;
|
return Sync;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user