aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorAmiti Uttarwar <[email protected]>2019-02-13 19:22:40 -0800
committerAmiti Uttarwar <[email protected]>2019-02-17 21:42:08 -0800
commit8e4b4f683a0b342cec24cd51b1e98433034ea2ea (patch)
tree918975cc59f7a57016ce61d6343c21c5168a0f59 /doc/REST-interface.md
parentMerge #15431: msvc: scripted-diff: Remove NDEBUG pre-define in project file (diff)
downloaddiscoin-8e4b4f683a0b342cec24cd51b1e98433034ea2ea.tar.xz
discoin-8e4b4f683a0b342cec24cd51b1e98433034ea2ea.zip
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 d21df3613..02a665008 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>`