Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Windows Socket dependency for
randomenv.cpp
The current implementation has two issues. 1. The `gethostname` call requires the Winsock DLL being initiated in advance, which is not always guaranteed, for example, in the kernel library. 2. It introduces a dependency on the ws2_32 library for our libbitcoinkernel, which may not be desirable.
- Loading branch information