Skip to content
Open
Show file tree
Hide file tree
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
12 changes: 6 additions & 6 deletions Chinese version of TRON Protocol document.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
bytes vote_address = 1;

int64 vote_count = 2;

}

bytes accout_name = 1;

bytes account_name = 1;

AccountType type = 2;

bytes address = 3;

int64 balance = 4;

Expand Down Expand Up @@ -253,7 +253,7 @@

message Result {
enum code {
SUCESS = 0;
SUCCESS = 0;
FAILED = 1;
}
int64 fee = 1;
Expand Down Expand Up @@ -285,7 +285,7 @@
`TransactionType`包括`UtxoType`和`ContractType`。

message Transaction {

enum TranscationType {

enum TransactionType {

UtxoType = 0;

ContractType = 1;

}

Expand All @@ -304,7 +304,7 @@
google.protobuf.Any parameter = 2;

}

message raw {

TranscationType type = 2;

TransactionType type = 2;

repeated TXInput vin = 5;

repeated TXOutput vout = 7;

int64 expiration = 8;

Expand Down Expand Up @@ -443,7 +443,7 @@
`DUPLICATE_PEER`
`INCOMPATIBLE_PROTOCOL`
`RANDOM_ELIMINATION`
`PEER_QUITING`
`PEER_QUITTING`
`UNEXPECTED_IDENTITY`
`LOCAL_IDENTITY`
`PING_TIMEOU`
Expand All @@ -460,7 +460,7 @@
DUPLICATE_PEER = 5;
INCOMPATIBLE_PROTOCOL = 6;
RANDOM_ELIMINATION = 7;
PEER_QUITING = 8;
PEER_QUITTING = 8;
UNEXPECTED_IDENTITY = 9;
LOCAL_IDENTITY = 10;
PING_TIMEOUT = 11;
Expand Down
20 changes: 10 additions & 10 deletions English version of TRON Protocol document.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
message Vote {

bytes vote_address = 1;

int64 vote_count = 2;
 }

bytes accout_name = 1;

bytes account_name = 1;

AccountType type = 2;

bytes address = 3;

int64 balance = 4;

Expand Down Expand Up @@ -80,7 +80,7 @@
`parentHash`: the hash of last block – e.g. “_7dacsa…3ed_.”
`number`: the height of this block – e.g. _13534657_.
`witness_id`: the id of witness which packed this block – e.g. “_0xu82h…7237_”.
`witness_address`: the adresss of the witness packed this block – e.g. “_0xu82h…7237_”.
`witness_address`: the address of the witness packed this block – e.g. “_0xu82h…7237_”.

message BlockHeader {

message raw {

Expand Down Expand Up @@ -127,7 +127,7 @@
bytes owner_address = 3;

}

A `AccountUpdateContract` contains 2 paremeters:
A `AccountUpdateContract` contains 2 parameters:
`account_name`: the name for this account – e.g.”_Billsaccount_”.
`owner_address`: the address of contract owner – e.g. “_0xu82h…7237_”.

Expand Down Expand Up @@ -278,7 +278,7 @@ Input, transaction and head block all require signature.
`TransactionType` have two types: `UtxoType` and `ContractType`.

message Transaction {

enum TranscationType {

enum TransactionType {

UtxoType = 0;

ContractType = 1;

}

Expand All @@ -299,7 +299,7 @@ Input, transaction and head block all require signature.
google.protobuf.Any parameter = 2;

}

message raw {

TranscationType type = 2;

TransactionType type = 2;

repeated TXInput vin = 5;

repeated TXOutput vout = 7;

int64 expiration = 8;

Expand Down Expand Up @@ -355,7 +355,7 @@ Input, transaction and head block all require signature.

message Result {
enum code {
SUCESS = 0;
SUCCESS = 0;
FAILED = 1;
}
int64 fee = 1;
Expand Down Expand Up @@ -434,7 +434,7 @@ Input, transaction and head block all require signature.
`ids`: the identification of block.
`type`: what type of the block.

`ids` contains 2 paremeters:
`ids` contains 2 parameters:
`hash`: the hash of block.
`number`: the hash and height of block.

Expand All @@ -457,7 +457,7 @@ Input, transaction and head block all require signature.
`DUPLICATE_PEER`
`INCOMPATIBLE_PROTOCOL`
`RANDOM_ELIMINATION`
`PEER_QUITING`
`PEER_QUITTING`
`UNEXPECTED_IDENTITY`
`LOCAL_IDENTITY`
`PING_TIMEOUT`
Expand All @@ -474,7 +474,7 @@ Input, transaction and head block all require signature.
DUPLICATE_PEER = 5;
INCOMPATIBLE_PROTOCOL = 6;
RANDOM_ELIMINATION = 7;
PEER_QUITING = 8;
PEER_QUITTING = 8;
UNEXPECTED_IDENTITY = 9;
LOCAL_IDENTITY = 10;
PING_TIMEOUT = 11;
Expand Down Expand Up @@ -615,7 +615,7 @@ Input, transaction and head block all require signature.
}
};

`AccountList`: the list of acounts in the blockchain explorer.
`AccountList`: the list of accounts in the blockchain explorer.
message `AccountList` contains one parameter:
`account`:

Expand Down
Loading