diff --git a/_pkg.dev/wire/payload/mmempool.go b/_pkg.dev/wire/payload/mmempool.go deleted file mode 100644 index b05c2c74b..000000000 --- a/_pkg.dev/wire/payload/mmempool.go +++ /dev/null @@ -1,30 +0,0 @@ -package payload - -import ( - "io" - - "github.com/CityOfZion/neo-go/pkg/wire/command" -) - -// GetMempool represents a GetMempool message on the neo-network -type GetMempool struct{} - -//NewGetMempool returns a GetMempool message -func NewGetMempool() (*GetMempool, error) { - return &GetMempool{}, nil -} - -// DecodePayload Implements Messager interface -func (v *GetMempool) DecodePayload(r io.Reader) error { - return nil -} - -// EncodePayload Implements messager interface -func (v *GetMempool) EncodePayload(w io.Writer) error { - return nil -} - -// Command Implements messager interface -func (v *GetMempool) Command() command.Type { - return command.Mempool -} diff --git a/_pkg.dev/wire/payload/mverack.go b/_pkg.dev/wire/payload/mverack.go deleted file mode 100644 index b67e995a9..000000000 --- a/_pkg.dev/wire/payload/mverack.go +++ /dev/null @@ -1,30 +0,0 @@ -package payload - -import ( - "io" - - "github.com/CityOfZion/neo-go/pkg/wire/command" -) - -//VerackMessage represents a verack message on the neo-network -type VerackMessage struct{} - -//NewVerackMessage returns a verack message -func NewVerackMessage() (*VerackMessage, error) { - return &VerackMessage{}, nil -} - -// DecodePayload Implements Messager interface -func (v *VerackMessage) DecodePayload(r io.Reader) error { - return nil -} - -// EncodePayload Implements messager interface -func (v *VerackMessage) EncodePayload(w io.Writer) error { - return nil -} - -// Command Implements messager interface -func (v *VerackMessage) Command() command.Type { - return command.Verack -} diff --git a/_pkg.dev/wire/payload/mverack_test.go b/_pkg.dev/wire/payload/mverack_test.go deleted file mode 100644 index 5c4832e73..000000000 --- a/_pkg.dev/wire/payload/mverack_test.go +++ /dev/null @@ -1,17 +0,0 @@ -package payload - -import ( - "testing" - - "github.com/CityOfZion/neo-go/pkg/wire/command" - - "github.com/stretchr/testify/assert" -) - -func TestNewVerack(t *testing.T) { - - verackMessage, err := NewVerackMessage() - - assert.Equal(t, nil, err) - assert.Equal(t, command.Verack, verackMessage.Command()) -}