8cd233b479
The only part of this repository that does lp2p is now lotus-daemon Remove the CommonNet type, used exclusively bu the CLI stack Adjust the rest of struct-memebership to match what went where End result best seen in diff of `documentation/en/api-v0-methods-miner.md`
30 lines
607 B
Go
30 lines
607 B
Go
package v0api
|
|
|
|
import (
|
|
"github.com/filecoin-project/lotus/api"
|
|
)
|
|
|
|
type Common = api.Common
|
|
type Net = api.Net
|
|
|
|
type CommonStruct = api.CommonStruct
|
|
type CommonStub = api.CommonStub
|
|
type NetStruct = api.NetStruct
|
|
type NetStub = api.NetStub
|
|
|
|
type StorageMiner = api.StorageMiner
|
|
type StorageMinerStruct = api.StorageMinerStruct
|
|
|
|
type Worker = api.Worker
|
|
type WorkerStruct = api.WorkerStruct
|
|
|
|
type Wallet = api.Wallet
|
|
|
|
func PermissionedStorMinerAPI(a StorageMiner) StorageMiner {
|
|
return api.PermissionedStorMinerAPI(a)
|
|
}
|
|
|
|
func PermissionedWorkerAPI(a Worker) Worker {
|
|
return api.PermissionedWorkerAPI(a)
|
|
}
|