Skip to content

Commit

Permalink
Adding rpc queue options
Browse files Browse the repository at this point in the history
  • Loading branch information
karelbilek authored and Bushstar committed Jun 5, 2018
1 parent bf29948 commit 9a1fb7d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/services/bitcoind.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,8 @@ Bitcoin.prototype._spawnChildProcess = function(callback) {
host: '127.0.0.1',
port: self.spawn.config.rpcport || 9337,
user: self.spawn.config.rpcuser,
pass: self.spawn.config.rpcpassword
pass: self.spawn.config.rpcpassword,
queue: self.spawn.config.rpcqueue
});

self._loadTipFromNode(node, done);
Expand Down Expand Up @@ -939,7 +940,8 @@ Bitcoin.prototype._connectProcess = function(config, callback) {
port: config.rpcport,
user: config.rpcuser,
pass: config.rpcpassword,
rejectUnauthorized: _.isUndefined(config.rpcstrict) ? true : config.rpcstrict
rejectUnauthorized: _.isUndefined(config.rpcstrict) ? true : config.rpcstrict,
queue: config.rpcqueue
});

self._loadTipFromNode(node, done);
Expand Down

0 comments on commit 9a1fb7d

Please sign in to comment.