use txindex by default.

This commit is contained in:
Christopher Jeffrey 2014-12-08 13:50:21 -08:00
parent eeec6573ae
commit 7e5c6a7dac
1 changed files with 4 additions and 0 deletions

View File

@ -192,6 +192,10 @@ Bitcoin.prototype.start = function(options, callback) {
}
});
if (options.txindex !== false) {
options.txindex = true;
}
bitcoindjs.start(options, function(err, status) {
self._started = true;