mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
dchat: enabled localnet
This commit is contained in:
@@ -22,6 +22,7 @@ earlier in Alice and Bob's settings.
|
||||
```toml
|
||||
[network."dchat"]
|
||||
port = 50515
|
||||
localnet = true
|
||||
```
|
||||
|
||||
Now run `lilith`:
|
||||
|
||||
@@ -147,6 +147,7 @@ fn alice() -> Result<AppSettings> {
|
||||
inbound: vec![inbound],
|
||||
external_addr: vec![ext_addr],
|
||||
seeds: vec![seed],
|
||||
localnet: true,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
@@ -170,6 +171,7 @@ fn bob() -> Result<AppSettings> {
|
||||
inbound: vec![],
|
||||
outbound_connections: 5,
|
||||
seeds: vec![seed],
|
||||
localnet: true,
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user