oxen-core/tests/unit_tests
Jason Rhinelander 5e95cef882
Remove openssl, unbound, expat, OpenAlias
openssl is a miserable dependency to fight with, especially for
iOS/Android, and we use it for very little:

- it gets (mis)used to write base64 data to a file in wallet2 for things
  like multisig data.  However this mode is *not* enabled by default,
  basically completely unknown, completely unused, only exists in the
  cli wallet, and is just dumb.  (Honestly the justification given in
  the PR is that "Windows users might want it", presupposing that there
  exists Windows users who are capable of generating a multisig wallet
  in a CLI-only application and yet are incapable of dealing with binary
  files).

- it's a dependency of unbound (in order to do dnssec, I believe).
  Unbound itself is fairly useless for Oxen, so I've removed it too:
    - it does OpenAlias lookups, which are a Monero thing that has never
      been used outside Monero, doesn't work reliably (because it fails
      if the result isn't DNSSEC validated) and is pointless when we
      have ONS.

    - it does DNS resolution on seed nodes, but we have never set seed
      nodes by name and just use seed node IPs instead (which seems a
      bit better anyway since the DNS lookup leaks some metadata).

- it *was* being used for sha256, but an earlier commit in this PR
  already replaced that with libsodium (entirely coincidentally).

- for static deps, it enables HTTPS support for the wallet.  However
  only the CLI wallet actually supports this (the GUI and mobile wallets
  don't), and since oxend hasn't support this for a while I have strong
  doubts it is being used anywhere.  (Plus wallet3 will do everything
  encrypted using zmq/libsodium, so doesn't need this to be secure).
  Note here that it is *only* removed by this commit for static builds:
  if doing a system build that links to libcurl supporting HTTPS then
  HTTPS support will still work.

Libexpat is also gone because it was only there for libunbound.
2022-04-15 13:51:57 -03:00
..
account.cpp Replace keypair::generate with a keypair constructor taking a hwdev 2020-12-08 22:31:54 -04:00
aligned.cpp unit_tests: add unit test for alloc alignment being a power of 2 2018-10-08 11:36:42 +00:00
apply_permutation.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
base58.cpp constexpr and simplify base58 conversion code 2020-09-28 16:43:38 -03:00
block_queue.cpp Replace boost chrono & posix_time with stl chrono 2020-07-02 12:52:13 -03:00
block_reward.cpp compiles 2021-01-04 13:09:59 +11:00
blockchain_db.cpp Test suite fixes 2021-07-05 23:48:18 -03:00
bulletproofs.cpp Replace epee hex with oxen-encoding 2022-04-14 14:34:50 -03:00
chacha.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
checkpoints.cpp shorten wire names 2021-02-09 11:54:27 +11:00
CMakeLists.txt Remove openssl, unbound, expat, OpenAlias 2022-04-15 13:51:57 -03:00
command_line.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
crypto.cpp Test suite compilation updates 2019-11-27 14:09:30 -04:00
device.cpp Fix extracted txversion/txtype 2020-12-06 23:19:20 -04:00
difficulty.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
epee_boosted_tcp_server.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
epee_levin_protocol_handler_async.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
epee_utils.cpp Replace epee hex with oxen-encoding 2022-04-14 14:34:50 -03:00
expect.cpp Replace boost::string_ref with std::string_view 2020-07-02 12:52:12 -03:00
get_xtype_from_string.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
hashchain.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
hmac_keccak.cpp unit_tests: fix missing test names 2020-02-18 23:56:21 +00:00
keccak.cpp Merge commit '309f2def9e3357174904d29040883a70ff0cbd68' into MergeUpstream 2020-04-07 14:24:36 +10:00
levin.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
lmdb.cpp Adding classes, functions, and utilities for common LMDB operations. 2019-03-19 17:52:26 +00:00
logging.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
long_term_block_weight.cpp Test suite fixes 2021-07-05 23:48:18 -03:00
main.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
memwipe.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
mlocker.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
mnemonics.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
mul_div.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
multiexp.cpp unit_tests: add ge_triple_scalarmult_base_vartime test 2020-09-16 20:41:39 -03:00
multisig.cpp Remove deprecated epee code 2020-10-24 12:46:26 -03:00
net.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
node_server.cpp Remove UPnP support 2022-04-14 14:34:49 -03:00
notify.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
output_distribution.cpp Test suite fixes 2021-07-05 23:48:18 -03:00
output_selection.cpp Merge commit 'c5e9266' into MergeUpstream2 2020-04-20 17:07:14 +10:00
oxen_name_system.cpp uninitialised tests 2021-04-15 10:43:07 +10:00
parse_address.cpp rename ons_owners_by_names merge wallet and session name check 2021-04-14 17:25:53 +10:00
parse_amount.cpp More string_view (mostly in wallet code) 2020-07-02 12:55:28 -03:00
pruning.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
random.cpp fix 2020-12-03 12:55:11 -04:00
random_path.h std::filesystem 2020-10-24 12:45:37 -03:00
ringct.cpp Remove Borromean generation 2020-11-30 00:47:12 -04:00
ringdb.cpp Replace keypair::generate with a keypair constructor taking a hwdev 2020-12-08 22:31:54 -04:00
rolling_median.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
serialization.cpp Update oxenmq to latest oxen-mq+oxen-encoding 2022-04-14 14:32:01 -03:00
service_nodes.cpp Test suite fixes 2021-07-05 23:48:18 -03:00
service_nodes_swarm.cpp Fix some missing LOKI -> OXEN logger defines 2021-08-19 16:03:32 -03:00
sha256.cpp Remove deprecated epee code 2020-10-24 12:46:26 -03:00
string_util.cpp Fix hex_to_type and add a unit test for it 2020-07-02 12:56:37 -03:00
subaddress.cpp std::filesystem 2020-10-24 12:45:37 -03:00
test_notifier.cpp unit_tests: add a notifier test 2018-10-01 09:14:20 +00:00
test_peerlist.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
test_protocol_pack.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
test_tx_utils.cpp compiles 2021-01-04 13:09:59 +11:00
testdb.h Test suite fixes 2021-07-05 23:48:18 -03:00
threadpool.cpp Move epee includes under "epee/..." 2020-10-24 12:46:27 -03:00
unbound.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
unit_tests_utils.h std::filesystem 2020-10-24 12:45:37 -03:00
uri.cpp compiles 2021-01-04 13:09:59 +11:00
varint.cpp Overhaul binary serialization code (part 1) 2020-07-02 12:52:12 -03:00
vercmp.cpp Update 2019 copyright 2019-03-05 22:05:34 +01:00
wipeable_string.cpp Replace epee hex with oxen-encoding 2022-04-14 14:34:50 -03:00