aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-08-02Tweak format, add option for difficultyHoward Chu1-11/+36
Set input, output, ringsize averages to 2 decimal places precision Add option to show min/max/av per-block difficulty
2020-08-01Add options to print daily coin emission and feesHoward Chu1-0/+32
Closes #6735
2020-08-01Don't forget size of prunable txn partHoward Chu1-0/+2
Fixes #6732
2020-07-31Merge pull request #6729luigi11114-2/+3
f370093 build: prepare v0.16.0.3 release (selsta)
2020-07-30rpc: reject wrong sized txidmoneromooo-monero1-6/+4
Reporter requested credit to be given to Decred
2020-07-30blockchain: guard against exceptions in add_new_block/childrenmoneromooo-monero1-0/+11
Reporter requested credit to be given to Decred
2020-07-30build: prepare v0.16.0.3 releaseselsta4-2/+3
2020-06-23Merge pull request #6672v0.16.0.1luigi11114-2/+3
fa199f2 build: prepare v0.16.0.1 release (selsta)
2020-06-22Merge pull request #6681luigi11111-0/+26
19bb72d add trezor support to sweep_single (ph4r05)
2020-06-22Merge pull request #6678luigi11111-0/+2
cc19397 updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-06-22Merge pull request #6671luigi11113-6/+14
bca61e4 tx_pool: mine stem txes in fake chain mode (moneromooo-monero)
2020-06-22Merge pull request #6665luigi11111-1/+1
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-06-22Merge pull request #6651luigi11112-1/+17
a67c634 blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
2020-06-22add trezor support to sweep_singleDusan Klinec1-0/+26
2020-06-22updates: mac gui .tar.bz2 -> .dmgselsta1-0/+2
2020-06-21build: prepare v0.16.0.1 releaseselsta4-2/+3
2020-06-20tx_pool: mine stem txes in fake chain modemoneromooo-monero3-6/+14
This fixes the functional tests, since txes would not be mined after being sent to the daemon (they'd be waiting for the dandelion timeout first)
2020-06-19Merge pull request #6648luigi11111-1/+1
3b390fb Fix D++ block template check (vtnerd)
2020-06-19Merge pull request #6646luigi11111-0/+1
b7812d1 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-06-19Merge pull request #6645luigi11111-1/+1
0a19785 rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-06-19Merge pull request #6644luigi11111-1/+1
0569e63 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-06-19Merge pull request #6643luigi11111-1/+1
23df29d functional_tests: add simple relay_tx test (moneromooo-monero) e306834 rpc: fix relay_tx error return mixup (moneromooo-monero)
2020-06-19Merge pull request #6642luigi11111-2/+1
96b7697 daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-06-19Merge pull request #6641luigi11111-5/+5
5285ecc rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-06-13blockchain: fix timestamp/difficulty cache getting out of syncmoneromooo-monero2-1/+17
The cache is discarded when a block is popped, but then gets rebuilt when the difficulty for next block is requested. While this is all properly locked, it does not take into account the delay caused by a database transaction being only committed (and thus its effects made visible to other threads) later on, which means another thread could request difficulty between the pop and the commit, which would end up using stale database view to build the cache, but that cache would not be invalidated again when the transaction gets committed, which would cause the cache to not match the new database data. To fix this, we now keep track of when the cache is invalidated so we can invalidate it again upon database transaction commit to ensure it gets calculated again with fresh data next time it is nedeed.
2020-06-12Fix D++ block template checkLee Clagett1-1/+1
2020-06-11blockchain: fix total_height in getblocks.bin responsemoneromooo-monero1-0/+1
2020-06-11rpc: fix loading rpc payment data from filemoneromooo-monero1-1/+1
Got broken after making one of those micro optimizations requested on review..
2020-06-11rpc: fix comparison of seconds vs microsecondsmoneromooo-monero1-1/+1
2020-06-11rpc: fix relay_tx error return mixupmoneromooo-monero1-1/+1
2020-06-11daemon: remove time based "update needed" status stringmoneromooo-monero1-2/+1
2020-06-11rpc: don't display invalid json errors on default log levelmoneromooo-monero1-5/+5
It's not something the user needs to know, and will display attacker controlled data
2020-05-27Fix incorrect lenght of command INS_PREFIX_HASHFrançois Colas1-2/+2
buffer_send[4] (LC) is an unsigned char, len should not exceed 254 (255 - 1 for the option).
2020-05-25fix typo in pick_preferred_rct_inputsDenis Smirnov1-1/+1
2020-05-21version: update nameselsta1-1/+1
2020-05-21Merge pull request #6575luigi11112-0/+12
ada8172 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-05-21Merge pull request #6577luigi11112-6/+46
0d92fe5 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-05-21Merge pull request #6569luigi11112-36/+0
99d702e cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-05-20rpc: add a sanity limit to a few RPC in restricted modemoneromooo-monero2-6/+46
2020-05-20rpc: lock access to the rpc payment objectmoneromooo-monero2-0/+12
2020-05-20[release-v0.16] MMS: New 'config_checksum' subcommandrbrunner74-27/+124
2020-05-19Merge pull request #6554luigi11112-1/+22
f01d529 cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero) bbab044 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-05-19Merge pull request #6567luigi11111-2/+2
cef39dc protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-05-19Merge pull request #6562luigi11111-1/+1
705c78b wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-05-19Merge pull request #6560luigi11111-1/+1
4291344 serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-05-19Merge pull request #6545luigi11111-5/+72
bb4d95c blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-05-19Merge pull request #6543luigi11111-1/+0
44e3782 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-05-19Merge pull request #6541luigi11114-49/+15
4a9c3a Revert 'simplewallet: noob-friendly help menu' (selsta) 7633ba0 simplewallet: help_advanced -> help (selsta)
2020-05-19Merge pull request #6532luigi11112-3/+3
f35ced6 build: fix boost 1.73 compatibility (selsta)
2020-05-19Merge pull request #6551luigi11113-71/+120
f526977 easylogging++: sanitize log payload (moneromooo-monero)
2020-05-19cryptonote_core: remove "We are most likely forked" messagemoneromooo-monero2-36/+0
It's time based and we don't have forks every 6 months anymore
2020-05-19protocol: move the "peer claims higher version" warning to debugmoneromooo-monero1-2/+2
Because there's a neverending supply of cunts claiming a wrong version just to say "look at me" I guess
2020-05-19wallet2: fix multisig data clearing stomping on a vectormoneromooo-monero1-1/+1
2020-05-19serialization: fix bad rapidjson api usagemoneromooo-monero1-1/+1
2020-05-19cryptonote_protocol: stricter limit to number of objects requestedmoneromooo-monero1-1/+2
Reported by xnbya
2020-05-19cryptonote_protocol: reject requests/notifications before handshakemoneromooo-monero1-0/+20
Reported by xnbya
2020-05-19easylogging++: sanitize log payloadmoneromooo-monero3-71/+120
Some of it might be coming from untrusted sources Reported by itsunixiknowthis
2020-05-17blockchain: detect and log bad difficulty calculationsmoneromooo-monero1-5/+72
2020-05-16protocol: don't drop a connection if we can't get a compatible chainmoneromooo-monero1-1/+0
This can now happen if: - we have a pruned db - we have not connected to the monero network for a while - we connect to a node - that node asks us for history - we only have a pruned version of the most recent common block In that case, it's better to not reply but keep the connection alive, so we can sync off it.
2020-05-16simplewallet: help_advanced -> helpselsta1-1/+1
2020-05-16Revert "simplewallet: noob-friendly help menu"selsta4-48/+14
This reverts commit 67b4a19edf7b9d6a407a79eca5c57819863bfd71.
2020-05-14Merge pull request #6527luigi11115-7/+22
1b48f32 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
2020-05-14Merge pull request #6520luigi11111-1/+3
ab44293 trezor: add new firmware version support (ph4r05)
2020-05-14build: fix boost 1.73 compatibilityselsta2-3/+3
2020-05-13simplewallet: don't complain about incoming payment ids on changemoneromooo-monero5-7/+22
2020-05-12trezor: add new firmware version supportDusan Klinec1-1/+3
2020-05-09build: prepare v0.16.0.0 releaseselsta4-2/+4
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 #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-05wallet2: fix keys file deserialization exception handlingxiphon1-7/+1
2020-05-02Merge pull request #6451luigi11113-8/+25
4ed60b6 Bulletproofs: verification speedup (SarangNoether)
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 #6449luigi11112-8/+37
27d551d simplewallet: add sweep_account command (moneromooo-monero)
2020-05-01Merge pull request #6446luigi111117-196/+377
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 #6350luigi11118-22/+75
da99157 Use byte_slice for sending zmq messages - removes data copy within zmq (vtnerd)
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 Klinec17-196/+377
- 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-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-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-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 #6445luigi11115-25/+36
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 #6415luigi11112-7/+19
09abca7 wallet_api: checkUpdate - optional version and buildtag params (xiphon)
2020-04-21Merge pull request #6408luigi11111-2/+2
5ef7138 daemon: fix print_net_stats RPC calls (moneromooo-monero)
2020-04-21p2p: add seed node.guy1-0/+1
2020-04-21Merge pull request #6332luigi11119-158/+251
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-15bootstrap_daemon: fix missing virtual destructor and lambda capture (clang ↵xiphon2-1/+3
warning)
2020-04-15Allow wallet2.h to run in WebAssemblywoodser9-158/+251
- 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 Noether3-8/+25
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 Clagett7-162/+161
2020-04-10Merge pull request #6405luigi11111-0/+1
8d23047 p2p: add another seed node (moneromooo-monero)
2020-04-10Merge pull request #6403luigi11111-16/+7
5de2295 Correct key image check in tx_pool (vtnerd)
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-04Merge pull request #6395luigi11111-3/+2
ad13a4b Fixing static_asserts in ZMQ JSON (vtnerd)
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 #6381luigi11111-0/+3
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 #6364luigi11111-2/+14
6e1cb5a device: Ledger - fix wide char hidapi error string conversion (xiphon)
2020-04-04Merge pull request #6361luigi11111-3/+12
68a6507 Fixed bug in ZMQ JSON-RPC method field (vtnerd)
2020-04-04Merge pull request #6357luigi11117-43/+304
42a7a4d daemon: auto public nodes - cache and prioritize most stable nodes (xiphon)
2020-04-04Merge pull request #6353luigi11111-3/+7
6810150 daemon: if no banned IPs print something (sumogr)
2020-04-04Merge pull request #6351luigi11114-19/+29
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 #6342luigi11111-0/+5
82da832 rpc: Add check for too old timestamps in payment signatures. (glv2)
2020-04-04Merge pull request #6339luigi11116-9/+9
c61abf8 remove empty statements (shopglobal)
2020-04-04Merge pull request #6338luigi11119-34/+34
80d5320 Hash domain separation (SarangNoether)
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 #6286luigi11115-12/+0
6d6af70 cryptonote_basic: drop unused verification_context::m_not_rct field (xiphon)
2020-04-03Use byte_slice for sending zmq messages - removes data copy within zmqLee Clagett8-22/+75
2020-04-02wallet_api: checkUpdate - optional version and buildtag paramsxiphon2-7/+19
2020-04-01Hash domain separationSarang Noether9-34/+34
2020-03-31cryptonote_basic: drop unused verification_context::m_not_rct fieldxiphon5-12/+0
2020-03-31p2p: fix frequent weak_ptr exception on connectionmoneromooo-monero1-4/+6
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 #6336luigi11112-1/+6
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 #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 #6214luigi11117-0/+143
054b4c7 protocol: request txpool contents when synced (moneromooo-monero)
2020-03-30Always reject duplicate key-images from second txidLee Clagett2-12/+16
2020-03-30Allow unrestricted rpc calls to get full txpool infoLee Clagett3-13/+20
2020-03-29daemon: fix print_net_stats RPC callsmoneromooo-monero1-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 #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 Blair2-2/+4
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 #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 Blair11-326/+1
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 Clagett20-130/+432
- 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-22protocol: request txpool contents when syncedmoneromooo-monero7-0/+143
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 Hook11-326/+1
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-14Correct key image check in tx_poolLee Clagett1-16/+7
2020-03-14workaround for GetObject windows.h macro and rapidjson conflictxiphon1-1/+1
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 Blair9-1006/+781
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 #6243Alexander Blair5-79/+32
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-10Fix receive order leakage with tx fluffingLee Clagett1-0/+3
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 Clagett2-3/+3
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-05Various improvements to the ZMQ JSON-RPC handling:Lee Clagett9-1006/+781
- 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.