diff --git a/docs/server/source/data-models/block-model.rst b/docs/server/source/data-models/block-model.rst index 36b7204e..0537bfd8 100644 --- a/docs/server/source/data-models/block-model.rst +++ b/docs/server/source/data-models/block-model.rst @@ -32,8 +32,8 @@ To compute it, 1) construct an :term:`associative array` ``d`` containing ``block.timestamp``, ``block.transactions``, ``block.node_pubkey``, ``block.voters``, and their values. 2) compute ``id = hash_of_aa(d)``. 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 +`_. The result (``id``) is a string: the block ID. An example is ``"b60adf655932bf47ef58c0bfb2dd276d4795b94346b36cbb477e10d7eb02cea8"`` @@ -56,8 +56,8 @@ A list of the :ref:`transactions ` included in the block. The public key of the node that created the block. It's a string. -See the `IPDB Protocol documentation page about cryptographic keys & signatures -`_. +See the `IPDB Transaction Spec page about cryptographic keys & signatures +`_. **block.voters** @@ -82,8 +82,8 @@ To compute that: where ``private_key`` 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 - on `the IPDB Protocol documentation page about cryptographic keys and signatures - `_. + on `the IPDB Transaction Spec page about cryptographic keys and signatures + `_. .. note:: diff --git a/docs/server/source/data-models/vote-model.rst b/docs/server/source/data-models/vote-model.rst index 45db9680..7f428f56 100644 --- a/docs/server/source/data-models/vote-model.rst +++ b/docs/server/source/data-models/vote-model.rst @@ -35,8 +35,8 @@ The JSON Keys in a Vote The public key of the node which cast this vote. It's a string. 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 +`_. **vote.voting_for_block** @@ -92,8 +92,8 @@ To compute that: #. 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). 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 + `_. The Vote Schema