Compare commits

...

417 Commits

Author SHA1 Message Date
wowario 51e7a4178e Merge pull request 'enable async refresh' (#420) from m2049r/wownero:fix_asyncrefresh into master 4 months ago
wow nero f3a45f26c4
enable async refresh 4 months ago
wowario 7944b65d7d Merge pull request 'fix typo which breaks pool tx being stored properly' (#419) from m2049r/wownero:fix_pendingtx into master 4 months ago
wow nero 90e321abd0
fix typo which breaks pool tx being stored properly 4 months ago
wowario a053814e71 Merge pull request 'add i2p seeds' (#417) from qvqc/wownero:master into master 5 months ago
qvqc a7c7711b47
add i2p seeds 5 months ago
qvqc 8ab87421d9 w0w denominations 6 months ago
wowario 83b06a7ef8 update README 5 months ago
wowario c8b4665370
nudge estimate height 5 months ago
dsc 26b8602a03 remove unused variable 7 months ago
thotbot 31ec95aade Skip unneeded blocks in fast refresh 7 months ago
thotbot 29613140f2 subaddressIndex() 7 months ago
thotbot ae0ea220d5 Print wallet cache 7 months ago
thotbot 25e497db3f Misc. network related 7 months ago
thotbot 4edba5301a Import transaction 7 months ago
thotbot 3ea6587022 Misc. wallet API and wallet2 changes 7 months ago
thotbot 1840e844db Coins 7 months ago
thotbot 9da60611db Offline transaction signing 7 months ago
wowario 2baefe5e7e
revert sanity check 5 months ago
wowario 859e43810b
update checkpoints 5 months ago
wowario a400e47582
remove unused blocks.dat 5 months ago
dsc 234674922c estimate_fee requires new bp+ parameter 7 months ago
wowario 882e13f15f
bump version 5 months ago
wowario 947c154cd1 prevent mining within wallet and node 6 months ago
wowario e586e39936 revert requested_outputs_count 6 months ago
wowario 3a5502297e remove 32 bit builds 6 months ago
wowario 7c24988ec0 bump version 7 months ago
wowario 4be1068f8a add seed nodes 7 months ago
wowario 805bdf15f2 remove DNS ips 7 months ago
wowario 7e44298459 msg on mining key 7 months ago
wowario 933e5df1cf change unable to send transaction warning to debug 7 months ago
wowario e1b385332b bump version 7 months ago
wowario 2b814d3ca2 update checkpoints 7 months ago
lza_menace 15495e8c28 Update lza_menace seed node 7 months ago
wowario 92a382dc13 change no incoming connections warning to debug 7 months ago
wowario 8e42421e15 change ports 7 months ago
wowario 07e4356090 update systemd service file 7 months ago
wowario b5ad030b5b update checkpoints 7 months ago
wowario 337d131b82 add tor stuff 7 months ago
wowario 3083209a0c tag for gitian builds 7 months ago
wowario f380155a97 change to else if 7 months ago
wowario ff6883710b fix macos operator error 7 months ago
wowario 93b6af8a66 set bp+ fork height 7 months ago
wowario 307f553ee7 remove unused variable 7 months ago
moneromooo-monero 34884a4b00 store outPk/8 in the tx for speed 12 months ago
moneromooo-monero e44b32c30c ringct: port some of vtnerd's review changes from BP+ to BP 12 months ago
moneromooo-monero 9176075ab9 ringct: a few minor optimizations from review 12 months ago
moneromooo-monero ce6db7db63 plug bulletproofs plus into consensus 1 year ago
Sarang Noether 54559e256b Updates from security audit 12 months ago
Sarang Noether 619bbbb99f Precompute initial transcript hash 1 year ago
Sarang Noether 0bdbd108d8 Bulletproofs+ 1 year ago
wowario d2fcec5413 update fork height 7 months ago
wowario cf618fad1e update Dockerfile 7 months ago
wowario 6ca198c5e3 open collective details 7 months ago
wowario 9093976dba update checkpoints 7 months ago
wowario d5f8b181df set fork height 7 months ago
wowario 8180febd4a add vote rpc res 7 months ago
wowario 30a41c2ab1 vote by block 7 months ago
wowario 118cbd043a adjust difficulty_blocks_count 7 months ago
wowario 40e30964c4 nudge estimate height 7 months ago
wowario d47655f1f2 update README 8 months ago
wowario 87a375b3ff set testnet 8 months ago
wowario c49a72f1ce fixed coinbase unlock 288 blks 9 months ago
wowario 7f7d697f43 miner block header signing 8 months ago
wowario 3898c1c4d9 reset, revert difficulty algorithm, set fork height 8 months ago
wowario f6e95d080d tidy up miner msgs 8 months ago
wowario b21562924e DojaCat 8 months ago
wowario b78b83d79c remove MLSAG bug from monero 8 months ago
wowario a74d59a7c2 delete translation files 8 months ago
wowario 25e3365afb disable sanity_checks 1 year ago
wowario c2f2be5084 update checkpoints 8 months ago
wowario aad83a7965 Update 'README.md' 8 months ago
wowario 85840ebae7 bump to RandomWOW v1.1.9 8 months ago
qvqc 85197effd5 wow colors 8 months ago
wowario 71fc01aaf2 v0.10 ASCII art 8 months ago
wowario e1ff02c1c5 support old BP 3 years ago
wowario 952b0492d9 initial commit 3 years ago
luigi1111 2222bea92f
Merge pull request #7902 5 months ago
luigi1111 f12e75b5e4
Merge pull request #7888 5 months ago
mj-xmr 0ae1cd2413
v0.17: Fix Boost-1.77: Add missing algorithm header to i18n.cpp 5 months ago
luigi1111 317eceb725
Merge pull request #7894 5 months ago
luigi1111 d98787eb1b
Merge pull request #7825 5 months ago
luigi1111 ca1b1b7332
Merge pull request #7822 5 months ago
luigi1111 27c5013acd
Merge pull request #7805 5 months ago
SChernykh c0ce4d5089 Wallet2: fix optimize-coinbase for p2pool payouts 5 months ago
moneromooo-monero 3c15eb8e81 python-rpc: add missing python api for new freeze/thaw/frozen RPC 8 months ago
luigi1111 c61c09a567
Merge pull request #7882 5 months ago
luigi1111 b864817629
Merge pull request #7879 5 months ago
luigi1111 a520234c51
Merge pull request #7848 5 months ago
luigi1111 715ebcb744
Merge pull request #7846 5 months ago
luigi1111 4073599aaf
Merge pull request #7838 5 months ago
j-berman 2285c66ef1 Protect client from divide by 0 caused by integer truncation 5 months ago
j-berman 99bee1ccf0 Apply gamma distr from chain tip when selecting decoys 5 months ago
selsta e48fae3177
epee: link with Boost_SYSTEM_LIBRARY 5 months ago
tobtoht be6c61e2ee wallet_api: add make_uri 5 months ago
selsta 1e037d372a
build: prepare v0.17.2.3 6 months ago
woodser 6ec9fd6c08 support freeze, thaw, and frozen in wallet rpc 6 months ago
selsta ccfed6008a
cmake: test is a reserved keyword 7 months ago
anon f0fa959383
cmake: fix ccache detection 11 months ago
rbrunner7 8dbe2e57ac
Daemon: Update average block size table 6 months ago
luigi1111 64c320130f
Merge pull request #7839 6 months ago
luigi1111 8f95eaa0b0
Merge pull request #7817 6 months ago
luigi1111 9f93fe1539
Merge pull request #7810 6 months ago
luigi1111 db6688f584
Merge pull request #7801 6 months ago
luigi1111 f00db20a5f
Merge pull request #7792 6 months ago
j-berman adcf440dcd Make sure node returns to wallet that real output is unlocked 6 months ago
woodser 925c6b60e3 provide key images of spent outputs in wallet rpc 6 months ago
tobtoht 94bad34c26
wallet2: Don't auto lock device on process parsed blocks 7 months ago
tobtoht 3c23aca26b
ledger: don't lock for software device 8 months ago
tobtoht 49beb8da17
ledger: use software device if we have view key 8 months ago
tobtoht d188b5f51f
wallet_api: getPassword 8 months ago
moneromooo-monero 8eb2b79bad
p2p: remove blocked addresses/hosts from peerlist 6 months ago
luigi1111 3eb8f1458b
Merge pull request #7791 6 months ago
selsta a395f363e7
depends, docker: fix bintray links 9 months ago
selsta 0fecd7eb86
blocks: fix cmake syntax 6 months ago
Alex Opie 76824bf827
Stop adding more outputs than bulletproof allows 1 year ago
xiphon 67ba733de1
unit_tests: fix wipeable_string parse_hexstr test with latest gtest 1 year ago
selsta 402ba046e0
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB 9 months ago
selsta 1565bcb1fb
epee: include public openssl header in cmake 9 months ago
selsta 2e9af2a1c8
cmake: treat warnings as error in compiler flag tests 9 months ago
selsta db564efe0b
wallet_api: fix typo in exportKeyImages 7 months ago
selsta 85079173db
depends: add getmonero package mirror 7 months ago
selsta 8716d2ad9d
cmake: fix non portable code 9 months ago
luigi1111 5a34eae063
Merge pull request #7815 6 months ago
anon 1510b1e550
unit_tests: fix broken tests 6 months ago
selsta 7128f73ec2
cmake: don't forbid undefined symbols on openbsd 6 months ago
luigi1111 8b63bb3c75
Merge pull request #7789 6 months ago
luigi1111 56ce7fca6f
Merge pull request #7781 6 months ago
luigi1111 bc252794f0
Merge pull request #7693 6 months ago
SChernykh 07d82af979 Fixed json serialization of rct::RCTTypeNull 6 months ago
Dusan Klinec 9b840439b9
fix #7784 - deinit wallet in wallet dtor 7 months ago
Dusan Klinec 7e3f211791
wallet: rephrase error message on invalid device address 7 months ago
selsta 2161bd0f3a
device: set correct ledger min version 7 months ago
anon ec6ff0d002
cmake: export all symbols 9 months ago
anon ceb8e7c508
cmake: fix undefined symbols and multiple definitions 9 months ago
anon 72af8a5fce
cmake: forbid undefined symbols 9 months ago
anon 4f7c38a444
device_trezor_base: fix typo 7 months ago
luigi1111 7d2e717ee8
Merge pull request #7734 7 months ago
luigi1111 83e378740a
Merge pull request #7736 8 months ago
loqs c28d2f7c11
Fix boost 1.76.0 compatibility 8 months ago
selsta a2d8f876ca
randomx: bump submodule to v1.1.9 8 months ago
luigi1111 3701257d61
Merge pull request #7695 9 months ago
luigi1111 90703ba8bd
Merge pull request #7687 9 months ago
luigi1111 a080c0be9c
Merge pull request #7678 9 months ago
luigi1111 de7565069e
Merge pull request #7680 9 months ago
selsta 1d6f2114b8
workflows: fix windows build 9 months ago
woodser cb9a2e4471 add -framework AppKit for Apple 1 year ago
Nathan Dorfman 70c5c81670 wallet2: Fix rescan_bc keep_ki option 9 months ago
luigi1111 d59cd3d222
Merge pull request #7657 9 months ago
tobtoht dedcd6304c
wallet_api: import / export output function 9 months ago
benevanoff 6e22710f0e
expose set_offline to wallet api 10 months ago
tobtoht 02e9a41cbe
wallet_api: add isDeterministic() 11 months ago
tobtoht def58196da
wallet_api: add seed_offset param to seed() 11 months ago
Ben Evanoff 73959c623c
wallet_api: store fee for incoming txs in history 1 year ago
benevanoff 712f362150
wallet api: allow wallet to fetch all key images via api 1 year ago
dsc 153d08d026
Allow tx note edits via TransactionHistory object in wallet/api 1 year ago
xiphon 2abd7b174b
wallet_api: TransactionHistory - fill unconfirmed out payments dests 1 year ago
dsc 9a50bef3cd
Extend TransactionInfo with coinbase and description attributes in wallet/api 1 year ago
dsc 22bb6a654d
Allow AddressBook description edits via wallet/api interface 1 year ago
luigi1111 38958f722b
Merge pull request #7655 9 months ago
luigi1111 36a68b0cba
Merge pull request #7654 9 months ago
Howard Chu 6305b90596
ITS#9496 fix mdb_env_open bug from #8704 10 months ago
selsta 9fc9c7d695
gitian: remove osslsigncode 10 months ago
anon df032882a8
unit_tests: fix boost 1.58 compatibility 10 months ago
luigi1111 f6e63ef260
Merge pull request #7647 10 months ago
luigi1111 298208d92b
Merge pull request #7350 10 months ago
mj-xmr d7b74a4fb0 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing 10 months ago
luigi1111 f719b74cd1
Merge pull request #7638 10 months ago
luigi1111 1d597ad910
Merge pull request #7637 10 months ago
luigi1111 4f6eea9021
Merge pull request #7631 10 months ago
luigi1111 076254d113
Merge pull request #7623 10 months ago
luigi1111 daa1376370
Merge pull request #7621 10 months ago
luigi1111 eed63cef36
Merge pull request #7615 10 months ago
luigi1111 dcdbf7ebcf
Merge pull request #7459 10 months ago
selsta c18cdd3623
build: prepare v0.17.2.0 10 months ago
selsta 13978a9887
depends: openssl 1.1.1i -> 1.1.1k 10 months ago
Nathan Dorfman fd869a7b64 cmake: Don't default to -march=native on OpenBSD 10 months ago
Howard Chu c8c7c40ac8
ITS#9500 fix regression from ITS#8662 10 months ago
anon 21ab1de89f
cryptonote_protocol_handler: fix race condition 10 months ago
anon 699e82c282
cryptonote_protocol_handler: add race condition demo 10 months ago
luigi1111 9ec4ce36c7
Merge pull request #7419 10 months ago
SChernykh 9ca9f1214a Fixed issues found by static analysis 10 months ago
anon d5b78c08b6
async_protocol_handler_config: fix deadlock 11 months ago
anon f59b1d5fb5
async_protocol_handler_config: add deadlock demo 11 months ago
moneromooo-monero 4a9ae3eb8b
fix serialization being different on mac 1 year ago
luigi1111 837c9aec22
Merge pull request #7390 11 months ago
luigi1111 af46a291ad
Merge pull request #7336 11 months ago
Dusan Klinec 25588de40c
trezor: simplify recognition of integrated addresses 11 months ago
anon 7fd140e4f7
async_protocol_handler_config: remove connection correctly 11 months ago
anon c1776be54f
async_protocol_handler_config: add segfault demo 11 months ago
luigi1111 30bc575505
Merge pull request #7362 11 months ago
luigi1111 aa408d1c72
Merge pull request #7333 11 months ago
luigi1111 c8895ccbb7
Merge pull request #7309 11 months ago
luigi1111 975d390d00
Merge pull request #7284 11 months ago
Kris Zyp 332b9734ff
ITS#9007 don't free loose writemap pages 3 years ago
moneromooo-monero b5667c9f6c
p2p: allow CIDR notation in DNS blocklist 1 year ago
anon d8137dc523 device_trezor: add redundant check 1 year ago
anon c6e1d7bcdf device_trezor: wipe string fields properly 1 year ago
anon 6d5e2106b3 boosted_tcp_server: fix connection lifetime 1 year ago
anon afec439953 boosted_tcp_server: add segfault demo 1 year ago
luigi1111 25670398b1
Merge pull request #7295 1 year ago
moneromooo-monero fe6dda9453
p2p: only log to global when a blocked IP is not already blocked 1 year ago
Alexander Blair 8fef32e45c
Merge pull request #7292 1 year ago
Alexander Blair 7f1a83b852
Merge pull request #7287 1 year ago
moneromooo-monero 89fe0e1c81
storages: overridable limits for loading portable_storage from binary 1 year ago
luigi1111 b06ccc0416
Merge pull request #7282 1 year ago
luigi1111 83fa752a84
Merge pull request #7267 1 year ago
luigi1111 7ecdc53e11
Merge pull request #7248 1 year ago
Nathan Dorfman 32ab89aa86 docs: Remove outdated bits about anonymity network seed nodes 1 year ago
moneromooo-monero 5d2dd7a328
epee: also limit number of strings in portable_storage 1 year ago
Alexander Blair f3de67bc21
Merge pull request #7269 1 year ago
Alexander Blair 51057105b9
Merge pull request #7264 1 year ago
Alexander Blair 54cf799f0f
Merge pull request #7262 1 year ago
moneromooo-monero 3c7eec152c
add a max levin packet size by command type 1 year ago
moneromooo-monero 1128146c49
blockchain: lock access to m_blocks_hash_of_hashes 1 year ago
moneromooo-monero c2295f55b8
protocol: handle receiving a block hash we've not added yet 1 year ago
selsta 31b2572ec7
build: prepare v0.17.1.9 1 year ago
moneromooo-monero 0add7ec1cd
portable_storage: better sanity checking 1 year ago
Alexander Blair 2107337999
Merge pull request #7251 1 year ago
Alexander Blair f4e34d50cf
Merge pull request #7249 1 year ago
Alexander Blair a4ffad75ac
Merge pull request #7247 1 year ago
Alexander Blair 024783f73a
Merge pull request #7244 1 year ago
Alexander Blair db686707cb
Merge pull request #7239 1 year ago
Alexander Blair 5767e6db90
Merge pull request #7235 1 year ago
xiphon cb296b39bd
portable_storage: forbid unnamed sections 1 year ago
moneromooo-monero 57f7c2e53f
protocol: more sanity checks in new chain block hashes 1 year ago
moneromooo 531069859f
portable_storage: check object limit where appropriate 1 year ago
binaryFate 00b3502749
Merge pull request #7228 from vtnerd/fix/p2p_memory_usage_017 1 year ago
moneromooo e685f52e25
p2p: fix deadlock banning while updating peer lists 1 year ago
moneromooo-monero 00253b717c
protocol: don't reset last request time on an idle timer 1 year ago
Lee Clagett 7d67a2dde0 Add aggressive restrictions to pre-handshake p2p buffer limit 1 year ago
Alexander Blair 36dfd41e01
Merge pull request #7222 1 year ago
Alexander Blair bcd7f63a54
Merge pull request #7219 1 year ago
Alexander Blair 3a477a54a2
Merge pull request #7208 1 year ago
moneromooo-monero 218a109677
rpc: limit the number of txes for get_blocks.bin 1 year ago
anon b8bc4d77b7 ssl: buffered handshake detection 1 year ago
moneromooo-monero b39ee13d70
portable_storage: remove array element limit 1 year ago
Alexander Blair a99d6e56b6
Merge pull request #7193 1 year ago
Alexander Blair 5804add75b
Merge pull request #7206 1 year ago
Alexander Blair 75e9e7b39a
Merge pull request #7203 1 year ago
Alexander Blair a87eca5e7d
Merge pull request #7197 1 year ago
moneromooo-monero 8c8f3d73b5
protocol: fix false positives dropping peers 1 year ago
moneromooo-monero 0fc927dfba
portable_storage: remove overly aggressive cutoff 1 year ago
Alexander Blair d3e582e517
Merge pull request #7198 1 year ago
luigi1111 e42bb297b8
Revert "Reject existing claimed blocks in sync mode" 1 year ago
moneromooo-monero 0443cccb5d
cryptonote_basic: guess what got lost porting patches to branches again 1 year ago
Alexander Blair b42d08995e
Merge pull request #7191 1 year ago
Alexander Blair 138092ddc9
Merge pull request #7189 1 year ago
Alexander Blair 4ddde36c50
Merge pull request #7183 1 year ago
Alexander Blair 0873f3193a
Merge pull request #7181 1 year ago
Alexander Blair cbeaeb904b
Merge pull request #7174 1 year ago
Alexander Blair 355be543c7
Merge pull request #7161 1 year ago
Alexander Blair 6cea8ca895
Merge pull request #7155 1 year ago
Alexander Blair e08d37fc7b
Merge pull request #7146 1 year ago
Alexander Blair 1c14b7b3b2
Merge pull request #7139 1 year ago
moneromooo-monero 31ae533d6d
epee: fix some issues using connections after shutdown 1 year ago
moneromooo-monero d5be31ee21
portable_storage: add some sanity checks on data size 1 year ago
moneromooo-monero adcbcd8f8b
protocol: drop nodes if they claim new data but only give stale data 1 year ago
Lee Clagett ba3c627c57 Command max_bytes moved from dynamic map to static switch 1 year ago
xiphon 07b50c42dd rpc: get_info - add 'synchronized' field 1 year ago
selsta ba60541f3e
build: prepare v0.17.1.8 1 year ago
moneromooo-monero 5c3e84b6ae
restrict public node checks a little 1 year ago
moneromooo-monero e35bbb1e88
ban lists may now include subnets 1 year ago
moneromooo-monero fb9ef24267
Optional DNS based blocklist 1 year ago
luigi1111 ee8d740cba
Merge pull request #7152 1 year ago
luigi1111 e0e2eb2bf5
Merge pull request #7144 1 year ago
luigi1111 ecedaf2975
Merge pull request #7142 1 year ago
luigi1111 94897cf8f7
Merge pull request #7140 1 year ago
luigi1111 e38f3dbfb2
Merge pull request #7157 1 year ago
moneromooo-monero a4cdcd9bd0
rpc: add a busy_syncing field to get_info 1 year ago
moneromooo-monero 42ee309292
protocol: reject claimed block hashes that already are in the chain 1 year ago
Lee Clagett f0b867b13d Restrict duplicate keys in epee binary format 1 year ago
moneromooo-monero a436c36256
protocol: drop peers we can't download anything from in sync mode 1 year ago
Lee Clagett cf4461f40b Fix byte_stream::put_n 1 year ago
moneromooo-monero 905cc07c8b
daemon: the ban command can now load IPs from a file (ban @filename) 1 year ago
moneromooo-monero 3bb748ad94
p2p: remove peers from grey and anchors lists when blocked 1 year ago
moneromooo-monero a569483c19
p2p: ignore incoming peer list entries when we have them blocked 1 year ago
TheCharlatan 55e4007c48 Depends: Bump qt to 5.15.1 1 year ago
luigi1111 54a4071473
Merge pull request #7131 1 year ago
luigi1111 4f70af3af1
Merge pull request #7128 1 year ago
luigi1111 31390dce4d
Merge pull request #7124 1 year ago
moneromooo-monero c1d654708f
protocol: include first new block in chain entry response 1 year ago
moneromooo b6b2c9b8e8
protocol: stricter checks on received chain hash list 1 year ago
moneromooo-monero d6069f7ded
protocol: revert incoming chain height check against local chain 1 year ago
Alexander Blair 7a9ba3f154
Merge pull request #7122 1 year ago
Alexander Blair 575f6b5f13
Merge pull request #7120 1 year ago
Alexander Blair d6b2c676a9
Merge pull request #7118 1 year ago
Alexander Blair 5d39df5d92
Merge pull request #7116 1 year ago
Alexander Blair 91f941120d
Merge pull request #7115 1 year ago
Alexander Blair f9eee6f193
Merge pull request #7111 1 year ago
Alexander Blair 37800ceb5b
Merge pull request #7107 1 year ago
Alexander Blair b311043ec6
Merge pull request #7101 1 year ago
moneromooo-monero 3a3370096e
protocol: one more sanity check on usable data from a peer 1 year ago
moneromooo-monero 105afa5557
protocol: fix asking for pruned blocks for v10 1 year ago
moneromooo-monero d729730d38
protocol: drop origin IP if a block fails to verify in sync mode 1 year ago
luigi1111 f570ce1349
Merge pull request #7109 1 year ago
moneromooo-monero ef1524ecca
protocol: add a sanity check to the number of block hashes sent 1 year ago
moneromooo-monero 45d9a282d1
cmake: fix "release" version string on tagged releases 1 year ago
selsta a700e6103b
build: prepare v0.17.1.7 1 year ago
moneromooo-monero f47f1a0691
protocol: more restrictive checks on chain entry response 1 year ago
moneromooo-monero e83a220603
protocol: fix switchting to adding blocks if noone's adding the next span 1 year ago
Howard Chu b4b3cd3ad3
depends: Update OpenSSL to 1.1.1i 1 year ago
luigi1111 f7aa91f70d
Merge pull request #7076 1 year ago
luigi1111 f9a70e4260
Merge pull request #7073 1 year ago
luigi1111 f105a0ef38
Merge pull request #7071 1 year ago
luigi1111 1cb3ea0447
Merge pull request #7065 1 year ago
luigi1111 43788ffd2a
Merge pull request #7063 1 year ago
luigi1111 6d35b667cf
Merge pull request #7054 1 year ago
moneromooo ce26c5b2dd
protocol: drop peers that don't reply to queries 1 year ago
moneromooo-monero 21b3ff2c90
p2p: fix race condition accessing a deleted context 1 year ago
moneromooo-monero 446b3c865b
p2p: drop peers that spam peer lists 1 year ago
moneromooo 9427b5a6d5
keep only the last seen node on a given host in the white list 1 year ago
moneromooo fa79148e0c
protocol: drop peers that decrease claimed height 1 year ago
moneromooo 1382b17aa1
protocol: add scoring system to drop peers that don't behave 1 year ago
moneromooo-monero 7982ef5a73
crypto: fix non zero scalar being 0 after reducing 1 year ago
selsta b34d50fa76
build: prepare v0.17.1.6 1 year ago
Alexander Blair 0833680c74
Merge pull request #7059 1 year ago
selsta 93135907dd wallet2: set propagation timeout to current max timeout 1 year ago
Alexander Blair 065bb292df
Merge pull request #7010 1 year ago
luigi1111 3942a1cd04
Merge pull request #7044 1 year ago
luigi1111 e4c0cb0ff3
Merge pull request #7039 1 year ago
xiphon 9d7f473af0 cryptonote_core: dandelion - use local height or median height if syncing 1 year ago
Alexander Blair 41652c9aa1
Merge pull request #7040 1 year ago
Alexander Blair 0a0ceb62f0
Merge pull request #7038 1 year ago
Alexander Blair 8e7b762092
Merge pull request #7037 1 year ago
Alexander Blair 551e6c9168
Merge pull request #7028 1 year ago
Alexander Blair c09d142972
Merge pull request #7026 1 year ago
Crypto City efca5b8af9
wallet2: check imported multisig curve points are in main subgroup 1 year ago
luigi1111 251c64f195
Merge pull request #7011 1 year ago
selsta 5bb83ab042
build: prepare v0.17.1.5 1 year ago
xiphon af4fb4729e rpc: skip non-synced bootstrap daemons in --no-sync mode too 1 year ago
xiphon 8e829e034f rpc: on_send_raw_tx - add missing CHECK_CORE_READY 1 year ago
Howard Chu 398e64ccbe
Better log message for unusable anon networks 1 year ago
Howard Chu a8cd073fcc
Add rpc-restricted-bind-ip option 1 year ago
luigi1111 f690e4984d
Merge pull request #6997 1 year ago
luigi1111 ebc9197326
Merge pull request #6996 1 year ago
luigi1111 81f9fa947b
Merge pull request #6994 1 year ago
selsta 752837b2c8
build: prepare v0.17.1.3 1 year ago
xiphon 981e0b5cc3 epee: readline_buffer - fix thread safety, fix sync() after stop() 1 year ago
Lee Clagett 6f48a146f8 Fix i2p/tor seed nodes 1 year ago
luigi1111 1a3bef15b9
Merge pull request #6993 1 year ago
moneromooo-monero 44c93bb47a
p2p: fix accessing non existent element of map 1 year ago
luigi1111 c3fc96f0cf
Merge pull request #6992 1 year ago
luigi1111 07f6ecd227
Merge pull request #6991 1 year ago
moneromooo-monero 4985afddb3
p2p: add a tor seed 1 year ago
luigi1111 4191dc8981
Merge pull request #6990 1 year ago
luigi1111 32581fb223
Merge pull request #6985 1 year ago
selsta f3dd25c0e0
build: prepare v0.17.1.2 1 year ago
luigi1111 33dc825d6f
Merge pull request #6983 1 year ago
selsta 91f1be9ea2
net_node: add tor / i2p seed nodes 1 year ago
moneromooo-monero 35186b1b84
p2p: fix endianness when checking IPv6 addresses mapping to IPv4 1 year ago
luigi1111 bddd5653e1
Merge pull request #6981 1 year ago
moneromooo-monero b36c4f354b
p2p: make this work with boost <= 1.65 (pffff) 1 year ago
luigi1111 1ba4c8dbc2
Merge pull request #6979 1 year ago
moneromooo 92d19c48da
p2p: rewrite boost's make_address_v4 to cater for < 1.66 1 year ago
luigi1111 01606ee52e
Merge pull request #6974 1 year ago
luigi1111 81d2389c24
Merge pull request #6972 1 year ago
luigi1111 ef64c4e22f
Merge pull request #6967 1 year ago
luigi1111 7fa01f342c
Merge pull request #6966 1 year ago
luigi1111 4603ec9765
Merge pull request #6962 1 year ago
luigi1111 0be71bcea9
Merge pull request #6961 1 year ago
moneromooo-monero 1a627e1f89
p2p: use /16 filtering on IPv4-within-IPv6 addresses 1 year ago
luigi1111 c1229a4432
Merge pull request #6965 1 year ago
luigi1111 9f68111b69
Merge pull request #6964 1 year ago
luigi1111 d1e79f2086
Merge pull request #6963 1 year ago
moneromooo-monero 8965489acb
protocol: reject empty incoming block messages 1 year ago
xiphon d6953406c9 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P 1 year ago
moneromooo 5090cdc9f5
p2p: remove banned peers from the white list 1 year ago
moneromooo df1061c87d
p2p: give all hosts the same chance of being picked for connecting 1 year ago
selsta f55f3fe81c net_node: add --ban-list option 1 year ago
Lee Clagett 9b7ed2fd8b Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s 1 year ago
Lee Clagett e8468c5dcf Fix timeout checks for forwarded and Dandelion++ stem txes 1 year ago
Riccardo Spagni 76cc82c292
Merge pull request #6916 1 year ago
Riccardo Spagni 81a23c73d2
Merge pull request #6914 1 year ago
Riccardo Spagni 4b86583492
Merge pull request #6912 1 year ago
Riccardo Spagni 30918a27ab
Merge pull request #6907 1 year ago
Riccardo Spagni 940b042e28
Merge pull request #6911 1 year ago
selsta c028f4c4d8
build: prepare v0.17.1.1 1 year ago
xiphon f9a9d2ee28 wallet2: wait for propagation timeout before marking tx as failed 1 year ago
moneromooo-monero 81aaa4ec7b
bump default number of connections from 8 to 12 1 year ago
Howard Chu 6e594e53bb
Allow setting start block on export 1 year ago
Alexander Blair e88b9170db
Merge pull request #6906 1 year ago
xiphon 39e30d5481 wallet2_api: implement stop() to interrupt refresh() loop once 1 year ago
moneromooo-monero 1120df3c53
blockchain: fix sync at v14 boundary 1 year ago
Lee Clagett 42403c7acc Fix CLI and unrestricted RPC relay_tx with stempool 1 year ago
Lee Clagett fa63d4b3f0 Fix tx flush callback queueing 1 year ago
luigi1111 4d855fcca7
Merge pull request #6894 1 year ago
luigi1111 8ae0110d54
Merge pull request #6893 1 year ago
luigi1111 a9178e3584
Merge pull request #6888 1 year ago
luigi1111 bbe6ee39e5
Merge pull request #6887 1 year ago
luigi1111 94a86cf855
Merge pull request #6884 1 year ago
luigi1111 745d90c4a4
Merge pull request #6883 1 year ago
luigi1111 e60be2289e
Merge pull request #6880 1 year ago
luigi1111 5ef94b29c3
Merge pull request #6870 1 year ago
luigi1111 33281c1e2e
Merge pull request #6869 1 year ago
Howard Chu 518a2cdab4
Force CMAKE_SKIP_RPATH=ON 1 year ago
luigi1111 8235854e8a
Merge pull request #6868 1 year ago
xiphon 4cf3545a31 core_rpc_server: on_get_blocks - forward bootstrap daemon error 1 year ago
selsta a2e37eb3d8
build: prepare v0.17.1.0 1 year ago
xiphon 6352090e6d Dandelion++: skip desynced peers in stem phase 1 year ago
moneromooo-monero c407b92e80
wallet2: fix missing m_state field in wallet serialization 1 year ago
moneromooo-monero 250c48a289
tx_pool: silence spammy harmless warning till we fix the bug 1 year ago
Alexis Enston e49ad98a9b fix next_seed_height regression in getblocktemplate rpc 1 year ago
Lee Clagett 37bb59485f Do not use peer_id tracking method over i2p/tor 1 year ago
Lee Clagett 263579b217 Add support for i2p and tor seed nodes 1 year ago
Howard Chu 4665906ddd
Fix lgamma/signgam dependency 1 year ago
xiphon 826a84478d cmake: Version - use CMAKE_CURRENT_LIST_DIR 1 year ago
xiphon b4c775663a cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests 1 year ago
Lee Clagett 58cde83fb0 Switch to Dandelion++ fluff mode if no out connections for stem mode 1 year ago
luigi1111 1a9a984d26
Merge pull request #6845 1 year ago
luigi1111 05405024c0
Merge pull request #6843 1 year ago
luigi1111 d65f9a3064
Merge pull request #6842 1 year ago
luigi1111 d39f8237e0
Merge pull request #6835 1 year ago
moneromooo-monero 0473abf51d
link libzmq against libgssapi_krb5 if found 1 year ago
selsta c02d24f838
build: prepare v0.17.0.1 1 year ago
moneromooo-monero 9e6187a736
fix a couple bugs found by OSS-fuzz 1 year ago
xiphon 4846743fdc daemon: Windows - fix FAT32 warning, trailing backslash is required 1 year ago
  1. 1
      .github/FUNDING.yml
  2. 2
      .github/workflows/build.yml
  3. 2
      .gitignore
  4. 10
      .gitmodules
  5. 9
      ANONYMITY_NETWORKS.md
  6. 124
      CMakeLists.txt
  7. 31
      Dockerfile
  8. 16
      Makefile
  9. 843
      README.md
  10. 4
      cmake/CheckTrezor.cmake
  11. 19
      cmake/FindCcache.cmake
  12. 2
      cmake/FindLibUSB.cmake
  13. 26
      cmake/GitVersion.cmake
  14. 2
      cmake/Version.cmake
  15. 2
      contrib/depends/Makefile
  16. 2
      contrib/depends/funcs.mk
  17. 2
      contrib/depends/packages/boost.mk
  18. 3
      contrib/depends/packages/eudev.mk
  19. 3
      contrib/depends/packages/gtest.mk
  20. 3
      contrib/depends/packages/native_cctools.mk
  21. 31
      contrib/depends/packages/openssl.mk
  22. 93
      contrib/depends/packages/qt.mk
  23. 24
      contrib/depends/patches/openssl/fix_arflags.patch
  24. 19
      contrib/depends/patches/qt/fix_no_printer.patch
  25. 6
      contrib/depends/patches/qt/fix_qt_pkgconfig.patch
  26. 15
      contrib/depends/patches/qt/fix_rcc_determinism.patch
  27. 69
      contrib/depends/patches/qt/no-xlib.patch
  28. 37
      contrib/depends/patches/qt/pidlist_absolute.patch
  29. 34
      contrib/depends/patches/qt/qfixed-coretext.patch
  30. 2
      contrib/epee/include/byte_stream.h
  31. 30
      contrib/epee/include/net/abstract_tcp_server2.inl
  32. 4
      contrib/epee/include/net/connection_basic.hpp
  33. 3
      contrib/epee/include/net/levin_base.h
  34. 115
      contrib/epee/include/net/levin_protocol_handler_async.h
  35. 2
      contrib/epee/include/net/net_helper.h
  36. 1
      contrib/epee/include/net/net_ssl.h
  37. 3
      contrib/epee/include/net/net_utils_base.h
  38. 1
      contrib/epee/include/rolling_median.h
  39. 7
      contrib/epee/include/storages/http_abstract_invoke.h
  40. 15
      contrib/epee/include/storages/levin_abstract_invoke2.h
  41. 18
      contrib/epee/include/storages/portable_storage.h
  42. 65
      contrib/epee/include/storages/portable_storage_from_bin.h
  43. 4
      contrib/epee/include/storages/portable_storage_template_helper.h
  44. 1
      contrib/epee/include/storages/portable_storage_to_bin.h
  45. 13
      contrib/epee/src/CMakeLists.txt
  46. 3
      contrib/epee/src/net_ssl.cpp
  47. 35
      contrib/epee/src/net_utils_base.cpp
  48. 10
      contrib/epee/src/readline_buffer.cpp
  49. 4
      contrib/gitian/README.md
  50. 12
      contrib/gitian/gitian-android.yml
  51. 28
      contrib/gitian/gitian-build.py
  52. 12
      contrib/gitian/gitian-freebsd.yml
  53. 43
      contrib/gitian/gitian-linux.yml
  54. 10
      contrib/gitian/gitian-osx.yml
  55. 18
      contrib/gitian/gitian-win.yml
  56. 101
      contrib/tor/wownero-over-tor.sh
  57. 2
      external/CMakeLists.txt
  58. 1
      external/RandomWOW
  59. 10
      external/db_drivers/liblmdb/mdb.c
  60. 1
      external/randomx
  61. 1
      external/trezor-common
  62. 6
      src/CMakeLists.txt
  63. 584
      src/blockchain_db/blockchain_db.cpp
  64. 9
      src/blockchain_db/blockchain_db.h
  65. 17
      src/blockchain_db/lmdb/db_lmdb.cpp
  66. 2
      src/blockchain_db/lmdb/db_lmdb.h
  67. 2
      src/blockchain_db/testdb.h
  68. 18
      src/blockchain_utilities/CMakeLists.txt
  69. 4
      src/blockchain_utilities/blockchain_ancestry.cpp
  70. 8
      src/blockchain_utilities/blockchain_blackball.cpp
  71. 4
      src/blockchain_utilities/blockchain_depth.cpp
  72. 10
      src/blockchain_utilities/blockchain_export.cpp
  73. 16
      src/blockchain_utilities/blockchain_import.cpp
  74. 4
      src/blockchain_utilities/blockchain_prune.cpp
  75. 4
      src/blockchain_utilities/blockchain_prune_known_spent_data.cpp
  76. 4
      src/blockchain_utilities/blockchain_stats.cpp
  77. 4
      src/blockchain_utilities/blockchain_usage.cpp
  78. 75
      src/blockchain_utilities/bootstrap_file.cpp
  79. 10
      src/blockchain_utilities/bootstrap_file.h
  80. 32
      src/blocks/CMakeLists.txt
  81. 8
      src/blocks/blocks.cpp
  82. BIN
      src/blocks/checkpoints.dat
  83. 0
      src/blocks/stagenet_blocks.dat
  84. 0
      src/blocks/testnet_blocks.dat
  85. 100
      src/checkpoints/checkpoints.cpp
  86. 7
      src/common/dns_utils.cpp
  87. 1
      src/common/i18n.cpp
  88. 6
      src/common/updates.cpp
  89. 19
      src/common/util.cpp
  90. 1
      src/common/util.h
  91. 12
      src/crypto/crypto.cpp
  92. 2
      src/crypto/hash-ops.h
  93. 471
      src/crypto/slow-hash.c
  94. 76
      src/crypto/variant4_random_math.h
  95. 10
      src/cryptonote_basic/CMakeLists.txt
  96. 71
      src/cryptonote_basic/connection_context.cpp
  97. 18
      src/cryptonote_basic/connection_context.h
  98. 7
      src/cryptonote_basic/cryptonote_basic.h
  99. 2
      src/cryptonote_basic/cryptonote_basic_impl.cpp
  100. 37
      src/cryptonote_basic/cryptonote_boost_serialization.h

1
.github/FUNDING.yml

@ -1 +0,0 @@
custom: https://www.getmonero.org/get-started/contributing/

2
.github/workflows/build.yml

@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v1
with:
submodules: recursive
- uses: eine/setup-msys2@v1
- uses: msys2/setup-msys2@v2
with:
update: true
install: mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb git

2
.gitignore

@ -109,3 +109,5 @@ nbproject
/testnet
__pycache__/
*.pyc
*.log

10
.gitmodules

@ -9,13 +9,11 @@
[submodule "external/rapidjson"]
path = external/rapidjson
url = https://github.com/Tencent/rapidjson
[submodule "external/trezor-common"]
path = external/trezor-common
url = https://github.com/trezor/trezor-common.git
[submodule "external/randomx"]
path = external/randomx
url = https://github.com/tevador/RandomX
[submodule "external/supercop"]
path = external/supercop
url = https://github.com/monero-project/supercop
branch = monero
[submodule "external/RandomWOW"]
path = external/RandomWOW
url = https://git.wownero.com/wownero/RandomWOW
branch = 1.1.9-wow

9
ANONYMITY_NETWORKS.md

@ -36,10 +36,6 @@ with additional exclusive IPv4 address(es).
## Usage
Anonymity networks have no seed nodes (the feature is still considered
experimental), so a user must specify an address. If configured properly,
additional peers can be found through typical p2p peerlist sharing.
### Outbound Connections
Connecting to an anonymous address requires the command line option
@ -54,8 +50,9 @@ separate process. On most systems the configuration will look like:
which tells `monerod` that ".onion" p2p addresses can be forwarded to a socks
proxy at IP 127.0.0.1 port 9050 with a max of 10 outgoing connections and
".b32.i2p" p2p addresses can be forwarded to a socks proxy at IP 127.0.0.1 port
9000 with the default max outgoing connections. Since there are no seed nodes
for anonymity connections, peers must be manually specified:
9000 with the default max outgoing connections.
If desired, peers can be manually specified:
```
--add-exclusive-node rveahdfho7wo4b2m.onion:28083

124
CMakeLists.txt

@ -55,6 +55,21 @@ else()
message(STATUS "ccache deselected")
endif()
# Job pool feature requires Ninja.
if (${CMAKE_VERSION} VERSION_GREATER "3.0.0")
set(WOWNERO_PARALLEL_COMPILE_JOBS "" CACHE STRING "The maximum number of concurrent compilation jobs.")
if (WOWNERO_PARALLEL_COMPILE_JOBS)
set_property(GLOBAL APPEND PROPERTY JOB_POOLS compile_job_pool=${WOWNERO_PARALLEL_COMPILE_JOBS})
set(CMAKE_JOB_POOL_COMPILE compile_job_pool)
endif ()
set(WOWNERO_PARALLEL_LINK_JOBS "" CACHE STRING "The maximum number of concurrent link jobs.")
if (WOWNERO_PARALLEL_LINK_JOBS)
set_property(GLOBAL APPEND PROPERTY JOB_POOLS link_job_pool=${WOWNERO_PARALLEL_LINK_JOBS})
set(CMAKE_JOB_POOL_LINK link_job_pool)
endif ()
endif()
enable_language(C ASM)
function (die msg)
@ -71,16 +86,18 @@ function (die msg)
endfunction ()
function (add_c_flag_if_supported flag var)
string(REPLACE "-" "_" supported ${flag}_c)
check_c_compiler_flag(${flag} ${supported})
set(TMP "-Werror ${flag}")
string(REGEX REPLACE "[- ]" "_" supported ${TMP}_c)
check_c_compiler_flag(${TMP} ${supported})
if(${${supported}})
set(${var} "${${var}} ${flag}" PARENT_SCOPE)
endif()
endfunction()
function (add_cxx_flag_if_supported flag var)
string(REPLACE "-" "_" supported ${flag}_cxx)
check_cxx_compiler_flag(${flag} ${supported})
set(TMP "-Werror ${flag}")
string(REGEX REPLACE "[- ]" "_" supported ${TMP}_cxx)
check_cxx_compiler_flag(${TMP} ${supported})
if(${${supported}})
set(${var} "${${var}} ${flag}" PARENT_SCOPE)
endif()
@ -111,6 +128,66 @@ function (add_definition_if_library_exists library function header var)
endif()
endfunction()
# Function to forbid undefined symbols and also verify
# 1) Test project with all types of libraries and without undefined symbols can compile successfully
# 2) Test project with all types of libraries and undefined symbols can not compile successfully
function(forbid_undefined_symbols)
unset(TMP)
# https://www.unix.com/man-page/linux/1/ld, --no-undefined, Report unresolved symbol references from regular object files.
add_linker_flag_if_supported(-Wl,--no-undefined TMP)
# https://www.unix.com/man-page/osx/1/ld/, -undefined, Specifies how undefined symbols are to be treated.
add_linker_flag_if_supported(-Wl,-undefined,error TMP)
string(APPEND CMAKE_SHARED_LINKER_FLAGS ${TMP})
string(APPEND CMAKE_MODULE_LINKER_FLAGS ${TMP})
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} PARENT_SCOPE)
set(CMAKE_MODULE_LINKER_FLAGS ${CMAKE_MODULE_LINKER_FLAGS} PARENT_SCOPE)
set(TEST_PROJECT "${CMAKE_BINARY_DIR}/${CMAKE_FILES_DIRECTORY}/CMakeTmp/test_project")
foreach(EXPECT IN ITEMS TRUE FALSE)
file(REMOVE_RECURSE "${TEST_PROJECT}")
file(MAKE_DIRECTORY "${TEST_PROJECT}")
file(WRITE "${TEST_PROJECT}/CMakeLists.txt"
[=[
cmake_minimum_required(VERSION 3.1)
project(test)
option(EXPECT_SUCCESS "" ON)
file(WRITE "${CMAKE_SOURCE_DIR}/incorrect_source.cpp" "void undefined_symbol(); void symbol() { undefined_symbol(); }")
if (EXPECT_SUCCESS)
file(APPEND "${CMAKE_SOURCE_DIR}/incorrect_source.cpp" " void undefined_symbol() {}; ")
endif()
add_library(l0 SHARED incorrect_source.cpp)
add_library(l1 MODULE incorrect_source.cpp)
add_library(l2 STATIC incorrect_source.cpp)
add_library(l3 OBJECT incorrect_source.cpp)
]=]
)
try_compile(SUCCESS "${TEST_PROJECT}/build" "${TEST_PROJECT}" test
CMAKE_FLAGS
"-DCMAKE_SHARED_LINKER_FLAGS=${CMAKE_SHARED_LINKER_FLAGS}"
"-DCMAKE_MODULE_LINKER_FLAGS=${CMAKE_MODULE_LINKER_FLAGS}"
"-DEXPECT_SUCCESS=${EXPECT}"
)
if (NOT ${SUCCESS} STREQUAL ${EXPECT})
message(FATAL_ERROR "Undefined symbols test failure: expect(${EXPECT}), success(${SUCCESS})")
endif()
file(REMOVE_RECURSE "${TEST_PROJECT}")
endforeach()
endfunction()
if (NOT (CMAKE_SYSTEM_NAME MATCHES "kOpenBSD.*|OpenBSD.*"))
forbid_undefined_symbols()
endif()
if (MINGW)
function(export_all_symbols)
unset(TMP)
add_linker_flag_if_supported(-Wl,--export-all-symbols TMP)
string(APPEND CMAKE_SHARED_LINKER_FLAGS ${TMP})
string(APPEND CMAKE_MODULE_LINKER_FLAGS ${TMP})
set(CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS} PARENT_SCOPE)
set(CMAKE_MODULE_LINKER_FLAGS ${CMAKE_MODULE_LINKER_FLAGS} PARENT_SCOPE)
endfunction()
export_all_symbols()
endif()
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
message(STATUS "Setting default build type: ${CMAKE_BUILD_TYPE}")
@ -190,6 +267,15 @@ else()
message(STATUS "Building without build tag")
endif()
# Update and init submodules by default
if(NOT MANUAL_SUBMODULES)
find_package(Git)
if(GIT_FOUND)
message(STATUS "Initializing submodules")
execute_process(COMMAND git "submodule" "update" "--init" "--recursive" WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
endif()
endif()
if(NOT MANUAL_SUBMODULES)
find_package(Git)
if(GIT_FOUND)
@ -208,8 +294,7 @@ if(NOT MANUAL_SUBMODULES)
check_submodule(external/miniupnp)
check_submodule(external/unbound)
check_submodule(external/rapidjson)
check_submodule(external/trezor-common)
check_submodule(external/randomx)
check_submodule(external/RandomWOW)
check_submodule(external/supercop)
endif()
endif()
@ -259,7 +344,7 @@ endif()
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
enable_testing()
option(BUILD_DOCUMENTATION "Build the Doxygen documentation." ON)
option(BUILD_DOCUMENTATION "Build the Doxygen documentation." OFF)
option(BUILD_TESTS "Build tests." OFF)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DEFAULT_BUILD_DEBUG_UTILITIES ON)
@ -449,6 +534,10 @@ if(STATIC AND NOT IOS)
endif()
endif()
if (WIN32)
list(APPEND OPENSSL_LIBRARIES ws2_32 crypt32)
endif()
find_package(HIDAPI)
add_definition_if_library_exists(c memset_s "string.h" HAVE_MEMSET_S)
@ -501,6 +590,17 @@ endif()
# Trezor support check
include(CheckTrezor)
# As of OpenBSD 6.8, -march=<anything> breaks the build
function(set_default_arch)
if (OPENBSD)
set(ARCH default)
else()
set(ARCH native)
endif()
set(ARCH ${ARCH} CACHE STRING "CPU to build for: -march value or 'default' to not pass -march at all")
endfunction()
if(MSVC)
add_definitions("/bigobj /MP /W3 /GS- /D_CRT_SECURE_NO_WARNINGS /wd4996 /wd4345 /D_WIN32_WINNT=0x0600 /DWIN32_LEAN_AND_MEAN /DGTEST_HAS_TR1_TUPLE=0 /FIinline_c.h /D__SSE4_1__")
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Dinline=__inline")
@ -514,7 +614,7 @@ if(MSVC)
else()