fcoin/lib/workers/worker.js
Christopher Jeffrey 7530359b55
workers: minor.
2017-07-17 14:26:43 -07:00

18 lines
410 B
JavaScript

/*!
* worker.js - worker thread/process for bcoin
* Copyright (c) 2014-2015, Fedor Indutny (MIT License)
* Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).
* https://github.com/bcoin-org/bcoin
*/
'use strict';
const Master = require('./master');
const util = require('../utils/util');
const server = new Master();
util.log = server.log.bind(server);
util.error = util.log;
server.listen();