aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2019-02-13 19:22:40 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2019-02-17 21:42:08 -0800
commit8e4b4f683a0b342cec24cd51b1e98433034ea2ea (patch)
tree918975cc59f7a57016ce61d6343c21c5168a0f59 /doc/REST-interface.md
parentb72c787dc8f77dfeeab3774e9d84f03a066ff32e (diff)
downloadbitcoin-8e4b4f683a0b342cec24cd51b1e98433034ea2ea.tar.xz
Address test todos by removing -txindex to nodes.
Originally added when updating getrawtransaction to stop searching unspent utxos.
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index d21df36130..02a665008b 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -20,7 +20,8 @@ Supported API
Given a transaction hash: returns a transaction in binary, hex-encoded binary, or JSON formats.
-For full TX query capability, one must enable the transaction index via "txindex=1" command line / configuration option.
+By default, this endpoint will only search the mempool.
+To query for a confirmed transaction, enable the transaction index via "txindex=1" command line / configuration option.
#### Blocks
`GET /rest/block/<BLOCK-HASH>.<bin|hex|json>`