aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-06-09properly terminate interrupted TCP connection. fixes #8685j-berman1-4/+1
2023-04-25Merge pull request #8766luigi11111-0/+13
ad80f1b Handle case where a command line flag is not allowed in the config file (almalh)
2023-04-02Merge pull request #8805v0.18.2.2luigi11117-9/+10
4f1262b build: prepare v0.18.2.2 (selsta)
2023-04-02Merge pull request #8813luigi11114-3/+10
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02Merge pull request #8811luigi11112-5/+8
c742fa4 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-03-29cryptonote core/protocol: don't drop peers for soft offensesjeffro2564-3/+10
Also: txs with tx_extra which is too large will not get published to ZMQ Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com>
2023-03-29Fixed deadlock and crash when syncing with full dataset on WindowsSChernykh2-5/+8
It's not allowed to use WaitForSingleObject with _beginthread, because the thread closes its own handle before exiting. So the wait function will either wait on an invalid handle, or on a different handle used by something else. Or, if it starts waiting before the thread exits, the behavior is undefined according to MS: "If this handle is closed while the wait is still pending, the function's behavior is undefined." In my test sync I observed threads getting stuck infinitely on WaitForSingleObject, and then rx_set_main_seedhash spamming new threads when RandomX seed changes again. Eventually the system ran out of resources, and monerod aborted with "Couldn't start RandomX seed thread" message. This PR fixes it by using `_beginthreadex` instead and explicitly closing the handle when it's safe.
2023-03-27build: prepare v0.18.2.2selsta7-9/+10
2023-03-27Merge pull request #8801v0.18.2.1luigi11112-3/+4
1328048 wallet2: fix infinite loop in fake out selection (Crypto City)
2023-03-25wallet2: fix infinite loop in fake out selectionCrypto City2-3/+4
The gamma picker and the caller code did not quite agree on the number of rct outputs available for use - by one block - which caused an infinite loop if the picker could never pick outputs from that block but already had picked all other outputs from previous blocks. Also change the range to select from using code from UkoeHB.
2023-03-24Merge pull request #8785luigi11117-9/+10
cdeb286 build: prepare v0.18.2.1 (selsta)
2023-03-24Merge pull request #8787luigi11111-2/+22
c4cfaa4 p2p: do not log to global when re-blocking a subnet (moneromooo-monero) f0e326b p2p: avoid spam blocking ipv4 addresses in a blocked subnet (moneromooo-monero)
2023-03-19p2p: do not log to global when re-blocking a subnetmoneromooo-monero1-1/+5
2023-03-19p2p: avoid spam blocking ipv4 addresses in a blocked subnetmoneromooo-monero1-1/+17
2023-03-18Merge pull request #8784luigi11116-1/+22
5900ed3 Add a size limit for tx_extra in tx pool (tevador)
2023-03-18Merge pull request #8781luigi111112-111/+715
c59e009 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
2023-03-18Merge pull request #8779luigi11111-0/+1
14de562 device: Add ledger Stax device id to device detection (Francois Beutin)
2023-03-18Merge pull request #8746luigi11113-19/+21
77d883e workflows: update dependencies to fix warnings (selsta)
2023-03-18build: prepare v0.18.2.1selsta7-9/+10
2023-03-18Add a size limit for tx_extra in tx pooltevador6-1/+22
2023-03-17verRctNonSemanticsSimpleCached: fix fragilityJeffrey Ryan12-111/+715
2023-03-17device: Add ledger Stax device id to device detectionFrancois Beutin1-0/+1
2023-03-06Handle case where a command line flag is not allowed in the config filealmalh1-0/+13
2023-02-20workflows: update dependencies to fix warningsselsta3-19/+21
2023-02-15Merge pull request #8739v0.18.2.0luigi11117-9/+10
dc18efa build: prepare v0.18.2.0 (selsta)
2023-02-15Merge pull request #8738luigi11112-65/+3
d8e39bd depends: bump openssl to 1.1.1t (tobtoht)
2023-02-15Merge pull request #8721luigi11111-9/+11
988056d p2p: add plowsof seed nodes (selsta) ce4ef6d p2p: remove offline seed nodes (selsta)
2023-02-08build: prepare v0.18.2.0selsta7-9/+10
2023-02-07depends: bump openssl to 1.1.1ttobtoht2-65/+3
https://www.openssl.org/news/secadv/20230207.txt Patch can be removed, it was included upstream.
2023-02-06Merge pull request #8723luigi11111-74/+83
573a369 blockchain-stats: print any remaining data at end of loop (Howard Chu)
2023-02-06Merge pull request #8714luigi11114-8/+11
15384cc depends: bump hidapi/libusb (tobtoht)
2023-02-06Merge pull request #8706luigi11111-4/+15
f456b3f Demote large pages warning to mdebug (SChernykh) 480b050 RandomX: print VM allocation warnings only once (SChernykh)
2023-01-29blockchain-stats: print any remaining data at end of loopHoward Chu1-74/+83
Fix #8711
2023-01-27p2p: add plowsof seed nodesselsta1-1/+11
2023-01-27p2p: remove offline seed nodesselsta1-8/+0
2023-01-25depends: bump hidapi/libusbtobtoht4-8/+11
fixes Trezor connectivity issues on Windows 10/11 Co-authored-by: selsta <selsta@sent.at>
2023-01-17Demote large pages warning to `mdebug`SChernykh1-4/+7
2023-01-11RandomX: print VM allocation warnings only onceSChernykh1-2/+10
2023-01-11Merge pull request #8676luigi11114-1/+104
29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11Merge pull request #8683luigi11112-0/+3
cbc297a common: add missing includes (selsta)
2023-01-11Merge pull request #8678luigi111111-257/+402
f698f2b Refactored rx-slow-hash.c (SChernykh)
2023-01-11Merge pull request #8654luigi11111-0/+1
5973985 workflows: set a public DNS when doing tests (selsta)
2023-01-11Merge pull request #8649luigi11113-24/+11
2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
2023-01-11Merge pull request #8644luigi11114-14/+55
38d4811 p2p: fix exclusive node DNS resolution for certain hosts [release] (Jeffrey Ryan)
2023-01-11Merge pull request #8641luigi11111-1/+1
146cac0 p2p: fix back ping to discover healthy peers to connect to (j-berman)
2022-12-20Cache successful `verRctNonSemanticsSimple` callsSChernykh4-1/+104
2022-12-18common: add missing includesselsta2-0/+3
2022-12-14Refactored rx-slow-hash.cSChernykh11-257/+402
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)` - Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens - `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance) - New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification) - When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then) - When mining is running, PoW checks now also use dataset for faster verification
2022-12-01Merge pull request #8642luigi11111-0/+12
8c53995 Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
2022-12-01Merge pull request #8636luigi11110-0/+0
02b24cb workflows: ubuntu 18.04 is deprecated (selsta)
2022-12-01Merge pull request #8628luigi11112-18/+88
1bb5d25 Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01Merge pull request #8615luigi11112-8/+4
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01Merge pull request #8611luigi11111-1/+1
401dda5 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01Merge pull request #8604luigi11111-0/+49
cbf636c workflows: build gitian on tag (selsta)
2022-11-29workflows: set a public DNS when doing testsselsta1-0/+1
2022-11-21DNSResolver: fix not handling hostnames without dot characters [release]Jeffrey Ryan3-24/+11
Unrelated, but similar code-wise to #8643. There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
2022-11-17p2p: fix exclusive node DNS resolution for certain hosts [release]Jeffrey Ryan4-14/+55
Fixes #8633. The function `append_net_address` did not parse hostname + port addresses (e.g. `bar:29080`) correctly if the hostname did not contain a `'.'` character. @vtnerd comments 1 clear up 2nd conditional statement
2022-11-17workflows: build gitian on tagselsta1-0/+49
2022-11-16Fix static builds for Ubuntu 22.04AgoraDesk / LocalMonero1-0/+12
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-11-15p2p: fix back ping to discover healthy peers to connect toj-berman1-1/+1
2022-11-14workflows: ubuntu 18.04 is deprecatedselsta1-1/+1
2022-10-28Merge pull request #8594luigi11112-4/+4
d7445b5 workflows: ubuntu 18.04 is deprecated (selsta)
2022-10-28Merge pull request #8578luigi11111-1/+1
07f8e9e epee: dont shrink slice when storing to binary [release] (Jeffrey Ryan)
2022-10-25Fix dandelion++ fluff/stem bug with local txesLee Clagett2-18/+88
2022-10-18wallet2: fix create view-only wallet from existing walletj-berman2-8/+4
2022-10-13wallet_api: take priority into account when estimating feeselsta1-1/+1
2022-09-27Merge pull request #8597v0.18.1.2luigi11117-9/+10
853171b build: prepare v0.18.1.2 (selsta)
2022-09-26build: prepare v0.18.1.2selsta7-9/+10
2022-09-26Merge pull request #8588luigi11114-4/+10
802c4bb Move update_checkpoints() to a later stage (SChernykh)
2022-09-26Merge pull request #8585luigi11113-4/+5
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26Merge pull request #8582luigi111115-115/+244
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-26Merge pull request #8579luigi111115-354/+10
7d358cd repo: remove ldns leftovers (selsta) 09402d0 depends: remove unused Qt package (selsta)
2022-09-26Merge pull request #8577luigi11118-13/+17
6adf03c Second thread pool for IO (SChernykh)
2022-09-24workflows: ubuntu 18.04 is deprecatedselsta2-4/+4
And will soon be removed.
2022-09-22Move update_checkpoints() to a later stageSChernykh4-4/+10
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-21wallet2: fail to establish daemon cxn == "Disconnected" cxn statusj-berman3-4/+5
2022-09-21add an option to force-update multisig key exchange under some circumstanceskoe15-115/+244
2022-09-20repo: remove ldns leftoversselsta6-43/+7
2022-09-20depends: remove unused Qt packageselsta10-311/+3
2022-09-20epee: dont shrink slice when storing to binary [release]Jeffrey Ryan1-1/+1
2022-09-20Second thread pool for IOSChernykh8-13/+17
2022-09-15Merge pull request #8545v0.18.1.1luigi11118-28/+56
12e7c41 Merge pull request #5 from j-berman/restore-msig-encrypted-seed (Justin Berman) 848a0c0 Fix segfault restoring encrypted multisig seed (j-berman) 401f5d9 Require user ack multisig is experimental to restore (j-berman) fc8a5d6 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
2022-09-15Merge pull request #8544luigi111115-28/+249
864a78e wallet2: check wallet compatibility with daemon's hard fork version (j-berman)
2022-09-12wallet2: check wallet compatibility with daemon's hard fork versionj-berman15-28/+249
2022-09-09Merge pull request #8555luigi111114-82/+453
e29b2e9 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero) 1d3657a wallet2: better test on whether to allow output import (moneromooo-monero) 0cbf557 allow exporting outputs in chunks (moneromooo-monero) b03d709 wallet2: fixes for export/import output flow (j-berman) 4b7eb57 wallet2: do not assume imported outputs must be non empty (moneromooo-monero) 5b98beb wallet2: prevent importing outputs in a hot wallet (moneromooo-monero) 0de1571 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
2022-09-09Merge pull request #8553luigi11111-1/+1
625147e Fix missing semi-colon in error message (j-berman)
2022-09-09Merge pull request #8552luigi11114-0/+24
93db74a rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
2022-09-09Merge pull request #8548luigi11111-4/+4
3679925 Windows: fix unicode file path support (tobtoht)
2022-09-09Merge pull request #8534luigi11117-9/+10
09ee781 build: prepare v0.18.1.1 (selsta)
2022-09-08Merge pull request #5 from j-berman/restore-msig-encrypted-seedJustin Berman2-17/+17
multisig: fix segfault restoring encrypted multisig seed
2022-09-07wallet2: ensure imported outputs subaddresses are createdmoneromooo-monero1-0/+4
reported by j-berman
2022-09-07wallet2: better test on whether to allow output importmoneromooo-monero3-6/+34
Being offline is not a good enough heuristic, so we keep track of whether the wallet ever refreshed from a daemon, which is a lot better, and probably the best we can do without manual user designation (which would break existing cold wallet setups till the user designates those wallets)
2022-09-07allow exporting outputs in chunksmoneromooo-monero13-72/+348
this will make it easier huge wallets to do so without hitting random limits (eg, max string size in node).
2022-09-06Fix segfault restoring encrypted multisig seedj-berman2-17/+17
2022-09-06Fix missing semi-colon in error messagej-berman1-1/+1
Co-authored-by: woodser <woodser@protonmail.com>
2022-09-06wallet2: fixes for export/import output flowj-berman4-20/+75
- only allow offline wallets to import outputs - don't import empty outputs - export subaddress indexes when exporting outputs
2022-09-06rpc: skip bootstrap nodes that are lower than last checkpointselsta4-0/+24
2022-09-06wallet2: do not assume imported outputs must be non emptymoneromooo-monero1-2/+2
2022-09-06wallet2: prevent importing outputs in a hot walletmoneromooo-monero1-0/+2
2022-09-06wallet2: fix missing subaddress indices in "light" exported outputsmoneromooo-monero2-2/+8
2022-09-06build: prepare v0.18.1.1selsta7-9/+10
2022-09-06Require user ack multisig is experimental to restorej-berman1-0/+13
2022-09-02Windows: fix unicode file path supporttobtoht1-4/+4
2022-09-01multisig: fix #8537 seed restore (suggestions by @UkoeHB)j-berman6-11/+26
- spend secret key is no longer the sum of multisig key shares; no need to check that is the case upon restore. - restoring a multisig wallet from multisig info means that the wallet must have already completed all setup rounds. Upon restore, set the number of rounds completed accordingly.
2022-08-22Merge pull request #8491luigi11111-6/+7
876c08d Bump Gitian build instructions to v0.18.1.0 [Release Branch] (Seth For Privacy)
2022-08-10Bump Gitian build instructions to v0.18.1.0 [Release Branch]Seth For Privacy1-6/+7
2022-08-09Merge pull request #8492v0.18.1.0luigi11111-0/+0
1287074 randomx: update submodule (selsta)
2022-08-09Merge pull request #8467luigi11112-5/+31
fac7c43 continue pool pruning even if a tx can't be found (j-berman)
2022-08-09Merge pull request #8463luigi11111-1/+1
265d6ca device: set ledger min app version (selsta)
2022-08-09Merge pull request #8470luigi11117-14/+15
309f6ba build: prepare v0.18.1.0 (selsta)
2022-08-08Merge pull request #8455luigi11112-17/+56
099fc1f Fixed get_block_template_backlog performance (SChernykh)
2022-08-07Merge pull request #8483luigi11116-180/+231
6075be9 feat(trezor): add HF15 support, BP+ (Dusan Klinec)
2022-08-07Merge pull request #8466luigi11118-12/+94
2b83d00 ledger support for hf 15 (BP+, view tags) (j-berman)
2022-08-07Merge pull request #8454luigi11112-47/+55
c0f3c5b Fix use of rtxn without a mdb_txn_safe wrapper (Howard Chu)
2022-08-07Merge pull request #8451luigi111110-11/+142
8cc3c9a Publish submitted txs via zmq (j-berman)
2022-08-06ledger support for hf 15 (BP+, view tags)j-berman8-12/+94
2022-08-05feat(trezor): add HF15 support, BP+Dusan Klinec6-180/+231
- BP+ support added for Trezor - old Trezor firmware version support removed, code cleanup
2022-07-28build: prepare v0.18.1.0selsta7-14/+15
2022-07-26continue pool pruning even if a tx can't be foundj-berman2-5/+31
2022-07-26device: set ledger min app versionselsta1-1/+1
2022-07-26randomx: update submoduleselsta1-0/+0
2022-07-22Fixed get_block_template_backlog performanceSChernykh2-17/+56
Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load. After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).
2022-07-22Fix use of rtxn without a mdb_txn_safe wrapperHoward Chu2-47/+55
2022-07-21Publish submitted txs via zmqj-berman10-11/+142
2022-07-15Merge pull request #8435v0.18.0.0luigi11111-0/+10
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15Merge pull request #8426luigi11116-835/+1474
a82fba4 address PR comments (j-berman) 3be1dbd connection: fix implementation (anon) 724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-15Merge pull request #8425luigi111111-15/+16
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15Merge pull request #8414luigi11111-2/+4
2ba391f hardforks: set mainnet and stagenet v15/16 fork height (selsta)
2022-07-14Merge pull request #8433luigi11111-9/+14
db8181a wallet2: force using output distribution for ringct outs (tobtoht)
2022-07-14Merge pull request #8432luigi11116-15/+147
edcc094 derive multisig tx secret keys from an entropy source plus the tx inputs' key images (koe)
2022-07-14Merge pull request #7986luigi11111-2/+5
5770265 wallet2: keep around transaction prefix for confirmed transfers (tobtoht)
2022-07-13Template hash func to fix compiler error on < gcc-6j-berman1-0/+10
2022-07-13build: prepare v0.18.0.0selsta11-15/+16
2022-07-13derive multisig tx secret keys from an entropy source plus the tx inputs' ↵koe6-15/+147
key images
2022-07-13Merge pull request #8421luigi11111-0/+2
bd1e7c5 wallet2: prevent crash when reading tx w/fewer outputs than expected (j-berman)
2022-07-13Merge pull request #8149luigi111124-387/+1857
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
2022-07-08address PR commentsj-berman4-395/+390
2022-07-05connection: fix implementationanon5-836/+1230
2022-07-05connection: add segfault and deadlocks demoanon1-2/+252
2022-07-06Merge pull request #8413luigi11111-1/+1
8e9c60a README: depends has only been tested on ubuntu 18.04 and 20.04 (selsta)
2022-07-06Merge pull request #8412luigi11111-1/+1
83aa817 (fix): Confusingly named CI-Job (Klaus Frank)
2022-07-06Merge pull request #8408luigi11111-37/+0
09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
2022-07-06Merge pull request #8404luigi11111-26/+1
50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
2022-07-06Merge pull request #8400luigi11112-1/+22
6f3abbe Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) (TheCharlatan)
2022-07-06Merge pull request #8394luigi11113-7/+12
4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
2022-07-05Merge pull request #8391luigi11111-0/+16
41b1a6b simplewallet: print usage when given no args (hinto.janaiyo)
2022-07-05Merge pull request #8390luigi11114-0/+241
d486c03 utils: add fish shell completions (Leo Nerone)
2022-07-05Merge pull request #8388luigi11111-7/+11
04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
2022-07-05Merge pull request #8371luigi11115-10/+17
16f8e04 Remove erraneous commas (Luke Parker) da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
2022-07-05wallet2: prevent crash when reading tx w/fewer outputs than expectedj-berman1-0/+2
2022-07-03Merge pull request #8384luigi11111-36/+14
8460fcc Revert 'Merge pull request #7937' (j-berman)
2022-07-03Merge pull request #8358luigi11111-0/+4
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03Merge pull request #8357luigi11111-0/+2
bc05d2d README.md: Add v15/v16 network upgrade (garth-xmr)
2022-07-03Merge pull request #8356luigi11113-0/+44
de2f0d0 wallet_api: add scanTransactions function (selsta)
2022-07-03Merge pull request #8296luigi11112-3/+6
61d0712 Gitian: refresh the stale Monero dir via --setup switch (mj-xmr)
2022-07-03Merge pull request #7774luigi11113-41/+58
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp) 033a32a Remove check is_directory check on lmdb path (Howard Chu) b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu) 493577a Silence spurious fallthru warning (Howard Chu) b46a60e Fix rawpart flag collision (Howard Chu) 4e7586c More RAWPART support (Howard Chu) 747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-01hardforks: set mainnet and stagenet v15/16 fork heightselsta1-2/+4
2022-06-30utils: add fish shell completionsLeo Nerone4-0/+241
Fish shell completions for monerod, monero-wallet-cli, and monero-wallet-rpc.
2022-06-30multisig: fix critical vulnerabilities in signinganon24-387/+1857
2022-06-29README: depends has only been tested on ubuntu 18.04 and 20.04selsta1-1/+1
2022-06-29(fix): Confusingly named CI-JobKlaus Frank1-1/+1
Rename the "build-macos" job within "depends", as it is not building on macOS as the similarly named job within build.yml does. Also, both names overlap which is confusing when looking for step-by-step build instruction examples or when looking at the logfile.
2022-06-28wallet2: don't use DNS to obtain segregation heightstobtoht1-37/+0
2022-06-27Chunk /gettransactions to avoid hitting restricted RPC limittobtoht1-7/+11
2022-06-25wallet2: force using output distribution for ringct outstobtoht1-9/+14
Co-authored-by: j-berman <justinberman@protonmail.com>
2022-06-24wallet2: remove obsolete rpc version checktobtoht1-26/+1
2022-06-22Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26)TheCharlatan2-1/+22
2022-06-20cryptonote_basic: catch crypto api errorsmoneromooo-monero3-7/+12
2022-06-20simplewallet: print usage when given no argshinto.janaiyo1-0/+16
2022-06-13Revert "Merge pull request #7937"j-berman1-36/+14
This reverts commit 50410d1f7d04bf60053f2263410c39e81d3ddad1, reversing changes made to d054def63f9b8950fe20b2d8e841f5a9ae09418f.
2022-06-06Gitian: refresh the stale Monero dir via --setup switchmj-xmr2-3/+6
2022-06-03ITS#9385 fix using MDB_NOSUBDIR with nonexistent fileKris Zyp1-4/+1
2022-06-03Remove check is_directory check on lmdb pathHoward Chu1-8/+2
The check interferes with raw device/partition support.
2022-06-03Revert "db_lmdb: test for mmap support at init time"Howard Chu2-31/+0
This reverts commit bd96536637724413173271e8d5df1777f7879c29. The check interferes with raw device/partition support.
2022-06-03Silence spurious fallthru warningHoward Chu1-1/+1
2022-06-03Fix rawpart flag collisionHoward Chu1-2/+2
2022-06-03More RAWPART supportHoward Chu1-1/+43
Use mmap to read and initialize the meta pages, raw device may not support read/write syscalls.
2022-06-03Preliminary raw partition supportHoward Chu1-1/+16
Autodetects that a block device is being used.
2022-06-01Remove erraneous commasLuke Parker1-3/+3
2022-06-01Improve consistency between on_money_received and on_money_received_unconfirmedLuke Parker5-10/+17
unconfirmed solely uses a - b, and received now accepts b so it can provide more detailed logs on what occurred (printing a - b, yet with a and b).
2022-05-27clang warning fix for #8338Jeffrey Ryan1-0/+4
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-26Merge pull request #8340luigi11117-13/+68
08080df unit_tests: add more sha256sum test cases (Jeffrey Ryan) a66a52d common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26Merge pull request #8338luigi11111-0/+3
5858f05 GCC: Fix -Wstringop-overflow= warnings (Jeffrey Ryan)
2022-05-26Merge pull request #8337luigi11113-5/+0
1164874 src, epee: fix a couple compiler warnings (selsta)
2022-05-26Merge pull request #8331luigi11111-9/+5
fde7c96 wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
2022-05-26Merge pull request #8330luigi11114-29/+65
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-26Merge pull request #8328luigi11119-7/+111
2979474 disable multisig by default (moneromooo-monero)
2022-05-26Merge pull request #8326luigi11111-4/+4
b9d2c78 fix backoff delay logic when re-relaying txs (j-berman)
2022-05-26Merge pull request #8325luigi11111-0/+6
62914e7 Ignore gitian build files (Jeffrey Ryan)
2022-05-26Merge pull request #8324luigi11111-2/+6
bae4a1a Don't send peerlist larger than max allowed (j-berman)
2022-05-26Merge pull request #8318luigi11111-45/+0
af08c83 utils: delete outdated windows build script (selsta)
2022-05-26README.md: Add v15/v16 network upgradegarth-xmr1-0/+2
Remade #8270 (includes edits from UkoeHB)
2022-05-26wallet_api: add scanTransactions functionselsta3-0/+44
2022-05-23Merge pull request #8349luigi11111-1/+1
026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
2022-05-23Windows build: fix narrowing error for WaitForSingleObjectJeffrey Ryan1-1/+1
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-18Don't exclusively drop tor/i2p outgoing cxns in idle loopj-berman4-29/+65
2022-05-18unit_tests: add more sha256sum test casesJeffrey Ryan5-0/+42
2022-05-18common: update sha256sum to use OpenSSL 3.0 APIJeffrey Ryan2-13/+26
As of OpenSSL 3.0, `SHA256_Init`, `SHA256_Update`, and `SHA256_Final` are deprectaed in favor of the higher-level `EVP_*` class of functions. This causes compiler warnings, and sooner or later, will cause build errors as these functions are excluded from distro headers. Also add some documentation.
2022-05-17disable multisig by defaultmoneromooo-monero9-7/+111
There are vulnerabilities in multisig protocol if the parties do not trust each other, and while there is a patch for it, it has not been throroughly reviewed yet, so it is felt safer to disable multisig by default for now. If all parties in a multisig setup trust each other, then it is safe to enable multisig.
2022-05-16GCC: Fix -Wstringop-overflow= warningsJeffrey Ryan1-0/+3
Resolves #8320
2022-05-17src, epee: fix a couple compiler warningsselsta3-5/+0