Skip to content

Commit

Permalink
fix protobuf doc typography issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakary Jia committed Dec 16, 2019
2 parents 13ac118 + 1d0305d commit 316791f
Showing 1 changed file with 19 additions and 27 deletions.
46 changes: 19 additions & 27 deletions Tron protobuf protocol document.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ message Account {
int64 expire_time = 2;
}
bytes account_name = 1;
AccountType type = 2;
AccountType type = 2;
bytes address = 3;
int64 balance = 4;
repeated Vote votes = 5;
Expand Down Expand Up @@ -703,15 +703,14 @@ Transaction and transaction-related messages.

`data`: unsubscribed topics for contract.

```java
message Log {
bytes address = 1;
repeated bytes topics = 2;
bytes data = 3;
}
```
```java
message Log {
bytes address = 1;
repeated bytes topics = 2;
bytes data = 3;
}
```


`id`: transaction id.

`fee`: transaction fee.
Expand Down Expand Up @@ -782,17 +781,16 @@ Transaction and transaction-related messages.
int64 exchange_id = 21;
int64 shielded_transaction_fee = 22;
}
```

- message `Transactions`

`transaction`: list of transactions.
```
- message `Transactions`

```java
message Transactions {
repeated Transaction transactions = 1;
}
```
`transaction`: list of transactions.

```java
message Transactions {
repeated Transaction transactions = 1;
}
```

- message `Authority` (deprecated)

Expand All @@ -803,7 +801,7 @@ Transaction and transaction-related messages.
```java
message authority {
AccountId account = 1;
bytes permission_name = 2;
bytes permission_name = 2;
}
```

Expand All @@ -817,12 +815,6 @@ Transaction and transaction-related messages.
}
```

-







### <span id="contract"> 5.Contract</span>
Expand Down Expand Up @@ -2389,7 +2381,7 @@ message `SmartContract` has mutiple attributes and nested message `ABI`
int64 maxSize = 4;
double useRate = 5;
}

s
message DeadLockThreadInfo {
string name = 1;
string lockName = 2;
Expand Down

0 comments on commit 316791f

Please sign in to comment.