func NewRetransmitter(behaviour *BehaviourImpl, parent peer.Parent) *Retransmitter {
	return &Retransmitter{
		behaviour: behaviour,
		parent:    parent,
	}
}
creates new Retransmitter
package retransmit
import (
	"context"
	"net"
	"runtime"
	"time"
	"github.com/pkg/errors"
	"github.com/wavesplatform/gowaves/pkg/p2p/peer"
	"github.com/wavesplatform/gowaves/pkg/proto"
	"go.uber.org/zap"
)
var invalidTransaction = errors.New("invalid transaction")
type Retransmitter struct {
	behaviour *BehaviourImpl
	parent    peer.Parent
}