Skip to content

Commit

Permalink
add new methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Sep 11, 2015
1 parent 8f63ef9 commit 005f316
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
20 changes: 10 additions & 10 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "bitcoind-rpc-client",
"version": "0.1.2",
"version": "0.2.0",
"description": "Bitcoind RPC client",
"keywords": [
"bitcoin",
Expand Down Expand Up @@ -30,25 +30,25 @@
"prepublish": "npm run clean && npm run compile",
"clean": "rm -f lib/*",
"compile": "mkdir -p lib && babel src -d lib --optional runtime -s true",
"compile:watch": "mkdir -p lib && babel src -d lib --optional runtime -s true -w",
"coverage": "istanbul cover _mocha -- --compilers js:babel/register test/*.js",
"coveralls": "npm run coverage && coveralls <coverage/lcov.info",
"lint": "eslint src test",
"test": "istanbul test mocha -- --compilers js:babel/register --reporter spec test/*.js",
"watch:src": "mkdir -p lib && babel src -d lib --optional runtime -s true -w"
"test": "istanbul test mocha -- --compilers js:babel/register --reporter spec test/*.js"
},
"dependencies": {
"babel-runtime": "^5.8.20",
"promise-useful-utils": "^0.2.0"
},
"devDependencies": {
"babel": "^5.8.21",
"babel-eslint": "^4.0.10",
"babel": "^5.8.23",
"babel-eslint": "^4.1.1",
"chai": "^3.2.0",
"coveralls": "^2.11.4",
"eslint": "^1.2.0",
"eslint-config-standard": "^4.1.0",
"eslint-plugin-standard": "^1.2.0",
"istanbul": "^0.3.18",
"mocha": "^2.2.5"
"eslint": "^1.4.0",
"eslint-config-standard": "^4.3.2",
"eslint-plugin-standard": "^1.3.0",
"istanbul": "^0.3.19",
"mocha": "^2.3.2"
}
}
7 changes: 7 additions & 0 deletions src/methods.js
Expand Up @@ -5,6 +5,7 @@ let methods = [
'getBlockchainInfo',
'getBlockCount',
'getBlockHash',
'getBlockHeader',
'getChainTips',
'getDifficulty',
'getMemPoolInfo',
Expand Down Expand Up @@ -34,17 +35,22 @@ let methods = [

// == Network ==
'addNode',
'clearBanned',
'disconnectNode',
'getAddedNodeInfo',
'getConnectionCount',
'getNetTotals',
'getNetworkInfo',
'getPeerInfo',
'listBanned',
'ping',
'setban',

// == Rawtransactions ==
'createRawTransaction',
'decodeRawTransaction',
'decodeScript',
'fundRawTransaction',
'getRawTransaction',
'sendRawTransaction',
'signRawTransaction',
Expand Down Expand Up @@ -75,6 +81,7 @@ let methods = [
'getWalletInfo',
'importAddress',
'importPrivKey',
'importPubKey',
'importWallet',
'keyPoolRefill',
'listAccounts',
Expand Down

0 comments on commit 005f316

Please sign in to comment.