From 7d7798cce41e7ea0fca9b6a4ffc2055089c69bf4 Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Wed, 5 Apr 2023 09:25:22 -0700 Subject: [PATCH 1/2] correct magic bytes values in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 711f8a4..cf1124d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Note that we have only tested it on [AWS CloudHSM](https://aws.amazon.com/cloudh Please note that this software does not provide any authentication or authorization. You will need to take care of that yourself. It simply returns the signature for valid payloads, after performing some checks: * Is the message a valid payload? -* Does the message begin with a 0x01 or 0x02? Indicating it is a baking or endorsement, rather than a 0x03 transfer. +* Does the message begin with a 0x11, 0x12 or 0x13? Indicating it is a baking or endorsement, rather than a 0x03 transfer. * Is the message within a certain threshold of the head of the chain? Ensures you are signing valid blocks. * For baking signatures, is the block height of the payload greater than the current block height? This prevents double baking. From 96e4e005256ae7d6422786ca9f7e7541801d9a6e Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Fri, 14 Apr 2023 13:29:48 -0700 Subject: [PATCH 2/2] Update README.md Co-authored-by: Aryeh Harris --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf1124d..0fc41b3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Note that we have only tested it on [AWS CloudHSM](https://aws.amazon.com/cloudh Please note that this software does not provide any authentication or authorization. You will need to take care of that yourself. It simply returns the signature for valid payloads, after performing some checks: * Is the message a valid payload? -* Does the message begin with a 0x11, 0x12 or 0x13? Indicating it is a baking or endorsement, rather than a 0x03 transfer. +* Does the message begin with a 0x11, 0x12 or 0x13? Indicating it is a baking, preendorsement, or endorsement, rather than a 0x03 transfer. * Is the message within a certain threshold of the head of the chain? Ensures you are signing valid blocks. * For baking signatures, is the block height of the payload greater than the current block height? This prevents double baking.