5b74a71dd3
Define all types to spec, modify interfaces, wrap old code fix(builder): use client blockstore for retrieval feat(retrieval): add node implementations add node adapters for client & provider so that retrieval can be extracted
21 lines
334 B
Go
21 lines
334 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
retrievalimpl "github.com/filecoin-project/lotus/retrieval/impl"
|
|
)
|
|
|
|
// main func has ONE JOB
|
|
func main() {
|
|
fmt.Print("Generating Cbor Marshal/Unmarshal...")
|
|
|
|
if err := retrievalimpl.RunCborGen(); err != nil {
|
|
fmt.Println("Failed: ")
|
|
fmt.Println(err)
|
|
os.Exit(1)
|
|
}
|
|
fmt.Println("Done.")
|
|
}
|