You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment Cell.representation() is implemented similarly to tonweb, however it is not clear what this implementation is based on.
According to the almighty tblkch.pdf, 1.1.3, CellRepr consists of following:
Two descriptor bytes
Data bytes, with optional padding when length of the cell is not divisible by 8
References to other cells, where each reference is the Sha256 hash of that referenced cell
However, tonweb and ton-kotlin at the moment also add reference cells' maxDepth encoded as 16-bit integer between 2. and 3.; it might be somehow connected to 5.3.6 but I am not quite sure.
To clear things up, it is necessary to either try and find better description in tblkch.pdf or a piece of code that implements this behaviour in the main TON repository.
This discussion was converted from issue #14 on October 06, 2025 05:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
At the moment
Cell.representation()
is implemented similarly to tonweb, however it is not clear what this implementation is based on.According to the almighty tblkch.pdf, 1.1.3,
CellRepr
consists of following:However, tonweb and ton-kotlin at the moment also add reference cells'
maxDepth
encoded as 16-bit integer between 2. and 3.; it might be somehow connected to 5.3.6 but I am not quite sure.To clear things up, it is necessary to either try and find better description in tblkch.pdf or a piece of code that implements this behaviour in the main TON repository.
Beta Was this translation helpful? Give feedback.
All reactions