func (p *FsBlockstoreProvider) CreateBlockStore(ledgerid string) (blkstorage.BlockStore, error) {
	return p.OpenBlockStore(ledgerid)
}
CreateBlockStore simply calls OpenBlockStore
package fsblkstorage
import (
	"github.com/inklabsfoundation/inkchain/common/ledger/blkstorage"
	"github.com/inklabsfoundation/inkchain/common/ledger/util"
	"github.com/inklabsfoundation/inkchain/common/ledger/util/leveldbhelper"
)
type FsBlockstoreProvider struct {
	conf            *Conf
	indexConfig     *blkstorage.IndexConfig
	leveldbProvider *leveldbhelper.Provider
}
func NewProvider(conf *Conf, indexConfig *blkstorage.IndexConfig) blkstorage.BlockStoreProvider {
	p := leveldbhelper.NewProvider(&leveldbhelper.Conf{DBPath: conf.getIndexDir()})
	return &FsBlockstoreProvider{conf, indexConfig, p}
}