disable -txindex.

This commit is contained in:
Christopher Jeffrey 2014-12-10 16:23:28 -08:00
parent 78aceaf12e
commit 0508bc54d8
2 changed files with 5 additions and 4 deletions

View File

@ -192,9 +192,10 @@ Bitcoin.prototype.start = function(options, callback) {
}
});
if (options.txindex !== false) {
options.txindex = true;
}
// XXX -txindex currently causes a segfault during blockchain download
// if (options.txindex !== false) {
// options.txindex = true;
// }
bitcoindjs.start(options, function(err, status) {
self._started = true;

View File

@ -192,7 +192,7 @@ using namespace v8;
// LevelDB options
#define USE_LDB_ADDR 0
#define USE_LDB_TX 1
#define USE_LDB_TX 0
static termios orig_termios;