aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-04-21 20:32:37 +0200
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-04-21 20:33:02 +0200
commit6b4feb89a81a6f166f13ecf480d18ccea5ff462e (patch)
tree30ec3a5b9f51c9161864159dae87eec5587e6c09 /doc/REST-interface.md
parent97ee8665497c78aff2f30c2f652b7afd376b5323 (diff)
downloadbitcoin-6b4feb89a81a6f166f13ecf480d18ccea5ff462e.tar.xz
[QA] rest.py RPC test: change setgenerate() to generate()
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index f14aed7287..830445af73 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -34,6 +34,13 @@ Only supports JSON as output format.
* verificationprogress : (numeric) estimate of verification progress [0..1]
* chainwork : (string) total amount of work in active chain, in hexadecimal
+`GET /rest/getutxos`
+
+The getutxo command allows querying of the UTXO set given a set of of outpoints.
+See BIP64 for input and output serialisation:
+https://github.com/bitcoin/bips/blob/master/bip-0064.mediawiki
+
+
Risks
-------------
Running a webbrowser on the same node with a REST enabled bitcoind can be a risk. Accessing prepared XSS websites could read out tx/block data of your node by placing links like `<script src="http://127.0.0.1:8332/rest/tx/1234567890.json">` which might break the nodes privacy.