aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-12-10Merge pull request #7121Alexander Blair1-1/+1
cd7e9769d protocol: one more sanity check on usable data from a peer (moneromooo-monero)
2020-12-10Merge pull request #7117Alexander Blair2-1/+2
5dee031b2 protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
2020-12-10Merge pull request #7114Alexander Blair1-1/+1
eb77790df protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
2020-12-10Merge pull request #7110Alexander Blair5-24/+53
d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10Merge pull request #7106Alexander Blair1-1/+8
0f34cabb9 protocol: more restrictive checks on chain entry response (moneromooo-monero)
2020-12-10Merge pull request #7009Alexander Blair4-24/+25
7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10protocol: one more sanity check on usable data from a peermoneromooo-monero1-1/+1
2020-12-10protocol: drop origin IP if a block fails to verify in sync modemoneromooo-monero5-24/+53
It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans
2020-12-10protocol: add a sanity check to the number of block hashes sentmoneromooo-monero2-1/+2
2020-12-10protocol: fix asking for pruned blocks for v10moneromooo-monero1-1/+1
Old format is still alloewd there, this is a two fork update
2020-12-10protocol: more restrictive checks on chain entry responsemoneromooo-monero1-1/+8
2020-12-10protocol: fix switchting to adding blocks if noone's adding the next spanmoneromooo-monero1-2/+1
2020-12-07Merge pull request #7072luigi11112-0/+6
bc7cd78 p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07Merge pull request #7070luigi11113-10/+12
281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07Merge pull request #7055luigi11115-14/+111
ff7fdf6 protocol: drop peers that don't reply to queries (moneromooo-monero) 89e984d keep only the last seen node on a given host in the white list (moneromooo-monero) c74d8ff protocol: drop peers that decrease claimed height (moneromooo-monero) 61f5001 protocol: add scoring system to drop peers that don't behave (moneromooo-monero)
2020-12-06protocol: drop peers that don't reply to queriesmoneromooo3-11/+37
2020-12-06p2p: fix race condition accessing a deleted contextmoneromooo-monero3-10/+12
2020-12-05p2p: drop peers that spam peer listsmoneromooo-monero2-0/+6
There's always some people who just want to abuse things
2020-12-04Merge pull request #7068Alexander Blair1-1/+2
2395e0e67 p2p: add a tor seed node (moneromooo-monero)
2020-12-04Merge pull request #7062Alexander Blair1-4/+8
5ed604fe5 crypto: fix non zero scalar being 0 after reducing (moneromooo-monero)
2020-12-04Merge pull request #7043Alexander Blair1-0/+14
17c537039 wallet2: check imported multisig curve points are in main subgroup (Crypto City)
2020-12-04Merge pull request #7030Alexander Blair2-1/+4
0363476ee rpc: get_info - add 'synchronized' field (xiphon)
2020-12-04Merge pull request #7017Alexander Blair2-40/+51
13350f79d Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-04keep only the last seen node on a given host in the white listmoneromooo2-0/+15
2020-12-04protocol: drop peers that decrease claimed heightmoneromooo1-1/+16
2020-12-04protocol: add scoring system to drop peers that don't behavemoneromooo3-11/+52
2020-12-04crypto: fix non zero scalar being 0 after reducingmoneromooo-monero1-4/+8
2020-12-03p2p: add a tor seed nodemoneromooo-monero1-1/+2
2020-12-03Merge pull request #7058Alexander Blair1-1/+2
89bbb802c wallet2: set propagation timeout to current max timeout (selsta)
2020-12-03Merge pull request #7056Alexander Blair1-10/+17
c64b94bd1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero) 67f2bec2d p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero) ffdf1fb1d p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo)
2020-12-03Merge pull request #6984Alexander Blair1-2/+14
7a5e11645 net_node: add tor / i2p seed nodes (selsta)
2020-12-03wallet2: set propagation timeout to current max timeoutselsta1-1/+2
2020-12-03p2p: fix endianness when checking IPv6 addresses mapping to IPv4moneromooo-monero1-5/+3
2020-12-03p2p: make this work with boost <= 1.65 (pffff)moneromooo-monero1-0/+4
2020-12-03p2p: rewrite boost's make_address_v4 to cater for < 1.66moneromooo1-9/+14
2020-12-01Merge pull request #7025Alexander Blair2-4/+4
b10878f10 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
2020-12-01Merge pull request #7024Alexander Blair3-17/+21
aaf837cf5 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
2020-12-01Merge pull request #6954Alexander Blair1-23/+12
dff1d8067 Fix tx flush callback queueing (Lee Clagett)
2020-12-01Merge pull request #6948Alexander Blair4-4/+55
65903d2cf Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01Merge pull request #6939Alexander Blair1-1/+26
6c9980a55 p2p: give all hosts the same chance of being picked for connecting (moneromooo)
2020-12-01Merge pull request #6923Alexander Blair1-3/+3
cc034fe0c util: fix escaping more than one ?* in glob_to_regex (moneromooo-monero)
2020-12-01Merge pull request #6910Alexander Blair4-34/+69
b7dd8349f Allow setting start block on export (Howard Chu)
2020-12-01Merge pull request #6890Alexander Blair5-0/+56
ec14e4b8c wallet2: skip reorgs exceeding max-reorg-depth wallet setting (xiphon)
2020-11-29p2p: give all hosts the same chance of being picked for connectingmoneromooo1-1/+26
even if some run more than one node
2020-11-29net_node: add tor / i2p seed nodesselsta1-2/+14
Co-authored-by: Lee Clagett <code@leeclagett.com>
2020-11-29Merge pull request #7021luigi11114-9/+46
d73cb95 Fix timeout checks for forwarded and Dandelion++ stem txes (Lee Clagett)
2020-11-29Merge pull request #7020luigi11111-0/+4
2c66894 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
2020-11-29Merge pull request #7018luigi11117-15/+75
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29Merge pull request #7008luigi11112-3/+3
3247f11 Silence stupid warnings (Howard Chu)
2020-11-29Merge pull request #6973luigi11111-6/+4
be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29Merge pull request #6971luigi11111-0/+7
f9527e6 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-29Merge pull request #6960luigi11111-0/+9
5569a8e rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-29Merge pull request #6949luigi11111-2/+8
aad780b Fix CLI and unrestricted RPC relay_tx with stempool (Lee Clagett)
2020-11-29Merge pull request #6943luigi11111-0/+4
cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-29Merge pull request #6937luigi11112-1/+4
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29Merge pull request #6933luigi11111-2/+30
1f04a31 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-29Merge pull request #6924luigi11111-8/+0
874487f blockchain: remove some dead code (moneromooo-monero)
2020-11-29Merge pull request #6922luigi11113-14/+31
a25bc71 Make Blockchain::get_fee_quantization_mask() compile time (SChernykh)
2020-11-29Merge pull request #6921luigi11111-2/+2
f1836ac cryptonote_core: Fix missing override warnings (Nathan Dorfman)
2020-11-29Merge pull request #6920luigi11113-0/+33
aad2f87 net_node: add --ban-list option (selsta)
2020-11-29Merge pull request #6915luigi11111-1/+1
c67fa32 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-11-29Merge pull request #6913luigi11111-2/+6
fc2f971 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-11-29Merge pull request #6898luigi11112-65/+43
593ae2e device: Ledger - update status codes (xiphon)
2020-11-29Merge pull request #6897luigi11112-54/+83
2abdbf6 Add support for i2p and tor seed nodes (vtnerd)
2020-11-29Merge pull request #6895luigi11111-0/+7
b49f489 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-11-29Merge pull request #6892luigi11111-1/+1
ad7ea2c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
2020-11-28Merge pull request #6849luigi11111-1/+1
f4b2382 rpc_private_headers declaration fix (malbit)
2020-11-28Merge pull request #6830luigi11114-0/+23
64e9526 Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
2020-11-28Allow tx note edits via TransactionHistory object in wallet/apidsc3-0/+13
2020-11-28Merge pull request #6826luigi11112-101/+203
83da867 Update error messages in daemon (tmoravec)
2020-11-25cryptonote_core: dandelion - use local height or median height if syncingxiphon7-15/+75
2020-11-24wallet2: check imported multisig curve points are in main subgroupCrypto City1-0/+14
2020-11-19rpc: get_info - add 'synchronized' fieldxiphon2-1/+4
2020-11-17Change Dandelion++ fluff probability to 20%, and embargo timeout to 39sLee Clagett2-4/+4
A 20% fluff probability increases the precision of a spy connected to every node by 10% on average, compared to a network using 0% fluff probability. The current value (10% fluff) should increase precision by ~5% compared to baseline. This decreases the expected stem length from 10 to 5. The embargo timeout was therefore lowered to 39s; the fifth node in a stem is expected to have a 90% chance of being the first to timeout, which is the same probability we currently have with an expected stem length of 10 nodes.
2020-11-17rpc: skip non-synced bootstrap daemons in --no-sync mode tooxiphon3-17/+21
2020-11-16Better log message for unusable anon networksHoward Chu3-15/+18
2020-11-15Fix timeout checks for forwarded and Dandelion++ stem txesLee Clagett4-9/+46
2020-11-15rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2Pxiphon1-0/+9
2020-11-14wallet_api: TransactionHistory - fill unconfirmed out payments destsxiphon1-0/+4
2020-11-11Silence stupid warningsHoward Chu2-3/+3
2020-11-03Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-6/+4
2020-11-03protocol: reject empty incoming block messagesmoneromooo-monero1-0/+7
2020-11-03p2p: use /16 filtering on IPv4-within-IPv6 addressesmoneromooo-monero1-2/+30
IPv6 addresses include a range that can map IPv4 addresses, which allowed those mapped addresses to bypass filtering. This filter should be replaced by AS filtering at some point.
2020-10-29Fix CLI and unrestricted RPC relay_tx with stempoolLee Clagett1-2/+8
2020-10-29Add rpc-restricted-bind-ip optionHoward Chu4-4/+55
Fixes #6369
2020-10-28Add RELINK_TARGETS, monero_add_target_no_relink and use ↵mj-xmr2-1/+4
monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-27p2p: remove banned peers from the white listmoneromooo1-0/+4
2020-10-21Merge pull request #6902luigi11113-0/+11
70eb0d1 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-20net_node: add --ban-list optionselsta3-0/+33
2020-10-20blockchain: remove some dead codemoneromooo-monero1-8/+0
This is already done
2020-10-20util: fix escaping more than one ?* in glob_to_regexmoneromooo-monero1-3/+3
2020-10-20Make Blockchain::get_fee_quantization_mask() compile timeSChernykh3-14/+31
This also removes potential thread safety bug in that function.
2020-10-19cryptonote_core: Fix missing override warningsNathan Dorfman1-2/+2
2020-10-19Add support for i2p and tor seed nodesLee Clagett2-54/+83
2020-10-18Merge pull request #6891Alexander Blair1-3/+11
4cf3545a3 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-18Merge pull request #6881Alexander Blair1-1/+4
11b20229c tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
2020-10-18Merge pull request #6882Alexander Blair1-1/+3
fcbfb0a00 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-18Merge pull request #6875Alexander Blair8-30/+37
a12a8174e Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-18wallet2: wait for propagation timeout before marking tx as failedxiphon1-2/+6
2020-10-18bump default number of connections from 8 to 12moneromooo-monero1-1/+1
2020-10-18Allow setting start block on exportHoward Chu4-34/+69
And make import honor the starting block# recorded in a bootstrap file
2020-10-18Merge pull request #6905Alexander Blair1-3/+15
88fde0309 blockchain: fix sync at v14 boundary (moneromooo-monero)
2020-10-18blockchain: fix sync at v14 boundarymoneromooo-monero1-3/+15
Miners with MLSAG txes which they'd already verified included a couple in that block, but the consensus rules had changed in the meantime, so that block is technically invalid and any node which did not already have those two txes in their txpool could not sync. Grandfather them in, since it has no effect in practice.
2020-10-17wallet2_api: implement stop() to interrupt refresh() loop oncexiphon3-0/+11
2020-10-15Do not use peer_id tracking method over i2p/torLee Clagett2-40/+51
2020-10-13device: Ledger - update status codesxiphon2-65/+43
2020-10-13Merge pull request #6828luigi11113-0/+21
1b3f220 Allow AddressBook description edits via wallet/api interface (xmrdsc)
2020-10-13wallet2: skip reorgs exceeding max-reorg-depth wallet settingxiphon5-0/+56
2020-10-13fix next_seed_height regression in getblocktemplate rpcAlexis Enston1-0/+7
2020-10-13core_rpc_server: on_get_blocks - forward bootstrap daemon errorxiphon1-3/+11
2020-10-12core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode checkxiphon1-1/+1
2020-10-12wallet2: fix missing m_state field in wallet serializationmoneromooo-monero1-1/+3
2020-10-12tx_pool: silence spammy harmless warning till we fix the bugmoneromooo-monero1-1/+4
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon8-30/+37
2020-10-10Change epee binary output from std::stringstream to byte_streamLee Clagett4-24/+25
2020-10-06Fix tx flush callback queueingLee Clagett1-23/+12
2020-09-27Merge pull request #6841Alexander Blair2-0/+8
b6c4f8cd5 fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-27rpc_private_headers declaration fixMichal m@lbit Malicki1-1/+1
2020-09-24fix a couple bugs found by OSS-fuzzmoneromooo-monero2-0/+8
- index out of bounds when importing outputs - accessing invalid CLSAG data
2020-09-20daemon: Windows - fix FAT32 warning, trailing backslash is requiredxiphon1-1/+1
2020-09-19Extend TransactionInfo with coinbase and description attributes in wallet/apidsc4-0/+23
2020-09-19Allow AddressBook description edits via wallet/api interfacedsc3-0/+21
2020-09-18Update error messages in daemonTadeas Moravec2-101/+203
When given a wrong argument, some daemon commands failed with "unknown command" error, instead of a meaningful error message. This patch brings consistency into the error messages. In several places, this patch removes relatively useful messages, and replaces them with more generic ones. E.g., - std::cout << "use: print_pl [white] [gray] [<limit>] [pruned] [publicrpc]" << std::endl; + std::cout << "Invalid syntax: Too many parameters. For more details, use the help command." << std::endl; There are two reasons for this: 1. Consistency. 2. Removing duplicates. The detailed information about the parameters is present in the help messages already. Having it in two places increases the risk that the messages would get out of date.
2020-09-15Merge pull request #6819v0.17.0.0luigi11111-1/+1
c3f354e simplewallet fix wrong persistent-rpc-client-id name in help (moneromooo-monero)
2020-09-15Merge pull request #6816luigi11111-2/+0
929ea98 Remove unused macros from cryptonote_config.h (TheCharlatan)
2020-09-15Merge pull request #6793luigi11111-1/+1
de9a9fb update error message 'No unlocked balance in the specified account' (woodser)
2020-09-15wallet2: adapt to deterministic unlock timeTheCharlatan10-23/+57
2020-09-15blockchain: deterministic UNIX time unlock checksmoneromooo-monero3-28/+65
Based on a patch by TheCharlatan <seb.kung@gmail.com>
2020-09-14simplewallet fix wrong persistent-rpc-client-id name in helpmoneromooo-monero1-1/+1
2020-09-14Merge pull request #6815luigi11112-4/+9
ef4325f wallet2: fix tx sanity check triggering on pre-rct outputs (monermooo-monero)
2020-09-14Merge pull request #6813luigi11111-1/+1
a3844e2 Fix typo in command line argument description (reinaldoacosta)
2020-09-14build: prepare v0.17selsta4-3/+4
2020-09-14Remove unused macros from cryptonote_config.hTheCharlatan1-2/+0
2020-09-12wallet2: fix tx sanity check triggering on pre-rct outputsmoneromooo-monero2-4/+9
2020-09-09Fix typo in command line argument descriptionReinaldulin1-1/+1
2020-09-07Merge pull request #6805luigi11111-1/+1
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
2020-09-07Merge pull request #6804luigi11111-2/+2
5498142 rpc: assume randomx from v13 onwards (moneromooo-monero)
2020-09-07Merge pull request #6800luigi11111-2/+2
036da6d Let stagenet hardfork happen before mainnet. (normoes)
2020-09-07Merge pull request #6798luigi11112-13/+18
4e44306 enable CLSAG support for Trezor client (ph4r05)
2020-09-07blockchain: fix pow skipping for old blocks without precalc hashmoneromooo-monero1-1/+1
2020-09-07rpc: assume randomx from v13 onwardsmoneromooo-monero1-2/+2
2020-09-06Merge pull request #6111Riccardo Spagni10-52/+167
d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero) 6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero) 9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-04Let stagenet hardfork happen before mainnet.Norman Moeschter1-2/+2
2020-09-04enable CLSAG support for Trezor clientDusan Klinec2-13/+18
2020-09-03Merge pull request #6794luigi11111-0/+2
b09cc3d hardforks: add v13/v14 for testnet (moneromooo-monero)
2020-09-03Merge pull request #6757luigi11117-40/+52
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-02hardforks: add v13/v14 for testnetmoneromooo-monero1-0/+2
2020-09-01update error message "No unlocked balance in the specified account"woodser1-1/+1
2020-09-01threadpool: guard against exceptions in jobs, and armour platingmoneromooo-monero7-40/+52
Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0
2020-08-31Merge pull request #6789luigi11111-1/+1
bdcf587 net: fix get_tcp_endpoint, boost address_v4 ip in host byte order (xiphon)
2020-08-31Merge pull request #6786luigi11112-7/+9
975ae22 Fix send scalar z in plaintext (grydz) 333ae55 Update minimal Ledger Monero app version (grydz) 0a3c5a6 Update protocol version with Ledger's HW (grydz)
2020-08-31Merge pull request #6770luigi11111-1/+5
bdc6b10 Fix ZMQ pruned bulletproof transactions (vtnerd)
2020-08-29net: fix get_tcp_endpoint, boost address_v4 ip in host byte orderxiphon1-1/+1
2020-08-28Bind signature to full address and signing modeSarang Noether11-51/+45
2020-08-28wallet: allow signing a message with spend or view keymoneromooo-monero13-36/+165
2020-08-28ringct: fix CLSAG serialization after boost/epee changesmoneromooo-monero2-1/+2
also fix a an assert message refering t MLSAG
2020-08-28Fix send scalar z in plaintextFrançois Colas1-4/+6
The scalar z has not been generated on the HW thus it can't be sent encrypted. The value is derived from the exported private view key.
2020-08-28Update minimal Ledger Monero app versionFrançois Colas1-2/+2
2020-08-28Update protocol version with Ledger's HWFrançois Colas1-1/+1
2020-08-27functional_tests: add a large (many randomx epochs) p2p reorg testmoneromooo-monero1-4/+35
2020-08-27functional_tests: add randomx testsmoneromooo-monero1-4/+46
2020-08-27core: fix mining from a block that's not the current topmoneromooo-monero9-44/+86
2020-08-27draft support of clsagcslashm2-0/+157
2020-08-27CLSAG device supportSarang Noether5-21/+47
2020-08-27CLSAG optimizationsSarang Noether2-132/+139
2020-08-27Integrate CLSAGs into moneromoneromooo-monero16-108/+425
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27CLSAG signaturesSarang Noether8-0/+382
2020-08-27Merge pull request #6767Alexander Blair2-0/+6
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
2020-08-27Merge pull request #6763Alexander Blair1-43/+56
728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
2020-08-27Merge pull request #6760Alexander Blair2-2/+3
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27Merge pull request #6746Alexander Blair1-2/+2
20f603c6b Fix broken multisig pubkey sorting (Jason Rhinelander)
2020-08-27Merge pull request #6753Alexander Blair1-2/+2
4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
2020-08-27Merge pull request #6752Alexander Blair3-15/+43
85899230d simplewallet: allow setting tx keys when sending to a subaddress (moneromooo-monero) e916201f1 wallet2: fix setting tx keys when another is already set (moneromooo-monero)
2020-08-27Merge pull request #6731Alexander Blair1-1/+1
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
2020-08-27Merge pull request #6690Alexander Blair24-379/+826
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27Merge pull request #6613Alexander Blair11-92/+92
55363c594 Avoid some temporary strings when reading off the database (moneromooo-monero)
2020-08-26Merge pull request #6607Alexander Blair1-4/+3
eb1b321fe miner: increase min/max intervals to full extents (moneromooo-monero)
2020-08-21enforce claiming maximum coinbase amountmoneromooo-monero2-2/+3
Claiming a slightly lesser amount does not yield the size gains that were seen pre rct, so this closes a fingerprinting vector
2020-08-19Fix ZMQ pruned bulletproof transactionsLee Clagett1-1/+5
2020-08-17Revert "Use domain-separated ChaCha20 for in-memory key encryption"luigi11114-98/+50
This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55.
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero24-379/+826
This reduces the attack surface for data that can come from malicious sources (exported output and key images, multisig transactions...) since the monero serialization is already exposed to the outside, and the boost lib we were using had a few known crashers. For interoperability, a new load-deprecated-formats wallet setting is added (off by default). This allows loading boost format data if there is no alternative. It will likely go at some point, along with the ability to load those. Notably, the peer lists file still uses the boost serialization code, as the data it stores is define in epee, while the new serialization code is in monero, and migrating it was fairly hairy. Since this file is local and not obtained from anyone else, the marginal risk is minimal, but it could be migrated later if needed. Some tests and tools also do, this will stay as is for now.
2020-08-17Avoid some temporary strings when reading off the databasemoneromooo-monero11-92/+92
2020-08-16Merge pull request #6733Alexander Blair1-11/+70
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu) 429d49512 Add options to print daily coin emission and fees (Howard Chu) d745d2433 Don't forget size of prunable txn part (Howard Chu)
2020-08-16Merge pull request #6727Alexander Blair2-6/+15
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero) 92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero) 6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero) 90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16Merge pull request #6722Alexander Blair1-1/+2
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
2020-08-16Merge pull request #6716Alexander Blair12-42/+202
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16Merge pull request #6715Alexander Blair1-1/+4
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
2020-08-16Merge pull request #6703Alexander Blair1-1/+3
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
2020-08-16Merge pull request #6689Alexander Blair2-3/+5
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero) ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16Merge pull request #6679Alexander Blair1-0/+2
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16Merge pull request #6677Alexander Blair1-0/+26
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
2020-08-16Merge pull request #6661Alexander Blair2-2/+2
267ce5b71 avoid a couple needless copies (moneromooo-monero)
2020-08-16Merge pull request #6632Alexander Blair1-1/+1
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
2020-08-16Merge pull request #6614Alexander Blair6-49/+110
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16Merge pull request #6603Alexander Blair4-5/+32
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16Merge pull request #6601Alexander Blair9-31/+74
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett) 60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett) fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16Merge pull request #6546Alexander Blair1-5/+17
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
2020-08-16Merge pull request #6542Alexander Blair1-1/+0
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-08-16Merge pull request #6493Alexander Blair4-50/+98
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16Merge pull request #6337Alexander Blair6-2/+156
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)