You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(relay)!: relay only mode now configurable (#3056)
## Description
This will allow us to configure relay only mode at runtime. ~~Useful for
easy testing without having to rebuild with the `DEV_RELAY_ONLY`
environment variable set.~~
The `DEV_RELAY_ONLY` compile time env var has been completely dropped
and a `relay_only` option has been threaded through the entire stack
when `test-utils` is enabled. An example of it can be followed with the
`iroh/examples/transfer.rs` where you can set up a provide and fetch
node with `--relay-only`.
## Breaking Changes
<!-- Optional, if there are any breaking changes document them,
including how to migrate older code. -->
## Notes & open questions
<!-- Any notes, remarks or open questions you have to make about the PR.
-->
## Change checklist
- [ ] Self-review.
- [ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.
- [ ] Tests if relevant.
- [ ] All breaking changes documented.
0 commit comments