mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-17 09:23:58 +02:00
`rpc_bind` uses `all_interfaces` to find a non-loopback IPv4 address and `get_bind_addrs` to verify the node's listening sockets. Add `all_interfaces` support for macOS, FreeBSD, NetBSD, and OpenBSD using `ifconfig -au`, switch the test to the POSIX platform guard so it runs there too, and fail early if no IPv4 interfaces are returned. Co-authored-by: Sjors Provoost <sjors@sprovoost.nl>
8.3 KiB
8.3 KiB