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
36d2c08e
Commit
36d2c08e
authored
May 22, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e627c220
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
go/neo/proto.go
go/neo/proto.go
+2
-4
No files found.
go/neo/proto.go
View file @
36d2c08e
...
...
@@ -33,7 +33,6 @@ const (
RESPONSE_MASK
=
0x8000
)
//type ErrorCode int
type
ErrorCode
uint32
const
(
ACK
ErrorCode
=
iota
...
...
@@ -210,7 +209,7 @@ func bool2byte(b bool) byte {
}
// NOTE py.None encodes as '\xff' * 8 (-> we use NaN for None)
// NOTE '\xff' * 8 represents FP NaN but many other NaN bits representation exist
// NOTE '\xff' * 8 represents FP NaN but many other NaN bits representation
s
exist
func
float64_NEOEncode
(
b
[]
byte
,
f
float64
)
{
var
fu
uint64
if
!
math
.
IsNaN
(
f
)
{
...
...
@@ -256,7 +255,6 @@ type RowInfo struct {
// any other message, even if such a message does not expect a reply
// usually. Any -> Any.
type
Error
struct
{
//Code uint32 // PNumber
Code
ErrorCode
// PNumber
Message
string
}
...
...
@@ -276,7 +274,7 @@ type RequestIdentification struct {
NodeType
NodeType
// XXX name
NodeID
NodeID
Address
Address
// where requesting node is also accepting connections
Name
string
Name
string
// XXX -> ClusterName
IdTimestamp
float64
}
...
...
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