diff --git a/app.js b/app.js index ed842e5e6..ed0e5426a 100644 --- a/app.js +++ b/app.js @@ -16,7 +16,7 @@ var app = express(); // bitcoinapi bitcoinapi.setWalletDetails(settings.wallet); if (settings.heavy != true) { - bitcoinapi.setAccess('only', ['getinfo', 'getstakinginfo', 'getnetworkhashps', 'getmininginfo','getdifficulty', 'getconnectioncount', + bitcoinapi.setAccess('only', ['getinfo', 'getnetworkhashps', 'getmininginfo','getdifficulty', 'getconnectioncount', 'getblockcount', 'getblockhash', 'getblock', 'getrawtransaction']); } else { // enable additional heavy api calls @@ -31,7 +31,7 @@ if (settings.heavy != true) { getsupply - Returns the current money supply. getmaxmoney - Returns the maximum possible money supply. */ - bitcoinapi.setAccess('only', ['getinfo', 'getnetworkhashps', 'getdifficulty', 'getconnectioncount', + bitcoinapi.setAccess('only', ['getinfo', 'getstakinginfo', 'getnetworkhashps', 'getdifficulty', 'getconnectioncount', 'getblockcount', 'getblockhash', 'getblock', 'getrawtransaction','getmaxmoney', 'getvote', 'getmaxvote', 'getphase', 'getreward', 'getnextrewardestimate', 'getnextrewardwhenstr', 'getnextrewardwhensec', 'getsupply']);