Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
776e85be
Commit
776e85be
authored
Sep 03, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3e4d0dd7
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
215 additions
and
203 deletions
+215
-203
go/neo/proto.go
go/neo/proto.go
+9
-5
go/neo/zproto-marshal.go
go/neo/zproto-marshal.go
+206
-198
No files found.
go/neo/proto.go
View file @
776e85be
...
...
@@ -491,12 +491,15 @@ type NotifyTransactionFinished struct {
MaxTID
zodb
.
Tid
}
// XXX move vvv
/*
// Lock information on a transaction. PM -> S.
// Notify information on a transaction locked. S -> PM.
type LockInformation struct {
Ttid zodb.Tid
Tid zodb.Tid
}
*/
// XXX AnswerInformationLocked ?
type
AnswerLockInformation
struct
{
...
...
@@ -517,12 +520,11 @@ type UnlockInformation struct {
// Ask new object IDs. C -> PM.
// Answer new object IDs. PM -> C.
type
Generate
OIDs
struct
{
type
AskNew
OIDs
struct
{
NumOIDs
uint32
// PNumber
}
// XXX answer_new_oids ?
type
AnswerGenerateOIDs
struct
{
type
AnswerNewOIDs
struct
{
OidList
[]
zodb
.
Oid
}
...
...
@@ -592,16 +594,18 @@ type StoreTransaction struct {
Description
string
Extension
string
OidList
[]
zodb
.
Oid
// TODO _answer = PFEmpty
}
type
AnswerStoreTransaction
struct
{}
// Ask to store a transaction. C -> S.
// Answer if transaction has been stored. S -> C.
type
VoteTransaction
struct
{
Tid
zodb
.
Tid
// TODO _answer = PFEmpty
}
type
AnswerVoteTransaction
struct
{}
// Ask a stored object by its OID and a serial or a TID if given. If a serial
// is specified, the specified revision of an object will be returned. If
// a TID is specified, an object right before the TID will be returned. C -> S.
...
...
go/neo/zproto-marshal.go
View file @
776e85be
This diff is collapsed.
Click to expand it.
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