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
939f9dfe
Commit
939f9dfe
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
00755bd9
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 @
939f9dfe
...
@@ -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 @
939f9dfe
...
@@ -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 @
939f9dfe
...
@@ -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 @
939f9dfe
...
@@ -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"
...
@@ -430,9 +431,10 @@ func TestMsgDecodeLenOverflowN(t *testing.T) {
...
@@ -430,9 +431,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 @
939f9dfe
...
@@ -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 @
939f9dfe
...
@@ -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
{
...
@@ -474,7 +474,7 @@ func (p *RequestIdentification) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -474,7 +474,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
...
@@ -503,7 +503,7 @@ func (p *AcceptIdentification) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -503,7 +503,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
{
...
@@ -576,7 +576,7 @@ func (p *AcceptIdentification) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -576,7 +576,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
...
@@ -753,7 +753,7 @@ func (p *AnswerPrimary) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -753,7 +753,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
{
...
@@ -846,7 +846,7 @@ func (p *NotPrimaryMaster) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -846,7 +846,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
{
...
@@ -1048,7 +1048,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1048,7 +1048,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
{
...
@@ -1235,7 +1235,7 @@ func (p *NotifyNodeInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1235,7 +1235,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
...
@@ -1302,7 +1302,7 @@ func (p *AnswerRecovery) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1302,7 +1302,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
{
...
@@ -1402,7 +1402,7 @@ func (p *AnswerRecovery) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1402,7 +1402,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
...
@@ -1467,7 +1467,7 @@ func (p *AnswerLastIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1467,7 +1467,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
{
...
@@ -1554,7 +1554,7 @@ func (p *AnswerLastIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1554,7 +1554,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
...
@@ -1671,7 +1671,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1671,7 +1671,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
{
...
@@ -1817,7 +1817,7 @@ func (p *AnswerPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -1817,7 +1817,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
...
@@ -1896,7 +1896,7 @@ func (p *SendPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -1896,7 +1896,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
{
...
@@ -2042,7 +2042,7 @@ func (p *SendPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2042,7 +2042,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
...
@@ -2101,7 +2101,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2101,7 +2101,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
{
...
@@ -2248,7 +2248,7 @@ func (p *NotifyPartitionChanges) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2248,7 +2248,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
...
@@ -2273,7 +2273,7 @@ func (p *StartOperation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2273,7 +2273,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
{
...
@@ -2309,7 +2309,7 @@ func (p *StartOperation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2309,7 +2309,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
...
@@ -2395,7 +2395,7 @@ func (p *UnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2395,7 +2395,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
{
...
@@ -2513,7 +2513,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2513,7 +2513,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
{
...
@@ -2633,7 +2633,7 @@ func (p *AnswerUnfinishedTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2633,7 +2633,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
...
@@ -2726,7 +2726,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2726,7 +2726,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
{
...
@@ -2823,7 +2823,7 @@ func (p *AnswerLockedTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2823,7 +2823,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
...
@@ -2848,7 +2848,7 @@ func (p *FinalTID) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2848,7 +2848,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
{
...
@@ -2904,7 +2904,7 @@ func (p *FinalTID) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2904,7 +2904,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
...
@@ -2929,7 +2929,7 @@ func (p *AnswerFinalTID) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -2929,7 +2929,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
{
...
@@ -2985,7 +2985,7 @@ func (p *AnswerFinalTID) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -2985,7 +2985,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
...
@@ -3012,7 +3012,7 @@ func (p *ValidateTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3012,7 +3012,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
{
...
@@ -3099,7 +3099,7 @@ func (p *ValidateTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3099,7 +3099,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
...
@@ -3124,7 +3124,7 @@ func (p *BeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3124,7 +3124,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
{
...
@@ -3180,7 +3180,7 @@ func (p *BeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3180,7 +3180,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
...
@@ -3205,7 +3205,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3205,7 +3205,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
{
...
@@ -3261,7 +3261,7 @@ func (p *AnswerBeginTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3261,7 +3261,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
...
@@ -3311,7 +3311,7 @@ func (p *FailedVote) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3311,7 +3311,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
{
...
@@ -3404,7 +3404,7 @@ func (p *FailedVote) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3404,7 +3404,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
...
@@ -3478,7 +3478,7 @@ func (p *FinishTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3478,7 +3478,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
{
...
@@ -3626,7 +3626,7 @@ func (p *FinishTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3626,7 +3626,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
...
@@ -3653,7 +3653,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3653,7 +3653,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
{
...
@@ -3740,7 +3740,7 @@ func (p *AnswerTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3740,7 +3740,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
...
@@ -3767,7 +3767,7 @@ func (p *LockInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3767,7 +3767,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
{
...
@@ -3854,7 +3854,7 @@ func (p *LockInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3854,7 +3854,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
...
@@ -3879,7 +3879,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3879,7 +3879,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
{
...
@@ -3935,7 +3935,7 @@ func (p *AnswerInformationLocked) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -3935,7 +3935,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
...
@@ -3985,7 +3985,7 @@ func (p *InvalidateObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -3985,7 +3985,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
{
...
@@ -4087,7 +4087,7 @@ func (p *InvalidateObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4087,7 +4087,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
...
@@ -4112,7 +4112,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4112,7 +4112,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
{
...
@@ -4168,7 +4168,7 @@ func (p *NotifyUnlockInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4168,7 +4168,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
...
@@ -4193,7 +4193,7 @@ func (p *AskNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4193,7 +4193,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
{
...
@@ -4275,7 +4275,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4275,7 +4275,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
{
...
@@ -4345,7 +4345,7 @@ func (p *AnswerNewOIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4345,7 +4345,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
...
@@ -4372,7 +4372,7 @@ func (p *NotifyDeadlock) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4372,7 +4372,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
{
...
@@ -4459,7 +4459,7 @@ func (p *NotifyDeadlock) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4459,7 +4459,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
...
@@ -4486,7 +4486,7 @@ func (p *RebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4486,7 +4486,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
{
...
@@ -4573,7 +4573,7 @@ func (p *RebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4573,7 +4573,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
...
@@ -4621,7 +4621,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4621,7 +4621,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
{
...
@@ -4691,7 +4691,7 @@ func (p *AnswerRebaseTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4691,7 +4691,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
...
@@ -4718,7 +4718,7 @@ func (p *RebaseObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4718,7 +4718,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
{
...
@@ -4805,7 +4805,7 @@ func (p *RebaseObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4805,7 +4805,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
...
@@ -4855,7 +4855,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -4855,7 +4855,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeN(data []byte) (int, error) {
return
48
+
int
(
nread
),
nil
return
48
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerRebaseObject"
}
}
}
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerRebaseObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -4990,7 +4990,7 @@ func (p *AnswerRebaseObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -4990,7 +4990,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
...
@@ -5044,7 +5044,7 @@ func (p *StoreObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5044,7 +5044,7 @@ func (p *StoreObject) neoMsgDecodeN(data []byte) (int, error) {
return
48
+
int
(
nread
),
nil
return
48
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"StoreObject"
}
}
}
func
(
p
*
StoreObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
StoreObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -5241,7 +5241,7 @@ func (p *StoreObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5241,7 +5241,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
...
@@ -5266,7 +5266,7 @@ func (p *AnswerStoreObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5266,7 +5266,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
{
...
@@ -5322,7 +5322,7 @@ func (p *AnswerStoreObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5322,7 +5322,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
...
@@ -5372,7 +5372,7 @@ func (p *AbortTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5372,7 +5372,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
{
...
@@ -5465,7 +5465,7 @@ func (p *AbortTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5465,7 +5465,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
...
@@ -5566,7 +5566,7 @@ func (p *StoreTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5566,7 +5566,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
{
...
@@ -5716,7 +5716,7 @@ func (p *StoreTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5716,7 +5716,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
...
@@ -5779,7 +5779,7 @@ func (p *VoteTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5779,7 +5779,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
{
...
@@ -5835,7 +5835,7 @@ func (p *VoteTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -5835,7 +5835,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
...
@@ -5902,7 +5902,7 @@ func (p *GetObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -5902,7 +5902,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
{
...
@@ -6020,7 +6020,7 @@ func (p *GetObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6020,7 +6020,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
...
@@ -6074,7 +6074,7 @@ func (p *AnswerObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6074,7 +6074,7 @@ func (p *AnswerObject) neoMsgDecodeN(data []byte) (int, error) {
return
56
+
int
(
nread
),
nil
return
56
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AnswerObject"
}
}
}
func
(
p
*
AnswerObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AnswerObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -6271,7 +6271,7 @@ func (p *AnswerObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6271,7 +6271,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
...
@@ -6300,7 +6300,7 @@ func (p *AskTIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6300,7 +6300,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
{
...
@@ -6408,7 +6408,7 @@ func (p *AnswerTIDs) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6408,7 +6408,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
{
...
@@ -6478,7 +6478,7 @@ func (p *AnswerTIDs) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6478,7 +6478,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
...
@@ -6503,7 +6503,7 @@ func (p *TransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6503,7 +6503,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
{
...
@@ -6559,7 +6559,7 @@ func (p *TransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6559,7 +6559,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
...
@@ -6662,7 +6662,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6662,7 +6662,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
{
...
@@ -6825,7 +6825,7 @@ func (p *AnswerTransactionInformation) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6825,7 +6825,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
...
@@ -6854,7 +6854,7 @@ func (p *ObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6854,7 +6854,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
{
...
@@ -6936,7 +6936,7 @@ func (p *ObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -6936,7 +6936,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
...
@@ -6991,7 +6991,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -6991,7 +6991,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
{
...
@@ -7127,7 +7127,7 @@ func (p *AnswerObjectHistory) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7127,7 +7127,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
...
@@ -7156,7 +7156,7 @@ func (p *PartitionList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7156,7 +7156,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
{
...
@@ -7295,7 +7295,7 @@ func (p *AnswerPartitionList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7295,7 +7295,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
{
...
@@ -7441,7 +7441,7 @@ func (p *AnswerPartitionList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7441,7 +7441,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
...
@@ -7466,7 +7466,7 @@ func (p *NodeList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7466,7 +7466,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
{
...
@@ -7512,7 +7512,7 @@ func (p *NodeList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7512,7 +7512,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
...
@@ -7596,7 +7596,7 @@ func (p *AnswerNodeList) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7596,7 +7596,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
{
...
@@ -7768,7 +7768,7 @@ func (p *AnswerNodeList) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7768,7 +7768,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
...
@@ -7795,7 +7795,7 @@ func (p *SetNodeState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7795,7 +7795,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
{
...
@@ -7854,7 +7854,7 @@ func (p *SetNodeState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -7854,7 +7854,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
...
@@ -7902,7 +7902,7 @@ func (p *AddPendingNodes) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -7902,7 +7902,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
{
...
@@ -8011,7 +8011,7 @@ func (p *TweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8011,7 +8011,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
{
...
@@ -8086,7 +8086,7 @@ func (p *TweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8086,7 +8086,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
...
@@ -8163,7 +8163,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8163,7 +8163,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
{
...
@@ -8296,7 +8296,7 @@ func (p *AnswerTweakPartitionTable) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8296,7 +8296,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
...
@@ -8321,7 +8321,7 @@ func (p *SetNumReplicas) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8321,7 +8321,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
{
...
@@ -8380,7 +8380,7 @@ func (p *SetClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8380,7 +8380,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
{
...
@@ -8426,7 +8426,7 @@ func (p *SetClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8426,7 +8426,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
...
@@ -8476,7 +8476,7 @@ func (p *Repair) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8476,7 +8476,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
{
...
@@ -8559,7 +8559,7 @@ func (p *Repair) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8559,7 +8559,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
...
@@ -8584,7 +8584,7 @@ func (p *RepairOne) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8584,7 +8584,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
{
...
@@ -8629,7 +8629,7 @@ func (p *RepairOne) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8629,7 +8629,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
...
@@ -8654,7 +8654,7 @@ func (p *NotifyClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8654,7 +8654,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
{
...
@@ -8700,7 +8700,7 @@ func (p *NotifyClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8700,7 +8700,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
...
@@ -8763,7 +8763,7 @@ func (p *AnswerClusterState) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8763,7 +8763,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
{
...
@@ -8809,7 +8809,7 @@ func (p *AnswerClusterState) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -8809,7 +8809,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
...
@@ -8863,7 +8863,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -8863,7 +8863,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
{
...
@@ -9027,7 +9027,7 @@ func (p *ObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9027,7 +9027,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
...
@@ -9096,7 +9096,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9096,7 +9096,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
{
...
@@ -9276,7 +9276,7 @@ func (p *AnswerObjectUndoSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9276,7 +9276,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
...
@@ -9307,7 +9307,7 @@ func (p *AskTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9307,7 +9307,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
{
...
@@ -9420,7 +9420,7 @@ func (p *AskTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9420,7 +9420,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
...
@@ -9468,7 +9468,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9468,7 +9468,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
{
...
@@ -9538,7 +9538,7 @@ func (p *AnswerTIDsFrom) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9538,7 +9538,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
...
@@ -9563,7 +9563,7 @@ func (p *Pack) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9563,7 +9563,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
{
...
@@ -9619,7 +9619,7 @@ func (p *Pack) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9619,7 +9619,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
...
@@ -9644,7 +9644,7 @@ func (p *AnswerPack) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9644,7 +9644,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
{
...
@@ -9680,7 +9680,7 @@ func (p *AnswerPack) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9680,7 +9680,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
...
@@ -9739,7 +9739,7 @@ func (p *CheckReplicas) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9739,7 +9739,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
{
...
@@ -9880,7 +9880,7 @@ func (p *CheckReplicas) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -9880,7 +9880,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
...
@@ -9942,7 +9942,7 @@ func (p *CheckPartition) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -9942,7 +9942,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
{
...
@@ -10105,7 +10105,7 @@ func (p *CheckPartition) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10105,7 +10105,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
...
@@ -10136,7 +10136,7 @@ func (p *CheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10136,7 +10136,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
{
...
@@ -10249,7 +10249,7 @@ func (p *CheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10249,7 +10249,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
...
@@ -10278,7 +10278,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10278,7 +10278,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
{
...
@@ -10361,7 +10361,7 @@ func (p *AnswerCheckTIDRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10361,7 +10361,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
...
@@ -10394,7 +10394,7 @@ func (p *CheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10394,7 +10394,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
{
...
@@ -10538,7 +10538,7 @@ func (p *CheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10538,7 +10538,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
...
@@ -10571,7 +10571,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10571,7 +10571,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
{
...
@@ -10699,7 +10699,7 @@ func (p *AnswerCheckSerialRange) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10699,7 +10699,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
...
@@ -10749,7 +10749,7 @@ func (p *PartitionCorrupted) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10749,7 +10749,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
{
...
@@ -10922,7 +10922,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -10922,7 +10922,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
{
...
@@ -10978,7 +10978,7 @@ func (p *AnswerLastTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -10978,7 +10978,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
...
@@ -11007,7 +11007,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11007,7 +11007,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
{
...
@@ -11125,7 +11125,7 @@ func (p *CheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11125,7 +11125,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
...
@@ -11150,7 +11150,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11150,7 +11150,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
{
...
@@ -11215,7 +11215,7 @@ func (p *AnswerCheckCurrentSerial) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11215,7 +11215,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
...
@@ -11242,7 +11242,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11242,7 +11242,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
{
...
@@ -11329,7 +11329,7 @@ func (p *NotifyTransactionFinished) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11329,7 +11329,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
...
@@ -11420,7 +11420,7 @@ func (p *Replicate) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11420,7 +11420,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
{
...
@@ -11549,7 +11549,7 @@ func (p *Replicate) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11549,7 +11549,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
...
@@ -11576,7 +11576,7 @@ func (p *ReplicationDone) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11576,7 +11576,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
{
...
@@ -11645,7 +11645,7 @@ func (p *ReplicationDone) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11645,7 +11645,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
...
@@ -11701,7 +11701,7 @@ func (p *FetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11701,7 +11701,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
{
...
@@ -11860,7 +11860,7 @@ func (p *FetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -11860,7 +11860,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
...
@@ -11912,7 +11912,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -11912,7 +11912,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
{
...
@@ -12045,7 +12045,7 @@ func (p *AnswerFetchTransactions) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12045,7 +12045,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
...
@@ -12136,7 +12136,7 @@ func (p *FetchObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12136,7 +12136,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
{
...
@@ -12387,7 +12387,7 @@ func (p *FetchObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12387,7 +12387,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
...
@@ -12474,7 +12474,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12474,7 +12474,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
{
...
@@ -12699,7 +12699,7 @@ func (p *AnswerFetchObjects) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12699,7 +12699,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
...
@@ -12804,7 +12804,7 @@ func (p *AddTransaction) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -12804,7 +12804,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
{
...
@@ -12998,7 +12998,7 @@ func (p *AddTransaction) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -12998,7 +12998,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
...
@@ -13050,7 +13050,7 @@ func (p *AddObject) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -13050,7 +13050,7 @@ func (p *AddObject) neoMsgDecodeN(data []byte) (int, error) {
return
48
+
int
(
nread
),
nil
return
48
+
int
(
nread
),
nil
overflow
:
overflow
:
return
0
,
ErrDecodeOverflow
return
0
,
&
ErrDecodeOverflow
{
"AddObject"
}
}
}
func
(
p
*
AddObject
)
neoMsgEncodedLenM
()
int
{
func
(
p
*
AddObject
)
neoMsgEncodedLenM
()
int
{
...
@@ -13216,7 +13216,7 @@ func (p *AddObject) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -13216,7 +13216,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
...
@@ -13241,7 +13241,7 @@ func (p *Truncate) neoMsgDecodeN(data []byte) (int, error) {
...
@@ -13241,7 +13241,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
{
...
@@ -13297,7 +13297,7 @@ func (p *Truncate) neoMsgDecodeM(data []byte) (int, error) {
...
@@ -13297,7 +13297,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