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
d2697535
Commit
d2697535
authored
Jan 10, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
16d90573
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
16 additions
and
17 deletions
+16
-17
go/internal/xcontext/xcontext.go
go/internal/xcontext/xcontext.go
+1
-1
go/neo/client_test.go
go/neo/client_test.go
+2
-2
go/neo/cmd/neo/misc.go
go/neo/cmd/neo/misc.go
+3
-4
go/neo/neonet/connection.go
go/neo/neonet/connection.go
+1
-1
go/neo/neonet/connection_test.go
go/neo/neonet/connection_test.go
+1
-1
go/neo/neonet/newlink.go
go/neo/neonet/newlink.go
+2
-2
go/neo/neonet/newlink_test.go
go/neo/neonet/newlink_test.go
+1
-1
go/neo/neonet/pkt.go
go/neo/neonet/pkt.go
+1
-1
go/neo/proto/proto.go
go/neo/proto/proto.go
+1
-1
go/neo/proto/proto_test.go
go/neo/proto/proto_test.go
+1
-1
go/neo/proto/protogen.go
go/neo/proto/protogen.go
+1
-1
go/neo/t_cluster_test.go
go/neo/t_cluster_test.go
+1
-1
No files found.
go/internal/xcontext/xcontext.go
View file @
d2697535
// Copyright (C) 2017-202
0
Nexedi SA and Contributors.
// Copyright (C) 2017-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/client_test.go
View file @
d2697535
// Copyright (C) 2020 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
// Copyright (C) 2020
-2021
Nexedi SA and Contributors.
//
Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
// it under the terms of the GNU General Public License version 3, or (at your
...
...
go/neo/cmd/neo/misc.go
View file @
d2697535
// Copyright (C) 2018-202
0
Nexedi SA and Contributors.
// Copyright (C) 2018-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -35,7 +35,6 @@ import (
"lab.nexedi.com/kirr/neo/go/internal/log"
"lab.nexedi.com/kirr/neo/go/neo/neonet"
// for http://.../debug/pprof
_
"net/http/pprof"
)
...
...
@@ -74,8 +73,8 @@ func neoMatch(r io.Reader) bool {
case
bytes
.
Equal
(
b
[
:
3
],
[]
byte
{
0
,
0
,
0
})
:
return
true
// NEO handshake after switch to M
sgPack (=
msgpack encoding for [2](b"NEO", version) )
case
bytes
.
Equal
(
b
[
:
],
[]
byte
{
0x92
,
'N'
,
'E'
,
'O
'
})
:
// NEO handshake after switch to M
essagePack (= start of
msgpack encoding for [2](b"NEO", version) )
case
bytes
.
Equal
(
b
[
:
],
[]
byte
{
0x92
,
0xc4
,
3
,
'N
'
})
:
return
true
default
:
...
...
go/neo/neonet/connection.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/neonet/connection_test.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/neonet/newlink.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
@@ -177,7 +177,7 @@ type LinkListener interface {
// linkListener implements LinkListener.
type
linkListener
struct
{
l
xnet
.
Listener
l
xnet
.
Listener
}
func
(
l
*
linkListener
)
Accept
(
ctx
context
.
Context
)
(
*
NodeLink
,
error
)
{
...
...
go/neo/neonet/newlink_test.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/neonet/pkt.go
View file @
d2697535
// Copyright (C) 2016-20
18
Nexedi SA and Contributors.
// Copyright (C) 2016-20
21
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/proto/proto.go
View file @
d2697535
// Copyright (C) 2006-202
0
Nexedi SA and Contributors.
// Copyright (C) 2006-202
1
Nexedi SA and Contributors.
//
// This program is free software: you can Use, Study, Modify and Redistribute
// it under the terms of the GNU General Public License version 3, or (at your
...
...
go/neo/proto/proto_test.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/proto/protogen.go
View file @
d2697535
// Copyright (C) 2016-202
0
Nexedi SA and Contributors.
// Copyright (C) 2016-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
go/neo/t_cluster_test.go
View file @
d2697535
// Copyright (C) 2017-202
0
Nexedi SA and Contributors.
// Copyright (C) 2017-202
1
Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
...
...
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