Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ bee-configs:
blockchain-rpc-endpoint: "ws://geth-swap.bee-playground.svc.swarm1.local:8546"
bootnode-mode: false
bootnodes: ""
bzz-token-address: "0x6aab14fe9cccd64a502d23842d916eb5321c26e7"
cache-capacity: 1000000
chequebook-enable: true
cors-allowed-origins: ""
Expand Down
1 change: 1 addition & 0 deletions config/local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ bee-configs:
blockchain-rpc-endpoint: "ws://geth-swap:8546"
bootnode-mode: false
bootnodes: ""
bzz-token-address: "0x6aab14fe9cccd64a502d23842d916eb5321c26e7"
cache-capacity: 20000
chequebook-enable: true
cors-allowed-origins: ""
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/ethersphere/ethproxy v0.0.5
github.com/ethersphere/node-funder v0.3.0
github.com/go-git/go-billy/v5 v5.9.0
github.com/go-git/go-git/v5 v5.19.0
github.com/go-git/go-git/v5 v5.19.1
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.3
github.com/ipshipyard/p2p-forge v0.7.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ github.com/go-git/go-billy/v5 v5.9.0 h1:jItGXszUDRtR/AlferWPTMN4j38BQ88XnXKbilmm
github.com/go-git/go-billy/v5 v5.9.0/go.mod h1:jCnQMLj9eUgGU7+ludSTYoZL/GGmii14RxKFj7ROgHw=
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
github.com/go-git/go-git/v5 v5.19.0 h1:+WkVUQZSy/F1Gb13udrMKjIM2PrzsNfDKFSfo5tkMtc=
github.com/go-git/go-git/v5 v5.19.0/go.mod h1:Pb1v0c7/g8aGQJwx9Us09W85yGoyvSwuhEGMH7zjDKQ=
github.com/go-git/go-git/v5 v5.19.1 h1:nX27AnaU43/K5bKktKwgBmR9lawoYVe1Ckg0rgzzN00=
github.com/go-git/go-git/v5 v5.19.1/go.mod h1:Pb1v0c7/g8aGQJwx9Us09W85yGoyvSwuhEGMH7zjDKQ=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
Expand Down
1 change: 1 addition & 0 deletions pkg/config/bee.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ type BeeConfig struct {
BlockTime *uint64 `yaml:"block-time"`
BootnodeMode *bool `yaml:"bootnode-mode"`
Bootnodes *string `yaml:"bootnodes"`
BzzTokenAddress *string `yaml:"bzz-token-address"`
CacheCapacity *uint64 `yaml:"cache-capacity"`
ChequebookEnable *bool `yaml:"chequebook-enable"`
CORSAllowedOrigins *string `yaml:"cors-allowed-origins"`
Expand Down
1 change: 1 addition & 0 deletions pkg/orchestration/k8s/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ block-time: {{ .BlockTime }}
blockchain-rpc-endpoint: {{.BlockchainRPCEndpoint}}
bootnode-mode: {{.BootnodeMode}}
bootnode: {{.Bootnodes}}
bzz-token-address: {{.BzzTokenAddress}}
cache-capacity: {{.CacheCapacity}}
chequebook-enable: {{.ChequebookEnable}}
cors-allowed-origins: {{.CORSAllowedOrigins}}
Expand Down
1 change: 1 addition & 0 deletions pkg/orchestration/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ type Config struct {
BlockTime uint64 // chain block time
BootnodeMode bool // cause the node to always accept incoming connections
Bootnodes string // initial nodes to connect to
BzzTokenAddress string // bzz token contract address
CacheCapacity uint64 // cache capacity in chunks, multiply by 4096 (MaxChunkSize) to get approximate capacity in bytes
ChequebookEnable bool // enable chequebook
CORSAllowedOrigins string // origins with CORS headers enabled
Expand Down
Loading