Dev Docs: REST: Add Security Note & Reindex Note

Added both notes to both JSON-RPC and REST docs.

Suggested by Jonas Schnelli (thanks!)
This commit is contained in:
David A. Harding 2015-01-26 14:41:05 -05:00
parent 5f532c59da
commit 73eb097dd4
No known key found for this signature in database
GPG key ID: 4B29C30FF29EC4B7
5 changed files with 12 additions and 0 deletions

View file

@ -16,6 +16,9 @@ port 18332 for testnet. It must be enabled by either starting Bitcoin
Core with the `-rest` option or by specifying `rest=1` in the
configuration file.
The interface is not intended for public access and is only accessible
from localhost by default.
{{WARNING}} A web browser can access a HTTP REST interface running on
localhost, possibly allowing third parties to use cross-site scripting
attacks to download your transaction and block data, reducing your

View file

@ -13,6 +13,8 @@ http://opensource.org/licenses/MIT.
The `GET tx` operation {{summary_restTx}}
{{reindexNote}}
*Request*
{% highlight text %}