Skip to content

Commit

Permalink
Merge pull request #1313 from CortexFoundation/dev
Browse files Browse the repository at this point in the history
Wormhole
  • Loading branch information
ucwong authored Sep 22, 2022
2 parents 06e838c + 6ec5353 commit 47b016b
Show file tree
Hide file tree
Showing 64 changed files with 1,040 additions and 323 deletions.
1 change: 0 additions & 1 deletion cmd/cortex/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ var (
utils.StorageDisableTCPFlag,
utils.StorageEnableUTPFlag,
utils.StorageEnableWormholeFlag,
utils.StorageFullFlag,
utils.StorageModeFlag,
utils.StorageBoostFlag,
}
Expand Down
1 change: 0 additions & 1 deletion cmd/cortex/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ var AppHelpFlagGroups = []flagGroup{
utils.StorageDisableTCPFlag,
utils.StorageEnableUTPFlag,
utils.StorageEnableWormholeFlag,
utils.StorageFullFlag,
utils.StorageModeFlag,
utils.StorageBoostFlag,
},
Expand Down
6 changes: 1 addition & 5 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,9 @@ var (
Name: "storage.wormhole",
Usage: "enable wormhole network in FS (EXPERIMENTAL)",
}
StorageFullFlag = cli.BoolFlag{
Name: "storage.full",
Usage: "download full file",
}
StorageModeFlag = cli.StringFlag{
Name: "storage.mode",
Usage: "P2P storage tracker list",
Usage: "P2P storage running mode",
Value: "normal",
}
StorageDebugFlag = cli.BoolFlag{
Expand Down
42 changes: 21 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ require (
github.com/CortexFoundation/inference v1.0.2-0.20220421072809-9c87efb8a557
github.com/CortexFoundation/statik v0.0.0-20210315012922-8bb8a7b5dc66
github.com/CortexFoundation/torrentfs v1.0.25-0.20220921211320-7179a2e15e3f
github.com/VictoriaMetrics/fastcache v1.10.0
github.com/VictoriaMetrics/fastcache v1.12.0
github.com/arsham/figurine v1.2.0
github.com/aws/aws-sdk-go-v2 v1.16.15
github.com/aws/aws-sdk-go-v2/config v1.17.6
github.com/aws/aws-sdk-go-v2/credentials v1.12.19
github.com/aws/aws-sdk-go-v2/service/route53 v1.22.0
github.com/aws/aws-sdk-go-v2 v1.16.16
github.com/aws/aws-sdk-go-v2/config v1.17.7
github.com/aws/aws-sdk-go-v2/credentials v1.12.20
github.com/aws/aws-sdk-go-v2/service/route53 v1.22.2
github.com/btcsuite/btcd/btcec/v2 v2.2.1
github.com/cespare/cp v1.1.1
github.com/charmbracelet/bubbletea v0.22.1
Expand Down Expand Up @@ -57,12 +57,12 @@ require (
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d
github.com/ucwong/color v1.10.1-0.20200624105241-fba1e010fe1e
github.com/ucwong/tsdb v0.10.4-0.20200518132041-df9cb51f3a80
golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0
golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
golang.org/x/sync v0.0.0-20220907140024-f12130a52804
golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8
golang.org/x/text v0.3.7
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9
golang.org/x/time v0.0.0-20220920022843-2ce7c2934d45
golang.org/x/tools v0.1.13-0.20220812184215-3f9b119300de
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce
Expand Down Expand Up @@ -102,14 +102,14 @@ require (
github.com/apache/arrow/go/v7 v7.0.1 // indirect
github.com/arsham/rainbow v1.2.1 // indirect
github.com/aws/aws-sdk-go v1.37.0 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.16 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.22 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.16 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.23 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.16 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.11.22 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.13.4 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.16.18 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.12.17 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.23 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.17 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.24 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.17 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.11.23 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.13.5 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.16.19 // indirect
github.com/aws/smithy-go v1.13.3 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/benbjohnson/immutable v0.3.0 // indirect
Expand Down Expand Up @@ -141,15 +141,15 @@ require (
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/huandu/xstrings v1.3.2 // indirect
github.com/influxdata/flux v0.183.0 // indirect
github.com/influxdata/flux v0.184.1 // indirect
github.com/influxdata/influxql v1.1.1-0.20211004132434-7e7d61973256 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/lib/pq v1.10.6 // indirect
github.com/lispad/go-generics-tools v1.1.0 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mschoch/smat v0.2.0 // indirect
github.com/muesli/ansi v0.0.0-20211031195517-c9f0611b6c70 // indirect
Expand Down Expand Up @@ -201,11 +201,11 @@ require (
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/exp v0.0.0-20220916125017-b168a2c6b86b // indirect
golang.org/x/exp v0.0.0-20220921164117-439092de6870 // indirect
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
golang.org/x/net v0.0.0-20220921203646-d300de134e69 // indirect
golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094 // indirect
golang.org/x/term v0.0.0-20220722155259-a9ba230a4035 // indirect
golang.org/x/term v0.0.0-20220919170432-7a66f970e087 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.81.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
Expand Down
Loading

0 comments on commit 47b016b

Please sign in to comment.