Skip to content

Commit

Permalink
chore: adjust fluffy cli arguments for portal-bridge (#1035)
Browse files Browse the repository at this point in the history
There has been a breaking change from --storage-size to
--storage-capacity.

The IP limits have been set for now to higher defaults.
As the network setting is default now the mainnet "testnet".
  • Loading branch information
kdeme authored Nov 24, 2023
1 parent 092427a commit dd1b670
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions portal-bridge/src/client_handles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ pub fn fluffy_handle(
let ip = stun_for_external(&listen_all_ips).expect("to stun for external ip");
command
.kill_on_drop(true)
.arg("--storage-size:0")
.arg("--storage-capacity:0")
.arg("--rpc")
.arg(format!("--rpc-port:{rpc_port}"))
.arg(format!("--udp-port:{udp_port}"))
.arg(format!("--nat:extip:{}", ip.ip()))
.arg("--network:testnet0")
.arg("--table-ip-limit:1024")
.arg("--bucket-ip-limit:24")
.arg(format!("--netkey-unsafe:{private_key}"));
if let Some(metrics_url) = bridge_config.metrics_url {
let address = match metrics_url.host_str() {
Expand Down

0 comments on commit dd1b670

Please sign in to comment.