Remove unused print()s and change the instance on CBlock to ToString().
Breaks dependency from core.o
on util.o
.
Before:
0src/libbitcoin_common_a-core.o
1 src/crypto/crypto_libbitcoin_crypto_a-sha2.o
2 CSHA256::Reset(...)
3 CSHA256::Write(...)
4 CSHA256::Finalize(...)
5 CSHA256::CSHA256(...)
6 src/libbitcoin_common_a-script.o
7 GetOpName(...)
8 src/libbitcoin_util_a-uint256.o
9 base_uint<256u>::EqualTo(...)
10 base_uint<256u>::ToString(...)
11 src/libbitcoin_util_a-util.o
12 FormatMoney(...)
13 LogPrintStr(...)
14 LogAcceptCategory(...)
After:
0src/libbitcoin_common_a-core.o
1 src/crypto/crypto_libbitcoin_crypto_a-sha2.o
2 CSHA256::Reset(...)
3 CSHA256::Write(...)
4 CSHA256::Finalize(...)
5 CSHA256::CSHA256(...)
6 src/libbitcoin_common_a-script.o
7 GetOpName(...)
8 src/libbitcoin_util_a-uint256.o
9 base_uint<256u>::EqualTo(...)
10 base_uint<256u>::ToString(...)