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
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