Updated fee service and cleaned console log from header service
This commit is contained in:
parent
594452e7ba
commit
f7da83693e
@ -10,7 +10,7 @@ var FeeService = function(options) {
|
||||
pass: 'local321',
|
||||
host: 'localhost',
|
||||
protocol: 'http',
|
||||
port: this._getDefaultPort()
|
||||
port: 8333
|
||||
};
|
||||
BaseService.call(this, options);
|
||||
|
||||
@ -34,8 +34,7 @@ FeeService.prototype.stop = function(callback) {
|
||||
|
||||
FeeService.prototype.getAPIMethods = function() {
|
||||
return [
|
||||
['estimateFee', this, this.estimateFee, 1],
|
||||
['syncPercentage', this, this.syncPercentage, 0]
|
||||
['estimateFee', this, this.estimateFee, 1]
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@ -34,8 +34,6 @@ HeaderService.STARTING_CHAINWORK = '00000000000000000000000000000000000000000000
|
||||
|
||||
// --- public prototype functions
|
||||
HeaderService.prototype.subscribe = function(name, emitter) {
|
||||
|
||||
console.log(this.subscriptions, name);
|
||||
this.subscriptions[name].push(emitter);
|
||||
log.info(emitter.remoteAddress, 'subscribe:', 'header/' + name, 'total:', this.subscriptions[name].length);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user