Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
c9a5f7ac
Commit
c9a5f7ac
authored
Sep 03, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
17fc7c92
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
114 additions
and
188 deletions
+114
-188
go/neo/proto.go
go/neo/proto.go
+2
-0
go/neo/py/pyneo-gen-testdata
go/neo/py/pyneo-gen-testdata
+5
-0
go/neo/zproto-marshal.go
go/neo/zproto-marshal.go
+102
-183
go/neo/ztestdata_proto_py_test.go
go/neo/ztestdata_proto_py_test.go
+5
-5
No files found.
go/neo/proto.go
View file @
c9a5f7ac
...
...
@@ -638,6 +638,7 @@ type AnswerTIDs struct {
TIDList
[]
zodb
.
Tid
}
/*
// Ask for length TIDs starting at min_tid. The order of TIDs is ascending.
// C -> S.
// Answer the requested TIDs. S -> C
...
...
@@ -652,6 +653,7 @@ type TIDListFrom struct {
type AnswerTIDListFrom struct {
TidList []zodb.Tid
}
*/
// Ask information about a transaction. Any -> S.
// Answer information (user, description) about a transaction. S -> Any.
...
...
go/neo/py/pyneo-gen-testdata
View file @
c9a5f7ac
...
...
@@ -41,8 +41,13 @@ noask('RebaseObject')
noask
(
'StoreObject'
)
noask
(
'StoreTransaction'
)
noask
(
'VoteTransaction'
)
noask
(
'TransactionInformation'
)
noask
(
'ObjectHistory'
)
noask
(
'PartitionList'
)
noask
(
'NodeList'
)
_
=
renames
_
[
'AskPrimary'
]
=
'PrimaryMaster'
_
[
'AskObject'
]
=
'GetObject'
...
...
go/neo/zproto-marshal.go
View file @
c9a5f7ac
This diff is collapsed.
Click to expand it.
go/neo/ztestdata_proto_py_test.go
View file @
c9a5f7ac
...
...
@@ -5,7 +5,7 @@ var pyMsgRegistry = map[uint16]string{
1
:
"RequestIdentification"
,
3
:
"Ping"
,
5
:
"CloseClient"
,
6
:
"
AskPrimary
"
,
6
:
"
PrimaryMaster
"
,
8
:
"NotPrimaryMaster"
,
9
:
"NotifyNodeInformation"
,
10
:
"Recovery"
,
...
...
@@ -35,10 +35,10 @@ var pyMsgRegistry = map[uint16]string{
48
:
"VoteTransaction"
,
50
:
"GetObject"
,
52
:
"AskTIDs"
,
54
:
"
Ask
TransactionInformation"
,
56
:
"
Ask
ObjectHistory"
,
58
:
"
Ask
PartitionList"
,
60
:
"
Ask
NodeList"
,
54
:
"TransactionInformation"
,
56
:
"ObjectHistory"
,
58
:
"PartitionList"
,
60
:
"NodeList"
,
62
:
"SetNodeState"
,
63
:
"AddPendingNodes"
,
64
:
"TweakPartitionTable"
,
...
...
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