Skip to content

Commit

Permalink
fix(p2p): enable auto join when online (#5738)
Browse files Browse the repository at this point in the history
Description
---
Enable auto network join by default

Motivation and Context
---
At some point auto_join was set to false for base node and wallet.

How Has This Been Tested?
---
Manually - nodes detect a node coming online from the join message

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
sdbondi authored Sep 5, 2023
1 parent 63f61eb commit eb74bbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base_layer/p2p/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ impl Default for P2pConfig {
max_concurrent_outbound_tasks: 4,
dht: DhtConfig {
database_url: DbConnectionUrl::file("dht.sqlite"),
auto_join: true,
..Default::default()
},
allow_test_addresses: false,
Expand Down

0 comments on commit eb74bbb

Please sign in to comment.