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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: