powergate: github.com/textileio/powergate/filchain Index | Files

package filchain

import "github.com/textileio/powergate/filchain"

Index

Package Files

filchain.go

type FilChain Uses

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

FilChain is an abstraction of the Filecoin network.

func New Uses

func New(clientBuilder lotus.ClientBuilder) *FilChain

New creates a new deal module.

func (*FilChain) GetHeight Uses

func (lc *FilChain) GetHeight(ctx context.Context) (uint64, error)

GetHeight returns the current height of the chain for the targeted Lotus node.

Package filchain imports 3 packages (graph) and is imported by 5 packages. Updated 2020-09-21. Refresh now. Tools for package owners.