Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
878bf8ca
Commit
878bf8ca
authored
Sep 03, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ff786dd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
304 additions
and
348 deletions
+304
-348
go/neo/proto.go
go/neo/proto.go
+10
-10
go/neo/zproto-marshal.go
go/neo/zproto-marshal.go
+294
-338
No files found.
go/neo/proto.go
View file @
878bf8ca
...
@@ -28,6 +28,7 @@ package neo
...
@@ -28,6 +28,7 @@ package neo
// If a structure is defined only to represent basic type that is included in
// If a structure is defined only to represent basic type that is included in
// several messages and does not itself denote a separate message, its
// several messages and does not itself denote a separate message, its
// definition is prefixed with `//neo:proto typeonly` comment.
// definition is prefixed with `//neo:proto typeonly` comment.
//
// XXX neo:proto answerto x? (btw just needs "answer" flag)
// XXX neo:proto answerto x? (btw just needs "answer" flag)
// TODO regroup messages definitions to stay more close to 1 communication topic
// TODO regroup messages definitions to stay more close to 1 communication topic
...
@@ -292,18 +293,8 @@ type Error struct {
...
@@ -292,18 +293,8 @@ type Error struct {
Message
string
Message
string
}
}
// Check if a peer is still alive. Any -> Any.
type
Ping
struct
{
// TODO _answer = PFEmpty
}
// Tell peer it can close the connection if it has finished with us. Any -> Any
type
CloseClient
struct
{
}
// Request a node identification. This must be the first message for any
// Request a node identification. This must be the first message for any
// connection. Any -> Any.
// connection. Any -> Any.
// XXX must go before ping
type
RequestIdentification
struct
{
type
RequestIdentification
struct
{
NodeType
NodeType
// XXX name
NodeType
NodeType
// XXX name
UUID
NodeUUID
UUID
NodeUUID
...
@@ -321,6 +312,15 @@ type AcceptIdentification struct {
...
@@ -321,6 +312,15 @@ type AcceptIdentification struct {
YourUUID
NodeUUID
YourUUID
NodeUUID
}
}
// Check if a peer is still alive. Any -> Any.
type
Ping
struct
{
// TODO _answer = PFEmpty
}
// Tell peer it can close the connection if it has finished with us. Any -> Any
type
CloseClient
struct
{
}
// Ask current primary master's uuid. CTL -> A.
// Ask current primary master's uuid. CTL -> A.
type
PrimaryMaster
struct
{
type
PrimaryMaster
struct
{
}
}
...
...
go/neo/zproto-marshal.go
View file @
878bf8ca
...
@@ -14,53 +14,10 @@ import (
...
@@ -14,53 +14,10 @@ import (
// messages marshalling
// messages marshalling
// 0. Address
// 0. Error
func
(
*
Address
)
neoMsgCode
()
uint16
{
return
0
}
func
(
p
*
Address
)
neoMsgEncodedLen
()
int
{
return
6
+
len
(
p
.
Host
)
}
func
(
p
*
Address
)
neoMsgEncode
(
data
[]
byte
)
{
{
l
:=
uint32
(
len
(
p
.
Host
))
binary
.
BigEndian
.
PutUint32
(
data
[
0
:
],
l
)
data
=
data
[
4
:
]
copy
(
data
,
p
.
Host
)
data
=
data
[
l
:
]
}
binary
.
BigEndian
.
PutUint16
(
data
[
0
:
],
p
.
Port
)
}
func
(
p
*
Address
)
neoMsgDecode
(
data
[]
byte
)
(
int
,
error
)
{
var
nread
uint32
if
uint32
(
len
(
data
))
<
4
{
goto
overflow
}
{
l
:=
binary
.
BigEndian
.
Uint32
(
data
[
0
:
])
data
=
data
[
4
:
]
if
uint32
(
len
(
data
))
<
2
+
l
{
goto
overflow
}
nread
+=
2
+
l
p
.
Host
=
string
(
data
[
:
l
])
data
=
data
[
l
:
]
}
p
.
Port
=
binary
.
BigEndian
.
Uint16
(
data
[
0
:
])
return
4
+
int
(
nread
),
nil
overflow
:
return
0
,
ErrDecodeOverflow
}
// 1. Error
func
(
*
Error
)
neoMsgCode
()
uint16
{
func
(
*
Error
)
neoMsgCode
()
uint16
{
return
1
return
0
}
}
func
(
p
*
Error
)
neoMsgEncodedLen
()
int
{
func
(
p
*
Error
)
neoMsgEncodedLen
()
int
{
...
@@ -100,44 +57,10 @@ overflow:
...
@@ -100,44 +57,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2. Ping
// 1. RequestIdentification
func
(
*
Ping
)
neoMsgCode
()
uint16
{
return
2
}
func
(
p
*
Ping
)
neoMsgEncodedLen
()
int
{
return
0
}
func
(
p
*
Ping
)
neoMsgEncode
(
data
[]
byte
)
{
}
func
(
p
*
Ping
)
neoMsgDecode
(
data
[]
byte
)
(
int
,
error
)
{
return
0
,
nil
}
// 3. CloseClient
func
(
*
CloseClient
)
neoMsgCode
()
uint16
{
return
3
}
func
(
p
*
CloseClient
)
neoMsgEncodedLen
()
int
{
return
0
}
func
(
p
*
CloseClient
)
neoMsgEncode
(
data
[]
byte
)
{
}
func
(
p
*
CloseClient
)
neoMsgDecode
(
data
[]
byte
)
(
int
,
error
)
{
return
0
,
nil
}
// 4. RequestIdentification
func
(
*
RequestIdentification
)
neoMsgCode
()
uint16
{
func
(
*
RequestIdentification
)
neoMsgCode
()
uint16
{
return
4
return
1
}
}
func
(
p
*
RequestIdentification
)
neoMsgEncodedLen
()
int
{
func
(
p
*
RequestIdentification
)
neoMsgEncodedLen
()
int
{
...
@@ -200,10 +123,10 @@ overflow:
...
@@ -200,10 +123,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
5
. AcceptIdentification
//
2
. AcceptIdentification
func
(
*
AcceptIdentification
)
neoMsgCode
()
uint16
{
func
(
*
AcceptIdentification
)
neoMsgCode
()
uint16
{
return
5
return
2
}
}
func
(
p
*
AcceptIdentification
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AcceptIdentification
)
neoMsgEncodedLen
()
int
{
...
@@ -233,10 +156,44 @@ overflow:
...
@@ -233,10 +156,44 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6. PrimaryMaster
// 3. Ping
func
(
*
Ping
)
neoMsgCode
()
uint16
{
return
3
}
func
(
p
*
Ping
)
neoMsgEncodedLen
()
int
{
return
0
}
func
(
p
*
Ping
)
neoMsgEncode
(
data
[]
byte
)
{
}
func
(
p
*
Ping
)
neoMsgDecode
(
data
[]
byte
)
(
int
,
error
)
{
return
0
,
nil
}
// 4. CloseClient
func
(
*
CloseClient
)
neoMsgCode
()
uint16
{
return
4
}
func
(
p
*
CloseClient
)
neoMsgEncodedLen
()
int
{
return
0
}
func
(
p
*
CloseClient
)
neoMsgEncode
(
data
[]
byte
)
{
}
func
(
p
*
CloseClient
)
neoMsgDecode
(
data
[]
byte
)
(
int
,
error
)
{
return
0
,
nil
}
// 5. PrimaryMaster
func
(
*
PrimaryMaster
)
neoMsgCode
()
uint16
{
func
(
*
PrimaryMaster
)
neoMsgCode
()
uint16
{
return
6
return
5
}
}
func
(
p
*
PrimaryMaster
)
neoMsgEncodedLen
()
int
{
func
(
p
*
PrimaryMaster
)
neoMsgEncodedLen
()
int
{
...
@@ -250,10 +207,10 @@ func (p *PrimaryMaster) neoMsgDecode(data []byte) (int, error) {
...
@@ -250,10 +207,10 @@ func (p *PrimaryMaster) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
//
7
. AnswerPrimary
//
6
. AnswerPrimary
func
(
*
AnswerPrimary
)
neoMsgCode
()
uint16
{
func
(
*
AnswerPrimary
)
neoMsgCode
()
uint16
{
return
7
return
6
}
}
func
(
p
*
AnswerPrimary
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerPrimary
)
neoMsgEncodedLen
()
int
{
...
@@ -275,10 +232,10 @@ overflow:
...
@@ -275,10 +232,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
8
. NotPrimaryMaster
//
7
. NotPrimaryMaster
func
(
*
NotPrimaryMaster
)
neoMsgCode
()
uint16
{
func
(
*
NotPrimaryMaster
)
neoMsgCode
()
uint16
{
return
8
return
7
}
}
func
(
p
*
NotPrimaryMaster
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotPrimaryMaster
)
neoMsgEncodedLen
()
int
{
...
@@ -347,10 +304,10 @@ overflow:
...
@@ -347,10 +304,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
9
. Recovery
//
8
. Recovery
func
(
*
Recovery
)
neoMsgCode
()
uint16
{
func
(
*
Recovery
)
neoMsgCode
()
uint16
{
return
9
return
8
}
}
func
(
p
*
Recovery
)
neoMsgEncodedLen
()
int
{
func
(
p
*
Recovery
)
neoMsgEncodedLen
()
int
{
...
@@ -364,10 +321,10 @@ func (p *Recovery) neoMsgDecode(data []byte) (int, error) {
...
@@ -364,10 +321,10 @@ func (p *Recovery) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
//
10
. AnswerRecovery
//
9
. AnswerRecovery
func
(
*
AnswerRecovery
)
neoMsgCode
()
uint16
{
func
(
*
AnswerRecovery
)
neoMsgCode
()
uint16
{
return
10
return
9
}
}
func
(
p
*
AnswerRecovery
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerRecovery
)
neoMsgEncodedLen
()
int
{
...
@@ -393,10 +350,10 @@ overflow:
...
@@ -393,10 +350,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
1
. LastIDs
// 1
0
. LastIDs
func
(
*
LastIDs
)
neoMsgCode
()
uint16
{
func
(
*
LastIDs
)
neoMsgCode
()
uint16
{
return
1
1
return
1
0
}
}
func
(
p
*
LastIDs
)
neoMsgEncodedLen
()
int
{
func
(
p
*
LastIDs
)
neoMsgEncodedLen
()
int
{
...
@@ -410,10 +367,10 @@ func (p *LastIDs) neoMsgDecode(data []byte) (int, error) {
...
@@ -410,10 +367,10 @@ func (p *LastIDs) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 1
2
. AnswerLastIDs
// 1
1
. AnswerLastIDs
func
(
*
AnswerLastIDs
)
neoMsgCode
()
uint16
{
func
(
*
AnswerLastIDs
)
neoMsgCode
()
uint16
{
return
1
2
return
1
1
}
}
func
(
p
*
AnswerLastIDs
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerLastIDs
)
neoMsgEncodedLen
()
int
{
...
@@ -437,10 +394,10 @@ overflow:
...
@@ -437,10 +394,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
3
. AskPartitionTable
// 1
2
. AskPartitionTable
func
(
*
AskPartitionTable
)
neoMsgCode
()
uint16
{
func
(
*
AskPartitionTable
)
neoMsgCode
()
uint16
{
return
1
3
return
1
2
}
}
func
(
p
*
AskPartitionTable
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AskPartitionTable
)
neoMsgEncodedLen
()
int
{
...
@@ -454,10 +411,10 @@ func (p *AskPartitionTable) neoMsgDecode(data []byte) (int, error) {
...
@@ -454,10 +411,10 @@ func (p *AskPartitionTable) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 1
4
. AnswerPartitionTable
// 1
3
. AnswerPartitionTable
func
(
*
AnswerPartitionTable
)
neoMsgCode
()
uint16
{
func
(
*
AnswerPartitionTable
)
neoMsgCode
()
uint16
{
return
1
4
return
1
3
}
}
func
(
p
*
AnswerPartitionTable
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerPartitionTable
)
neoMsgEncodedLen
()
int
{
...
@@ -534,10 +491,10 @@ overflow:
...
@@ -534,10 +491,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
5
. NotifyPartitionTable
// 1
4
. NotifyPartitionTable
func
(
*
NotifyPartitionTable
)
neoMsgCode
()
uint16
{
func
(
*
NotifyPartitionTable
)
neoMsgCode
()
uint16
{
return
1
5
return
1
4
}
}
func
(
p
*
NotifyPartitionTable
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyPartitionTable
)
neoMsgEncodedLen
()
int
{
...
@@ -614,10 +571,10 @@ overflow:
...
@@ -614,10 +571,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
6
. NotifyPartitionChanges
// 1
5
. NotifyPartitionChanges
func
(
*
NotifyPartitionChanges
)
neoMsgCode
()
uint16
{
func
(
*
NotifyPartitionChanges
)
neoMsgCode
()
uint16
{
return
1
6
return
1
5
}
}
func
(
p
*
NotifyPartitionChanges
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyPartitionChanges
)
neoMsgEncodedLen
()
int
{
...
@@ -671,10 +628,10 @@ overflow:
...
@@ -671,10 +628,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
7
. StartOperation
// 1
6
. StartOperation
func
(
*
StartOperation
)
neoMsgCode
()
uint16
{
func
(
*
StartOperation
)
neoMsgCode
()
uint16
{
return
1
7
return
1
6
}
}
func
(
p
*
StartOperation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
StartOperation
)
neoMsgEncodedLen
()
int
{
...
@@ -696,10 +653,10 @@ overflow:
...
@@ -696,10 +653,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 1
8
. StopOperation
// 1
7
. StopOperation
func
(
*
StopOperation
)
neoMsgCode
()
uint16
{
func
(
*
StopOperation
)
neoMsgCode
()
uint16
{
return
1
8
return
1
7
}
}
func
(
p
*
StopOperation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
StopOperation
)
neoMsgEncodedLen
()
int
{
...
@@ -713,10 +670,10 @@ func (p *StopOperation) neoMsgDecode(data []byte) (int, error) {
...
@@ -713,10 +670,10 @@ func (p *StopOperation) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 1
9
. UnfinishedTransactions
// 1
8
. UnfinishedTransactions
func
(
*
UnfinishedTransactions
)
neoMsgCode
()
uint16
{
func
(
*
UnfinishedTransactions
)
neoMsgCode
()
uint16
{
return
1
9
return
1
8
}
}
func
(
p
*
UnfinishedTransactions
)
neoMsgEncodedLen
()
int
{
func
(
p
*
UnfinishedTransactions
)
neoMsgEncodedLen
()
int
{
...
@@ -761,10 +718,10 @@ overflow:
...
@@ -761,10 +718,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
20
. AnswerUnfinishedTransactions
//
19
. AnswerUnfinishedTransactions
func
(
*
AnswerUnfinishedTransactions
)
neoMsgCode
()
uint16
{
func
(
*
AnswerUnfinishedTransactions
)
neoMsgCode
()
uint16
{
return
20
return
19
}
}
func
(
p
*
AnswerUnfinishedTransactions
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerUnfinishedTransactions
)
neoMsgEncodedLen
()
int
{
...
@@ -811,10 +768,10 @@ overflow:
...
@@ -811,10 +768,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
1
. LockedTransactions
// 2
0
. LockedTransactions
func
(
*
LockedTransactions
)
neoMsgCode
()
uint16
{
func
(
*
LockedTransactions
)
neoMsgCode
()
uint16
{
return
2
1
return
2
0
}
}
func
(
p
*
LockedTransactions
)
neoMsgEncodedLen
()
int
{
func
(
p
*
LockedTransactions
)
neoMsgEncodedLen
()
int
{
...
@@ -828,10 +785,10 @@ func (p *LockedTransactions) neoMsgDecode(data []byte) (int, error) {
...
@@ -828,10 +785,10 @@ func (p *LockedTransactions) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 2
2
. AnswerLockedTransactions
// 2
1
. AnswerLockedTransactions
func
(
*
AnswerLockedTransactions
)
neoMsgCode
()
uint16
{
func
(
*
AnswerLockedTransactions
)
neoMsgCode
()
uint16
{
return
2
2
return
2
1
}
}
func
(
p
*
AnswerLockedTransactions
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerLockedTransactions
)
neoMsgEncodedLen
()
int
{
...
@@ -882,10 +839,10 @@ overflow:
...
@@ -882,10 +839,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
3
. FinalTID
// 2
2
. FinalTID
func
(
*
FinalTID
)
neoMsgCode
()
uint16
{
func
(
*
FinalTID
)
neoMsgCode
()
uint16
{
return
2
3
return
2
2
}
}
func
(
p
*
FinalTID
)
neoMsgEncodedLen
()
int
{
func
(
p
*
FinalTID
)
neoMsgEncodedLen
()
int
{
...
@@ -907,10 +864,10 @@ overflow:
...
@@ -907,10 +864,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
4
. AnswerFinalTID
// 2
3
. AnswerFinalTID
func
(
*
AnswerFinalTID
)
neoMsgCode
()
uint16
{
func
(
*
AnswerFinalTID
)
neoMsgCode
()
uint16
{
return
2
4
return
2
3
}
}
func
(
p
*
AnswerFinalTID
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerFinalTID
)
neoMsgEncodedLen
()
int
{
...
@@ -932,10 +889,10 @@ overflow:
...
@@ -932,10 +889,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
5
. ValidateTransaction
// 2
4
. ValidateTransaction
func
(
*
ValidateTransaction
)
neoMsgCode
()
uint16
{
func
(
*
ValidateTransaction
)
neoMsgCode
()
uint16
{
return
2
5
return
2
4
}
}
func
(
p
*
ValidateTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
ValidateTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -959,10 +916,10 @@ overflow:
...
@@ -959,10 +916,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
6
. BeginTransaction
// 2
5
. BeginTransaction
func
(
*
BeginTransaction
)
neoMsgCode
()
uint16
{
func
(
*
BeginTransaction
)
neoMsgCode
()
uint16
{
return
2
6
return
2
5
}
}
func
(
p
*
BeginTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
BeginTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -984,10 +941,10 @@ overflow:
...
@@ -984,10 +941,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
7
. AnswerBeginTransaction
// 2
6
. AnswerBeginTransaction
func
(
*
AnswerBeginTransaction
)
neoMsgCode
()
uint16
{
func
(
*
AnswerBeginTransaction
)
neoMsgCode
()
uint16
{
return
2
7
return
2
6
}
}
func
(
p
*
AnswerBeginTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerBeginTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1009,10 +966,10 @@ overflow:
...
@@ -1009,10 +966,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
8
. FailedVote
// 2
7
. FailedVote
func
(
*
FailedVote
)
neoMsgCode
()
uint16
{
func
(
*
FailedVote
)
neoMsgCode
()
uint16
{
return
2
8
return
2
7
}
}
func
(
p
*
FailedVote
)
neoMsgEncodedLen
()
int
{
func
(
p
*
FailedVote
)
neoMsgEncodedLen
()
int
{
...
@@ -1059,10 +1016,10 @@ overflow:
...
@@ -1059,10 +1016,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 2
9
. FinishTransaction
// 2
8
. FinishTransaction
func
(
*
FinishTransaction
)
neoMsgCode
()
uint16
{
func
(
*
FinishTransaction
)
neoMsgCode
()
uint16
{
return
2
9
return
2
8
}
}
func
(
p
*
FinishTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
FinishTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1133,10 +1090,10 @@ overflow:
...
@@ -1133,10 +1090,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
30
. AnswerFinishTransaction
//
29
. AnswerFinishTransaction
func
(
*
AnswerFinishTransaction
)
neoMsgCode
()
uint16
{
func
(
*
AnswerFinishTransaction
)
neoMsgCode
()
uint16
{
return
30
return
29
}
}
func
(
p
*
AnswerFinishTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerFinishTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1160,10 +1117,10 @@ overflow:
...
@@ -1160,10 +1117,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
1
. NotifyTransactionFinished
// 3
0
. NotifyTransactionFinished
func
(
*
NotifyTransactionFinished
)
neoMsgCode
()
uint16
{
func
(
*
NotifyTransactionFinished
)
neoMsgCode
()
uint16
{
return
3
1
return
3
0
}
}
func
(
p
*
NotifyTransactionFinished
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyTransactionFinished
)
neoMsgEncodedLen
()
int
{
...
@@ -1187,10 +1144,10 @@ overflow:
...
@@ -1187,10 +1144,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
2
. LockInformation
// 3
1
. LockInformation
func
(
*
LockInformation
)
neoMsgCode
()
uint16
{
func
(
*
LockInformation
)
neoMsgCode
()
uint16
{
return
3
2
return
3
1
}
}
func
(
p
*
LockInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
LockInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -1214,10 +1171,10 @@ overflow:
...
@@ -1214,10 +1171,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
3
. AnswerLockInformation
// 3
2
. AnswerLockInformation
func
(
*
AnswerLockInformation
)
neoMsgCode
()
uint16
{
func
(
*
AnswerLockInformation
)
neoMsgCode
()
uint16
{
return
3
3
return
3
2
}
}
func
(
p
*
AnswerLockInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerLockInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -1239,10 +1196,10 @@ overflow:
...
@@ -1239,10 +1196,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
4
. InvalidateObjects
// 3
3
. InvalidateObjects
func
(
*
InvalidateObjects
)
neoMsgCode
()
uint16
{
func
(
*
InvalidateObjects
)
neoMsgCode
()
uint16
{
return
3
4
return
3
3
}
}
func
(
p
*
InvalidateObjects
)
neoMsgEncodedLen
()
int
{
func
(
p
*
InvalidateObjects
)
neoMsgEncodedLen
()
int
{
...
@@ -1289,10 +1246,10 @@ overflow:
...
@@ -1289,10 +1246,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
5
. UnlockInformation
// 3
4
. UnlockInformation
func
(
*
UnlockInformation
)
neoMsgCode
()
uint16
{
func
(
*
UnlockInformation
)
neoMsgCode
()
uint16
{
return
3
5
return
3
4
}
}
func
(
p
*
UnlockInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
UnlockInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -1314,10 +1271,10 @@ overflow:
...
@@ -1314,10 +1271,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
6
. GenerateOIDs
// 3
5
. GenerateOIDs
func
(
*
GenerateOIDs
)
neoMsgCode
()
uint16
{
func
(
*
GenerateOIDs
)
neoMsgCode
()
uint16
{
return
3
6
return
3
5
}
}
func
(
p
*
GenerateOIDs
)
neoMsgEncodedLen
()
int
{
func
(
p
*
GenerateOIDs
)
neoMsgEncodedLen
()
int
{
...
@@ -1339,10 +1296,10 @@ overflow:
...
@@ -1339,10 +1296,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
7
. AnswerGenerateOIDs
// 3
6
. AnswerGenerateOIDs
func
(
*
AnswerGenerateOIDs
)
neoMsgCode
()
uint16
{
func
(
*
AnswerGenerateOIDs
)
neoMsgCode
()
uint16
{
return
3
7
return
3
6
}
}
func
(
p
*
AnswerGenerateOIDs
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerGenerateOIDs
)
neoMsgEncodedLen
()
int
{
...
@@ -1387,10 +1344,10 @@ overflow:
...
@@ -1387,10 +1344,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
8
. Deadlock
// 3
7
. Deadlock
func
(
*
Deadlock
)
neoMsgCode
()
uint16
{
func
(
*
Deadlock
)
neoMsgCode
()
uint16
{
return
3
8
return
3
7
}
}
func
(
p
*
Deadlock
)
neoMsgEncodedLen
()
int
{
func
(
p
*
Deadlock
)
neoMsgEncodedLen
()
int
{
...
@@ -1414,10 +1371,10 @@ overflow:
...
@@ -1414,10 +1371,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 3
9
. RebaseTransaction
// 3
8
. RebaseTransaction
func
(
*
RebaseTransaction
)
neoMsgCode
()
uint16
{
func
(
*
RebaseTransaction
)
neoMsgCode
()
uint16
{
return
3
9
return
3
8
}
}
func
(
p
*
RebaseTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
RebaseTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1441,10 +1398,10 @@ overflow:
...
@@ -1441,10 +1398,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
40
. AnswerRebaseTransaction
//
39
. AnswerRebaseTransaction
func
(
*
AnswerRebaseTransaction
)
neoMsgCode
()
uint16
{
func
(
*
AnswerRebaseTransaction
)
neoMsgCode
()
uint16
{
return
40
return
39
}
}
func
(
p
*
AnswerRebaseTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerRebaseTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1489,10 +1446,10 @@ overflow:
...
@@ -1489,10 +1446,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
1
. RebaseObject
// 4
0
. RebaseObject
func
(
*
RebaseObject
)
neoMsgCode
()
uint16
{
func
(
*
RebaseObject
)
neoMsgCode
()
uint16
{
return
4
1
return
4
0
}
}
func
(
p
*
RebaseObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
RebaseObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1516,10 +1473,10 @@ overflow:
...
@@ -1516,10 +1473,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
2
. AnswerRebaseObject
// 4
1
. AnswerRebaseObject
func
(
*
AnswerRebaseObject
)
neoMsgCode
()
uint16
{
func
(
*
AnswerRebaseObject
)
neoMsgCode
()
uint16
{
return
4
2
return
4
1
}
}
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1566,10 +1523,10 @@ overflow:
...
@@ -1566,10 +1523,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
3
. StoreObject
// 4
2
. StoreObject
func
(
*
StoreObject
)
neoMsgCode
()
uint16
{
func
(
*
StoreObject
)
neoMsgCode
()
uint16
{
return
4
3
return
4
2
}
}
func
(
p
*
StoreObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
StoreObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1620,10 +1577,10 @@ overflow:
...
@@ -1620,10 +1577,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
4
. AnswerStoreObject
// 4
3
. AnswerStoreObject
func
(
*
AnswerStoreObject
)
neoMsgCode
()
uint16
{
func
(
*
AnswerStoreObject
)
neoMsgCode
()
uint16
{
return
4
4
return
4
3
}
}
func
(
p
*
AnswerStoreObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerStoreObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1645,10 +1602,10 @@ overflow:
...
@@ -1645,10 +1602,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
5
. AbortTransaction
// 4
4
. AbortTransaction
func
(
*
AbortTransaction
)
neoMsgCode
()
uint16
{
func
(
*
AbortTransaction
)
neoMsgCode
()
uint16
{
return
4
5
return
4
4
}
}
func
(
p
*
AbortTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AbortTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1695,10 +1652,10 @@ overflow:
...
@@ -1695,10 +1652,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
6
. StoreTransaction
// 4
5
. StoreTransaction
func
(
*
StoreTransaction
)
neoMsgCode
()
uint16
{
func
(
*
StoreTransaction
)
neoMsgCode
()
uint16
{
return
4
6
return
4
5
}
}
func
(
p
*
StoreTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
StoreTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1796,10 +1753,10 @@ overflow:
...
@@ -1796,10 +1753,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
7
. VoteTransaction
// 4
6
. VoteTransaction
func
(
*
VoteTransaction
)
neoMsgCode
()
uint16
{
func
(
*
VoteTransaction
)
neoMsgCode
()
uint16
{
return
4
7
return
4
6
}
}
func
(
p
*
VoteTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
VoteTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -1821,10 +1778,10 @@ overflow:
...
@@ -1821,10 +1778,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
8
. GetObject
// 4
7
. GetObject
func
(
*
GetObject
)
neoMsgCode
()
uint16
{
func
(
*
GetObject
)
neoMsgCode
()
uint16
{
return
4
8
return
4
7
}
}
func
(
p
*
GetObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
GetObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1850,10 +1807,10 @@ overflow:
...
@@ -1850,10 +1807,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 4
9
. AnswerGetObject
// 4
8
. AnswerGetObject
func
(
*
AnswerGetObject
)
neoMsgCode
()
uint16
{
func
(
*
AnswerGetObject
)
neoMsgCode
()
uint16
{
return
4
9
return
4
8
}
}
func
(
p
*
AnswerGetObject
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerGetObject
)
neoMsgEncodedLen
()
int
{
...
@@ -1904,10 +1861,10 @@ overflow:
...
@@ -1904,10 +1861,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
50
. TIDList
//
49
. TIDList
func
(
*
TIDList
)
neoMsgCode
()
uint16
{
func
(
*
TIDList
)
neoMsgCode
()
uint16
{
return
50
return
49
}
}
func
(
p
*
TIDList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
TIDList
)
neoMsgEncodedLen
()
int
{
...
@@ -1933,10 +1890,10 @@ overflow:
...
@@ -1933,10 +1890,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
1
. AnswerTIDList
// 5
0
. AnswerTIDList
func
(
*
AnswerTIDList
)
neoMsgCode
()
uint16
{
func
(
*
AnswerTIDList
)
neoMsgCode
()
uint16
{
return
5
1
return
5
0
}
}
func
(
p
*
AnswerTIDList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerTIDList
)
neoMsgEncodedLen
()
int
{
...
@@ -1981,10 +1938,10 @@ overflow:
...
@@ -1981,10 +1938,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
2
. TIDListFrom
// 5
1
. TIDListFrom
func
(
*
TIDListFrom
)
neoMsgCode
()
uint16
{
func
(
*
TIDListFrom
)
neoMsgCode
()
uint16
{
return
5
2
return
5
1
}
}
func
(
p
*
TIDListFrom
)
neoMsgEncodedLen
()
int
{
func
(
p
*
TIDListFrom
)
neoMsgEncodedLen
()
int
{
...
@@ -2012,10 +1969,10 @@ overflow:
...
@@ -2012,10 +1969,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
3
. AnswerTIDListFrom
// 5
2
. AnswerTIDListFrom
func
(
*
AnswerTIDListFrom
)
neoMsgCode
()
uint16
{
func
(
*
AnswerTIDListFrom
)
neoMsgCode
()
uint16
{
return
5
3
return
5
2
}
}
func
(
p
*
AnswerTIDListFrom
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerTIDListFrom
)
neoMsgEncodedLen
()
int
{
...
@@ -2060,10 +2017,10 @@ overflow:
...
@@ -2060,10 +2017,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
4
. TransactionInformation
// 5
3
. TransactionInformation
func
(
*
TransactionInformation
)
neoMsgCode
()
uint16
{
func
(
*
TransactionInformation
)
neoMsgCode
()
uint16
{
return
5
4
return
5
3
}
}
func
(
p
*
TransactionInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
TransactionInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -2085,10 +2042,10 @@ overflow:
...
@@ -2085,10 +2042,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
5
. AnswerTransactionInformation
// 5
4
. AnswerTransactionInformation
func
(
*
AnswerTransactionInformation
)
neoMsgCode
()
uint16
{
func
(
*
AnswerTransactionInformation
)
neoMsgCode
()
uint16
{
return
5
5
return
5
4
}
}
func
(
p
*
AnswerTransactionInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerTransactionInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -2188,10 +2145,10 @@ overflow:
...
@@ -2188,10 +2145,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
6
. ObjectHistory
// 5
5
. ObjectHistory
func
(
*
ObjectHistory
)
neoMsgCode
()
uint16
{
func
(
*
ObjectHistory
)
neoMsgCode
()
uint16
{
return
5
6
return
5
5
}
}
func
(
p
*
ObjectHistory
)
neoMsgEncodedLen
()
int
{
func
(
p
*
ObjectHistory
)
neoMsgEncodedLen
()
int
{
...
@@ -2217,10 +2174,10 @@ overflow:
...
@@ -2217,10 +2174,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
7
. AnswerObjectHistory
// 5
6
. AnswerObjectHistory
func
(
*
AnswerObjectHistory
)
neoMsgCode
()
uint16
{
func
(
*
AnswerObjectHistory
)
neoMsgCode
()
uint16
{
return
5
7
return
5
6
}
}
func
(
p
*
AnswerObjectHistory
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerObjectHistory
)
neoMsgEncodedLen
()
int
{
...
@@ -2272,10 +2229,10 @@ overflow:
...
@@ -2272,10 +2229,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
8
. PartitionList
// 5
7
. PartitionList
func
(
*
PartitionList
)
neoMsgCode
()
uint16
{
func
(
*
PartitionList
)
neoMsgCode
()
uint16
{
return
5
8
return
5
7
}
}
func
(
p
*
PartitionList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
PartitionList
)
neoMsgEncodedLen
()
int
{
...
@@ -2301,10 +2258,10 @@ overflow:
...
@@ -2301,10 +2258,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 5
9
. AnswerPartitionList
// 5
8
. AnswerPartitionList
func
(
*
AnswerPartitionList
)
neoMsgCode
()
uint16
{
func
(
*
AnswerPartitionList
)
neoMsgCode
()
uint16
{
return
5
9
return
5
8
}
}
func
(
p
*
AnswerPartitionList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerPartitionList
)
neoMsgEncodedLen
()
int
{
...
@@ -2381,10 +2338,10 @@ overflow:
...
@@ -2381,10 +2338,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
60
. NodeList
//
59
. NodeList
func
(
*
NodeList
)
neoMsgCode
()
uint16
{
func
(
*
NodeList
)
neoMsgCode
()
uint16
{
return
60
return
59
}
}
func
(
p
*
NodeList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NodeList
)
neoMsgEncodedLen
()
int
{
...
@@ -2406,10 +2363,10 @@ overflow:
...
@@ -2406,10 +2363,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
1
. AnswerNodeList
// 6
0
. AnswerNodeList
func
(
*
AnswerNodeList
)
neoMsgCode
()
uint16
{
func
(
*
AnswerNodeList
)
neoMsgCode
()
uint16
{
return
6
1
return
6
0
}
}
func
(
p
*
AnswerNodeList
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerNodeList
)
neoMsgEncodedLen
()
int
{
...
@@ -2484,10 +2441,10 @@ overflow:
...
@@ -2484,10 +2441,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
2
. SetNodeState
// 6
1
. SetNodeState
func
(
*
SetNodeState
)
neoMsgCode
()
uint16
{
func
(
*
SetNodeState
)
neoMsgCode
()
uint16
{
return
6
2
return
6
1
}
}
func
(
p
*
SetNodeState
)
neoMsgEncodedLen
()
int
{
func
(
p
*
SetNodeState
)
neoMsgEncodedLen
()
int
{
...
@@ -2511,10 +2468,10 @@ overflow:
...
@@ -2511,10 +2468,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
3
. AddPendingNodes
// 6
2
. AddPendingNodes
func
(
*
AddPendingNodes
)
neoMsgCode
()
uint16
{
func
(
*
AddPendingNodes
)
neoMsgCode
()
uint16
{
return
6
3
return
6
2
}
}
func
(
p
*
AddPendingNodes
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AddPendingNodes
)
neoMsgEncodedLen
()
int
{
...
@@ -2559,10 +2516,10 @@ overflow:
...
@@ -2559,10 +2516,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
4
. TweakPartitionTable
// 6
3
. TweakPartitionTable
func
(
*
TweakPartitionTable
)
neoMsgCode
()
uint16
{
func
(
*
TweakPartitionTable
)
neoMsgCode
()
uint16
{
return
6
4
return
6
3
}
}
func
(
p
*
TweakPartitionTable
)
neoMsgEncodedLen
()
int
{
func
(
p
*
TweakPartitionTable
)
neoMsgEncodedLen
()
int
{
...
@@ -2607,10 +2564,10 @@ overflow:
...
@@ -2607,10 +2564,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
5
. NotifyNodeInformation
// 6
4
. NotifyNodeInformation
func
(
*
NotifyNodeInformation
)
neoMsgCode
()
uint16
{
func
(
*
NotifyNodeInformation
)
neoMsgCode
()
uint16
{
return
6
5
return
6
4
}
}
func
(
p
*
NotifyNodeInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyNodeInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -2687,10 +2644,10 @@ overflow:
...
@@ -2687,10 +2644,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
6
. NodeInformation
// 6
5
. NodeInformation
func
(
*
NodeInformation
)
neoMsgCode
()
uint16
{
func
(
*
NodeInformation
)
neoMsgCode
()
uint16
{
return
6
6
return
6
5
}
}
func
(
p
*
NodeInformation
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NodeInformation
)
neoMsgEncodedLen
()
int
{
...
@@ -2704,10 +2661,10 @@ func (p *NodeInformation) neoMsgDecode(data []byte) (int, error) {
...
@@ -2704,10 +2661,10 @@ func (p *NodeInformation) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 6
7
. SetClusterState
// 6
6
. SetClusterState
func
(
*
SetClusterState
)
neoMsgCode
()
uint16
{
func
(
*
SetClusterState
)
neoMsgCode
()
uint16
{
return
6
7
return
6
6
}
}
func
(
p
*
SetClusterState
)
neoMsgEncodedLen
()
int
{
func
(
p
*
SetClusterState
)
neoMsgEncodedLen
()
int
{
...
@@ -2729,10 +2686,10 @@ overflow:
...
@@ -2729,10 +2686,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
8
. repairFlags
// 6
7
. repairFlags
func
(
*
repairFlags
)
neoMsgCode
()
uint16
{
func
(
*
repairFlags
)
neoMsgCode
()
uint16
{
return
6
8
return
6
7
}
}
func
(
p
*
repairFlags
)
neoMsgEncodedLen
()
int
{
func
(
p
*
repairFlags
)
neoMsgEncodedLen
()
int
{
...
@@ -2754,10 +2711,10 @@ overflow:
...
@@ -2754,10 +2711,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 6
9
. Repair
// 6
8
. Repair
func
(
*
Repair
)
neoMsgCode
()
uint16
{
func
(
*
Repair
)
neoMsgCode
()
uint16
{
return
6
9
return
6
8
}
}
func
(
p
*
Repair
)
neoMsgEncodedLen
()
int
{
func
(
p
*
Repair
)
neoMsgEncodedLen
()
int
{
...
@@ -2804,10 +2761,10 @@ overflow:
...
@@ -2804,10 +2761,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
70
. RepairOne
//
69
. RepairOne
func
(
*
RepairOne
)
neoMsgCode
()
uint16
{
func
(
*
RepairOne
)
neoMsgCode
()
uint16
{
return
70
return
69
}
}
func
(
p
*
RepairOne
)
neoMsgEncodedLen
()
int
{
func
(
p
*
RepairOne
)
neoMsgEncodedLen
()
int
{
...
@@ -2829,10 +2786,10 @@ overflow:
...
@@ -2829,10 +2786,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
1
. NotifyClusterState
// 7
0
. NotifyClusterState
func
(
*
NotifyClusterState
)
neoMsgCode
()
uint16
{
func
(
*
NotifyClusterState
)
neoMsgCode
()
uint16
{
return
7
1
return
7
0
}
}
func
(
p
*
NotifyClusterState
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyClusterState
)
neoMsgEncodedLen
()
int
{
...
@@ -2854,10 +2811,10 @@ overflow:
...
@@ -2854,10 +2811,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
2
. AskClusterState
// 7
1
. AskClusterState
func
(
*
AskClusterState
)
neoMsgCode
()
uint16
{
func
(
*
AskClusterState
)
neoMsgCode
()
uint16
{
return
7
2
return
7
1
}
}
func
(
p
*
AskClusterState
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AskClusterState
)
neoMsgEncodedLen
()
int
{
...
@@ -2871,10 +2828,10 @@ func (p *AskClusterState) neoMsgDecode(data []byte) (int, error) {
...
@@ -2871,10 +2828,10 @@ func (p *AskClusterState) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 7
3
. AnswerClusterState
// 7
2
. AnswerClusterState
func
(
*
AnswerClusterState
)
neoMsgCode
()
uint16
{
func
(
*
AnswerClusterState
)
neoMsgCode
()
uint16
{
return
7
3
return
7
2
}
}
func
(
p
*
AnswerClusterState
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerClusterState
)
neoMsgEncodedLen
()
int
{
...
@@ -2896,10 +2853,10 @@ overflow:
...
@@ -2896,10 +2853,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
4
. ObjectUndoSerial
// 7
3
. ObjectUndoSerial
func
(
*
ObjectUndoSerial
)
neoMsgCode
()
uint16
{
func
(
*
ObjectUndoSerial
)
neoMsgCode
()
uint16
{
return
7
4
return
7
3
}
}
func
(
p
*
ObjectUndoSerial
)
neoMsgEncodedLen
()
int
{
func
(
p
*
ObjectUndoSerial
)
neoMsgEncodedLen
()
int
{
...
@@ -2950,10 +2907,10 @@ overflow:
...
@@ -2950,10 +2907,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
5
. AnswerObjectUndoSerial
// 7
4
. AnswerObjectUndoSerial
func
(
*
AnswerObjectUndoSerial
)
neoMsgCode
()
uint16
{
func
(
*
AnswerObjectUndoSerial
)
neoMsgCode
()
uint16
{
return
7
5
return
7
4
}
}
func
(
p
*
AnswerObjectUndoSerial
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerObjectUndoSerial
)
neoMsgEncodedLen
()
int
{
...
@@ -3018,10 +2975,10 @@ overflow:
...
@@ -3018,10 +2975,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
6
. CheckCurrentSerial
// 7
5
. CheckCurrentSerial
func
(
*
CheckCurrentSerial
)
neoMsgCode
()
uint16
{
func
(
*
CheckCurrentSerial
)
neoMsgCode
()
uint16
{
return
7
6
return
7
5
}
}
func
(
p
*
CheckCurrentSerial
)
neoMsgEncodedLen
()
int
{
func
(
p
*
CheckCurrentSerial
)
neoMsgEncodedLen
()
int
{
...
@@ -3047,10 +3004,10 @@ overflow:
...
@@ -3047,10 +3004,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
7
. Pack
// 7
6
. Pack
func
(
*
Pack
)
neoMsgCode
()
uint16
{
func
(
*
Pack
)
neoMsgCode
()
uint16
{
return
7
7
return
7
6
}
}
func
(
p
*
Pack
)
neoMsgEncodedLen
()
int
{
func
(
p
*
Pack
)
neoMsgEncodedLen
()
int
{
...
@@ -3072,10 +3029,10 @@ overflow:
...
@@ -3072,10 +3029,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
8
. AnswerPack
// 7
7
. AnswerPack
func
(
*
AnswerPack
)
neoMsgCode
()
uint16
{
func
(
*
AnswerPack
)
neoMsgCode
()
uint16
{
return
7
8
return
7
7
}
}
func
(
p
*
AnswerPack
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerPack
)
neoMsgEncodedLen
()
int
{
...
@@ -3097,10 +3054,10 @@ overflow:
...
@@ -3097,10 +3054,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 7
9
. CheckReplicas
// 7
8
. CheckReplicas
func
(
*
CheckReplicas
)
neoMsgCode
()
uint16
{
func
(
*
CheckReplicas
)
neoMsgCode
()
uint16
{
return
7
9
return
7
8
}
}
func
(
p
*
CheckReplicas
)
neoMsgEncodedLen
()
int
{
func
(
p
*
CheckReplicas
)
neoMsgEncodedLen
()
int
{
...
@@ -3155,10 +3112,10 @@ overflow:
...
@@ -3155,10 +3112,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
//
80
. CheckPartition
//
79
. CheckPartition
func
(
*
CheckPartition
)
neoMsgCode
()
uint16
{
func
(
*
CheckPartition
)
neoMsgCode
()
uint16
{
return
80
return
79
}
}
func
(
p
*
CheckPartition
)
neoMsgEncodedLen
()
int
{
func
(
p
*
CheckPartition
)
neoMsgEncodedLen
()
int
{
...
@@ -3221,10 +3178,10 @@ overflow:
...
@@ -3221,10 +3178,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
1
. CheckTIDRange
// 8
0
. CheckTIDRange
func
(
*
CheckTIDRange
)
neoMsgCode
()
uint16
{
func
(
*
CheckTIDRange
)
neoMsgCode
()
uint16
{
return
8
1
return
8
0
}
}
func
(
p
*
CheckTIDRange
)
neoMsgEncodedLen
()
int
{
func
(
p
*
CheckTIDRange
)
neoMsgEncodedLen
()
int
{
...
@@ -3252,10 +3209,10 @@ overflow:
...
@@ -3252,10 +3209,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
2
. AnswerCheckTIDRange
// 8
1
. AnswerCheckTIDRange
func
(
*
AnswerCheckTIDRange
)
neoMsgCode
()
uint16
{
func
(
*
AnswerCheckTIDRange
)
neoMsgCode
()
uint16
{
return
8
2
return
8
1
}
}
func
(
p
*
AnswerCheckTIDRange
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerCheckTIDRange
)
neoMsgEncodedLen
()
int
{
...
@@ -3281,10 +3238,10 @@ overflow:
...
@@ -3281,10 +3238,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
3
. CheckSerialRange
// 8
2
. CheckSerialRange
func
(
*
CheckSerialRange
)
neoMsgCode
()
uint16
{
func
(
*
CheckSerialRange
)
neoMsgCode
()
uint16
{
return
8
3
return
8
2
}
}
func
(
p
*
CheckSerialRange
)
neoMsgEncodedLen
()
int
{
func
(
p
*
CheckSerialRange
)
neoMsgEncodedLen
()
int
{
...
@@ -3314,10 +3271,10 @@ overflow:
...
@@ -3314,10 +3271,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
4
. AnswerCheckSerialRange
// 8
3
. AnswerCheckSerialRange
func
(
*
AnswerCheckSerialRange
)
neoMsgCode
()
uint16
{
func
(
*
AnswerCheckSerialRange
)
neoMsgCode
()
uint16
{
return
8
4
return
8
3
}
}
func
(
p
*
AnswerCheckSerialRange
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerCheckSerialRange
)
neoMsgEncodedLen
()
int
{
...
@@ -3347,10 +3304,10 @@ overflow:
...
@@ -3347,10 +3304,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
5
. PartitionCorrupted
// 8
4
. PartitionCorrupted
func
(
*
PartitionCorrupted
)
neoMsgCode
()
uint16
{
func
(
*
PartitionCorrupted
)
neoMsgCode
()
uint16
{
return
8
5
return
8
4
}
}
func
(
p
*
PartitionCorrupted
)
neoMsgEncodedLen
()
int
{
func
(
p
*
PartitionCorrupted
)
neoMsgEncodedLen
()
int
{
...
@@ -3397,10 +3354,10 @@ overflow:
...
@@ -3397,10 +3354,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
6
. LastTransaction
// 8
5
. LastTransaction
func
(
*
LastTransaction
)
neoMsgCode
()
uint16
{
func
(
*
LastTransaction
)
neoMsgCode
()
uint16
{
return
8
6
return
8
5
}
}
func
(
p
*
LastTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
LastTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -3414,10 +3371,10 @@ func (p *LastTransaction) neoMsgDecode(data []byte) (int, error) {
...
@@ -3414,10 +3371,10 @@ func (p *LastTransaction) neoMsgDecode(data []byte) (int, error) {
return
0
,
nil
return
0
,
nil
}
}
// 8
7
. AnswerLastTransaction
// 8
6
. AnswerLastTransaction
func
(
*
AnswerLastTransaction
)
neoMsgCode
()
uint16
{
func
(
*
AnswerLastTransaction
)
neoMsgCode
()
uint16
{
return
8
7
return
8
6
}
}
func
(
p
*
AnswerLastTransaction
)
neoMsgEncodedLen
()
int
{
func
(
p
*
AnswerLastTransaction
)
neoMsgEncodedLen
()
int
{
...
@@ -3439,10 +3396,10 @@ overflow:
...
@@ -3439,10 +3396,10 @@ overflow:
return
0
,
ErrDecodeOverflow
return
0
,
ErrDecodeOverflow
}
}
// 8
8
. NotifyReady
// 8
7
. NotifyReady
func
(
*
NotifyReady
)
neoMsgCode
()
uint16
{
func
(
*
NotifyReady
)
neoMsgCode
()
uint16
{
return
8
8
return
8
7
}
}
func
(
p
*
NotifyReady
)
neoMsgEncodedLen
()
int
{
func
(
p
*
NotifyReady
)
neoMsgEncodedLen
()
int
{
...
@@ -3458,93 +3415,92 @@ func (p *NotifyReady) neoMsgDecode(data []byte) (int, error) {
...
@@ -3458,93 +3415,92 @@ func (p *NotifyReady) neoMsgDecode(data []byte) (int, error) {
// registry of message types
// registry of message types
var
msgTypeRegistry
=
map
[
uint16
]
reflect
.
Type
{
var
msgTypeRegistry
=
map
[
uint16
]
reflect
.
Type
{
0
:
reflect
.
TypeOf
(
Address
{}),
0
:
reflect
.
TypeOf
(
Error
{}),
1
:
reflect
.
TypeOf
(
Error
{}),
1
:
reflect
.
TypeOf
(
RequestIdentification
{}),
2
:
reflect
.
TypeOf
(
Ping
{}),
2
:
reflect
.
TypeOf
(
AcceptIdentification
{}),
3
:
reflect
.
TypeOf
(
CloseClient
{}),
3
:
reflect
.
TypeOf
(
Ping
{}),
4
:
reflect
.
TypeOf
(
RequestIdentification
{}),
4
:
reflect
.
TypeOf
(
CloseClient
{}),
5
:
reflect
.
TypeOf
(
AcceptIdentification
{}),
5
:
reflect
.
TypeOf
(
PrimaryMaster
{}),
6
:
reflect
.
TypeOf
(
PrimaryMaster
{}),
6
:
reflect
.
TypeOf
(
AnswerPrimary
{}),
7
:
reflect
.
TypeOf
(
AnswerPrimary
{}),
7
:
reflect
.
TypeOf
(
NotPrimaryMaster
{}),
8
:
reflect
.
TypeOf
(
NotPrimaryMaster
{}),
8
:
reflect
.
TypeOf
(
Recovery
{}),
9
:
reflect
.
TypeOf
(
Recovery
{}),
9
:
reflect
.
TypeOf
(
AnswerRecovery
{}),
10
:
reflect
.
TypeOf
(
AnswerRecovery
{}),
10
:
reflect
.
TypeOf
(
LastIDs
{}),
11
:
reflect
.
TypeOf
(
LastIDs
{}),
11
:
reflect
.
TypeOf
(
AnswerLastIDs
{}),
12
:
reflect
.
TypeOf
(
AnswerLastIDs
{}),
12
:
reflect
.
TypeOf
(
AskPartitionTable
{}),
13
:
reflect
.
TypeOf
(
AskPartitionTable
{}),
13
:
reflect
.
TypeOf
(
AnswerPartitionTable
{}),
14
:
reflect
.
TypeOf
(
AnswerPartitionTable
{}),
14
:
reflect
.
TypeOf
(
NotifyPartitionTable
{}),
15
:
reflect
.
TypeOf
(
NotifyPartitionTable
{}),
15
:
reflect
.
TypeOf
(
NotifyPartitionChanges
{}),
16
:
reflect
.
TypeOf
(
NotifyPartitionChanges
{}),
16
:
reflect
.
TypeOf
(
StartOperation
{}),
17
:
reflect
.
TypeOf
(
StartOperation
{}),
17
:
reflect
.
TypeOf
(
StopOperation
{}),
18
:
reflect
.
TypeOf
(
StopOperation
{}),
18
:
reflect
.
TypeOf
(
UnfinishedTransactions
{}),
19
:
reflect
.
TypeOf
(
UnfinishedTransactions
{}),
19
:
reflect
.
TypeOf
(
AnswerUnfinishedTransactions
{}),
20
:
reflect
.
TypeOf
(
AnswerUnfinishedTransactions
{}),
20
:
reflect
.
TypeOf
(
LockedTransactions
{}),
21
:
reflect
.
TypeOf
(
LockedTransactions
{}),
21
:
reflect
.
TypeOf
(
AnswerLockedTransactions
{}),
22
:
reflect
.
TypeOf
(
AnswerLockedTransactions
{}),
22
:
reflect
.
TypeOf
(
FinalTID
{}),
23
:
reflect
.
TypeOf
(
FinalTID
{}),
23
:
reflect
.
TypeOf
(
AnswerFinalTID
{}),
24
:
reflect
.
TypeOf
(
AnswerFinalTID
{}),
24
:
reflect
.
TypeOf
(
ValidateTransaction
{}),
25
:
reflect
.
TypeOf
(
ValidateTransaction
{}),
25
:
reflect
.
TypeOf
(
BeginTransaction
{}),
26
:
reflect
.
TypeOf
(
BeginTransaction
{}),
26
:
reflect
.
TypeOf
(
AnswerBeginTransaction
{}),
27
:
reflect
.
TypeOf
(
AnswerBeginTransaction
{}),
27
:
reflect
.
TypeOf
(
FailedVote
{}),
28
:
reflect
.
TypeOf
(
FailedVote
{}),
28
:
reflect
.
TypeOf
(
FinishTransaction
{}),
29
:
reflect
.
TypeOf
(
FinishTransaction
{}),
29
:
reflect
.
TypeOf
(
AnswerFinishTransaction
{}),
30
:
reflect
.
TypeOf
(
AnswerFinishTransaction
{}),
30
:
reflect
.
TypeOf
(
NotifyTransactionFinished
{}),
31
:
reflect
.
TypeOf
(
NotifyTransactionFinished
{}),
31
:
reflect
.
TypeOf
(
LockInformation
{}),
32
:
reflect
.
TypeOf
(
LockInformation
{}),
32
:
reflect
.
TypeOf
(
AnswerLockInformation
{}),
33
:
reflect
.
TypeOf
(
AnswerLockInformation
{}),
33
:
reflect
.
TypeOf
(
InvalidateObjects
{}),
34
:
reflect
.
TypeOf
(
InvalidateObjects
{}),
34
:
reflect
.
TypeOf
(
UnlockInformation
{}),
35
:
reflect
.
TypeOf
(
UnlockInformation
{}),
35
:
reflect
.
TypeOf
(
GenerateOIDs
{}),
36
:
reflect
.
TypeOf
(
GenerateOIDs
{}),
36
:
reflect
.
TypeOf
(
AnswerGenerateOIDs
{}),
37
:
reflect
.
TypeOf
(
AnswerGenerateOIDs
{}),
37
:
reflect
.
TypeOf
(
Deadlock
{}),
38
:
reflect
.
TypeOf
(
Deadlock
{}),
38
:
reflect
.
TypeOf
(
RebaseTransaction
{}),
39
:
reflect
.
TypeOf
(
RebaseTransaction
{}),
39
:
reflect
.
TypeOf
(
AnswerRebaseTransaction
{}),
40
:
reflect
.
TypeOf
(
AnswerRebaseTransaction
{}),
40
:
reflect
.
TypeOf
(
RebaseObject
{}),
41
:
reflect
.
TypeOf
(
RebaseObject
{}),
41
:
reflect
.
TypeOf
(
AnswerRebaseObject
{}),
42
:
reflect
.
TypeOf
(
AnswerRebaseObject
{}),
42
:
reflect
.
TypeOf
(
StoreObject
{}),
43
:
reflect
.
TypeOf
(
StoreObject
{}),
43
:
reflect
.
TypeOf
(
AnswerStoreObject
{}),
44
:
reflect
.
TypeOf
(
AnswerStoreObject
{}),
44
:
reflect
.
TypeOf
(
AbortTransaction
{}),
45
:
reflect
.
TypeOf
(
AbortTransaction
{}),
45
:
reflect
.
TypeOf
(
StoreTransaction
{}),
46
:
reflect
.
TypeOf
(
StoreTransaction
{}),
46
:
reflect
.
TypeOf
(
VoteTransaction
{}),
47
:
reflect
.
TypeOf
(
VoteTransaction
{}),
47
:
reflect
.
TypeOf
(
GetObject
{}),
48
:
reflect
.
TypeOf
(
GetObject
{}),
48
:
reflect
.
TypeOf
(
AnswerGetObject
{}),
49
:
reflect
.
TypeOf
(
AnswerGetObject
{}),
49
:
reflect
.
TypeOf
(
TIDList
{}),
50
:
reflect
.
TypeOf
(
TIDList
{}),
50
:
reflect
.
TypeOf
(
AnswerTIDList
{}),
51
:
reflect
.
TypeOf
(
AnswerTIDList
{}),
51
:
reflect
.
TypeOf
(
TIDListFrom
{}),
52
:
reflect
.
TypeOf
(
TIDListFrom
{}),
52
:
reflect
.
TypeOf
(
AnswerTIDListFrom
{}),
53
:
reflect
.
TypeOf
(
AnswerTIDListFrom
{}),
53
:
reflect
.
TypeOf
(
TransactionInformation
{}),
54
:
reflect
.
TypeOf
(
TransactionInformation
{}),
54
:
reflect
.
TypeOf
(
AnswerTransactionInformation
{}),
55
:
reflect
.
TypeOf
(
AnswerTransactionInformation
{}),
55
:
reflect
.
TypeOf
(
ObjectHistory
{}),
56
:
reflect
.
TypeOf
(
ObjectHistory
{}),
56
:
reflect
.
TypeOf
(
AnswerObjectHistory
{}),
57
:
reflect
.
TypeOf
(
AnswerObjectHistory
{}),
57
:
reflect
.
TypeOf
(
PartitionList
{}),
58
:
reflect
.
TypeOf
(
PartitionList
{}),
58
:
reflect
.
TypeOf
(
AnswerPartitionList
{}),
59
:
reflect
.
TypeOf
(
AnswerPartitionList
{}),
59
:
reflect
.
TypeOf
(
NodeList
{}),
60
:
reflect
.
TypeOf
(
NodeList
{}),
60
:
reflect
.
TypeOf
(
AnswerNodeList
{}),
61
:
reflect
.
TypeOf
(
AnswerNodeList
{}),
61
:
reflect
.
TypeOf
(
SetNodeState
{}),
62
:
reflect
.
TypeOf
(
SetNodeState
{}),
62
:
reflect
.
TypeOf
(
AddPendingNodes
{}),
63
:
reflect
.
TypeOf
(
AddPendingNodes
{}),
63
:
reflect
.
TypeOf
(
TweakPartitionTable
{}),
64
:
reflect
.
TypeOf
(
TweakPartitionTable
{}),
64
:
reflect
.
TypeOf
(
NotifyNodeInformation
{}),
65
:
reflect
.
TypeOf
(
NotifyNodeInformation
{}),
65
:
reflect
.
TypeOf
(
NodeInformation
{}),
66
:
reflect
.
TypeOf
(
NodeInformation
{}),
66
:
reflect
.
TypeOf
(
SetClusterState
{}),
67
:
reflect
.
TypeOf
(
SetClusterState
{}),
67
:
reflect
.
TypeOf
(
repairFlags
{}),
68
:
reflect
.
TypeOf
(
repairFlags
{}),
68
:
reflect
.
TypeOf
(
Repair
{}),
69
:
reflect
.
TypeOf
(
Repair
{}),
69
:
reflect
.
TypeOf
(
RepairOne
{}),
70
:
reflect
.
TypeOf
(
RepairOne
{}),
70
:
reflect
.
TypeOf
(
NotifyClusterState
{}),
71
:
reflect
.
TypeOf
(
NotifyClusterState
{}),
71
:
reflect
.
TypeOf
(
AskClusterState
{}),
72
:
reflect
.
TypeOf
(
AskClusterState
{}),
72
:
reflect
.
TypeOf
(
AnswerClusterState
{}),
73
:
reflect
.
TypeOf
(
AnswerClusterState
{}),
73
:
reflect
.
TypeOf
(
ObjectUndoSerial
{}),
74
:
reflect
.
TypeOf
(
ObjectUndoSerial
{}),
74
:
reflect
.
TypeOf
(
AnswerObjectUndoSerial
{}),
75
:
reflect
.
TypeOf
(
AnswerObjectUndoSerial
{}),
75
:
reflect
.
TypeOf
(
CheckCurrentSerial
{}),
76
:
reflect
.
TypeOf
(
CheckCurrentSerial
{}),
76
:
reflect
.
TypeOf
(
Pack
{}),
77
:
reflect
.
TypeOf
(
Pack
{}),
77
:
reflect
.
TypeOf
(
AnswerPack
{}),
78
:
reflect
.
TypeOf
(
AnswerPack
{}),
78
:
reflect
.
TypeOf
(
CheckReplicas
{}),
79
:
reflect
.
TypeOf
(
CheckReplicas
{}),
79
:
reflect
.
TypeOf
(
CheckPartition
{}),
80
:
reflect
.
TypeOf
(
CheckPartition
{}),
80
:
reflect
.
TypeOf
(
CheckTIDRange
{}),
81
:
reflect
.
TypeOf
(
CheckTIDRange
{}),
81
:
reflect
.
TypeOf
(
AnswerCheckTIDRange
{}),
82
:
reflect
.
TypeOf
(
AnswerCheckTIDRange
{}),
82
:
reflect
.
TypeOf
(
CheckSerialRange
{}),
83
:
reflect
.
TypeOf
(
CheckSerialRange
{}),
83
:
reflect
.
TypeOf
(
AnswerCheckSerialRange
{}),
84
:
reflect
.
TypeOf
(
AnswerCheckSerialRange
{}),
84
:
reflect
.
TypeOf
(
PartitionCorrupted
{}),
85
:
reflect
.
TypeOf
(
PartitionCorrupted
{}),
85
:
reflect
.
TypeOf
(
LastTransaction
{}),
86
:
reflect
.
TypeOf
(
LastTransaction
{}),
86
:
reflect
.
TypeOf
(
AnswerLastTransaction
{}),
87
:
reflect
.
TypeOf
(
AnswerLastTransaction
{}),
87
:
reflect
.
TypeOf
(
NotifyReady
{}),
88
:
reflect
.
TypeOf
(
NotifyReady
{}),
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment