aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2020-11-16Better log message for unusable anon networksHoward Chu3-15/+18
2020-11-07Merge pull request #6997v0.17.1.3luigi11111-1/+1
752837b build: prepare v0.17.1.3 (selsta)
2020-11-07build: prepare v0.17.1.3selsta1-1/+1
2020-11-07Fix i2p/tor seed nodesLee Clagett1-5/+18
2020-11-06Merge pull request #6993v0.17.1.2luigi11111-1/+4
44c93bb p2p: fix accessing non existent element of map (moneromooo-monero)
2020-11-07p2p: fix accessing non existent element of mapmoneromooo-monero1-1/+4
2020-11-06Merge pull request #6992luigi11114-2/+3
f3dd25c build: prepare v0.17.1.2 (selsta)
2020-11-06p2p: add a tor seedmoneromooo-monero1-0/+1
2020-11-06Merge pull request #6990luigi11112-54/+83
263579b Add support for i2p and tor seed nodes (vtnerd)
2020-11-06Merge pull request #6985luigi11111-0/+4
91f1be9 net_node: add tor / i2p seed nodes (selsta)
2020-11-07build: prepare v0.17.1.2selsta4-2/+3
2020-11-05net_node: add tor / i2p seed nodesselsta1-0/+4
2020-11-05p2p: fix endianness when checking IPv6 addresses mapping to IPv4moneromooo-monero1-5/+3
2020-11-04p2p: make this work with boost <= 1.65 (pffff)moneromooo-monero1-0/+4
2020-11-04p2p: rewrite boost's make_address_v4 to cater for < 1.66moneromooo1-9/+14
2020-11-04Merge pull request #6974luigi11111-6/+4
58cde83 Switch to Dandelion++ fluff mode if no out connections for stem mode (vtnerd)
2020-11-04Merge pull request #6972luigi11111-0/+7
8965489 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-04Merge pull request #6967luigi11111-23/+10
fa63d4b Fix tx flush callback queueing (vtnerd)
2020-11-04Merge pull request #6966luigi11111-2/+8
42403c7 Fix CLI and unrestricted RPC relay_tx with stempool (vtnerd)
2020-11-04Merge pull request #6962luigi11111-2/+30
1a627e1 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-04Merge pull request #6961luigi11113-0/+33
f55f3fe net_node: add --ban-list option (selsta)
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-11-03Merge pull request #6965luigi11111-0/+5
d695340 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-03Merge pull request #6964luigi11111-0/+4
5090cdc p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-03Merge pull request #6963luigi11111-1/+26
df1061c p2p: give all hosts the same chance of being picked for connecting (moneromooo-monero)
2020-11-03protocol: reject empty incoming block messagesmoneromooo-monero1-0/+7
2020-11-02rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2Pxiphon1-0/+5
2020-11-02p2p: remove banned peers from the white listmoneromooo1-0/+4
2020-11-02p2p: give all hosts the same chance of being picked for connectingmoneromooo1-1/+26
even if some run more than one node
2020-11-02net_node: add --ban-list optionselsta3-0/+33
2020-10-18Merge pull request #6916v0.17.1.1Riccardo Spagni1-1/+1
81aaa4ec7 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-10-18Merge pull request #6914Riccardo Spagni1-2/+6
f9a9d2ee2 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-10-18Merge pull request #6912Riccardo Spagni4-34/+69
6e594e53b Allow setting start block on export (Howard Chu)
2020-10-18Merge pull request #6907Riccardo Spagni3-0/+11
39e30d548 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-18build: prepare v0.17.1.1selsta4-2/+3
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-18wallet2_api: implement stop() to interrupt refresh() loop oncexiphon3-0/+11
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-14Fix CLI and unrestricted RPC relay_tx with stempoolLee Clagett1-2/+8
2020-10-14Fix tx flush callback queueingLee Clagett1-23/+10
2020-10-13Merge pull request #6894v0.17.1.0v0.17.1.0luigi11111-0/+7
e49ad98 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-10-13Merge pull request #6893luigi11111-3/+11
4cf3545 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-13Merge pull request #6888luigi11114-2/+3
a2e37eb build: prepare v0.17.1.0 (selsta)
2020-10-13Merge pull request #6884luigi11118-30/+37
6352090 Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-13Merge pull request #6883luigi11111-1/+3
c407b92 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-13core_rpc_server: on_get_blocks - forward bootstrap daemon errorxiphon1-3/+11
2020-10-13build: prepare v0.17.1.0selsta4-2/+3
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon8-30/+37
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-12fix next_seed_height regression in getblocktemplate rpcAlexis Enston1-0/+7
2020-10-09Add support for i2p and tor seed nodesLee Clagett2-54/+83
2020-10-06Switch to Dandelion++ fluff mode if no out connections for stem modeLee Clagett1-6/+4
2020-09-25Merge pull request #6843luigi11114-2/+3
c02d24f build: prepare v0.17.0.1 (selsta)
2020-09-25Merge pull request #6842luigi11112-0/+8
9e6187a fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-25build: prepare v0.17.0.1selsta4-2/+3
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-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)
2020-08-16Merge pull request #6329Alexander Blair4-26/+167
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16rpc: always send raw txes through P2P (don't use bootstrap daemon)xiphon1-43/+56
It turns out that some remote (bootstrap) nodes silently drop / don't broadcast client's transactions.
2020-08-16Fix build with Boost 1.74moneromooo-monero2-0/+6
Thanks iDunk for testing
2020-08-14Change ZMQ-JSON txextra to hex and remove unnecessary base fieldsLee Clagett4-5/+32
2020-08-14Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ fasterLee Clagett1-3/+19
2020-08-14Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ fasterLee Clagett6-11/+15
2020-08-14Fix pruned tx for ZMQ's GetBlocksFastLee Clagett4-17/+40
2020-08-10simplewallet: allow setting tx keys when sending to a subaddressmoneromooo-monero3-5/+33
The tx key derivation is different then
2020-08-10cryptonote_protocol: don't synced pruned blocks before v11cohcho1-2/+2
There are a few Borromean proofs txes in the v8 era, and these aren't supported by get_pruned_transaction_weight. Moreover, only only the most recent variant of bulletproofs is currently supported.
2020-08-09Use domain-separated ChaCha20 for in-memory key encryptionSarang Noether4-50/+98
2020-08-09Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that ↵Sarang Noether4-26/+167
include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-09Merge pull request #6354Alexander Blair8-32/+122
67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
2020-08-08wallet2: fix setting tx keys when another is already setmoneromooo-monero1-10/+10
insert doesn't actually insert if another element with the same key is already in the map
2020-08-05Fix broken multisig pubkey sortingJason Rhinelander1-2/+2
The sort predicate is a boolean ordered-before value, but these are returning the memcmp value directly, and thus returns true whenever the pubkeys aren't equal. This means: - it isn't actually sorting. - it can (and does) segfault for some inputs.
2020-08-05Merge pull request #6571Alexander Blair1-10/+0
1d31e6c00 net_node: remove dead seed nodes (selsta)
2020-08-03Tweak 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-31wallet2: fix wrong name when checking RPC costmoneromooo-monero1-1/+1
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-25rpc: return empty txid get_outs rather than 00..00 when not requestedmoneromooo-monero1-1/+2
It's more obvious there's no txid, and it saves space
2020-07-24daemon: don't print "(pruned)" for coinbase txesmoneromooo-monero1-1/+3
Pruned coinbase txes are the same as unpruned ones, so the prunable data is empty
2020-07-24Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' commandrbrunner76-49/+110
2020-07-20wallet2_api: implement runtime proxy configurationxiphon12-42/+202
2020-07-20wallet2: throw a error on wallet initialization failurexiphon1-1/+4
2020-07-19Merge pull request #6580Alexander Blair1-1/+1
ed901798d version: update name (selsta)
2020-07-19Merge pull request #6578Alexander Blair1-0/+21
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
2020-07-19Merge pull request #6565Alexander Blair2-5/+5
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
2020-07-19Merge pull request #6557Alexander Blair1-2/+2
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
2020-07-19Merge pull request #6538Alexander Blair1-10/+2
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
2020-07-19Merge pull request #6537Alexander Blair1-8/+8
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
2020-07-19Merge pull request #6536Alexander Blair2-0/+30
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
2020-07-19Merge pull request #6534Alexander Blair10-48/+280
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
2020-07-19Merge pull request #6526Alexander Blair1-0/+1
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
2020-07-19Merge pull request #6516Alexander Blair2-2/+0
8656a8c9f remove double includes (sumogr)
2020-07-19Merge pull request #6512Alexander Blair337-337/+337
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-16Merge pull request #6488Alexander Blair3-0/+65
99684e3e simplewallet: add show_qr_code command (selsta)
2020-07-09tx_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-07-08blockchain: 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-07-08Merge pull request #6647luigi11111-1/+1
4d8d121 Fix D++ block template check (vtnerd)
2020-07-08Merge pull request #6629luigi11111-0/+1
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-07-08Merge pull request #6627luigi11111-1/+1
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-07-08Merge pull request #6611luigi11111-1/+1
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-07-08Merge pull request #6599luigi11111-1/+1
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero) 9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08Merge pull request #6597luigi11111-2/+2
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-07-08Merge pull request #6588luigi11111-2/+1
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-07-08Merge pull request #6587luigi11111-1/+1
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-07-08Merge pull request #6584luigi11111-5/+5
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-07-08Merge pull request #6574luigi11112-0/+12
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-07-08Merge pull request #6568luigi11112-36/+0
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-07-08Merge pull request #6566luigi11111-2/+2
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-07-08Merge pull request #6544luigi11111-5/+72
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-06version: update nameselsta1-1/+1
2020-06-25daemon: print sampling time in print_net_statsmoneromooo-monero1-2/+4
2020-06-25util: fix kilo prefix typo (K instead of k)moneromooo-monero1-1/+1
2020-06-22updates: mac gui .tar.bz2 -> .dmgselsta1-0/+2
2020-06-21add trezor support to sweep_singleDusan Klinec1-0/+26
2020-06-21simplewallet: add show_qr_code commandselsta3-0/+65
Thanks to iDunk for helping with Windows.
2020-06-14avoid a couple needless copiesmoneromooo-monero2-2/+2
2020-06-12Fix D++ block template checkLee Clagett1-1/+1
2020-06-09repo: update donation fund addressselsta1-1/+1
2020-06-09daemon: guard against rare 'difficulty drift' bug with checkpoints and ↵stoffu10-48/+280
recalculation On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.