Bitcore-node.json disableRateLimiter !Solved it!


(JS) #1

Hi, i want to disable the ratelimiter/ or whitelist the host, for my node, but i have no clue how my bitcore-node.json file should look, always when i change something the node don’t starts!

I want to put that inside:

“servicesConfig”: {
“insight-api”: {
“disableRateLimiter”: true
}
}

My untouched bitcore-node.json file looks like:

{
“network”: “testnet”,
“port”: 3001,
“services”: [
“bitcoind”,
“web”,
“insight-api”,
“insight-ui”
],
“servicesConfig”: {
“bitcoind”: {
“spawn”: {
“datadir”: “/home/user/.bitcore/data”,
“exec”: “/home/user/.nvm/versions/node/v6.3.1/lib/node_modules/bitcore/node_modules/bitcore-node/bin/bitcoind”
}
}
}
}


(JS) #2

Alright,

SOLVED it myself


#3

were did you put it?
tried a few places but didn’t work


(JS) #4

Wait a moment, will copy paste it.


(JS) #5
{

“network”: “livenet”,
“port”: 3001,
“services”: [
“bitcoind”,
“web”,
“insight-api”,
“insight-ui”
],
“servicesConfig”: {
“insight-api”: {
“disableRatelimiter”: “true”
},
“bitcoind”: {
“spawn”: {
“datadir”:


(JS) #6

Hope it will help you!


#7

thanks one issue solved I hope