forked from TrueCloudLab/neoneo-go
aa4bc1b6e8
* block partial persist * replaced refactored files with old one. * removed gokit/log from deps * Tweaks to not overburden remote nodes with getheaders/getblocks * Changed Transporter interface to not take the server as argument due to a cause of race warning from the compiler * started server test suite * more test + return errors from message handlers * removed --race from build * Little improvements.
14 lines
258 B
Go
14 lines
258 B
Go
package network
|
|
|
|
import (
|
|
"github.com/CityOfZion/neo-go/pkg/network/payload"
|
|
"github.com/CityOfZion/neo-go/pkg/util"
|
|
)
|
|
|
|
type Peer interface {
|
|
Endpoint() util.Endpoint
|
|
Disconnect(error)
|
|
Send(msg *Message)
|
|
Done() chan error
|
|
Version() *payload.Version
|
|
}
|