mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-30 00:01:16 +00:00
## Description - Enable binding of the RPC endpoint to arbitrary addresses - Add Dockerfile for iroh ## Breaking Changes - changed `iroh::node::Node::my_rpc_port` is now `my_rpc_addr` and returns `Option<SocketAddr>` - `iroh::node::Builder::rpc_endpoint` takes `Option<SocketAddr> instead of `Option<u16>` - added `iroh::node::Builder::enable_rpc_with_addr` allowing to specify on which address + port to bind to ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> ## Change checklist - [x] Self-review. - [x] Documentation updates if relevant. - [ ] Tests if relevant. - [ ] All breaking changes documented. --------- Co-authored-by: dignifiedquire <me@dignifiedquire.com>