Skip to content

Commit

Permalink
docs(protobuf): change transaction data structure description (#5602)
Browse files Browse the repository at this point in the history
Co-authored-by: liukai <kayle.liu@tron.network>
  • Loading branch information
forfreeday and liukai authored Dec 8, 2023
1 parent a66316c commit 3f3ffe9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Tron protobuf protocol document.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,11 @@ Transaction and transaction-related messages.

message `raw`

`ref_block_bytes`: Deprecated.
`ref_block_bytes`: intercepted part of the now block bytes in transaction head.

`ref_block_num`: now block number in transaction head.
`ref_block_num`: Deprecated.

`ref_block_hash`: now block hash in transaction head.
`ref_block_hash`:intercepted part of the now block hash in transaction head..

`expiration`: the expiration time in transaction head.

Expand All @@ -565,15 +565,15 @@ Transaction and transaction-related messages.
```java
message raw {
bytes ref_block_bytes = 1;
int64 ref_block_num = 3;
int64 ref_block_num = 3;
bytes ref_block_hash = 4;
int64 expiration = 8;
int64 expiration = 8;
repeated authority auths = 9;
bytes data = 10;
bytes data = 10;
repeated Contract contract = 11;
bytes scripts = 12;
bytes scripts = 12;
int64 timestamp = 14;
int64 fee_limit = 18;
int64 fee_limit = 18;
}
```

Expand Down

0 comments on commit 3f3ffe9

Please sign in to comment.