func (s BlockPacket) MarshalBinary() ([]byte, error) {
	return s.Block.MarshalBinary()
}
MarshalBinary implements the encoding.BinaryMarshaler interface.
package proto
import "github.com/alexbakker/gonano/nano/block"
type BlockPacket struct {
	Type  byte
	Block block.Block
}
type ConfirmReqPacket BlockPacket
type PublishPacket BlockPacket