Commit dde695db authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 943c50d3
...@@ -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:
} }
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment