Docs: Fixed 5 broken links to IPDB tx spec pages

(cherry picked from commit d9f147df6e2a8f11c4de20371954a718a299b832)
This commit is contained in:
Troy McConaghy 2017-12-06 11:23:45 +01:00
parent e201ba7305
commit d2296af3c8
2 changed files with 10 additions and 10 deletions

View File

@ -32,8 +32,8 @@ To compute it, 1) construct an :term:`associative array` ``d`` containing
``block.timestamp``, ``block.transactions``, ``block.node_pubkey``, ``block.timestamp``, ``block.transactions``, ``block.node_pubkey``,
``block.voters``, and their values. 2) compute ``id = hash_of_aa(d)``. ``block.voters``, and their values. 2) compute ``id = hash_of_aa(d)``.
There's pseudocode for the ``hash_of_aa()`` function There's pseudocode for the ``hash_of_aa()`` function
in the `IPDB Protocol documentation page about cryptographic hashes in the `IPDB Transaction Spec page about cryptographic hashes
<https://the-ipdb-protocol.readthedocs.io/en/latest/crypto-hashes.html#computing-the-hash-of-an-associative-array>`_. <https://the-ipdb-transaction-spec.readthedocs.io/en/latest/common-operations/crypto-hashes.html#computing-the-hash-of-an-associative-array>`_.
The result (``id``) is a string: the block ID. The result (``id``) is a string: the block ID.
An example is ``"b60adf655932bf47ef58c0bfb2dd276d4795b94346b36cbb477e10d7eb02cea8"`` An example is ``"b60adf655932bf47ef58c0bfb2dd276d4795b94346b36cbb477e10d7eb02cea8"``
@ -56,8 +56,8 @@ A list of the :ref:`transactions <The Transaction Model>` included in the block.
The public key of the node that created the block. The public key of the node that created the block.
It's a string. It's a string.
See the `IPDB Protocol documentation page about cryptographic keys & signatures See the `IPDB Transaction Spec page about cryptographic keys & signatures
<https://the-ipdb-protocol.readthedocs.io/en/latest/crypto-keys-and-sigs.html>`_. <https://the-ipdb-transaction-spec.readthedocs.io/en/latest/common-operations/crypto-keys-and-sigs.html>`_.
**block.voters** **block.voters**
@ -82,8 +82,8 @@ To compute that:
where ``private_key`` is the node's private key where ``private_key`` is the node's private key
(i.e. ``node_pubkey`` and ``private_key`` are a key pair). There's pseudocode (i.e. ``node_pubkey`` and ``private_key`` are a key pair). There's pseudocode
for the ``sig_of_aa()`` function for the ``sig_of_aa()`` function
on `the IPDB Protocol documentation page about cryptographic keys and signatures on `the IPDB Transaction Spec page about cryptographic keys and signatures
<https://the-ipdb-protocol.readthedocs.io/en/latest/crypto-keys-and-sigs.html#computing-the-signature-of-an-associative-array>`_. <https://the-ipdb-transaction-spec.readthedocs.io/en/latest/common-operations/crypto-keys-and-sigs.html#computing-the-signature-of-an-associative-array>`_.
.. note:: .. note::

View File

@ -35,8 +35,8 @@ The JSON Keys in a Vote
The public key of the node which cast this vote. The public key of the node which cast this vote.
It's a string. It's a string.
For more information about public keys, For more information about public keys,
see the `IPDB Protocol documentation page about cryptographic keys and signatures see the `IPDB Transaction Spec page about cryptographic keys and signatures
<https://the-ipdb-protocol.readthedocs.io/en/latest/crypto-keys-and-sigs.html>`_. <https://the-ipdb-transaction-spec.readthedocs.io/en/latest/common-operations/crypto-keys-and-sigs.html>`_.
**vote.voting_for_block** **vote.voting_for_block**
@ -92,8 +92,8 @@ To compute that:
#. Compute ``signature = sig_of_aa(d, private_key)``, where ``private_key`` #. Compute ``signature = sig_of_aa(d, private_key)``, where ``private_key``
is the node's private key (i.e. ``node_pubkey`` and ``private_key`` are a key pair). is the node's private key (i.e. ``node_pubkey`` and ``private_key`` are a key pair).
There's pseudocode for the ``sig_of_aa()`` function There's pseudocode for the ``sig_of_aa()`` function
on `the IPDB Protocol documentation page about cryptographic keys and signatures on `the IPDB Transaction Spec page about cryptographic keys and signatures
<https://the-ipdb-protocol.readthedocs.io/en/latest/crypto-keys-and-sigs.html#computing-the-signature-of-an-associative-array>`_. <https://the-ipdb-transaction-spec.readthedocs.io/en/latest/common-operations/crypto-keys-and-sigs.html#computing-the-signature-of-an-associative-array>`_.
The Vote Schema The Vote Schema