gethashespersec removed in bitcoind v0.11

This commit is contained in:
Sean Lavine 2015-10-18 20:42:19 -07:00
parent 990d5c472a
commit 16f07d9a7a
2 changed files with 0 additions and 14 deletions

View File

@ -26,8 +26,6 @@ module.exports = {
getConnectionCount: 'getconnectioncount',
getDifficulty: 'getdifficulty',
getGenerate: 'getgenerate',
getHashesPerSecond: 'gethashespersec',
getHashesPerSec: 'gethashespersec',
getInfo: 'getinfo',
getMempoolInfo: 'getmempoolinfo', // bitcoind v0.10+
getMiningInfo: 'getmininginfo',

View File

@ -110,18 +110,6 @@ describe('Client', function() {
});
});
describe('getHashesPerSec()', function() {
it('should get hashes per second', function(done) {
var client = makeClient();
client.getHashesPerSec(function(err, data) {
assert.ifError(err);
notEmpty(data);
assert.ok(typeof data === 'number');
done();
});
});
});
describe('help()', function() {
it('should return help', function(done) {
var client = makeClient();