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
dde695db
Commit
dde695db
authored
Dec 23, 2016
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
943c50d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
t/neo/storage.go
t/neo/storage.go
+2
-3
No files found.
t/neo/storage.go
View file @
dde695db
...
@@ -16,10 +16,7 @@ package neo
...
@@ -16,10 +16,7 @@ package neo
import
(
import
(
"context"
"context"
"net"
"fmt"
"fmt"
//"../neo/proto"
)
)
// NEO Storage application
// NEO Storage application
...
@@ -39,6 +36,7 @@ type Buffer struct {
...
@@ -39,6 +36,7 @@ type Buffer struct {
func
(
stor
*
StorageApplication
)
ServeLink
(
ctx
context
.
Context
,
link
*
NodeLink
)
{
func
(
stor
*
StorageApplication
)
ServeLink
(
ctx
context
.
Context
,
link
*
NodeLink
)
{
fmt
.
Printf
(
"stor: serving new node %s <-> %s
\n
"
,
link
.
peerLink
.
LocalAddr
(),
link
.
peerLink
.
RemoteAddr
())
fmt
.
Printf
(
"stor: serving new node %s <-> %s
\n
"
,
link
.
peerLink
.
LocalAddr
(),
link
.
peerLink
.
RemoteAddr
())
/*
pktri, err := expect(RequestIdentification)
pktri, err := expect(RequestIdentification)
if err != nil {
if err != nil {
send(err)
send(err)
...
@@ -75,6 +73,7 @@ func (stor *StorageApplication) ServeLink(ctx context.Context, link *NodeLink) {
...
@@ -75,6 +73,7 @@ func (stor *StorageApplication) ServeLink(ctx context.Context, link *NodeLink) {
case StoreObject:
case StoreObject:
case StoreTransaction:
case StoreTransaction:
}
}
*/
...
...
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