From 7e5c6a7dacc5ceb61d70d7d0b1814b7fc7ba9e5b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 8 Dec 2014 13:50:21 -0800 Subject: [PATCH] use txindex by default. --- lib/bitcoind.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/bitcoind.js b/lib/bitcoind.js index 483b9a3f..aeb81e93 100644 --- a/lib/bitcoind.js +++ b/lib/bitcoind.js @@ -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;