v4

package
v4.0.0-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2024 License: MIT Imports: 14 Imported by: 0

README

V4 Acacia

For a full rundown of what v4 is and is not, head to v4 - Acacia on GitHub.

Activity Diagrams

Post File Workflow

Post File Workflow

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateFileTree

func UpdateFileTree(ctx sdk.Context, fk *filetreemodulekeeper.Keeper, merkleMap map[string][]byte)

func UpdateFiles

func UpdateFiles(ctx sdk.Context, sk *storagekeeper.Keeper) map[string][]byte

func UpdatePaymentInfo

func UpdatePaymentInfo(ctx sdk.Context, sk *storagekeeper.Keeper)

Types

type FidContents

type FidContents struct {
	Fid []string `json:"fids"`
}

type LegacyMarker

type LegacyMarker struct {
	Fid string `json:"fid"`
	Cid string `json:"cid"`
}

type MerkleContents

type MerkleContents struct {
	Merkles [][]byte `json:"legacyMerkles"`
}

type Upgrade

type Upgrade struct {
	// contains filtered or unexported fields
}

Upgrade represents the v4 upgrade

func NewUpgrade

func NewUpgrade(mm *module.Manager, configurator module.Configurator, sk *storagekeeper.Keeper, fk *filetreemodulekeeper.Keeper) *Upgrade

NewUpgrade returns a new Upgrade instance

func (*Upgrade) Handler

func (u *Upgrade) Handler() upgradetypes.UpgradeHandler

Handler implements upgrades.Upgrade

func (*Upgrade) Name

func (u *Upgrade) Name() string

Name implements upgrades.Upgrade

func (*Upgrade) StoreUpgrades

func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades

StoreUpgrades implements upgrades.Upgrade

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL