use txindex by default.
This commit is contained in:
parent
eeec6573ae
commit
7e5c6a7dac
|
@ -192,6 +192,10 @@ Bitcoin.prototype.start = function(options, callback) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (options.txindex !== false) {
|
||||||
|
options.txindex = true;
|
||||||
|
}
|
||||||
|
|
||||||
bitcoindjs.start(options, function(err, status) {
|
bitcoindjs.start(options, function(err, status) {
|
||||||
self._started = true;
|
self._started = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue