From 03d9663caa7f21fdd37dec755c5c369f2c615bb3 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Wed, 10 Mar 2021 22:58:18 +0200 Subject: [PATCH] Replace behavior bitfield by ref --- docs/protocol.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/protocol.rst b/docs/protocol.rst index c4873af3..06e10766 100644 --- a/docs/protocol.rst +++ b/docs/protocol.rst @@ -335,6 +335,8 @@ Further values for the message encodings can be decided upon by the community. Any MIME or MIME-like encoding format, should they be used, should make use of Bitmessage's 8-bit bytes. +.. _behavior-bitfield: + Pubkey bitfield features """""""""""""""""""""""" @@ -631,7 +633,7 @@ A version 2 pubkey. This is still in use and supported by current clients but - Data type - Comments * - 4 - - behavior bitfield + - |behavior_bitfield| - uint32_t - A bitfield of optional behaviors and features that can be expected from the node receiving the message. @@ -655,7 +657,7 @@ A version 2 pubkey. This is still in use and supported by current clients but - Data type - Comments * - 4 - - behavior bitfield + - |behavior_bitfield| - uint32_t - A bitfield of optional behaviors and features that can be expected from the node receiving the message. @@ -750,7 +752,7 @@ python code below: - Data type - Comments * - 4 - - behavior bitfield + - |behavior_bitfield| - uint32_t - A bitfield of optional behaviors and features that can be expected from the node receiving the message. @@ -877,7 +879,7 @@ Unencrypted data format: - var_int - The sender's stream number * - 4 - - behavior bitfield + - |behavior_bitfield| - uint32_t - A bitfield of optional behaviors and features that can be expected from the owner of this pubkey. @@ -934,3 +936,5 @@ Unencrypted data format: version down through the message. In protocol v3, it covers the unencrypted object header starting with the time, all appended with the decrypted data. + +.. |behavior_bitfield| replace:: :ref:`behavior bitfield `