Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add detail to TON Proof message serialization #67

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions requests-responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ where:
* `workchain`: 32-bit signed integer big endian;
* `hash`: 256-bit unsigned integer big endian;
* `AppDomain` is Length ++ EncodedDomainName
- `Length` is 32-bit value of utf-8 encoded app domain name length in bytes
- `Length` is 32-bit unsigned integer little endian, value of utf-8 encoded app domain name length in bytes
- `EncodedDomainName` id `Length`-byte utf-8 encoded app domain name
* `Timestamp` 64-bit unix epoch time of the signing operation
* `Timestamp` 64-bit unsigned integer little endian unix epoch time of the signing operation
* `Payload` is a variable-length binary string.

Note: payload is variable-length untrusted data. To avoid using unnecessary length prefixes we simply put it last in the message.
Expand Down