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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
eda58438
Commit
eda58438
authored
May 06, 2024
by
Levin Zimmermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go/proto/msgpack: Simplify debugging by printing function name in case of overflow
parent
b59f0b04
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
180 additions
and
173 deletions
+180
-173
go/neo/proto/msgpack.go
go/neo/proto/msgpack.go
+1
-1
go/neo/proto/proto-misc.go
go/neo/proto/proto-misc.go
+9
-0
go/neo/proto/proto.go
go/neo/proto/proto.go
+0
-4
go/neo/proto/proto_test.go
go/neo/proto/proto_test.go
+4
-2
go/neo/proto/protogen.go
go/neo/proto/protogen.go
+1
-1
go/neo/proto/zproto-marshal.go
go/neo/proto/zproto-marshal.go
+165
-165
No files found.
go/neo/proto/msgpack.go
View file @
eda58438
...
@@ -44,7 +44,7 @@ func (e *mstructDecodeError) Error() string {
...
@@ -44,7 +44,7 @@ func (e *mstructDecodeError) Error() string {
// mdecodeErr is called to normilize error when msgp.ReadXXX returns err when decoding path.
// mdecodeErr is called to normilize error when msgp.ReadXXX returns err when decoding path.
func
mdecodeErr
(
path
string
,
err
error
)
error
{
func
mdecodeErr
(
path
string
,
err
error
)
error
{
if
err
==
msgp
.
ErrShortBytes
{
if
err
==
msgp
.
ErrShortBytes
{
return
ErrDecodeOverflow
return
&
ErrDecodeOverflow
{
path
}
}
}
return
&
mdecodeError
{
path
,
err
}
return
&
mdecodeError
{
path
,
err
}
}
}
...
...
go/neo/proto/proto-misc.go
View file @
eda58438
...
@@ -228,3 +228,12 @@ func (addr Address) String() string {
...
@@ -228,3 +228,12 @@ func (addr Address) String() string {
return
net
.
JoinHostPort
(
addr
.
Host
,
fmt
.
Sprintf
(
"%d"
,
addr
.
Port
))
return
net
.
JoinHostPort
(
addr
.
Host
,
fmt
.
Sprintf
(
"%d"
,
addr
.
Port
))
}
}
}
}
// ErrDecodeOverflow is the error returned by neoMsgDecode when decoding hits buffer overflow
type
ErrDecodeOverflow
struct
{
function
string
}
func
(
e
*
ErrDecodeOverflow
)
Error
()
string
{
return
fmt
.
Sprintf
(
"decode '%s': buffer overflow"
,
e
.
function
)
}
go/neo/proto/proto.go
View file @
eda58438
...
@@ -70,7 +70,6 @@ import (
...
@@ -70,7 +70,6 @@ import (
"lab.nexedi.com/kirr/neo/go/internal/packed"
"lab.nexedi.com/kirr/neo/go/internal/packed"
"encoding/binary"
"encoding/binary"
"errors"
"math"
"math"
)
)
...
@@ -168,9 +167,6 @@ func (e Encoding) MsgDecode(msg Msg, data []byte) (nread int, err error) {
...
@@ -168,9 +167,6 @@ func (e Encoding) MsgDecode(msg Msg, data []byte) (nread int, err error) {
}
}
// ErrDecodeOverflow is the error returned by neoMsgDecode when decoding hits buffer overflow
var
ErrDecodeOverflow
=
errors
.
New
(
"decode: buffer overflow"
)
// ---- messages ----
// ---- messages ----
//neo:proto enum
//neo:proto enum
...
...
go/neo/proto/proto_test.go
View file @
eda58438
...
@@ -22,6 +22,7 @@ package proto
...
@@ -22,6 +22,7 @@ package proto
import
(
import
(
"encoding/binary"
"encoding/binary"
"errors"
hexpkg
"encoding/hex"
hexpkg
"encoding/hex"
"fmt"
"fmt"
"reflect"
"reflect"
...
@@ -429,9 +430,10 @@ func TestMsgDecodeLenOverflowN(t *testing.T) {
...
@@ -429,9 +430,10 @@ func TestMsgDecodeLenOverflowN(t *testing.T) {
}()
}()
n
,
err
:=
enc
.
MsgDecode
(
tt
.
msg
,
data
)
n
,
err
:=
enc
.
MsgDecode
(
tt
.
msg
,
data
)
if
!
(
n
==
0
&&
err
==
ErrDecodeOverflow
)
{
errDecodeOverflow
:=
new
(
ErrDecodeOverflow
)
if
!
(
n
==
0
&&
errors
.
As
(
err
,
&
errDecodeOverflow
))
{
t
.
Errorf
(
"%T: decode %x
\n
have: %d, %v
\n
want: %d, %v"
,
tt
.
msg
,
data
,
t
.
Errorf
(
"%T: decode %x
\n
have: %d, %v
\n
want: %d, %v"
,
tt
.
msg
,
data
,
n
,
err
,
0
,
E
rrDecodeOverflow
)
n
,
err
,
0
,
e
rrDecodeOverflow
)
}
}
}()
}()
}
}
...
...
go/neo/proto/protogen.go
View file @
eda58438
...
@@ -917,7 +917,7 @@ func (d *decoderCommon) generatedCode() string {
...
@@ -917,7 +917,7 @@ func (d *decoderCommon) generatedCode() string {
// NOTE for >0 check actual X in StdSizes{X} does not particularly matter
// NOTE for >0 check actual X in StdSizes{X} does not particularly matter
if
((
&
types
.
StdSizes
{
8
,
8
})
.
Sizeof
(
d
.
typ
)
>
0
||
d
.
enc
!=
'N'
)
&&
d
.
overflow
.
gotoEmitted
{
if
((
&
types
.
StdSizes
{
8
,
8
})
.
Sizeof
(
d
.
typ
)
>
0
||
d
.
enc
!=
'N'
)
&&
d
.
overflow
.
gotoEmitted
{
code
.
emit
(
"
\n
overflow:"
)
code
.
emit
(
"
\n
overflow:"
)
code
.
emit
(
"return 0,
ErrDecodeOverflow"
)
code
.
emit
(
"return 0,
&ErrDecodeOverflow{
\"
%s
\"
}"
,
d
.
typeName
)
}
}
code
.
emit
(
"}
\n
"
)
code
.
emit
(
"}
\n
"
)
...
...
go/neo/proto/zproto-marshal.go
View file @
eda58438
...
@@ -59,7 +59,7 @@ func (p *Error) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -59,7 +59,7 @@ func (p *Error) neoMsgDecodeN(data []byte) (int, error) {
return
8
+
int
(
nread
),
nil
return
8
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Error"
}
}
}
func
(
p
*
Error
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
Error
)
neoMsgEncodedLenM
()
int
{
...
@@ -122,7 +122,7 @@ func (p *Error) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -122,7 +122,7 @@ func (p *Error) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Error"
}
}
}
// 1. RequestIdentification
// 1. RequestIdentification
...
@@ -267,7 +267,7 @@ func (p *RequestIdentification) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -267,7 +267,7 @@ func (p *RequestIdentification) neoMsgDecodeN(data []byte) (int, error) {
return
17
+
int
(
nread
),
nil
return
17
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RequestIdentification"
}
}
}
func
(
p
*
RequestIdentification
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
RequestIdentification
)
neoMsgEncodedLenM
()
int
{
...
@@ -478,7 +478,7 @@ func (p *RequestIdentification) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -478,7 +478,7 @@ func (p *RequestIdentification) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RequestIdentification"
}
}
}
// 1 | answerBit. AcceptIdentification
// 1 | answerBit. AcceptIdentification
...
@@ -507,7 +507,7 @@ func (p *AcceptIdentification) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -507,7 +507,7 @@ func (p *AcceptIdentification) neoMsgDecodeN(data []byte) (int, error) {
return
9
,
nil
return
9
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AcceptIdentification"
}
}
}
func
(
p
*
AcceptIdentification
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AcceptIdentification
)
neoMsgEncodedLenM
()
int
{
...
@@ -580,7 +580,7 @@ func (p *AcceptIdentification) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -580,7 +580,7 @@ func (p *AcceptIdentification) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AcceptIdentification"
}
}
}
// 3. Ping
// 3. Ping
...
@@ -757,7 +757,7 @@ func (p *AnswerPrimary) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -757,7 +757,7 @@ func (p *AnswerPrimary) neoMsgDecodeN(data []byte) (int, error) {
return
4
,
nil
return
4
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPrimary"
}
}
}
func
(
p
*
AnswerPrimary
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerPrimary
)
neoMsgEncodedLenM
()
int
{
...
@@ -850,7 +850,7 @@ func (p *NotPrimaryMaster) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -850,7 +850,7 @@ func (p *NotPrimaryMaster) neoMsgDecodeN(data []byte) (int, error) {
return
8
+
int
(
nread
),
nil
return
8
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotPrimaryMaster"
}
}
}
func
(
p
*
NotPrimaryMaster
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotPrimaryMaster
)
neoMsgEncodedLenM
()
int
{
...
@@ -1052,7 +1052,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1052,7 +1052,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyNodeInformation"
}
}
}
func
(
p
*
NotifyNodeInformation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyNodeInformation
)
neoMsgEncodedLenM
()
int
{
...
@@ -1247,7 +1247,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1247,7 +1247,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyNodeInformation"
}
}
}
// 10. Recovery
// 10. Recovery
...
@@ -1314,7 +1314,7 @@ func (p *AnswerRecovery) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1314,7 +1314,7 @@ func (p *AnswerRecovery) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRecovery"
}
}
}
func
(
p
*
AnswerRecovery
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerRecovery
)
neoMsgEncodedLenM
()
int
{
...
@@ -1414,7 +1414,7 @@ func (p *AnswerRecovery) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1414,7 +1414,7 @@ func (p *AnswerRecovery) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRecovery"
}
}
}
// 12. LastIDs
// 12. LastIDs
...
@@ -1479,7 +1479,7 @@ func (p *AnswerLastIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1479,7 +1479,7 @@ func (p *AnswerLastIDs) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLastIDs"
}
}
}
func
(
p
*
AnswerLastIDs
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerLastIDs
)
neoMsgEncodedLenM
()
int
{
...
@@ -1566,7 +1566,7 @@ func (p *AnswerLastIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1566,7 +1566,7 @@ func (p *AnswerLastIDs) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLastIDs"
}
}
}
// 14. AskPartitionTable
// 14. AskPartitionTable
...
@@ -1683,7 +1683,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1683,7 +1683,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
return
16
+
int
(
nread
),
nil
return
16
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPartitionTable"
}
}
}
func
(
p
*
AnswerPartitionTable
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerPartitionTable
)
neoMsgEncodedLenM
()
int
{
...
@@ -1829,7 +1829,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1829,7 +1829,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPartitionTable"
}
}
}
// 16. SendPartitionTable
// 16. SendPartitionTable
...
@@ -1908,7 +1908,7 @@ func (p *SendPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1908,7 +1908,7 @@ func (p *SendPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
return
16
+
int
(
nread
),
nil
return
16
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SendPartitionTable"
}
}
}
func
(
p
*
SendPartitionTable
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
SendPartitionTable
)
neoMsgEncodedLenM
()
int
{
...
@@ -2054,7 +2054,7 @@ func (p *SendPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2054,7 +2054,7 @@ func (p *SendPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SendPartitionTable"
}
}
}
// 17. NotifyPartitionChanges
// 17. NotifyPartitionChanges
...
@@ -2113,7 +2113,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2113,7 +2113,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeN(data []byte) (int, error) {
return
16
+
int
(
nread
),
nil
return
16
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyPartitionChanges"
}
}
}
func
(
p
*
NotifyPartitionChanges
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyPartitionChanges
)
neoMsgEncodedLenM
()
int
{
...
@@ -2260,7 +2260,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2260,7 +2260,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyPartitionChanges"
}
}
}
// 18. StartOperation
// 18. StartOperation
...
@@ -2285,7 +2285,7 @@ func (p *StartOperation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2285,7 +2285,7 @@ func (p *StartOperation) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StartOperation"
}
}
}
func
(
p
*
StartOperation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
StartOperation
)
neoMsgEncodedLenM
()
int
{
...
@@ -2321,7 +2321,7 @@ func (p *StartOperation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2321,7 +2321,7 @@ func (p *StartOperation) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StartOperation"
}
}
}
// 19. StopOperation
// 19. StopOperation
...
@@ -2407,7 +2407,7 @@ func (p *UnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2407,7 +2407,7 @@ func (p *UnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"UnfinishedTransactions"
}
}
}
func
(
p
*
UnfinishedTransactions
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
UnfinishedTransactions
)
neoMsgEncodedLenM
()
int
{
...
@@ -2525,7 +2525,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2525,7 +2525,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerUnfinishedTransactions"
}
}
}
func
(
p
*
AnswerUnfinishedTransactions
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerUnfinishedTransactions
)
neoMsgEncodedLenM
()
int
{
...
@@ -2645,7 +2645,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2645,7 +2645,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerUnfinishedTransactions"
}
}
}
// 22. LockedTransactions
// 22. LockedTransactions
...
@@ -2738,7 +2738,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2738,7 +2738,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLockedTransactions"
}
}
}
func
(
p
*
AnswerLockedTransactions
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerLockedTransactions
)
neoMsgEncodedLenM
()
int
{
...
@@ -2835,7 +2835,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2835,7 +2835,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLockedTransactions"
}
}
}
// 24. FinalTID
// 24. FinalTID
...
@@ -2860,7 +2860,7 @@ func (p *FinalTID) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2860,7 +2860,7 @@ func (p *FinalTID) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FinalTID"
}
}
}
func
(
p
*
FinalTID
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
FinalTID
)
neoMsgEncodedLenM
()
int
{
...
@@ -2916,7 +2916,7 @@ func (p *FinalTID) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2916,7 +2916,7 @@ func (p *FinalTID) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FinalTID"
}
}
}
// 24 | answerBit. AnswerFinalTID
// 24 | answerBit. AnswerFinalTID
...
@@ -2941,7 +2941,7 @@ func (p *AnswerFinalTID) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2941,7 +2941,7 @@ func (p *AnswerFinalTID) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFinalTID"
}
}
}
func
(
p
*
AnswerFinalTID
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerFinalTID
)
neoMsgEncodedLenM
()
int
{
...
@@ -2997,7 +2997,7 @@ func (p *AnswerFinalTID) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2997,7 +2997,7 @@ func (p *AnswerFinalTID) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFinalTID"
}
}
}
// 26. ValidateTransaction
// 26. ValidateTransaction
...
@@ -3024,7 +3024,7 @@ func (p *ValidateTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3024,7 +3024,7 @@ func (p *ValidateTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ValidateTransaction"
}
}
}
func
(
p
*
ValidateTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
ValidateTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -3111,7 +3111,7 @@ func (p *ValidateTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3111,7 +3111,7 @@ func (p *ValidateTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ValidateTransaction"
}
}
}
// 27. BeginTransaction
// 27. BeginTransaction
...
@@ -3136,7 +3136,7 @@ func (p *BeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3136,7 +3136,7 @@ func (p *BeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"BeginTransaction"
}
}
}
func
(
p
*
BeginTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
BeginTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -3192,7 +3192,7 @@ func (p *BeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3192,7 +3192,7 @@ func (p *BeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"BeginTransaction"
}
}
}
// 27 | answerBit. AnswerBeginTransaction
// 27 | answerBit. AnswerBeginTransaction
...
@@ -3217,7 +3217,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3217,7 +3217,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerBeginTransaction"
}
}
}
func
(
p
*
AnswerBeginTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerBeginTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -3273,7 +3273,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3273,7 +3273,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerBeginTransaction"
}
}
}
// 29. FailedVote
// 29. FailedVote
...
@@ -3323,7 +3323,7 @@ func (p *FailedVote) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3323,7 +3323,7 @@ func (p *FailedVote) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FailedVote"
}
}
}
func
(
p
*
FailedVote
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
FailedVote
)
neoMsgEncodedLenM
()
int
{
...
@@ -3416,7 +3416,7 @@ func (p *FailedVote) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3416,7 +3416,7 @@ func (p *FailedVote) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FailedVote"
}
}
}
// 30. FinishTransaction
// 30. FinishTransaction
...
@@ -3490,7 +3490,7 @@ func (p *FinishTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3490,7 +3490,7 @@ func (p *FinishTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FinishTransaction"
}
}
}
func
(
p
*
FinishTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
FinishTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -3638,7 +3638,7 @@ func (p *FinishTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3638,7 +3638,7 @@ func (p *FinishTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FinishTransaction"
}
}
}
// 30 | answerBit. AnswerTransactionFinished
// 30 | answerBit. AnswerTransactionFinished
...
@@ -3665,7 +3665,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3665,7 +3665,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTransactionFinished"
}
}
}
func
(
p
*
AnswerTransactionFinished
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerTransactionFinished
)
neoMsgEncodedLenM
()
int
{
...
@@ -3752,7 +3752,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3752,7 +3752,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTransactionFinished"
}
}
}
// 32. LockInformation
// 32. LockInformation
...
@@ -3779,7 +3779,7 @@ func (p *LockInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3779,7 +3779,7 @@ func (p *LockInformation) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"LockInformation"
}
}
}
func
(
p
*
LockInformation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
LockInformation
)
neoMsgEncodedLenM
()
int
{
...
@@ -3866,7 +3866,7 @@ func (p *LockInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3866,7 +3866,7 @@ func (p *LockInformation) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"LockInformation"
}
}
}
// 32 | answerBit. AnswerInformationLocked
// 32 | answerBit. AnswerInformationLocked
...
@@ -3891,7 +3891,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3891,7 +3891,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerInformationLocked"
}
}
}
func
(
p
*
AnswerInformationLocked
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerInformationLocked
)
neoMsgEncodedLenM
()
int
{
...
@@ -3947,7 +3947,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3947,7 +3947,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerInformationLocked"
}
}
}
// 34. InvalidateObjects
// 34. InvalidateObjects
...
@@ -3997,7 +3997,7 @@ func (p *InvalidateObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3997,7 +3997,7 @@ func (p *InvalidateObjects) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"InvalidateObjects"
}
}
}
func
(
p
*
InvalidateObjects
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
InvalidateObjects
)
neoMsgEncodedLenM
()
int
{
...
@@ -4099,7 +4099,7 @@ func (p *InvalidateObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4099,7 +4099,7 @@ func (p *InvalidateObjects) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"InvalidateObjects"
}
}
}
// 35. NotifyUnlockInformation
// 35. NotifyUnlockInformation
...
@@ -4124,7 +4124,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4124,7 +4124,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyUnlockInformation"
}
}
}
func
(
p
*
NotifyUnlockInformation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyUnlockInformation
)
neoMsgEncodedLenM
()
int
{
...
@@ -4180,7 +4180,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4180,7 +4180,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyUnlockInformation"
}
}
}
// 36. AskNewOIDs
// 36. AskNewOIDs
...
@@ -4205,7 +4205,7 @@ func (p *AskNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4205,7 +4205,7 @@ func (p *AskNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
return
4
,
nil
return
4
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AskNewOIDs"
}
}
}
func
(
p
*
AskNewOIDs
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AskNewOIDs
)
neoMsgEncodedLenM
()
int
{
...
@@ -4287,7 +4287,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4287,7 +4287,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerNewOIDs"
}
}
}
func
(
p
*
AnswerNewOIDs
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerNewOIDs
)
neoMsgEncodedLenM
()
int
{
...
@@ -4357,7 +4357,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4357,7 +4357,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerNewOIDs"
}
}
}
// 38. NotifyDeadlock
// 38. NotifyDeadlock
...
@@ -4384,7 +4384,7 @@ func (p *NotifyDeadlock) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4384,7 +4384,7 @@ func (p *NotifyDeadlock) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyDeadlock"
}
}
}
func
(
p
*
NotifyDeadlock
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyDeadlock
)
neoMsgEncodedLenM
()
int
{
...
@@ -4471,7 +4471,7 @@ func (p *NotifyDeadlock) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4471,7 +4471,7 @@ func (p *NotifyDeadlock) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyDeadlock"
}
}
}
// 39. RebaseTransaction
// 39. RebaseTransaction
...
@@ -4498,7 +4498,7 @@ func (p *RebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4498,7 +4498,7 @@ func (p *RebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RebaseTransaction"
}
}
}
func
(
p
*
RebaseTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
RebaseTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -4585,7 +4585,7 @@ func (p *RebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4585,7 +4585,7 @@ func (p *RebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RebaseTransaction"
}
}
}
// 39 | answerBit. AnswerRebaseTransaction
// 39 | answerBit. AnswerRebaseTransaction
...
@@ -4633,7 +4633,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4633,7 +4633,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRebaseTransaction"
}
}
}
func
(
p
*
AnswerRebaseTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerRebaseTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -4703,7 +4703,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4703,7 +4703,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRebaseTransaction"
}
}
}
// 41. RebaseObject
// 41. RebaseObject
...
@@ -4730,7 +4730,7 @@ func (p *RebaseObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4730,7 +4730,7 @@ func (p *RebaseObject) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RebaseObject"
}
}
}
func
(
p
*
RebaseObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
RebaseObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -4817,7 +4817,7 @@ func (p *RebaseObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4817,7 +4817,7 @@ func (p *RebaseObject) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RebaseObject"
}
}
}
// 41 | answerBit. AnswerRebaseObject
// 41 | answerBit. AnswerRebaseObject
...
@@ -4867,7 +4867,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4867,7 +4867,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeN(data []byte) (int, error) {
return
41
+
int
(
nread
),
nil
return
41
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRebaseObject"
}
}
}
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -5006,7 +5006,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5006,7 +5006,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeM(data []byte) (int, error) {
return
22
+
int
(
nread
),
nil
return
22
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRebaseObject"
}
}
}
// 43. StoreObject
// 43. StoreObject
...
@@ -5060,7 +5060,7 @@ func (p *StoreObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5060,7 +5060,7 @@ func (p *StoreObject) neoMsgDecodeN(data []byte) (int, error) {
return
41
+
int
(
nread
),
nil
return
41
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StoreObject"
}
}
}
func
(
p
*
StoreObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
StoreObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -5261,7 +5261,7 @@ func (p *StoreObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5261,7 +5261,7 @@ func (p *StoreObject) neoMsgDecodeM(data []byte) (int, error) {
return
22
+
int
(
nread
),
nil
return
22
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StoreObject"
}
}
}
// 43 | answerBit. AnswerStoreObject
// 43 | answerBit. AnswerStoreObject
...
@@ -5286,7 +5286,7 @@ func (p *AnswerStoreObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5286,7 +5286,7 @@ func (p *AnswerStoreObject) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerStoreObject"
}
}
}
func
(
p
*
AnswerStoreObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerStoreObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -5342,7 +5342,7 @@ func (p *AnswerStoreObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5342,7 +5342,7 @@ func (p *AnswerStoreObject) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerStoreObject"
}
}
}
// 45. AbortTransaction
// 45. AbortTransaction
...
@@ -5392,7 +5392,7 @@ func (p *AbortTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5392,7 +5392,7 @@ func (p *AbortTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AbortTransaction"
}
}
}
func
(
p
*
AbortTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AbortTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -5485,7 +5485,7 @@ func (p *AbortTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5485,7 +5485,7 @@ func (p *AbortTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AbortTransaction"
}
}
}
// 46. StoreTransaction
// 46. StoreTransaction
...
@@ -5586,7 +5586,7 @@ func (p *StoreTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5586,7 +5586,7 @@ func (p *StoreTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StoreTransaction"
}
}
}
func
(
p
*
StoreTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
StoreTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -5736,7 +5736,7 @@ func (p *StoreTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5736,7 +5736,7 @@ func (p *StoreTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StoreTransaction"
}
}
}
// 46 | answerBit. AnswerStoreTransaction
// 46 | answerBit. AnswerStoreTransaction
...
@@ -5799,7 +5799,7 @@ func (p *VoteTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5799,7 +5799,7 @@ func (p *VoteTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"VoteTransaction"
}
}
}
func
(
p
*
VoteTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
VoteTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -5855,7 +5855,7 @@ func (p *VoteTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5855,7 +5855,7 @@ func (p *VoteTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"VoteTransaction"
}
}
}
// 48 | answerBit. AnswerVoteTransaction
// 48 | answerBit. AnswerVoteTransaction
...
@@ -5922,7 +5922,7 @@ func (p *GetObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5922,7 +5922,7 @@ func (p *GetObject) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"GetObject"
}
}
}
func
(
p
*
GetObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
GetObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -6040,7 +6040,7 @@ func (p *GetObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6040,7 +6040,7 @@ func (p *GetObject) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"GetObject"
}
}
}
// 50 | answerBit. AnswerObject
// 50 | answerBit. AnswerObject
...
@@ -6094,7 +6094,7 @@ func (p *AnswerObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6094,7 +6094,7 @@ func (p *AnswerObject) neoMsgDecodeN(data []byte) (int, error) {
return
49
+
int
(
nread
),
nil
return
49
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObject"
}
}
}
func
(
p
*
AnswerObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -6295,7 +6295,7 @@ func (p *AnswerObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6295,7 +6295,7 @@ func (p *AnswerObject) neoMsgDecodeM(data []byte) (int, error) {
return
22
+
int
(
nread
),
nil
return
22
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObject"
}
}
}
// 52. AskTIDs
// 52. AskTIDs
...
@@ -6324,7 +6324,7 @@ func (p *AskTIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6324,7 +6324,7 @@ func (p *AskTIDs) neoMsgDecodeN(data []byte) (int, error) {
return
20
,
nil
return
20
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AskTIDs"
}
}
}
func
(
p
*
AskTIDs
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AskTIDs
)
neoMsgEncodedLenM
()
int
{
...
@@ -6432,7 +6432,7 @@ func (p *AnswerTIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6432,7 +6432,7 @@ func (p *AnswerTIDs) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTIDs"
}
}
}
func
(
p
*
AnswerTIDs
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerTIDs
)
neoMsgEncodedLenM
()
int
{
...
@@ -6502,7 +6502,7 @@ func (p *AnswerTIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6502,7 +6502,7 @@ func (p *AnswerTIDs) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTIDs"
}
}
}
// 54. TransactionInformation
// 54. TransactionInformation
...
@@ -6527,7 +6527,7 @@ func (p *TransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6527,7 +6527,7 @@ func (p *TransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"TransactionInformation"
}
}
}
func
(
p
*
TransactionInformation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
TransactionInformation
)
neoMsgEncodedLenM
()
int
{
...
@@ -6583,7 +6583,7 @@ func (p *TransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6583,7 +6583,7 @@ func (p *TransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"TransactionInformation"
}
}
}
// 54 | answerBit. AnswerTransactionInformation
// 54 | answerBit. AnswerTransactionInformation
...
@@ -6686,7 +6686,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6686,7 +6686,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTransactionInformation"
}
}
}
func
(
p
*
AnswerTransactionInformation
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerTransactionInformation
)
neoMsgEncodedLenM
()
int
{
...
@@ -6849,7 +6849,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6849,7 +6849,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTransactionInformation"
}
}
}
// 56. ObjectHistory
// 56. ObjectHistory
...
@@ -6878,7 +6878,7 @@ func (p *ObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6878,7 +6878,7 @@ func (p *ObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ObjectHistory"
}
}
}
func
(
p
*
ObjectHistory
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
ObjectHistory
)
neoMsgEncodedLenM
()
int
{
...
@@ -6960,7 +6960,7 @@ func (p *ObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6960,7 +6960,7 @@ func (p *ObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ObjectHistory"
}
}
}
// 56 | answerBit. AnswerObjectHistory
// 56 | answerBit. AnswerObjectHistory
...
@@ -7015,7 +7015,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7015,7 +7015,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObjectHistory"
}
}
}
func
(
p
*
AnswerObjectHistory
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerObjectHistory
)
neoMsgEncodedLenM
()
int
{
...
@@ -7151,7 +7151,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7151,7 +7151,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObjectHistory"
}
}
}
// 58. PartitionList
// 58. PartitionList
...
@@ -7180,7 +7180,7 @@ func (p *PartitionList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7180,7 +7180,7 @@ func (p *PartitionList) neoMsgDecodeN(data []byte) (int, error) {
return
12
,
nil
return
12
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"PartitionList"
}
}
}
func
(
p
*
PartitionList
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
PartitionList
)
neoMsgEncodedLenM
()
int
{
...
@@ -7319,7 +7319,7 @@ func (p *AnswerPartitionList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7319,7 +7319,7 @@ func (p *AnswerPartitionList) neoMsgDecodeN(data []byte) (int, error) {
return
16
+
int
(
nread
),
nil
return
16
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPartitionList"
}
}
}
func
(
p
*
AnswerPartitionList
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerPartitionList
)
neoMsgEncodedLenM
()
int
{
...
@@ -7465,7 +7465,7 @@ func (p *AnswerPartitionList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7465,7 +7465,7 @@ func (p *AnswerPartitionList) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPartitionList"
}
}
}
// 60. NodeList
// 60. NodeList
...
@@ -7490,7 +7490,7 @@ func (p *NodeList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7490,7 +7490,7 @@ func (p *NodeList) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NodeList"
}
}
}
func
(
p
*
NodeList
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NodeList
)
neoMsgEncodedLenM
()
int
{
...
@@ -7536,7 +7536,7 @@ func (p *NodeList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7536,7 +7536,7 @@ func (p *NodeList) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NodeList"
}
}
}
// 60 | answerBit. AnswerNodeList
// 60 | answerBit. AnswerNodeList
...
@@ -7620,7 +7620,7 @@ func (p *AnswerNodeList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7620,7 +7620,7 @@ func (p *AnswerNodeList) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerNodeList"
}
}
}
func
(
p
*
AnswerNodeList
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerNodeList
)
neoMsgEncodedLenM
()
int
{
...
@@ -7796,7 +7796,7 @@ func (p *AnswerNodeList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7796,7 +7796,7 @@ func (p *AnswerNodeList) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerNodeList"
}
}
}
// 62. SetNodeState
// 62. SetNodeState
...
@@ -7823,7 +7823,7 @@ func (p *SetNodeState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7823,7 +7823,7 @@ func (p *SetNodeState) neoMsgDecodeN(data []byte) (int, error) {
return
5
,
nil
return
5
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SetNodeState"
}
}
}
func
(
p
*
SetNodeState
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
SetNodeState
)
neoMsgEncodedLenM
()
int
{
...
@@ -7882,7 +7882,7 @@ func (p *SetNodeState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7882,7 +7882,7 @@ func (p *SetNodeState) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SetNodeState"
}
}
}
// 63. AddPendingNodes
// 63. AddPendingNodes
...
@@ -7930,7 +7930,7 @@ func (p *AddPendingNodes) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7930,7 +7930,7 @@ func (p *AddPendingNodes) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddPendingNodes"
}
}
}
func
(
p
*
AddPendingNodes
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AddPendingNodes
)
neoMsgEncodedLenM
()
int
{
...
@@ -8039,7 +8039,7 @@ func (p *TweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8039,7 +8039,7 @@ func (p *TweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
return
5
+
int
(
nread
),
nil
return
5
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"TweakPartitionTable"
}
}
}
func
(
p
*
TweakPartitionTable
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
TweakPartitionTable
)
neoMsgEncodedLenM
()
int
{
...
@@ -8114,7 +8114,7 @@ func (p *TweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8114,7 +8114,7 @@ func (p *TweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"TweakPartitionTable"
}
}
}
// 64 | answerBit. AnswerTweakPartitionTable
// 64 | answerBit. AnswerTweakPartitionTable
...
@@ -8191,7 +8191,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8191,7 +8191,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
return
5
+
int
(
nread
),
nil
return
5
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTweakPartitionTable"
}
}
}
func
(
p
*
AnswerTweakPartitionTable
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerTweakPartitionTable
)
neoMsgEncodedLenM
()
int
{
...
@@ -8324,7 +8324,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8324,7 +8324,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTweakPartitionTable"
}
}
}
// 66. SetNumReplicas
// 66. SetNumReplicas
...
@@ -8349,7 +8349,7 @@ func (p *SetNumReplicas) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8349,7 +8349,7 @@ func (p *SetNumReplicas) neoMsgDecodeN(data []byte) (int, error) {
return
4
,
nil
return
4
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SetNumReplicas"
}
}
}
func
(
p
*
SetNumReplicas
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
SetNumReplicas
)
neoMsgEncodedLenM
()
int
{
...
@@ -8408,7 +8408,7 @@ func (p *SetClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8408,7 +8408,7 @@ func (p *SetClusterState) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SetClusterState"
}
}
}
func
(
p
*
SetClusterState
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
SetClusterState
)
neoMsgEncodedLenM
()
int
{
...
@@ -8454,7 +8454,7 @@ func (p *SetClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8454,7 +8454,7 @@ func (p *SetClusterState) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"SetClusterState"
}
}
}
// 68. Repair
// 68. Repair
...
@@ -8504,7 +8504,7 @@ func (p *Repair) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8504,7 +8504,7 @@ func (p *Repair) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Repair"
}
}
}
func
(
p
*
Repair
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
Repair
)
neoMsgEncodedLenM
()
int
{
...
@@ -8587,7 +8587,7 @@ func (p *Repair) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8587,7 +8587,7 @@ func (p *Repair) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Repair"
}
}
}
// 69. RepairOne
// 69. RepairOne
...
@@ -8612,7 +8612,7 @@ func (p *RepairOne) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8612,7 +8612,7 @@ func (p *RepairOne) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RepairOne"
}
}
}
func
(
p
*
RepairOne
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
RepairOne
)
neoMsgEncodedLenM
()
int
{
...
@@ -8657,7 +8657,7 @@ func (p *RepairOne) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8657,7 +8657,7 @@ func (p *RepairOne) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"RepairOne"
}
}
}
// 70. NotifyClusterState
// 70. NotifyClusterState
...
@@ -8682,7 +8682,7 @@ func (p *NotifyClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8682,7 +8682,7 @@ func (p *NotifyClusterState) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyClusterState"
}
}
}
func
(
p
*
NotifyClusterState
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyClusterState
)
neoMsgEncodedLenM
()
int
{
...
@@ -8728,7 +8728,7 @@ func (p *NotifyClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8728,7 +8728,7 @@ func (p *NotifyClusterState) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyClusterState"
}
}
}
// 71. AskClusterState
// 71. AskClusterState
...
@@ -8791,7 +8791,7 @@ func (p *AnswerClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8791,7 +8791,7 @@ func (p *AnswerClusterState) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerClusterState"
}
}
}
func
(
p
*
AnswerClusterState
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerClusterState
)
neoMsgEncodedLenM
()
int
{
...
@@ -8837,7 +8837,7 @@ func (p *AnswerClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8837,7 +8837,7 @@ func (p *AnswerClusterState) neoMsgDecodeM(data []byte) (int, error) {
return
3
+
int
(
nread
),
nil
return
3
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerClusterState"
}
}
}
// 73. ObjectUndoSerial
// 73. ObjectUndoSerial
...
@@ -8891,7 +8891,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8891,7 +8891,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
return
28
+
int
(
nread
),
nil
return
28
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ObjectUndoSerial"
}
}
}
func
(
p
*
ObjectUndoSerial
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
ObjectUndoSerial
)
neoMsgEncodedLenM
()
int
{
...
@@ -9055,7 +9055,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9055,7 +9055,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ObjectUndoSerial"
}
}
}
// 73 | answerBit. AnswerObjectUndoSerial
// 73 | answerBit. AnswerObjectUndoSerial
...
@@ -9124,7 +9124,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9124,7 +9124,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObjectUndoSerial"
}
}
}
func
(
p
*
AnswerObjectUndoSerial
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerObjectUndoSerial
)
neoMsgEncodedLenM
()
int
{
...
@@ -9304,7 +9304,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9304,7 +9304,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObjectUndoSerial"
}
}
}
// 75. AskTIDsFrom
// 75. AskTIDsFrom
...
@@ -9335,7 +9335,7 @@ func (p *AskTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9335,7 +9335,7 @@ func (p *AskTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AskTIDsFrom"
}
}
}
func
(
p
*
AskTIDsFrom
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AskTIDsFrom
)
neoMsgEncodedLenM
()
int
{
...
@@ -9448,7 +9448,7 @@ func (p *AskTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9448,7 +9448,7 @@ func (p *AskTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AskTIDsFrom"
}
}
}
// 75 | answerBit. AnswerTIDsFrom
// 75 | answerBit. AnswerTIDsFrom
...
@@ -9496,7 +9496,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9496,7 +9496,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTIDsFrom"
}
}
}
func
(
p
*
AnswerTIDsFrom
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerTIDsFrom
)
neoMsgEncodedLenM
()
int
{
...
@@ -9566,7 +9566,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9566,7 +9566,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerTIDsFrom"
}
}
}
// 77. Pack
// 77. Pack
...
@@ -9591,7 +9591,7 @@ func (p *Pack) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9591,7 +9591,7 @@ func (p *Pack) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Pack"
}
}
}
func
(
p
*
Pack
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
Pack
)
neoMsgEncodedLenM
()
int
{
...
@@ -9647,7 +9647,7 @@ func (p *Pack) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9647,7 +9647,7 @@ func (p *Pack) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Pack"
}
}
}
// 77 | answerBit. AnswerPack
// 77 | answerBit. AnswerPack
...
@@ -9672,7 +9672,7 @@ func (p *AnswerPack) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9672,7 +9672,7 @@ func (p *AnswerPack) neoMsgDecodeN(data []byte) (int, error) {
return
1
,
nil
return
1
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPack"
}
}
}
func
(
p
*
AnswerPack
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerPack
)
neoMsgEncodedLenM
()
int
{
...
@@ -9708,7 +9708,7 @@ func (p *AnswerPack) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9708,7 +9708,7 @@ func (p *AnswerPack) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerPack"
}
}
}
// 79. CheckReplicas
// 79. CheckReplicas
...
@@ -9767,7 +9767,7 @@ func (p *CheckReplicas) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9767,7 +9767,7 @@ func (p *CheckReplicas) neoMsgDecodeN(data []byte) (int, error) {
return
4
+
int
(
nread
),
nil
return
4
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckReplicas"
}
}
}
func
(
p
*
CheckReplicas
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
CheckReplicas
)
neoMsgEncodedLenM
()
int
{
...
@@ -9908,7 +9908,7 @@ func (p *CheckReplicas) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9908,7 +9908,7 @@ func (p *CheckReplicas) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckReplicas"
}
}
}
// 80. CheckPartition
// 80. CheckPartition
...
@@ -9970,7 +9970,7 @@ func (p *CheckPartition) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9970,7 +9970,7 @@ func (p *CheckPartition) neoMsgDecodeN(data []byte) (int, error) {
return
24
+
int
(
nread
),
nil
return
24
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckPartition"
}
}
}
func
(
p
*
CheckPartition
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
CheckPartition
)
neoMsgEncodedLenM
()
int
{
...
@@ -10133,7 +10133,7 @@ func (p *CheckPartition) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10133,7 +10133,7 @@ func (p *CheckPartition) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckPartition"
}
}
}
// 81. CheckTIDRange
// 81. CheckTIDRange
...
@@ -10164,7 +10164,7 @@ func (p *CheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10164,7 +10164,7 @@ func (p *CheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckTIDRange"
}
}
}
func
(
p
*
CheckTIDRange
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
CheckTIDRange
)
neoMsgEncodedLenM
()
int
{
...
@@ -10277,7 +10277,7 @@ func (p *CheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10277,7 +10277,7 @@ func (p *CheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckTIDRange"
}
}
}
// 81 | answerBit. AnswerCheckTIDRange
// 81 | answerBit. AnswerCheckTIDRange
...
@@ -10306,7 +10306,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10306,7 +10306,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
return
32
,
nil
return
32
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckTIDRange"
}
}
}
func
(
p
*
AnswerCheckTIDRange
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerCheckTIDRange
)
neoMsgEncodedLenM
()
int
{
...
@@ -10389,7 +10389,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10389,7 +10389,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
return
22
+
int
(
nread
),
nil
return
22
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckTIDRange"
}
}
}
// 83. CheckSerialRange
// 83. CheckSerialRange
...
@@ -10422,7 +10422,7 @@ func (p *CheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10422,7 +10422,7 @@ func (p *CheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
return
32
,
nil
return
32
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckSerialRange"
}
}
}
func
(
p
*
CheckSerialRange
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
CheckSerialRange
)
neoMsgEncodedLenM
()
int
{
...
@@ -10566,7 +10566,7 @@ func (p *CheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10566,7 +10566,7 @@ func (p *CheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckSerialRange"
}
}
}
// 83 | answerBit. AnswerCheckSerialRange
// 83 | answerBit. AnswerCheckSerialRange
...
@@ -10599,7 +10599,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10599,7 +10599,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
return
60
,
nil
return
60
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckSerialRange"
}
}
}
func
(
p
*
AnswerCheckSerialRange
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerCheckSerialRange
)
neoMsgEncodedLenM
()
int
{
...
@@ -10727,7 +10727,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10727,7 +10727,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
return
44
+
int
(
nread
),
nil
return
44
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckSerialRange"
}
}
}
// 85. PartitionCorrupted
// 85. PartitionCorrupted
...
@@ -10777,7 +10777,7 @@ func (p *PartitionCorrupted) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10777,7 +10777,7 @@ func (p *PartitionCorrupted) neoMsgDecodeN(data []byte) (int, error) {
return
8
+
int
(
nread
),
nil
return
8
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"PartitionCorrupted"
}
}
}
func
(
p
*
PartitionCorrupted
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
PartitionCorrupted
)
neoMsgEncodedLenM
()
int
{
...
@@ -10950,7 +10950,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10950,7 +10950,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLastTransaction"
}
}
}
func
(
p
*
AnswerLastTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerLastTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -11006,7 +11006,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11006,7 +11006,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerLastTransaction"
}
}
}
// 89. CheckCurrentSerial
// 89. CheckCurrentSerial
...
@@ -11035,7 +11035,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11035,7 +11035,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
return
24
,
nil
return
24
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckCurrentSerial"
}
}
}
func
(
p
*
CheckCurrentSerial
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
CheckCurrentSerial
)
neoMsgEncodedLenM
()
int
{
...
@@ -11153,7 +11153,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11153,7 +11153,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"CheckCurrentSerial"
}
}
}
// 89 | answerBit. AnswerCheckCurrentSerial
// 89 | answerBit. AnswerCheckCurrentSerial
...
@@ -11178,7 +11178,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11178,7 +11178,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckCurrentSerial"
}
}
}
func
(
p
*
AnswerCheckCurrentSerial
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerCheckCurrentSerial
)
neoMsgEncodedLenM
()
int
{
...
@@ -11243,7 +11243,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11243,7 +11243,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerCheckCurrentSerial"
}
}
}
// 91. NotifyTransactionFinished
// 91. NotifyTransactionFinished
...
@@ -11270,7 +11270,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11270,7 +11270,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
return
16
,
nil
return
16
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyTransactionFinished"
}
}
}
func
(
p
*
NotifyTransactionFinished
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
NotifyTransactionFinished
)
neoMsgEncodedLenM
()
int
{
...
@@ -11357,7 +11357,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11357,7 +11357,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"NotifyTransactionFinished"
}
}
}
// 92. Replicate
// 92. Replicate
...
@@ -11448,7 +11448,7 @@ func (p *Replicate) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11448,7 +11448,7 @@ func (p *Replicate) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Replicate"
}
}
}
func
(
p
*
Replicate
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
Replicate
)
neoMsgEncodedLenM
()
int
{
...
@@ -11577,7 +11577,7 @@ func (p *Replicate) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11577,7 +11577,7 @@ func (p *Replicate) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Replicate"
}
}
}
// 93. ReplicationDone
// 93. ReplicationDone
...
@@ -11604,7 +11604,7 @@ func (p *ReplicationDone) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11604,7 +11604,7 @@ func (p *ReplicationDone) neoMsgDecodeN(data []byte) (int, error) {
return
12
,
nil
return
12
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ReplicationDone"
}
}
}
func
(
p
*
ReplicationDone
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
ReplicationDone
)
neoMsgEncodedLenM
()
int
{
...
@@ -11673,7 +11673,7 @@ func (p *ReplicationDone) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11673,7 +11673,7 @@ func (p *ReplicationDone) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"ReplicationDone"
}
}
}
// 94. FetchTransactions
// 94. FetchTransactions
...
@@ -11729,7 +11729,7 @@ func (p *FetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11729,7 +11729,7 @@ func (p *FetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
return
28
+
int
(
nread
),
nil
return
28
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FetchTransactions"
}
}
}
func
(
p
*
FetchTransactions
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
FetchTransactions
)
neoMsgEncodedLenM
()
int
{
...
@@ -11888,7 +11888,7 @@ func (p *FetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11888,7 +11888,7 @@ func (p *FetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FetchTransactions"
}
}
}
// 94 | answerBit. AnswerFetchTransactions
// 94 | answerBit. AnswerFetchTransactions
...
@@ -11940,7 +11940,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11940,7 +11940,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
return
20
+
int
(
nread
),
nil
return
20
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFetchTransactions"
}
}
}
func
(
p
*
AnswerFetchTransactions
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerFetchTransactions
)
neoMsgEncodedLenM
()
int
{
...
@@ -12073,7 +12073,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12073,7 +12073,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFetchTransactions"
}
}
}
// 96. FetchObjects
// 96. FetchObjects
...
@@ -12164,7 +12164,7 @@ func (p *FetchObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12164,7 +12164,7 @@ func (p *FetchObjects) neoMsgDecodeN(data []byte) (int, error) {
return
36
+
int
(
nread
),
nil
return
36
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FetchObjects"
}
}
}
func
(
p
*
FetchObjects
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
FetchObjects
)
neoMsgEncodedLenM
()
int
{
...
@@ -12415,7 +12415,7 @@ func (p *FetchObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12415,7 +12415,7 @@ func (p *FetchObjects) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"FetchObjects"
}
}
}
// 96 | answerBit. AnswerFetchObjects
// 96 | answerBit. AnswerFetchObjects
...
@@ -12502,7 +12502,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12502,7 +12502,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeN(data []byte) (int, error) {
return
28
+
int
(
nread
),
nil
return
28
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFetchObjects"
}
}
}
func
(
p
*
AnswerFetchObjects
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerFetchObjects
)
neoMsgEncodedLenM
()
int
{
...
@@ -12727,7 +12727,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12727,7 +12727,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerFetchObjects"
}
}
}
// 98. AddTransaction
// 98. AddTransaction
...
@@ -12832,7 +12832,7 @@ func (p *AddTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12832,7 +12832,7 @@ func (p *AddTransaction) neoMsgDecodeN(data []byte) (int, error) {
return
12
+
int
(
nread
),
nil
return
12
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddTransaction"
}
}
}
func
(
p
*
AddTransaction
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AddTransaction
)
neoMsgEncodedLenM
()
int
{
...
@@ -13026,7 +13026,7 @@ func (p *AddTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -13026,7 +13026,7 @@ func (p *AddTransaction) neoMsgDecodeM(data []byte) (int, error) {
return
1
+
int
(
nread
),
nil
return
1
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddTransaction"
}
}
}
// 99. AddObject
// 99. AddObject
...
@@ -13078,7 +13078,7 @@ func (p *AddObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -13078,7 +13078,7 @@ func (p *AddObject) neoMsgDecodeN(data []byte) (int, error) {
return
41
+
int
(
nread
),
nil
return
41
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddObject"
}
}
}
func
(
p
*
AddObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AddObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -13248,7 +13248,7 @@ func (p *AddObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -13248,7 +13248,7 @@ func (p *AddObject) neoMsgDecodeM(data []byte) (int, error) {
return
22
+
int
(
nread
),
nil
return
22
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddObject"
}
}
}
// 100. Truncate
// 100. Truncate
...
@@ -13273,7 +13273,7 @@ func (p *Truncate) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -13273,7 +13273,7 @@ func (p *Truncate) neoMsgDecodeN(data []byte) (int, error) {
return
8
,
nil
return
8
,
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Truncate"
}
}
}
func
(
p
*
Truncate
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
Truncate
)
neoMsgEncodedLenM
()
int
{
...
@@ -13329,7 +13329,7 @@ func (p *Truncate) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -13329,7 +13329,7 @@ func (p *Truncate) neoMsgDecodeM(data []byte) (int, error) {
return
0
+
int
(
nread
),
nil
return
0
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"Truncate"
}
}
}
// 101. FlushLog
// 101. FlushLog
...
...
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