|
|
3 anos atrás | |
|---|---|---|
| .. | ||
| src | 3 anos atrás | |
| Cargo.toml | 3 anos atrás | |
| README.md | 4 anos atrás | |
| dchat_config.toml | 4 anos atrás | |
A demo chat program to document DarkFi net code. Tutorial can be found in the DarkFi book.
Spin up a seed node:
cd example/dchat-seed
cargo run
Run dchat as an inbound node:
cargo run a
Run dchat as an outbound node:
cargo run b
Dchat creates a logging file for the inbound node at /tmp/alice.log. Logging for the outbound node is found at /tmp/bob.log.
Tail them like so:
tail -f /tmp/alice.log
Or use multitail for colored output:
multitail -c /tmp/alice.log