Documentation ¶
Index ¶
- Variables
- func BlockStorePath(rootFSPath string) string
- func BookkeeperDBPath(rootFSPath string) string
- func ClearPreResetHeight(rootFSPath string) error
- func ConfigHistoryDBPath(rootFSPath string) string
- func HistoryDBPath(rootFSPath string) string
- func LedgerProviderPath(rootFSPath string) string
- func LoadPreResetHeight(rootFSPath string) (map[string]uint64, error)
- func PvtDataStorePath(rootFSPath string) string
- func ResetAllKVLedgers(rootFSPath string) error
- func RollbackKVLedger(rootFSPath, ledgerID string, blockNum uint64) error
- func StateDBPath(rootFSPath string) string
- func UpgradeDataFormat(rootFSPath string) error
- func UpgradeIDStoreFormat(rootFSPath string) error
- type Provider
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BlockStorePath ¶
func BookkeeperDBPath ¶
func ClearPreResetHeight ¶
func ConfigHistoryDBPath ¶
func HistoryDBPath ¶
func LedgerProviderPath ¶
func PvtDataStorePath ¶
func ResetAllKVLedgers ¶
func RollbackKVLedger ¶
func StateDBPath ¶
func UpgradeDataFormat ¶
func UpgradeIDStoreFormat ¶
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func NewProvider(initializer *ledger.Initializer) (pr *Provider, e error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.