gethashespersec removed in bitcoind v0.11
This commit is contained in:
parent
990d5c472a
commit
16f07d9a7a
@ -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',
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user