From 54a502daf9b56ca37a1274a1898340785abe7291 Mon Sep 17 00:00:00 2001 From: Cofson Date: Tue, 23 Dec 2025 10:11:55 +0100 Subject: [PATCH] Fix parameter naming to match code constants Change Max_Payload_Length to MAX_PAYLOAD_LENGTH to match the Python code constants. Add link to Payload Formatting Specification. --- nomos/raw/nomos-message-formatting.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nomos/raw/nomos-message-formatting.md b/nomos/raw/nomos-message-formatting.md index 90aaaa0..1b55c5f 100644 --- a/nomos/raw/nomos-message-formatting.md +++ b/nomos/raw/nomos-message-formatting.md @@ -155,12 +155,12 @@ the [Message Encapsulation Mechanism][message-encapsulation]. #### Maximum Payload Length -The Max_Payload_Length parameter defines the maximum length of the payload, -which for version 1 of the Blend Protocol is fixed as Max_Payload_Length=34003. -That is, 34kB for the payload body (Max_Body_Length) +The `MAX_PAYLOAD_LENGTH` parameter defines the maximum length of the payload, +which for version 1 of the Blend Protocol is fixed as `MAX_PAYLOAD_LENGTH=34003`. +That is, 34kB for the payload body (`MAX_BODY_LENGTH`) and 3 bytes for the payload header. More information about payload formatting can be found in -Payload Formatting Specification. +[Payload Formatting Specification][payload-formatting]. ```python MAX_PAYLOAD_LENGTH = 34003