Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Booth committed May 27, 2020
1 parent bf8d3bc commit 4553407
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/protocol-ideas.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ Subscribe to a script hash.
are sent with :func:`mempool.changes` notifications. When confirmed
history changes, a notification with signature

.. function:: blockchain_.scripthash.subscribe(scripthash, tx_hash)
.. function:: blockchain.scripthash.subscribe(scripthash, tx_hash)
:noindex:

is sent, where *tx_hash* is the hash of the last confirmed
transaction in blockchain order.
Expand Down
2 changes: 2 additions & 0 deletions docs/protocol-methods.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ Subscribe to receive block headers when a new block is found.
when a new block is found. The notification's signature is:

.. function:: blockchain.headers.subscribe(header)
:noindex:

* *header*

Expand Down Expand Up @@ -474,6 +475,7 @@ Subscribe to a script hash.
hash changes. Its signature is

.. function:: blockchain.scripthash.subscribe(scripthash, status)
:noindex:

blockchain.scripthash.unsubscribe
=================================
Expand Down
2 changes: 2 additions & 0 deletions docs/protocol-removed.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Subscribe to a bitcoin address.
signature is

.. function:: blockchain.address.subscribe(address, status)
:noindex:

blockchain.headers.subscribe
============================
Expand Down Expand Up @@ -231,6 +232,7 @@ Subscribe to receive the block height when a new block is found.
when a new block is found. The notification's signature is:

.. function:: blockchain.numblocks.subscribe(height)
:noindex:

blockchain.utxo.get_address
===========================
Expand Down

0 comments on commit 4553407

Please sign in to comment.