Branch: refs/heads/master Home: https://github.com/btcsuite/btcd Commit: 91b7f5c1c8e05d76bb9d110aa2029c1d705ed8f1 https://github.com/btcsuite/btcd/commit/91b7f5c1c8e05d76bb9d110aa2029c1d705ed8f1 Author: Javed Khan <tuxcan...@gmail.com> Date: 2017-01-18 (Wed, 18 Jan 2017)
Changed paths: M config.go Log Message: ----------- config: Refactor tor config options. * Remove unnecessary onionlookup func. * Disallow --noonion and --onion flag combination. * Tor isolation flag - prefer onion proxy. * Proper argument names in cfg.oniondial closure. * btcdLookup - error on onion address. * Bridge mode - use onion for lookup Commit: 8caa921ac31c4d1c81b967dfae0ba9a8e60ad670 https://github.com/btcsuite/btcd/commit/8caa921ac31c4d1c81b967dfae0ba9a8e60ad670 Author: Javed Khan <tuxcan...@gmail.com> Date: 2017-01-18 (Wed, 18 Jan 2017) Changed paths: M connmgr/tor.go M rpcserver.go M server.go Log Message: ----------- server: Fix connections to onion nodes. A DNS lookup was being attempted on onion addresses causing connections to fail. This has been fixed by introducing type onionAddr (which implements a net.Addr interface) and passing it to btcdDial. Also, the following onion related fixes have been made: * getaddednodeinfo - updated to handle onion addrs. * TorLookupIP - fixed err being shadowed. * newServer - rename tcpAddr to netAddr * addrStringToNetAddr - skip if host is already an IP addr. * addrStringToNetAddr - err if tor is disabled * getaddednodeinfo - check if host is already an IP addr. Compare: https://github.com/btcsuite/btcd/compare/0efea24aa6a7...8caa921ac31c