func NewProvider(cfg peerConfig) *Provider {
	logger.Infof("Creating Sidetree operation queue provider")
	return &Provider{
		baseDir: cfg.LevelDBOpQueueBasePath(),
		queues:  make(map[key]*LevelDBQueue),
	}
}
NewProvider returns a new Operation LevelDBQueue provider
package operationqueue
import (
	"sync"
	"github.com/hyperledger/fabric/common/flogging"
	"github.com/trustbloc/sidetree-core-go/pkg/batch/cutter"
)
var logger = flogging.MustGetLogger("sidetree_opqueue")
type key struct {
	channelID string
	namespace string
}
type Provider struct {
	baseDir string
	queues  map[key]*LevelDBQueue
	mutex   sync.RWMutex
}
type peerConfig interface {
	LevelDBOpQueueBasePath() string
}