Bitcoin full node and query server

Jun 16, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil17:44
Also, for those testing out current master builds, you should be aware that all libbitcoin libs, but most importantly -system, are significantly impacted by compiler optimizations. In the visual studio builds optional settings are defaulted into the .props files for debug and release builds. HOWEVER, the other builds require that you set these optimizations in the environment. This can be done as follows: $ CFLAGS="-03" CXXFLAGS="-03" ./install.sh --build-boost --enable-ndebug --disable-shared --prefix=<path> Because all hash functions are written in C++, you will get obscenely poor performance if you do not let the compiler fully optimize. With this setting the optimized code outperforms C implementations.
👍 1
P
parsevalbtc11:14
The flag is with capital o not with zero: $ CFLAGS="-O3" CXXFLAGS="-O3" ./install.sh --build-boost --enable-ndebug --disable-shared --prefix=<path>
👍🏻 1