Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: p2pbucks on December 29, 2014, 11:03:57 AM



Title: bitcoind spam
Post by: p2pbucks on December 29, 2014, 11:03:57 AM
hey guys,

If someone maliciously sends tons of  json-rpc command thru a website interface . (eg , bitcoind->getinfo() or bitcoind->getnewaddress() ..etc)
Does the backend bitcoind exit automatically ?
how many json-rpc commands one bitcoind(core) server could handle ? I wanna know the capacity .

Thanks  : )


Title: Re: bitcoind spam
Post by: mstfck on December 29, 2014, 11:44:30 AM
No, it doesn't.
If you are integrating bitcoind calls into your service it should only be accessible by localhost/127.0.0.1 so only the site can make rpc calls. If you are worried that someone will be making alot of requests, you can make a custom spam blocker server side.

EDIT: Not sure if it crashes if enough requests is made though, I believe it depends on the machine it runs on.