aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28Merge pull request #6582luigi11111-3/+3
2314dae workflows: fix windows build (selsta)
2020-05-27Merge pull request #6535luigi111116-542/+238
81773f5 fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero) cb4edc1 cmake: ASAN and PIE don't mix (moneromooo-monero)
2020-05-27Merge pull request #6531luigi11115-11/+11
f35ced6 build: fix boost 1.73 compatibility (selsta)
2020-05-23workflows: fix windows buildselsta1-3/+3
2020-05-15cmake: ASAN and PIE don't mixmoneromooo-monero1-2/+4
Binaries built with both crash on startup with maybe 25% probability
2020-05-15fuzz_tests: refactor and add OSS-Fuzz compatibilitymoneromooo-monero16-540/+234
2020-05-14build: fix boost 1.73 compatibilityselsta5-11/+11
2020-05-07Merge pull request #6510luigi11111-2/+0
70609d7 cryptonote_core: take out the time based upgrade warning (moneromooo-monero)
2020-05-07Merge pull request #6506luigi11111-7/+1
42e1484 wallet2: fix keys file deserialization exception handling (xiphon)
2020-05-06cryptonote_core: take out the time based upgrade warningmoneromooo-monero1-2/+0
It doesn't really work anymore since we don't have a fork soon
2020-05-06Merge pull request #6503luigi11111-1/+6
f80ab3e cryptonote_protocol: do not request pruned borromean sig txes (moneromooo-monero)
2020-05-06cryptonote_protocol: do not request pruned borromean sig txesmoneromooo-monero1-1/+6
We don't have a function to calculate their weight from a pruned version (yet).
2020-05-06Merge pull request #6486luigi11111-1/+2
feee455 Fixes for ZMQ JSON-RPC endpoint names for raw tx (vtnerd)
2020-05-06Merge pull request #6485luigi11112-3/+17
7a8c1ee wallet2: fix subaddress expansion when receiving monero (moneromooo-monero)
2020-05-06Merge pull request #6484luigi11111-1/+1
e7d0105 message_store: don't print an error when there is no mms file (moneromooo-monero)
2020-05-06Merge pull request #6481luigi11111-1/+1
119f706 rpc: fix 'use_bootstrap_daemon_if_necessary' return value (xiphon)
2020-05-06Merge pull request #6480luigi11111-3/+2
4f489fa wallet2: check_connection return false on get_version status != OK (xiphon)
2020-05-06Merge pull request #6478luigi11111-1/+1
ee58362 Used legacy category to match insert_key_images behavior (vtnerd)
2020-05-06Merge pull request #6477luigi11113-65/+25
afe5a55 Revert functional test changes in babf25d and 5715460 (vtnerd)
2020-05-06Merge pull request #6472luigi11112-1/+3
2efbd5f cryptonote: fix reuse of non default tx data when relaying (moneromooo-monero)
2020-05-06Merge pull request #6471luigi11111-0/+3
c6a1294 add another seed node (Gingeropolous/selsta) 9faf3d1 Add erciccione's seed node (erciccione/selsta)
2020-05-06Merge pull request #6468luigi11112-4/+5
a813c46 cryptonote_core: skip dns checkpoints on startup if not enforced (xiphon)
2020-05-05Merge pull request #6467luigi11115-24/+52
8b655de simplewallet: report timestamp based expected unlock time on balance (moneromooo-monero)
2020-05-05Merge pull request #6441luigi11115-10/+27
613071f use memwipe on secret k/alpha values (moneromooo-monero)
2020-05-05Merge pull request #6409luigi111114-171/+806
c26c930 Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON. (vtnerd)
2020-05-05wallet2: fix keys file deserialization exception handlingxiphon1-7/+1
2020-05-02Merge pull request #6451luigi11116-8/+36
4ed60b6 Bulletproofs: verification speedup (SarangNoether)
2020-05-01Merge pull request #6460luigi11111-0/+4
f8b1480 unit_tests: fix gcc+ warning (sumogr)
2020-05-01Merge pull request #6457luigi11111-3/+3
5eb7f63 workflows: add trezor support ubuntu (selsta)
2020-05-01Merge pull request #6453luigi11112-1/+3
d2d3a81 bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
2020-05-01Merge pull request #6452luigi11112-0/+59
d3e77cc FindCcache automatically (mj-xmr)
2020-05-01Merge pull request #6449luigi11112-8/+37
27d551d simplewallet: add sweep_account command (moneromooo-monero)
2020-05-01Merge pull request #6446luigi111124-253/+431
e509ede trezor: adapt to new passphrase mechanism (ph4r05)
2020-05-01Merge pull request #6444luigi11111-0/+1
b367630 simplewallet : missing function block separator (sumogr)
2020-05-01Merge pull request #6443luigi11112-111/+139
145be6d p2p: startup speedup, init seed nodes on first 'connect_to_seed()' (xiphon)
2020-05-01Merge pull request #6440luigi11111-4/+4
7c4a400 simplewallet: fix strings (show_transfers & export_transfers) (sumogr)
2020-05-01Merge pull request #6436luigi11118-2/+104
688a3e8 Add timelock verification on device (cslashm)
2020-05-01Merge pull request #6420luigi11111-2/+2
647c069 openssl update (ArqTras)
2020-05-01Merge pull request #6350luigi111111-27/+138
da99157 Use byte_slice for sending zmq messages - removes data copy within zmq (vtnerd)
2020-04-29Merge pull request #6487luigi11111-2/+2
dd807b8 txpool.cpp: rename var to fix for old g++ version (xenial default) (sumogr)
2020-04-29txpool.cpp: rename var to fix for old g++ version (xenial default)Sumo Gr1-2/+2
2020-04-29Fixes for ZMQ JSON-RPC endpoint names for raw txLee Clagett1-1/+2
2020-04-27wallet2: fix subaddress expansion when receiving moneromoneromooo-monero2-3/+17
2020-04-27trezor: adapt to new passphrase mechanismDusan Klinec24-253/+431
- choice where to enter passphrase is now made on the host - use wipeable string in the comm stack - wipe passphrase memory - protocol optimizations, prepare for new firmware version - minor fixes and improvements - tests fixes, HF12 support
2020-04-27message_store: don't print an error when there is no mms filemoneromooo-monero1-1/+1
It confuses people
2020-04-27rpc: fix 'use_bootstrap_daemon_if_necessary' return valuexiphon1-1/+1
2020-04-27openssl updateArqTras1-2/+2
Not available source updated g version
2020-04-26wallet2: check_connection return false on get_version status != OKxiphon1-3/+2
2020-04-24Used legacy category to match insert_key_images behaviorLee Clagett1-1/+1
2020-04-24Revert functional test changes in babf25d2e and 571546067Lee Clagett3-65/+25
2020-04-22cryptonote: fix reuse of non default tx data when relayingmoneromooo-monero2-1/+3
An automatic tx variable is initialized properly on the first run through the loop, but not the second. Moving the variable inside the loop ensures the ctor is called again to init it.
2020-04-22FindCcache automaticallymj-xmr2-0/+59
2020-04-22add another seed nodeGingeropolous1-0/+2
node is funded by random people and managed by me. currently functioning as public node at uwillrunanodesoon.moneroworld.com
2020-04-22simplewallet: report timestamp based expected unlock time on balancemoneromooo-monero5-24/+52
2020-04-22Add erciccione's seed nodeerciccione1-0/+1
2020-04-21p2p: startup speedup, init seed nodes on first 'connect_to_seed()'xiphon2-111/+139
2020-04-21Merge pull request #6470luigi11111-0/+1
79a1653 p2p: add seed node. (guywillett)
2020-04-21Merge pull request #6445luigi11119-52/+104
5715460 Always reject duplicate key-images from second txid (vtnerd) babf25d Allow unrestricted rpc calls to get full txpool info (vtnerd)
2020-04-21Merge pull request #6433luigi11112-1/+5
7326b69 functional_tests: ensure signatures never reuse a timestamp (moneromooo-monero) 082dd2c functional_tests: ensure signed timestamps are fresh (moneromooo-monero)
2020-04-21Merge pull request #6415luigi11112-7/+19
09abca7 wallet_api: checkUpdate - optional version and buildtag params (xiphon)
2020-04-21Merge pull request #6414luigi11111-1/+1
14e8035 update openssl 1.0.2r link (sumogr)
2020-04-21Merge pull request #6411luigi11111-0/+15
9c95437 workflows: retry on apt failure (selsta)
2020-04-21Merge pull request #6408luigi11111-2/+2
5ef7138 daemon: fix print_net_stats RPC calls (moneromooo-monero)
2020-04-21Merge pull request #6359luigi11112-3/+6
f9441c5 Fixed string_ref usage bug in epee::from_hex::vector (vtnerd)
2020-04-21p2p: add seed node.guy1-0/+1
2020-04-21Merge pull request #6332luigi111116-317/+516
87d7558 Allow wallet2.h to run in WebAssembly (woodser)
2020-04-21Merge pull request #6278luigi11114-12/+199
387fd66 Daemon: Print estimates for time until fully synced (rbrunner7)
2020-04-20cryptonote_core: skip dns checkpoints on startup if not enforcedxiphon2-4/+5
2020-04-18unit_tests: fix gcc+ warningSumo Gr1-0/+4
2020-04-17Merge pull request #6314luigi111125-159/+1550
02d887c Adding Dandelion++ support to public networks: (vtnerd)
2020-04-16workflows: add trezor support ubuntuselsta1-3/+3
2020-04-15bootstrap_daemon: fix missing virtual destructor and lambda capture (clang ↵xiphon2-1/+3
warning)
2020-04-15Allow wallet2.h to run in WebAssemblywoodser16-317/+516
- Add abstract_http_client.h which http_client.h extends. - Replace simple_http_client with abstract_http_client in wallet2, message_store, message_transporter, and node_rpc_proxy. - Import and export wallet data in wallet2. - Use #if defined __EMSCRIPTEN__ directives to skip incompatible code.
2020-04-15use memwipe on secret k/alpha valuesmoneromooo-monero5-10/+27
Reported by UkoeHB_ and sarang
2020-04-14Bulletproofs: verification speedupSarang Noether6-8/+36
2020-04-14simplewallet: add sweep_account commandmoneromooo-monero2-8/+37
Expects an account number, then the usual sweep_all options Useful to move monero that was accidentally sent to a subaddress with a very large account index.
2020-04-11Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON.Lee Clagett14-171/+806
2020-04-10Merge pull request #6405luigi11111-0/+1
8d23047 p2p: add another seed node (moneromooo-monero)
2020-04-10Merge pull request #6403luigi11114-16/+71
5de2295 Correct key image check in tx_pool (vtnerd)
2020-04-10Merge pull request #6398luigi11111-1/+1
8688b46 depends: update qt 5.7.1 download link (sumogr)
2020-04-10Merge pull request #6394luigi11113-5/+33
69b5992 simplewallet: new 'address one-off <major> <minor>' command (moneromooo-monero)
2020-04-10Merge pull request #6358luigi11115-30/+121
8958b4e blockchain_db: faster fetching of consecutive txes (moneromooo-monero)
2020-04-10Merge pull request #6341luigi11111-2/+10
927fd47 simplewallet: fix smart mining not starting after first setup (moneromooo-monero)
2020-04-10simplewallet : missing function block separatorSumo Gr1-0/+1
2020-04-08simplewallet: fix strings (show_transfers & export_transfers)sumogr1-4/+4
2020-04-08Add timelock verification on devicecslashm8-2/+104
2020-04-07simplewallet: new "address one-off <major> <minor>" commandmoneromooo-monero3-5/+33
2020-04-06functional_tests: ensure signatures never reuse a timestampmoneromooo-monero1-0/+2
2020-04-06functional_tests: ensure signed timestamps are freshmoneromooo-monero1-1/+3
This fixes a test failure now that timestamps are more constrained
2020-04-04Merge pull request #6397luigi11112-1/+27
323a9e3 depends: libsodium disable getrandom()/getentropy() (glibc < 2.25) (xiphon)
2020-04-04Merge pull request #6395luigi11111-3/+2
ad13a4b Fixing static_asserts in ZMQ JSON (vtnerd)
2020-04-04Merge pull request #6387luigi11111-2/+2
0dbdba8 epee: avoid spamming 'Generating SSL certificate' in the logs (xiphon)
2020-04-04Merge pull request #6386luigi11111-2/+0
68ffc1c README: clean up TOC (selsta)
2020-04-04Merge pull request #6384luigi11111-0/+1
ec01077 db_lmdb: fix race crash using a stale cursor (moneromooo-monero)
2020-04-04Merge pull request #6381luigi11112-8/+15
e719760 Fix receive order leakage with tx fluffing (vtnerd)
2020-04-04Merge pull request #6375luigi11111-4/+17
ebf3c10 Added logging for dropped local txes with no i2p/tor connections (vtnerd)
2020-04-04Merge pull request #6372luigi11111-8/+6
7b9017f p2p: plug tor to clearnet association vector (Aaron Hook)
2020-04-04Merge pull request #6371luigi11114-36/+2
b40c27c cppzmq: remove leftovers (selsta)
2020-04-04Merge pull request #6370luigi11112-5/+7
3031deb Bump downloaded boost version to 1.72 (omartijn) 6079042 Use boost::asio::ssl::context::sslv23 for backwards compatibility (omartijn)
2020-04-04Merge pull request #6364luigi11111-2/+14
6e1cb5a device: Ledger - fix wide char hidapi error string conversion (xiphon)
2020-04-04Merge pull request #6361luigi11113-4/+70
68a6507 Fixed bug in ZMQ JSON-RPC method field (vtnerd)
2020-04-04Merge pull request #6357luigi11119-43/+477
42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
2020-04-04Merge pull request #6356luigi11111-2/+3
56c4eda Provides safer semaphore privilege to jail; notes port/pkg availability (scoobybejesus)
2020-04-04Merge pull request #6353luigi11111-3/+7
6810150 daemon: if no banned IPs print something (sumogr)
2020-04-04Merge pull request #6351luigi11119-62/+135
81c5943 Remove temporary std::string creation in some hex->bin calls (vtnerd) 5fcc23a Move hex->bin conversion to monero copyright files and with less includes (vtnerd) 3387f0e Reduce template bloat in hex->bin for ZMQ json (vtnerd)
2020-04-04Merge pull request #6347luigi11112-10/+20
fcb06f7 cryptonote_core: skip block notify on blockchain switching rollback (xiphon)
2020-04-04Merge pull request #6346luigi11112-5/+1
dbfa4f8 unit_tests: fix missing test names (xiphon)
2020-04-04Merge pull request #6342luigi11111-0/+5
82da832 rpc: Add check for too old timestamps in payment signatures. (glv2)
2020-04-04Merge pull request #6339luigi111111-14/+14
c61abf8 remove empty statements (shopglobal)
2020-04-04Merge pull request #6338luigi11119-34/+34
80d5320 Hash domain separation (SarangNoether)
2020-04-04Merge pull request #6335luigi11112-3/+5
0078ce7 wipeable_string: split - treat CR, LF and Tabs as separators (xiphon)
2020-04-04Merge pull request #6334luigi11115-6/+14
cc18926 wallet2_api: wallet recovery - seed offset passphrase support (xiphon)
2020-04-04Merge pull request #6328luigi11111-1/+1
9bde70e core: mention time being off in hash rate changes message (moneromooo-monero)
2020-04-04Merge pull request #6322luigi11112-3/+111
29b7cd1 device_ledger: include status code name in error message (xiphon)
2020-04-04Merge pull request #6321luigi11111-0/+1
1a6e7bd wallet2: mention --daemon-ssl-allow-any-cert in --proxy error msg (xiphon)
2020-04-04Merge pull request #6309luigi11112-5/+57
e69acff functional_tests: update cookie at 10 seconds interval (moneromooo-monero) f5a11f0 functional_tests: speed up signature generation (moneromooo-monero)
2020-04-04Merge pull request #6286luigi11116-15/+0
6d6af70 cryptonote_basic: drop unused verification_context::m_not_rct field (xiphon)
2020-04-04Merge pull request #6269luigi11112-5/+12
21fe6a2 p2p: fix frequent weak_ptr exception on connection (moneromooo-monero)
2020-04-03Use byte_slice for sending zmq messages - removes data copy within zmqLee Clagett11-27/+138
2020-04-02wallet_api: checkUpdate - optional version and buildtag paramsxiphon2-7/+19
2020-04-01update openssl 1.0.2r linkSumo Gr1-1/+1
2020-04-01Hash domain separationSarang Noether9-34/+34
2020-04-01workflows: retry on apt failureselsta1-0/+15
Co-authored-by: xiphon <xiphon@protonmail.com>
2020-03-31cryptonote_basic: drop unused verification_context::m_not_rct fieldxiphon6-15/+0
2020-03-31p2p: fix frequent weak_ptr exception on connectionmoneromooo-monero2-5/+12
When a handshake fails, it can fail due to timeout or destroyed connection, in which case the connection will be, or already is, closed, and we don't want to do it twice. Additionally, when closing a connection directly from the top level code, ensure the connection is gone from the m_connects list so it won't be used again. AFAICT this is now clean in netstat, /proc/PID/fd and print_cn. This fixes a noisy (but harmless) exception.
2020-03-31Merge pull request #6336luigi11113-4/+13
760ecf2 console_handler: do not let exception past the dor (moneromooo-monero) 09c8111 threadpool: lock mutex in create (moneromooo-monero) e377977 tx_pool: catch theoretical error in get_block_reward (moneromooo-monero)
2020-03-31Merge pull request #6325luigi11111-1/+4
3627e53 rpc: fix print_pool_sh not finding local txes (moneromooo-monero)
2020-03-31Merge pull request #6318luigi11111-0/+29
ad806dc gpg_keys: add selsta key (selsta)
2020-03-31Merge pull request #6312luigi111146-59606/+68576
52d2ccd Translations from Weblate + updated language files (Monero-Weblate)
2020-03-31Merge pull request #6311luigi11111-0/+7
5002a03 Explicitly define copy assignment operator (omartijn)
2020-03-31Merge pull request #6304luigi11111-3/+12
2e9d1e6 wallet2: fix store-tx-info loading (moneromooo-monero)
2020-03-31Merge pull request #6302luigi11115-14/+45
dab604e wallet2_api: implement estimateTransactionFee (xiphon)
2020-03-31Merge pull request #6301luigi11112-14/+18
9989cb0 simplewallet: warn about correlations if print-ring-members is not set (moneromooo-monero)
2020-03-31Merge pull request #6298luigi11111-0/+4
fe92fa1 [randomx] Add missing randomx_vm_set_cache() (cohcho)
2020-03-31Merge pull request #6260luigi11112-1/+12
320bc84 rpc: add --rpc-payment-allow-free-loopback (moneromooo-monero)
2020-03-31Merge pull request #6214luigi11119-0/+147
054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
2020-03-30Always reject duplicate key-images from second txidLee Clagett3-25/+55
2020-03-30Allow unrestricted rpc calls to get full txpool infoLee Clagett6-27/+49
2020-03-30Fixed string_ref usage bug in epee::from_hex::vectorLee Clagett2-3/+6
2020-03-29daemon: fix print_net_stats RPC callsmoneromooo-monero1-2/+2
2020-03-28Merge pull request #6407luigi11111-2/+2
0c29e17 Fix network unit tests after epee changes (vtnerd)
2020-03-28Fix network unit tests after epee changesLee Clagett1-2/+2
2020-03-28simplewallet: warn about correlations if print-ring-members is not setmoneromooo-monero2-14/+18
The warning about spending more than one output with similar creation time was skipped if print-ring-members was not set, and it defaults to false, which means most people probably aren't getting this warning if they spend correlated outputs. Reported by SeventhAlpaca.
2020-03-27p2p: add another seed nodemoneromooo-monero1-0/+1
Node from syksy, administered by mooo
2020-03-27Merge pull request #6299Alexander Blair2-2/+26
9c1f970b wallet2: remember daemon address overrides when loading a new wallet (moneromooo-monero)
2020-03-27Merge pull request #6296Alexander Blair1-0/+4
50e59cfa wallet2: reject zero keys in json input (moneromooo-monero)
2020-03-27Merge pull request #6295Alexander Blair3-7/+17
bcae95a2 p2p: do not add recently failed addresses to the peerlist (moneromooo-monero)
2020-03-27Merge pull request #6290Alexander Blair1-2/+5
019c1dc0 gitian-build.py: Fixing check for docker command. (Jonathan Cross)
2020-03-27Merge pull request #6289Alexander Blair5-12/+59
ffe7165e wallet: reroll fake outs selection on local tx_sanity_check failure (xiphon)
2020-03-27Merge pull request #6288Alexander Blair3-20/+38
0349347e ringdb: use a different iv for key and data in rings table (moneromooo-monero) 7b882087 simplewallet: reword mixin in user message in terms of ring size (moneromooo-monero) f507a43a wallet2: do not remove known rings when a tx fails (moneromooo-monero)
2020-03-27Merge pull request #6285Alexander Blair3-25/+407
d0641b42 net: fix incorrect less operator for top/i2p addresses (Aaron Hook)
2020-03-27Merge pull request #6284Alexander Blair1-2/+2
02224e71 Fix check_fee() discrepancy. (UkoeHB)
2020-03-27Merge pull request #6283Alexander Blair1-2/+2
a84131ce p2p: fix off by one adding fallback peers (moneromooo-monero)
2020-03-27Merge pull request #6282Alexander Blair1-1/+1
66472074 Daemon: Guard against reporting "synchronized" too early (rbrunner7)
2020-03-27Merge pull request #6281Alexander Blair1-1/+1
6772ce70 10 block time is for incoming outputs, not transactions (rating89us)
2020-03-27Merge pull request #6280Alexander Blair1-2/+8
b818522d p2p: fix spurious warning when we're connected to at last one seed (moneromooo-monero)
2020-03-27Merge pull request #6279Alexander Blair1-1/+1
36bdf402 p2p: fix adding wrong indices to the filtered peer list (moneromooo-monero)
2020-03-27Merge pull request #6275Alexander Blair15-328/+3
aa93e388 p2p: remove old debug commands (Aaron Hook)
2020-03-27Merge pull request #6227Alexander Blair2-30/+65
f8d76f39 core: move the LockedTXN class out of txpool so it may be reused (moneromooo-monero)
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett25-159/+1550
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
2020-03-26functional_tests: speed up signature generationmoneromooo-monero2-5/+29
Executing a new binary for each signature can get really slow
2020-03-26functional_tests: update cookie at 10 seconds intervalmoneromooo-monero1-0/+28
Otherwise the daemon will start rejecting
2020-03-22protocol: request txpool contents when syncedmoneromooo-monero9-0/+147
A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent
2020-03-21Daemon: Print estimates for time until fully syncedrbrunner74-12/+199
2020-03-20p2p: remove old debug commandsAaron Hook15-328/+3
2020-03-20depends: update qt 5.7.1 download linkSumo Gr1-1/+1
5.7.1 was removed from official qt.io archive, this is one of the few mirrors remaining that keep a copy. I think it would be better if @TheCharlatan updated to a newer version soon than merging this PR
2020-03-20depends: libsodium disable getrandom()/getentropy() (glibc < 2.25)xiphon2-1/+27
2020-03-20p2p: do not add recently failed addresses to the peerlistmoneromooo-monero3-7/+17
2020-03-19Fixing static_asserts in ZMQ JSONLee Clagett1-3/+2
2020-03-15Merge pull request #6388luigi11111-1/+1
c075aa7 workaround for GetObject windows.h macro and rapidjson conflict (xiphon)
2020-03-14Correct key image check in tx_poolLee Clagett4-16/+71
2020-03-14workaround for GetObject windows.h macro and rapidjson conflictxiphon1-1/+1
2020-03-13epee: avoid spamming 'Generating SSL certificate' in the logsxiphon1-2/+2
2020-03-13Merge pull request #6383luigi11111-0/+2
a26cbce easylogging++: fix 'ELPP_OS_EMSCRIPTEN is not defined' warning (xiphon)
2020-03-13README: clean up TOCselsta1-2/+0
2020-03-12core: move the LockedTXN class out of txpool so it may be reusedmoneromooo-monero2-30/+65
for example, in the RPC server
2020-03-12rpc: add --rpc-payment-allow-free-loopbackmoneromooo-monero2-1/+12
This allows RPC coming from the loopback interface to not have to pay for service. This makes it possible to run an externally accessible RPC server for payment while also having a local RPC server that can be run unrestricted and payment free.
2020-03-12Merge pull request #6273Alexander Blair12-1027/+830
0f78b06e Various improvements to the ZMQ JSON-RPC handling: (Lee Clagett)
2020-03-12Merge pull request #6268Alexander Blair4-13/+13
a6c24412 wallet: fix exceptions getting the hash of a pruned tx (moneromooo-monero)
2020-03-12Merge pull request #6263Alexander Blair2-5/+5
c11e64fc Gitian: Change lxc ip link (TheCharlatan)
2020-03-12Merge pull request #6251Alexander Blair1-0/+10
0eac0c43 depends: set several missing build tags (moneromooo-monero)
2020-03-12Merge pull request #6244Alexander Blair1-5/+16
352bd132 abstract_tcp_server2: guard against negative timeouts (moneromooo-monero)
2020-03-12Merge pull request #6243Alexander Blair8-87/+38
4771a7ae p2p: remove obsolete local time in handshake (moneromooo-monero) 2fbbc4a2 p2p: avoid sending the same peer list over and over (moneromooo-monero) 3004835b epee: remove backward compatible endian specific address serialization (moneromooo-monero) 39a343d7 p2p: remove backward compatible peer list (moneromooo-monero) 60631802 p2p: simplify last_seen serialization now we have optional stores (moneromooo-monero) 9467b2e4 cryptonote_protocol: omit top 64 bits of difficulty when 0 (moneromooo-monero) b595583f serialization: do not write optional fields with default value (moneromooo-monero) 5f98b46d p2p: remove obsolete local time from TIMED_SYNC (moneromooo-monero)
2020-03-12db_lmdb: fix race crash using a stale cursormoneromooo-monero1-0/+1
If a db resize happened, the txpool meta cursor might be stale, and was not being renewed when necessary. It would cause this SEGSEGV: in mdb_cursor_set () in mdb_cursor_get () in cryptonote::BlockchainLMDB::get_txpool_tx_blob(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const () in cryptonote::tx_memory_pool::get_transaction(crypto::hash const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::relay_category) const () in cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_notify_new_fluffy_block(int, epee::misc_utils::struct_init<cryptonote::NOTIFY_NEW_FLUFFY_BLOCK::request_t>&, cryptonote::cryptonote_connection_context&) ()
2020-03-11easylogging++: fix 'ELPP_OS_EMSCRIPTEN is not defined' warningxiphon1-0/+2
2020-03-11Use boost::asio::ssl::context::sslv23 for backwards compatibilityMartijn Otto1-1/+3
All the insecure protocols that this enables are then disabled, so they cannot be actually used. The end-result is the same.
2020-03-11Bump downloaded boost version to 1.72Martijn Otto1-4/+4
2020-03-10Fix receive order leakage with tx fluffingLee Clagett2-8/+15
2020-03-09Reduce template bloat in hex->bin for ZMQ jsonLee Clagett2-16/+26
2020-03-09Move hex->bin conversion to monero copyright files and with less includesLee Clagett7-42/+104
2020-03-09Remove temporary std::string creation in some hex->bin callsLee Clagett1-5/+6
2020-03-07p2p: plug tor to clearnet association vectorAaron Hook1-8/+6
During the handshake for an incoming connection, the peer id is checked against the local node's peer id only for the specific zone of the incoming peer, in order to avoid linking public addresses to tor addresses: https://github.com/monero-project/monero/blob/5d7ae2d2791c0244a221872a7ac62627abb81896/src/p2p/net_node.inl#L2343 However, on handshakes for outgoing connections, all zones are checked: https://github.com/monero-project/monero/blob/5d7ae2d2791c0244a221872a7ac62627abb81896/src/p2p/net_node.inl#L1064 If an attacker wanted to link a specific tor node to a public node, they could potentially connect to as many public nodes as possible, get themselves added to the peer whitelist, maybe stuff some more attacker-owned addresses into the greylist, then disconnect, and for any future incoming connections, respond with the tor node's id in an attempt to link the public/tor addresses.
2020-03-07wallet2: remember daemon address overrides when loading a new walletmoneromooo-monero2-2/+26
2020-03-07Added logging for dropped local txes with no i2p/tor connectionsLee Clagett1-4/+17
2020-03-06cppzmq: remove leftoversselsta4-36/+2
2020-03-05Various improvements to the ZMQ JSON-RPC handling:Lee Clagett12-1027/+830
- Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream.
2020-03-01device: Ledger - fix wide char hidapi error string conversionxiphon1-2/+14
2020-02-28Merge pull request #6248Alexander Blair1-1/+1
21c3d42e p2p: drop the peerlist dump to TRACE (moneromooo-monero)
2020-02-28Merge pull request #6238Alexander Blair2-0/+9
f717d593 wallet2: guard against race with multiple decrypt_keys users (moneromooo-monero)
2020-02-28Merge pull request #6222Alexander Blair1-0/+2
a6a2ad6c simplewallet: set manual refresh mode in rescan_bc (moneromooo-monero)