aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-26device: boost -> std locks to fix c++17 compilationselsta3-18/+13
2023-10-25Merge pull request #9002luigi11111-0/+3
932bba3 depends: remove libiconv: unused (tobtoht)
2023-10-25Merge pull request #8989luigi11111-0/+71
9b231c9 add account_generators for mapping public EC generators to account keys (koe)
2023-10-25Merge pull request #8974luigi11111-1/+1
759293d wallet2: fix version check at hf version 1 (j-berman)
2023-10-25Merge pull request #8969luigi11113-91/+91
8190f25 KV_SERIALIZE: remove extraneous semicolons in DSL (jeffro256)
2023-10-25Merge pull request #8966luigi11111-3/+6
f71e2dc multisig: better errors for small malformed kex msgs (jeffro256)
2023-10-25Merge pull request #8958luigi11119-0/+257
b0bf49a blockchain_db: add k-anonymity to txid fetching (jeffro256)
2023-10-25Merge pull request #8752luigi11118-53/+102
c444a7e trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests (Dusan Klinec) 056c996 fix chaingen tests (Dusan Klinec)
2023-10-01Fix: long term block weight cacheBoog9001-33/+2
The long term block weight cache was doing a wrong calculation when adding a new block to the cache.
2023-09-30trezor: support v2.5.2+, add more trezor tests, fix chaingen and testsDusan Klinec8-53/+102
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup. - fix LibUSB cmake for static builds on OSX - tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added. - tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour. - requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \ make debug-test-trezor -j8`
2023-09-25depends: remove libiconv: unusedtobtoht1-0/+3
2023-09-21wallet: store watch-only wallet correctly when `change_password()` is calledjeff1-2/+2
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason, and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets. This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0, and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out. This never got brought up before this because you would have to change the file location of the watch-only wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-10add account_generators for mapping public EC generators to account keyskoe1-0/+71
2023-08-23wallet2: fix `store_to()` and `change_password()`jeffro2562-34/+90
Resolves #8932 and: 2. Not storing cache when new path is different from old in `store_to()` and 3. Detecting same path when new path contains entire string of old path in `store_to()` and 4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and 5. Changing your password and storing to a new file
2023-08-17wallet2: fix version check at hf version 1j-berman1-1/+1
2023-08-17Merge pull request #8956luigi11111-4/+9
f7fb5c7 scan_tx: fix custom comparator for == case; fixes #8951 (j-berman)
2023-08-17Merge pull request #8955luigi11114-19/+5
192d87c remove more 'using namespace' statements from headers (jeffro256)
2023-08-17Merge pull request #8950luigi11111-4/+4
a0e5c3c wallet2: when checking frozen multisig tx set, don't assume order (jeffro256)
2023-08-17Merge pull request #8927luigi11111-0/+4
1104b59 Update help for set command in simplewallet Add help for max-reorg-depth and load-deprecated-formats options (MasFlam)
2023-08-17Merge pull request #8924luigi111112-98/+115
ffbf9f4 blockchain_and_pool: move to crytonote_core and enforce its usage (jeffro256) d6f86e5 Avoid nullptr dereference when constructing Blockchain and tx_memory_pool (lukas)
2023-08-17Merge pull request #8914luigi11114-25/+59
45b52de wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17Merge pull request #8913luigi11111-1/+1
2a2cf03 blockchain_db: add clarification to get_block_already_generated_coins (jeffro256)
2023-08-17Merge pull request #8890luigi11112-2/+7
e8cac61 core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17Merge pull request #8882luigi11111-3/+3
a8d2a58 wallet2: ensure transfers and sweeps use same fee calc logic (j-berman)
2023-08-17Merge pull request #8853luigi11112-5/+2
6ff87ef net: tor_address: remove support for v2 onion addresses (tobtoht)
2023-08-17Merge pull request #8840luigi11111-1/+2
503c3e0 core: do not force sync the db when finding a block in regtest mode (Crypto City)
2023-08-10`KV_SERIALIZE`: remove extraneous semicolons in DSLjeffro2563-91/+91
Prereq of https://github.com/monero-project/monero/pull/8867
2023-08-08multisig: better errors for small malformed kex msgsjeffro2561-3/+6
Resolves https://github.com/monero-project/monero/issues/8493
2023-08-01blockchain_db: add k-anonymity to txid fetchingjeffro2569-0/+257
Read more about k-anonymity [here](https://en.wikipedia.org/wiki/K-anonymity). We implement this feature in the monero daemon for transactions by providing a "Txid Template", which is simply a txid with all but `num_matching_bits` bits zeroed out, and the number `num_matching_bits`. We add an operation to `BlockchainLMDB` called `get_txids_loose` which takes a txid template and returns all txids in the database (chain and mempool) that satisfy that template. Thus, a client can ask about a specific transaction from a daemon without revealing the exact transaction they are inquiring about. The client can control the statistical chance that other TXIDs (besides the one in question) match the txid template sent to the daemon up to a power of 2. For example, if a client sets their `num_matching_bits` to 5, then statistically any txid has a 1/(2^5) chance to match. With `num_matching_bits`=10, there is a 1/(2^10) chance, so on and so forth. Co-authored-by: ACK-J <60232273+ACK-J@users.noreply.github.com>
2023-07-28wallet-rpc: restore from multisig seedjeffro2564-25/+59
2023-07-19scan_tx: fix custom comparator for == case; fixes #8951j-berman1-4/+9
Co-authored-by: woodser <woodser@protonmail.com>
2023-07-18remove more 'using namespace' statements from headersjeffro2564-19/+5
2023-07-16wallet2: when checking frozen multisig tx set, don't assume orderjeffro2561-4/+4
2023-07-06Merge pull request #8919luigi11111-0/+2
1c20198 Fixup error message. (ComputeryPony)
2023-07-06Merge pull request #8904luigi11112-2/+40
369a5a8 wallet: respect frozen key images in multisig wallets (jeffro256)
2023-07-06Merge pull request #8903luigi11112-0/+29
2608b24 Add CLSAG serialization to ZMQ code (Lee Clagett)
2023-07-06Merge pull request #8902luigi11111-0/+4
c138a28 wallet2: take ignored-by-value outputs into account in balance (Crypto City)
2023-07-06Merge pull request #8894luigi11111-1/+1
c589e15 Speed up perf_timer init on x86 (SChernykh)
2023-07-06Merge pull request #8854luigi11111-20/+15
d9c7cd5 common: do not use DNS to determine if address is local (tobtoht)
2023-07-06Merge pull request #8850luigi11111-1/+1
d391ac0 blockchain: ensure base fee cannot reach 0 (Crypto City)
2023-07-06Merge pull request #8747luigi11113-24/+2
a668312 wallet: remove CLI code for non default ring sizes (Jeffro256)
2023-07-06Merge pull request #8662luigi11113-0/+234
16d17f6 add crypto/generators for direct access to canonical fixed generators (koe)
2023-07-06Merge pull request #8344luigi11112-25/+29
70bbd25 core_rpc_server: new file: rpc_ssl.fingerprint (Jeffrey Ryan)
2023-07-06Merge pull request #8250luigi11115-176/+0
ce86368 Remove src/platform (Jeffrey)
2023-07-06Merge pull request #8888luigi11111-157/+59
a6639df wallet_rpc_server: dedup transfer RPC responses (jeffro256) Very special PR.
2023-07-03common: do not use DNS to determine if address is localtobtoht1-20/+15
Co-authored-by: j-berman <justinberman@protonmail.com>
2023-07-02core_rpc_server: new file: rpc_ssl.fingerprintJeffrey Ryan2-25/+29
2023-07-02Remove src/platformJeffrey5-176/+0
All the files in src/platform are currently unused and unnecessary. See below: * `mingw/alloca.h`: unused throughout project * `msc/sys/param.h`: 1. In `fix_darwin.patch`, `sys/param.h` is well-defined to be used only in OpenBSD environment 2. `int-util.h` already handles when `sys/param.h` is not present and injects its own values 3. `db_drivers/liblmdb/mdb.c` is a similar situation: already explicity handles different platforms 4. `src/crypto/chacha.h` uses `int-util.h` for endianness context * `msc/alloca.h`: unused * `msc/inline_c.h`: not needed. the `inline` keyword is supported for C99 I believe, and certainly for C11, C14+ * `msc/stdbool.h`: `stdbool.h` is standard since C99, and MSVC has supported it for a long time (~10 years)
2023-07-01blockchain_and_pool: move to crytonote_core and enforce its usagejeffro25612-52/+46
2023-07-01Update help for set command in simplewalletMasFlam1-0/+4
Add help for max-reorg-depth and load-deprecated-formats options
2023-06-30core_rpc_server: return ID of submitted blockjeffro2562-2/+7
2023-06-30Avoid nullptr dereference when constructing Blockchain and tx_memory_poollukas8-60/+83
2023-06-28add crypto/generators for direct access to canonical fixed generatorskoe3-0/+234
2023-06-27wallet: remove CLI code for non default ring sizesJeffro2563-24/+2
2023-06-27Fixup error message.ComputeryPony1-0/+2
Looks like the extra MWARNING was supposed to be guarded by the if statement.
2023-06-27Merge pull request #8884luigi11111-0/+2
eeda4a8 wallet2: do not lose exception in current thread on refresh (Crypto City f868768 wallet2: fix missing exceptions from failing wallet refresh (Crypto City)
2023-06-27Merge pull request #8862luigi11111-0/+10
9f80797 protocol: drop peers sending duplicate txes (moneromooo-monero)
2023-06-27Merge pull request #8855luigi11111-9/+0
bb83eb1 daemon: remove --fluffy-blocks (tobtoht)
2023-06-27Merge pull request #8848luigi11113-284/+0
6b8dfb8 daemon: remove os-version (tobtoht)
2023-06-27Merge pull request #8844luigi11111-1/+1
7206ef8 cryptonote_basic: fix amount overflow detection on 32-bit systems (jeffro256)
2023-06-27Merge pull request #8839luigi11111-0/+4
24d56c5 bump lmdb sync threshold for performance (moneromooo-monero)
2023-06-27Merge pull request #8832luigi11111-1/+8
092e964 Fixed RandomX initialization when mining from scratch (SChernykh)
2023-06-27Merge pull request #8804luigi11111-0/+1
ca6c42a Message about DNS_PUBLIC to help users with issue #8452 (OrvilleRed)
2023-06-27Merge pull request #8772luigi11115-11/+7
87e2a64 Allow option 'non-interactive' in monerod config file (almalh)
2023-06-27Merge pull request #8703luigi11112-3/+15
c90c1c3 Show IPv6 addresses in connection list (Guillaume Le Vaillant)
2023-06-27Merge pull request #8661luigi11111-0/+170
f50b9e3 revisions (koe) e5aa058 vtnerd review comments (koe) c60b11f add compare_func() method so user-defined comparison functions are easier to use (koe) 7329873 adjust is_sorted_and_unique() (koe) 3d60475 comment updates (koe) acfaaed add container helpers (koe)
2023-06-27Merge pull request #8660luigi11112-0/+170
2a7435e variant: add mutable unwrap and visitation (koe) bc3cec4 add variant class with cleaner interface than boost::variant<> (koe)
2023-06-21blockchain_db: add clarification to get_block_already_generated_coinsjeffro2561-1/+1
2023-06-15wallet2: fix rescanning tx via scan_txj-berman8-56/+402
- Detach & re-process txs >= lowest scan height - ensures that if a user calls scan_tx(tx1) after scanning tx2, the wallet correctly processes tx1 and tx2 - if a user provides a tx with a height higher than the wallet's last scanned height, the wallet will scan starting from that tx's height - scan_tx requires trusted daemon iff need to re-process existing txs: in addition to querying a daemon for txids, if a user provides a txid of a tx with height *lower* than any *already* scanned txs in the wallet, then the wallet will also query the daemon for all the *higher* txs as well. This is likely unexpected behavior to a caller, and so to protect a caller from revealing txid's to an untrusted daemon in an unexpected way, require the daemon be trusted.
2023-06-12wallet: respect frozen key images in multisig walletsjeffro2562-2/+40
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it so that wallets will refuse to sign multisig transactions with frozen enotes. Disclaimer: This PR was generously funded by @LocalMonero.
2023-06-10Add CLSAG serialization to ZMQ codeLee Clagett2-0/+29
2023-06-10wallet2: take ignored-by-value outputs into account in balanceCrypto City1-0/+4
2023-06-08Speed up perf_timer init on x86SChernykh1-1/+1
All Monero binaries have 1 second startup delay because of this code. This is especially noticeable and affects UX in Monero GUI wallet with local node where it often starts another monerod instance to run commands and query node status.
2023-06-07protocol: drop peers sending duplicate txesmoneromooo-monero1-0/+10
2023-06-02cryptonote_basic: fix amount overflow detection on 32-bit systemsjeffro2561-1/+1
On systems where `ULONG_MAX` != `ULLONG_MAX` (e.g. most 32-bit systems), the `round_money_up` function will not correctly detect overflows.
2023-06-02wallet_rpc_server: dedup transfer RPC responsesjeffro2561-157/+59
2023-05-30wallet2: do not lose exception in current thread on refreshCrypto City1-0/+1
2023-05-30wallet2: fix missing exceptions from failing wallet refreshCrypto City1-0/+1
2023-05-27wallet2: ensure transfers and sweeps use same fee calc logicj-berman1-3/+3
Ensures both transfers and sweeps use a fee that's calculated from the tx's weight. Using different logic could theoretically enable distinguishability between the two types of txs. We don't want that.
2023-05-12daemon: remove --fluffy-blockstobtoht1-9/+0
2023-05-12net: tor_address: remove support for v2 onion addressestobtoht2-5/+2
2023-05-11blockchain: ensure base fee cannot reach 0Crypto City1-1/+1
reported by sech1
2023-05-10daemon: remove os-versiontobtoht3-284/+0
2023-05-06fix missing <cstdint> includestobtoht2-0/+2
2023-05-05core: do not force sync the db when finding a block in regtest modeCrypto City1-1/+2
for a slight performance boost in functional tests
2023-05-05bump lmdb sync threshold for performancemoneromooo-monero1-0/+4
Force sync every 100k blocks instead of every 1k blocks. Bumping this value is reported to make a big difference in sync performance, eg: https://github.com/monero-project/monero/issues/8189
2023-04-27Fixed RandomX initialization when mining from scratchSChernykh1-1/+8
2023-04-26Merge pull request #8760luigi11116-1185/+21
1698cb1 remove defunct light wallet code (tobtoht)
2023-04-25remove defunct light wallet codetobtoht6-1185/+21
2023-04-25serialization: remove unused function dump_jsonJeffrey Ryan3-49/+0
2023-04-25Merge pull request #8724luigi111113-1022/+32
d2a591d wallet, simplewallet: Drop support for mine-to-use RPC system (Jeffrey Ryan)
2023-04-25Merge pull request #8802luigi11111-2/+2
eb0e405 gamma picker: relax constructor requirements and test for selecting outputs from first spendable block (jeffro256)
2023-04-25Merge pull request #8798luigi11112-12/+11
f383fd3 wallet2: make m_process_pool_txs local to refresh method (jeffro256)
2023-04-25Merge pull request #8796luigi11111-0/+18
7a4a03d wallet2: do not commit transactions more than once (moneromooo-monero)
2023-04-25Merge pull request #8789luigi11111-3/+0
df9aa6b epee: remove dead code in net_helper (Jeffro256)
2023-04-25Merge pull request #8788luigi11111-4/+9
c61d33e wallet2: fix outdated wallet check (Crypto City)
2023-04-25Merge pull request #8780luigi11111-0/+1
4e16559 rpc: give reason when sending non-hex raw tx (jeffro256)
2023-04-25Merge pull request #8771luigi11111-1/+1
2eaa523 cryptonote::transaction_prefix: fix IDE parsing error (koe)
2023-04-25Merge pull request #8765luigi11111-9/+0
630906c cryptonote_basic: remove unused struct (tobtoht)
2023-04-25Merge pull request #8764luigi11111-0/+13
b13ddb9 Handle case where a command line flag is not allowed in the config file (almalh)
2023-04-25wallet, simplewallet: Drop support for mine-to-use RPC systemJeffrey Ryan13-1022/+32
Using post-PR wallet with pre-PR node will generate error message specific to this PR and not generic "command failed" mesages.
2023-04-25Merge pull request #8748luigi11111-0/+2
11a8360 simplewallet: print fully qualified filename for new wallets (moneromooo-monero)
2023-04-25Merge pull request #8730luigi11111-2/+2
9e09093 wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
2023-04-25Merge pull request #8716luigi11112-1/+5
9c7d28b wallet2: add on_reorg callback (Crypto City)
2023-04-25Merge pull request #8698luigi1111419-419/+419
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-04-25Merge pull request #8694luigi11111-1/+1
d89e7a2 util: make GMT timestamps explicit for clarity (moneromooo-monero)
2023-04-25Merge pull request #8679luigi11112-45/+55
b986421 adjust multiexp pippenger_cached_data for better reusability (koe)
2023-04-15Allow option 'non-interactive' in monerod config filealmalh5-11/+7
2023-04-14Show IPv6 addresses in connection listGuillaume Le Vaillant3-4/+16
2023-04-02gamma picker: relax constructor requirements and test for selecting outputs ↵jeffro2561-2/+2
from first spendable block
2023-04-02Merge pull request #8810luigi11112-5/+8
d594981 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-04-02Merge pull request #8808luigi11114-3/+10
caa7561 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02Merge pull request #8794luigi11112-3/+4
85a4558 wallet2: fix infinite loop in fake out selection (Crypto City)
2023-03-30wallet2: 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-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-27Message about DNS_PUBLIC to help users with issue #8452OrvilleRed1-0/+1
2023-03-24Merge pull request #8770luigi11111-2/+22
d7a81cc p2p: do not log to global when re-blocking a subnet (moneromooo-monero) d84a0d7 p2p: avoid spam blocking ipv4 addresses in a blocked subnet (moneromooo-monero)
2023-03-21wallet2: make m_process_pool_txs local to refresh methodjeffro2562-12/+11
2023-03-21wallet2: do not commit transactions more than oncemoneromooo-monero1-0/+18
Fixes #8793
2023-03-19epee: remove dead code in net_helperJeffro2561-3/+0
2023-03-19wallet2: fix outdated wallet checkCrypto City1-4/+9
it was mistaking the number of forks in the fork table for the last fork, and assuming the table was including every single fork
2023-03-18Merge pull request #8775luigi11111-0/+1
1b27fcd device: Add ledger Stax device id to device detection (Francois Beutin)
2023-03-18Merge pull request #8733luigi11116-1/+22
3771641 Add a size limit for tx_extra in tx pool (tevador)
2023-03-18Merge pull request #8707luigi11119-111/+288
7159f92 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
2023-03-18Merge pull request #8076luigi111113-295/+924
c4af33e Enforce restricted # pool txs served via RPC + optimize chunked reqs (j-berman) 9752116 wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call (rbrunner7)
2023-03-17verRctNonSemanticsSimpleCached: fix fragilityJeffrey Ryan9-111/+288
2023-03-17rpc: give reason when sending non-hex raw txjeffro2561-0/+1
2023-03-14device: Add ledger Stax device id to device detectionFrancois Beutin1-0/+1
2023-03-09cryptonote::transaction_prefix: fix IDE parsing errorkoe1-1/+1
2023-03-09p2p: do not log to global when re-blocking a subnetmoneromooo-monero1-1/+5
2023-03-07Enforce restricted # pool txs served via RPC + optimize chunked reqsj-berman12-168/+243
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when returning pool txs via a restricted RPC daemon. - A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs in the `added_pool_txs` field, and returns any remaining pool hashes in the `remaining_added_pool_txids` field. The client then requests the remaining txs via `/gettransactions` in chunks. - `/gettransactions` no longer does expensive no-ops for ALL pool txs if the client requests a subset of pool txs. Instead it searches for the txs the client explicitly requests. - Reset `m_pool_info_query_time` when a user: (1) rescans the chain (so the wallet re-requests the whole pool) (2) changes the daemon their wallets points to (a new daemon would have a different view of the pool) - `/getblocks.bin` respects the `req.prune` field when returning pool txs. - Pool extension fields in response to `/getblocks.bin` are optional with default 0'd values.
2023-03-06cryptonote_basic: remove unused structtobtoht1-9/+0
2023-03-05Handle case where a command line flag is not allowed in the config filealmalh1-0/+13
2023-03-01p2p: avoid spam blocking ipv4 addresses in a blocked subnetmoneromooo-monero1-1/+17
2023-02-26Add a size limit for tx_extra in tx pooltevador6-1/+22
2023-02-24simplewallet: print fully qualified filename for new walletsmoneromooo-monero1-0/+2
from time to time, some people don't realize their wallets get created in their current working directory
2023-02-15Merge pull request #8720luigi11111-9/+11
d8a8448 p2p: add plowsof seed nodes (selsta) 69153e8 p2p: remove offline seed nodes (selsta)
2023-02-12variant: add mutable unwrap and visitationkoe1-7/+18
2023-02-06Merge pull request #8712luigi11111-74/+83
cb756b6 blockchain-stats: print any remaining data at end of loop (Howard Chu)
2023-02-06Merge pull request #8705luigi11111-4/+15
b247f98 Demote large pages warning to mdebug (SChernykh) b27a171 RandomX: print VM allocation warnings only once (SChernykh)
2023-02-06Merge pull request #8700luigi11111-3/+0
3461a19 daemonizer: don't uninstall windows service on exit (selsta)
2023-02-06Merge pull request #8697luigi11111-1/+1
e91f35e win-service: enable auto startup (plowsof)
2023-02-06Merge pull request #8691luigi11111-1/+11
934b798 rpc: do not misidentify coinbase txes as pruned (moneromooo-monero)
2023-02-03wallet_rpc_server: allow creating more than 64 addresses at oncemoneromooo-monero1-2/+2
it's too low a limit (at least one person mentioned having to call create_address in a loop due to it)
2023-01-30add variant class with cleaner interface than boost::variant<>koe2-0/+159
2023-01-27p2p: add plowsof seed nodesselsta1-1/+11
2023-01-27p2p: remove offline seed nodesselsta1-8/+0
2023-01-19wallet2: add on_reorg callbackCrypto City2-1/+5
2023-01-17blockchain-stats: print any remaining data at end of loopHoward Chu1-74/+83
Fix #8711
2023-01-17Demote large pages warning to `mdebug`SChernykh1-4/+7
2023-01-16Copyright: Update to 2023mj-xmr419-419/+419
Co-authored-by: plowsof <plowsof@protonmail.com> extra files
2023-01-11RandomX: print VM allocation warnings only onceSChernykh1-2/+10
2023-01-11Merge pull request #8675luigi11114-1/+104
1a568de Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11Merge pull request #8686luigi11114-127/+2
7a3a593 common: move boost_serialization_helper.h out and cleanup includes (Jeffrey Ryan)
2023-01-11Merge pull request #8682luigi11112-0/+3
96677ff common: add missing includes (selsta)
2023-01-11Merge pull request #8677luigi111110-256/+401
fe8522c Bump WINVER to 0x0600 (Windows Vista) (SChernykh) dab7d01 Refactored rx-slow-hash.c (SChernykh)
2023-01-11Merge pull request #8663luigi11115-6/+18
b1bce85 miscellaneous crypto updates (koe)
2023-01-11Merge pull request #8648luigi11112-24/+0
8687da6 common: DNSResolver can handle hostnames without dot characters (Jeffrey Ryan)
2023-01-11Merge pull request #8643luigi11113-14/+20
faaf2af p2p: fix exclusive node DNS resolution for certain hosts (Jeffrey Ryan)
2023-01-11Merge pull request #8640luigi11111-1/+1
1a3ae18 p2p: fix back ping to discover healthy peers to connect to (j-berman)
2023-01-09Refactored rx-slow-hash.cSChernykh10-256/+401
- 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
2023-01-03miscellaneous crypto updateskoe5-6/+18
2023-01-03daemonizer: don't uninstall windows service on exitselsta1-3/+0
2023-01-02win-service: enable auto startupplowsof1-1/+1
2023-01-01util: make GMT timestamps explicit for claritymoneromooo-monero1-1/+1
For privacy reasons, time functions use GMT, to avoid logs leaking timezones. It'd make more sense to use localtime for wallet output (which are not logged by default), but that adds inconsistencies which can also be confusing. So add a Z suffix for now to make it clear these are not local time.
2023-01-01rpc: do not misidentify coinbase txes as prunedmoneromooo-monero1-1/+11
2022-12-30wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 callrbrunner79-205/+759
2022-12-29revisionskoe1-16/+24
2022-12-24vtnerd review commentskoe1-19/+60
2022-12-22common: move boost_serialization_helper.h out and cleanup includesJeffrey Ryan4-127/+2
2022-12-20Cache successful `verRctNonSemanticsSimple` callsSChernykh4-1/+104
2022-12-19add compare_func() method so user-defined comparison functions are easier to usekoe1-0/+14
2022-12-18common: add missing includesselsta2-0/+3
2022-12-18adjust is_sorted_and_unique()koe1-12/+11
2022-12-16adjust multiexp pippenger_cached_data for better reusabilitykoe2-45/+55
2022-12-15comment updateskoe1-1/+3
2022-12-01add container helperskoe1-0/+106
2022-12-01Merge pull request #8627luigi11111-3/+4
a7bf3af Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01Merge pull request #8618luigi11111-0/+2
1114e7e fix(trezor-tests): fix trezor tests build, fix integrated addr test (Dusan Klinec)
2022-12-01Merge pull request #8616luigi11112-8/+4
cac5083 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01Merge pull request #8610luigi11111-1/+1
97b86a0 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01Merge pull request #8503luigi11111-41/+87
d06202d blockchain_prune: faster (moneromooo-monero)
2022-11-21common: DNSResolver can handle hostnames without dot charactersJeffrey Ryan2-24/+0
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 hostsJeffrey Ryan3-14/+20
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-17fix(trezor-tests): fix trezor tests build, fix integrated addr testDusan Klinec1-0/+2
- fix integrated address test, it was not testing integrated address suport - fix trezor test build as dependent classes were changed - add a friend test class for Monero::WalletImpl to support wallet api tests When using wallet_api in tests, synthetic chain is used. Without being able to set `allow_mismatched_daemon_version` in the underlying wallet, we are not able to use a synthetic chain with the tests
2022-11-14p2p: fix back ping to discover healthy peers to connect toj-berman1-1/+1
2022-10-28Merge pull request #8529luigi11111-1/+0
09d69b6 rpc: remove overwriting value (SerHack)
2022-10-28Merge pull request #8527luigi11111-1/+1
e988530 Remove redundant check (SerHack)
2022-10-28Merge pull request #8525luigi11111-1/+0
501db2c Wallet RPC: remove duplicate line (SerHack)
2022-10-28Merge pull request #8517luigi11111-1/+1
6f0fb76 blockchain: fix invalid memory read getting fee on empty chain (Crypto City)
2022-10-28Merge pull request #8355luigi11113-6/+16
23fde15 wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing (moneromooo-monero) 5bb2369 wallet_rpc_server: add --no-initial-sync flag for quicker network binding (moneromooo-monero)
2022-10-25Fix dandelion++ fluff/stem bug with local txesLee Clagett1-3/+4
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-26Merge pull request #8587luigi11112-4/+8
8e7c7af Move update_checkpoints() to a later stage (SChernykh)
2022-09-26Merge pull request #8586luigi11113-4/+5
e9ce347 wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26Merge pull request #8576luigi11117-12/+16
28f25c0 Second thread pool for IO (SChernykh)
2022-09-26Merge pull request #8329luigi111113-90/+178
4b0785f add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-22Move update_checkpoints() to a later stageSChernykh2-4/+8
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.