chia-blockchain/chia/timelord
Chris Ross 0a2294841d
Before calling gethostbyname(); check if host is an address (#8765)
* Before calling gethostbyname(), check to see if we already have an address.
That prevents an unnecessary call, and also allows for specifying IPv6
addresses which otherwise cause exceptions here.

* Also recognize addresses when passed to timelord spawn_process, so that
IPv6 addresses can be used.

* Missed importing PeerInfo

* Adjust style to match requirements and existing code

* Cast PeerInfo port to uint16
2021-10-07 16:56:34 -07:00
..
__init__.py git mv src chia 2021-04-04 21:41:39 -07:00
iters_from_block.py git mv src chia 2021-04-04 21:41:39 -07:00
timelord_api.py coordinate blueboxes better (#7175) 2021-07-12 16:54:09 -07:00
timelord_launcher.py Before calling gethostbyname(); check if host is an address (#8765) 2021-10-07 16:56:34 -07:00
timelord_state.py Ms.mempool improvements (#1823) 2021-04-13 21:19:12 -07:00
timelord.py coordinate blueboxes better (#7175) 2021-07-12 16:54:09 -07:00
types.py git mv src chia 2021-04-04 21:41:39 -07:00