- Removed config option for build scripts, replaced with env variable - Updated README - Added regtest option under test build, wallet built-in - added network key to bindings - datadir for the bitcoind object instead of directory - added new config_options scripts for test and debug
16 lines
304 B
JavaScript
16 lines
304 B
JavaScript
'use strict';
|
|
|
|
process.title = 'bitcoind.js';
|
|
|
|
var daemon = require('../').daemon({
|
|
directory: process.env.BITCOINDJS_DIR || '~/.bitcoin'
|
|
});
|
|
|
|
daemon.on('error', function(err) {
|
|
daemon.log('error="%s"', err.message);
|
|
});
|
|
|
|
daemon.on('open', function(status) {
|
|
daemon.log('status="%s"', status);
|
|
});
|