func NewRequestReceiver(node *mirbft.Node, l logging.Logger) *RequestReceiver {
	if l == nil {
		l = logging.ConsoleErrorLogger
	}
	return &RequestReceiver{
		node:   node,
		logger: l,
	}
}
NewRequestReceiver returns a new initialized request receiver.
The returned RequestReceiver is not yet running (able to receive requests).
This needs to be done explicitly by calling the Start() method.
For the requests to be processed by passed Node, the Node must also be running.
package requestreceiver
import (
	"context"
	"fmt"
	"github.com/hyperledger-labs/mirbft"
	"github.com/hyperledger-labs/mirbft/pkg/logging"
	"github.com/hyperledger-labs/mirbft/pkg/pb/requestpb"
	t "github.com/hyperledger-labs/mirbft/pkg/types"
	"google.golang.org/grpc"
	"google.golang.org/grpc/peer"
	"net"
	"strconv"
)
type RequestReceiver struct {
	node *mirbft.Node
	grpcServer *grpc.Server
	grpcServerError error
	logger logging.Logger
}