Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-11-21 | DNSResolver: fix not handling hostnames without dot characters [release] | Jeffrey Ryan | 1 | -0/+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-17 | p2p: fix exclusive node DNS resolution for certain hosts [release] | Jeffrey Ryan | 1 | -0/+35 | |
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-10-25 | Fix dandelion++ fluff/stem bug with local txes | Lee Clagett | 1 | -15/+84 | |
2022-09-22 | Move update_checkpoints() to a later stage | SChernykh | 1 | -0/+1 | |
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-21 | add an option to force-update multisig key exchange under some circumstances | koe | 1 | -24/+64 | |
2022-09-01 | multisig: fix #8537 seed restore (suggestions by @UkoeHB) | j-berman | 1 | -1/+1 | |
- 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-07-08 | address PR comments | j-berman | 1 | -5/+5 | |
2022-07-05 | connection: add segfault and deadlocks demo | anon | 1 | -2/+252 | |
2022-06-30 | multisig: fix critical vulnerabilities in signing | anon | 3 | -20/+21 | |
2022-05-18 | Don't exclusively drop tor/i2p outgoing cxns in idle loop | j-berman | 1 | -2/+2 | |
2022-05-18 | unit_tests: add more sha256sum test cases | Jeffrey Ryan | 1 | -0/+22 | |
2022-04-29 | multisig: add post-kex verification round to check that all participants ↵ | koe | 1 | -8/+7 | |
have completed the multisig address | |||||
2022-04-29 | Update copyright to 2022 for Hardfork files | Akrit | 2 | -2/+2 | |
Update Makefile and LICENSE | |||||
2022-04-18 | Add Include statements | Jeffrey | 1 | -0/+1 | |
2022-04-10 | Fee changes from ArticMine | moneromooo-monero | 2 | -0/+188 | |
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf with a change to use 1.7 instead of 2.0 for the max long term increase rate | |||||
2022-04-10 | epee: allow copying a rolling_median_t object | moneromooo-monero | 1 | -0/+18 | |
2022-04-05 | plug bulletproofs plus into consensus | moneromooo-monero | 1 | -1/+1 | |
2022-04-04 | Bulletproofs+ | Sarang Noether | 2 | -0/+170 | |
2022-03-30 | Remove dead code from parserse_base_utils and fix unit tests | Jeffrey | 1 | -67/+74 | |
* Remove `match_string()`, `match_number()`, and `match_word()` * Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()` * Adapt unit test for `match_number()` to `match_number2()` * Adapt unit test for `match_string()` to `match_string2()` Note: the unit tests were testing for the old version of the functions, and the interfaces for these functions changed slightly, so I had to also edit the tests. As of writing, this PR has no merge conflicts with #8211 Additional changes during review: * Explicitly set up is_[float/signed]_val to be changed before each call * Structify the tests and fix uninitialized variables | |||||
2022-03-04 | Copyright: Update to 2022 | mj-xmr | 73 | -73/+94 | |
2022-02-22 | multisig key exchange update and refactor | koe | 1 | -32/+202 | |
2021-11-01 | tx_pool: full tx revalidation on fork boundaries | moneromooo-monero | 1 | -5/+10 | |
avoids mining txes after a fork that are invalid by this fork's rules, but were valid by the previous fork rules at the time they were verified and added to the txpool. | |||||
2021-09-20 | node_server: fix race condition | anon | 1 | -36/+77 | |
2021-09-20 | node_server: add race condition demo | anon | 1 | -0/+260 | |
2021-09-12 | Mac: UT node server fix IP localhost by aliasing | mj-xmr | 1 | -0/+3 | |
2021-09-08 | unit_tests: fix use after free in serialization test | moneromooo-monero | 1 | -2/+4 | |
2021-08-05 | p2p: remove blocked addresses/hosts from peerlist | moneromooo-monero | 1 | -0/+1 | |
2021-08-03 | EasyLogging++: new anti-UB test and propagating exception | mj-xmr | 1 | -0/+7 | |
2021-07-28 | unit_tests: fix broken tests | anon | 2 | -8/+8 | |
boosted_tcp_server: check condition before sleep too cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields | |||||
2021-07-06 | EasyLogging++: Add UTests, that protect against regressions | mj-xmr | 1 | -0/+13 | |
2021-06-11 | unit_tests: check for ge_frombytes_vartime failure | moneromooo-monero | 2 | -4/+4 | |
CID 1446559 | |||||
2021-04-28 | clang: fix -Wpessimizing-move warning | selsta | 1 | -1/+2 | |
2021-04-27 | clang: fix -Wrange-loop-analysis warnings | selsta | 1 | -1/+1 | |
2021-04-16 | Split epee/string_tools.h and encapsulate boost::lexical_cast | mj-xmr | 1 | -0/+1 | |
2021-04-16 | Revert "Merge pull request #7136" | luigi1111 | 3 | -118/+24 | |
This reverts commit 63c7ca07fba2f063c760f786a986fb3e02fb040e, reversing changes made to 2218e23e84a89e9a1e4c0be5d50f891ab836754f. | |||||
2021-04-08 | unit_tests: fix boost 1.58 compatibility | anon | 1 | -1/+1 | |
2021-04-05 | Tests: Fix test node_server.bind_same_p2p_port from randomly crashing | mj-xmr | 1 | -0/+12 | |
2021-03-27 | Warnings: fix ut/levin.cpp missing braces | mj-xmr | 1 | -1/+4 | |
2021-03-22 | cryptonote_protocol_handler: add race condition demo | anon | 1 | -0/+592 | |
2021-03-12 | async_protocol_handler_config: add deadlock demo | anon | 1 | -0/+110 | |
2021-02-19 | async_protocol_handler_config: add segfault demo | anon | 1 | -2/+73 | |
2021-02-09 | New add_aux_pow RPC to support merge mining | moneromooo-monero | 1 | -0/+213 | |
2021-02-09 | Remove unused variables in monero codebase | Kevin Barbour | 5 | -5/+1 | |
There are quite a few variables in the code that are no longer (or perhaps never were) in use. These were discovered by enabling compiler warnings for unused variables and cleaning them up. In most cases where the unused variables were the result of a function call the call was left but the variable assignment removed, unless it was obvious that it was a simple getter with no side effects. | |||||
2021-02-06 | Reduce compilation time of epee/portable_storage.h | mj-xmr | 1 | -0/+1 | |
2021-01-28 | Remove copies from foreach loops (thanks to Clang) | Lee Clagett | 1 | -8/+8 | |
2021-01-27 | unit_tests: fix wipeable_string parse_hexstr test with latest gtest | xiphon | 1 | -9/+9 | |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196 | |||||
2021-01-23 | Improve cryptonote (block and tx) binary read performance | Lee Clagett | 2 | -7/+75 | |
2021-01-19 | boosted_tcp_server: add segfault demo | anon | 1 | -0/+150 | |
2021-01-19 | Remove payload copy in all outgoing p2p messages | Lee Clagett | 4 | -40/+124 | |
2021-01-16 | Remove payload copy in all outgoing p2p messages | Lee Clagett | 3 | -24/+118 | |
2021-01-03 | add a max levin packet size by command type | moneromooo-monero | 1 | -0/+1 | |
2020-12-31 | protocol: more sanity checks in new chain block hashes | moneromooo-monero | 1 | -1/+2 | |
2020-12-27 | protocol: fix false positives dropping peers | moneromooo-monero | 1 | -0/+1 | |
it'd trigger on reorgs | |||||
2020-12-27 | Revert "Reject existing claimed blocks in sync mode" | luigi1111 | 1 | -1/+0 | |
2020-12-22 | Command max_bytes moved from dynamic map to static switch | Lee Clagett | 1 | -3/+40 | |
2020-12-20 | Restrict duplicate keys in epee binary format | Lee Clagett | 2 | -0/+55 | |
2020-12-17 | protocol: reject claimed block hashes that already are in the chain | moneromooo-monero | 1 | -0/+1 | |
2020-12-17 | Add aggressive restrictions to pre-handshake p2p buffer limit | Lee Clagett | 2 | -0/+4 | |
2020-12-14 | Fix byte_stream::put_n | Lee Clagett | 1 | -0/+17 | |
2020-12-10 | protocol: drop origin IP if a block fails to verify in sync mode | moneromooo-monero | 1 | -9/+11 | |
It would otherwise be possible for a peer to send bad blocks, then disconnect and reconnect again, escaping bans | |||||
2020-11-25 | cryptonote_core: dandelion - use local height or median height if syncing | xiphon | 2 | -2/+8 | |
2020-11-16 | Better log message for unusable anon networks | Howard Chu | 1 | -1/+2 | |
2020-11-03 | Switch to Dandelion++ fluff mode if no out connections for stem mode | Lee Clagett | 1 | -0/+109 | |
2020-10-28 | Add RELINK_TARGETS, monero_add_target_no_relink and use ↵ | mj-xmr | 1 | -2/+2 | |
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-13 | Change to more efficient allocation strategy in byte_stream | Lee Clagett | 1 | -43/+50 | |
2020-10-13 | Allow byte_stream->byte_slice conversion to shrink unused buffer space | Lee Clagett | 1 | -1/+3 | |
2020-10-12 | Dandelion++: skip desynced peers in stem phase | xiphon | 1 | -34/+41 | |
2020-10-10 | Change epee binary output from std::stringstream to byte_stream | Lee Clagett | 4 | -24/+23 | |
2020-10-03 | Unit Tests: Remove block reward upper bound size checks | TheCharlatan | 1 | -18/+0 | |
Tests running after being compiled with `make debug-test` failed with ``` [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size [ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight ``` With the introduction of the patch in https://github.com/monero-project/monero/commit/be82c40703d267184ee07bf7be71002122c86656#diff-1a57d4e6013984c420da98d1adde0eafL113 the assertions checking the weight of the median and current block against a size limit were removed. Since the limit is now enforced by a long divisor and a uint64_t type, checking in a separate test makes little sense, so they are removed here. | |||||
2020-09-01 | threadpool: guard against exceptions in jobs, and armour plating | moneromooo-monero | 1 | -20/+20 | |
Those would, if uncaught, exit run and leave the waiter to wait indefinitely for the number of active jobs to reach 0 | |||||
2020-08-27 | CLSAG optimizations | Sarang Noether | 1 | -84/+82 | |
2020-08-27 | Integrate CLSAGs into monero | moneromooo-monero | 2 | -1/+185 | |
They are allowed from v12, and MLSAGs are rejected from v13. | |||||
2020-08-27 | unit_tests: add ge_triple_scalarmult_base_vartime test | moneromooo-monero | 1 | -0/+62 | |
2020-08-17 | Add clear method to byte_stream | Lee Clagett | 1 | -0/+41 | |
2020-08-17 | Revert "Use domain-separated ChaCha20 for in-memory key encryption" | luigi1111 | 2 | -74/+0 | |
This reverts commit 921dd8dde5d381052d0aa2936304a3541a230c55. | |||||
2020-08-17 | replace most boost serialization with existing monero serialization | moneromooo-monero | 2 | -2/+2 | |
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-14 | Change ZMQ-JSON txextra to hex and remove unnecessary base fields | Lee Clagett | 1 | -1/+16 | |
2020-08-14 | Fix pruned tx for ZMQ's GetBlocksFast | Lee Clagett | 1 | -1/+1 | |
2020-08-09 | Use domain-separated ChaCha20 for in-memory key encryption | Sarang Noether | 2 | -0/+74 | |
2020-08-09 | Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that ↵ | Sarang Noether | 2 | -0/+131 | |
include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. | |||||
2020-07-23 | Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with ↵ | koe | 1 | -0/+11 | |
unit test | |||||
2020-07-20 | wallet2_api: implement runtime proxy configuration | xiphon | 1 | -1/+1 | |
2020-05-20 | ByteSlice: Fix persisting ptr to std::moved SSO buffer | Doyle | 1 | -0/+23 | |
The Bug: 1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_` 2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer) 3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string. | |||||
2020-05-15 | Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 | Lee Clagett | 1 | -8/+246 | |
2020-05-12 | Fixed bugs for take_slice and byte_stream->byte_slice | Lee Clagett | 1 | -0/+31 | |
2020-05-11 | remove double includes | sumogr | 1 | -2/+0 | |
2020-05-06 | Update copyright year to 2020 | SomaticFanatic | 50 | -50/+50 | |
Update copyright year to 2020 | |||||
2020-05-04 | Adding ZMQ/Pub support for txpool_add and chain_main events | Lee Clagett | 4 | -8/+776 | |
2020-04-18 | unit_tests: fix gcc+ warning | Sumo Gr | 1 | -0/+4 | |
2020-04-14 | Bulletproofs: verification speedup | Sarang Noether | 1 | -0/+8 | |
2020-04-11 | Add byte_stream for zero-copy serialization, and add support in ZMQ-JSON. | Lee Clagett | 2 | -5/+259 | |
2020-04-03 | Use byte_slice for sending zmq messages - removes data copy within zmq | Lee Clagett | 1 | -0/+39 | |
2020-03-30 | Fixed string_ref usage bug in epee::from_hex::vector | Lee Clagett | 1 | -0/+3 | |
2020-03-28 | Fix network unit tests after epee changes | Lee Clagett | 1 | -2/+2 | |
2020-03-26 | Adding Dandelion++ support to public networks: | Lee Clagett | 1 | -27/+1074 | |
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase | |||||
2020-03-22 | protocol: request txpool contents when synced | moneromooo-monero | 1 | -0/+2 | |
A newly synced Alice sends a (typically quite small) list of txids in the local tpxool to a random peer Bob, who then uses the existing tx relay system to send Alice any tx in his txpool which is not in the list Alice sent | |||||
2020-03-20 | p2p: remove old debug commands | Aaron Hook | 3 | -1/+2 | |
2020-03-10 | Fix receive order leakage with tx fluffing | Lee Clagett | 1 | -8/+12 | |
2020-03-09 | Move hex->bin conversion to monero copyright files and with less includes | Lee Clagett | 1 | -3/+43 | |
2020-03-05 | Various improvements to the ZMQ JSON-RPC handling: | Lee Clagett | 2 | -20/+38 | |
- Finding handling function in ZMQ JSON-RPC now uses binary search - Temporary `std::vector`s in JSON output now use `epee::span` to prevent allocations. - Binary -> hex in JSON output no longer allocates temporary buffer - C++ structs -> JSON skips intermediate DOM creation, and instead write directly to an output stream. | |||||
2020-02-28 | daemon: auto public nodes - cache and prioritize most stable nodes | xiphon | 2 | -0/+173 | |
2020-02-18 | unit_tests: fix missing test names | xiphon | 2 | -5/+1 | |
2020-02-17 | remove empty statements | Interchained | 2 | -2/+2 | |
Cleaning up a little around the code base. | |||||
2020-02-12 | wipeable_string: split - treat CR, LF and Tabs as separators | xiphon | 1 | -0/+1 | |
2020-01-26 | wallet: do not split integrated addresses in address book api | moneromooo-monero | 1 | -1/+0 | |
2020-01-18 | net: fix incorrect less operator for top/i2p addresses | Aaron Hook | 1 | -23/+403 | |
2019-12-01 | unit_tests: remove invalid bulletproofs unit test | moneromooo-monero | 1 | -9/+0 | |
It was intended to check a case which is actually valid (0 gamma), but was actually duplicating the bad amount test. Reported by WhatDo_ on IRC. | |||||
2019-11-18 | Fixed bug in ZMQ JSON-RPC method field | Lee Clagett | 2 | -1/+58 | |
2019-11-12 | rpc: Only show version string if it matches expected pattern | Nathan Dorfman | 2 | -1/+51 | |
2019-11-04 | Change to Tx diffusion (Dandelion++ fluff) instead of flooding | Lee Clagett | 1 | -14/+82 | |
2019-11-04 | Improved performance for epee serialization: | Lee Clagett | 1 | -3/+3 | |
- Removed copy of field names in binary deserialization - Removed copy of array values in binary deserialization - Removed copy of string values in json deserialization - Removed unhelpful allocation in json string value parsing - Removed copy of blob data on binary and json serialization | |||||
2019-11-02 | Adding support for hidden (anonymity) txpool | Lee Clagett | 1 | -5/+6 | |
2019-10-31 | unit_tests: fix use after free | moneromooo-monero | 1 | -7/+16 | |
2019-10-30 | unit_tests: fix use after free | moneromooo-monero | 1 | -7/+16 | |
2019-10-21 | Support median block size > 4 GB | moneromooo-monero | 1 | -0/+116 | |
add a 128/64 division routine so we can use a > 32 bit median block size in calculations | |||||
2019-10-15 | unit_tests: fix build after rename | moneromooo-monero | 1 | -4/+6 | |
2019-10-13 | p2p+rpc: don't skip p2p or rpc port bind failure by default | xiphon | 2 | -7/+42 | |
2019-10-11 | cryptonote: add function to get weight from a pruned tx | moneromooo-monero | 1 | -0/+37 | |
The weight of the prunable data is deterministic from the unpruned data, so it can be determined from a pruned tx | |||||
2019-10-11 | unit_tests: fix build with boost 1.69 | moneromooo-monero | 1 | -3/+6 | |
2019-10-04 | unit_tests: fix ringdb unit tests | moneromooo-monero | 1 | -5/+11 | |
2019-09-27 | monerod can now sync from pruned blocks | moneromooo-monero | 1 | -4/+6 | |
If the peer (whether pruned or not itself) supports sending pruned blocks to syncing nodes, the pruned version will be sent along with the hash of the pruned data and the block weight. The original tx hashes can be reconstructed from the pruned txes and theur prunable data hash. Those hashes and the block weights are hashes and checked against the set of precompiled hashes, ensuring the data we received is the original data. It is currently not possible to use this system when not using the set of precompiled hashes, since block weights can not otherwise be checked for validity. This is off by default for now, and is enabled by --sync-pruned-blocks | |||||
2019-09-16 | p2p: fix bans taking port into account | moneromooo-monero | 1 | -2/+20 | |
2019-09-16 | Properly format multiline logs | moneromooo-monero | 1 | -0/+17 | |
As a side effect, colouring on Windows should now work regardless of version | |||||
2019-09-16 | Removed Berkeley DB and db switching logic | Jesus Ramirez | 1 | -8/+1 | |
2019-09-09 | unit tests: replace global var with lambda returning static local var | stoffu | 2 | -9/+9 | |
Fixes assertion failure (curstate == 1) in random.c in debug mode | |||||
2019-09-04 | unit_tests: fix levin unit test on big endian | moneromooo-monero | 1 | -23/+23 | |
2019-09-04 | difficulty: fix check_hash on big endian | moneromooo-monero | 1 | -4/+10 | |
2019-09-02 | Changed the use of boost:value_initialized for C++ list initializer | Jesus Ramirez | 1 | -1/+1 | |
2019-08-30 | unit_tests: fix build with CLANG 8 and boost 1.69 | moneromooo-monero | 1 | -6/+12 | |
2019-08-27 | MLSAG speedup and additional checks | Sarang Noether | 1 | -1/+14 | |
2019-08-27 | unit_tests: Fix uninitialized values | Matyas Liptak | 1 | -1/+1 | |
- Initialize the `hash` in the `get_block_hash()` function of the `output_distribution` unit test explicitly, to silence `valgrind` warnings. | |||||
2019-08-16 | epee: support unicode in parsed strings | moneromooo-monero | 1 | -0/+17 | |
2019-08-15 | Replace std::random_shuffle with std::shuffle | Tom Smeding | 2 | -3/+3 | |
According to [1], std::random_shuffle is deprecated in C++14 and removed in C++17. Since std::shuffle is available since C++11 as a replacement and monero already requires C++11, this is a good replacement. A cryptographically secure random number generator is used in all cases to prevent people from perhaps copying an insecure std::shuffle call over to a place where a secure one would be warranted. A form of defense-in-depth. [1]: https://en.cppreference.com/w/cpp/algorithm/random_shuffle | |||||
2019-07-29 | Fixed i2p/tor tx flooding bug (white noise disabled) | Lee Clagett | 1 | -12/+85 | |
2019-07-22 | Dropping cppzmq dependency; adding some zmq utils | Lee Clagett | 2 | -1/+132 | |
2019-07-17 | Added support for "noise" over I1P/Tor to mask Tx transmission. | Lee Clagett | 4 | -0/+1088 | |
2019-07-16 | Add ref-counted buffer byte_slice. Currently used for sending TCP data. | Lee Clagett | 2 | -3/+436 | |
2019-07-16 | allow blocking whole subnets | moneromooo-monero | 2 | -3/+53 | |
2019-07-09 | boost: update obsolete usage of endian API | moneromooo-monero | 1 | -1/+2 | |
2019-07-04 | keccak: guard against misaligned memory accesses on ARM | moneromooo-monero | 1 | -0/+17 | |
The code generated is exactly the same as the direct access one on x86_64 | |||||
2019-07-01 | unit_tests: check return values on test data parsing | moneromooo-monero | 1 | -2/+2 | |
Won't trigger in practice, but you never know when that code changes Coverity 199723, 199685 | |||||
2019-06-16 | unit_tests: add more leeway to the "same distribution" check | moneromooo-monero | 1 | -2/+2 | |
This is an inherently probabilistic check, which occasionally fails for a matching distribution | |||||
2019-05-20 | unit_tests: make the density test a bit less stringent | moneromooo-monero | 1 | -1/+1 | |
It's an inherently random test | |||||
2019-05-10 | use crypto::rand instead of libc rand in a few tests | moneromooo-monero | 3 | -8/+8 | |
We don't need secure randomness here, but it should shut coverity up | |||||
2019-05-02 | blockchain: keep a rolling long term block weight median | moneromooo-monero | 2 | -0/+203 | |
2019-05-01 | fix wide difficulty conversion with some versions of boost | moneromooo-monero | 1 | -4/+4 | |
2019-05-01 | wallet2: reject standalone short payment IDs in monero: URI API | moneromooo-monero | 1 | -3/+1 | |
2019-04-29 | remove unused code | moneromooo-monero | 1 | -1/+0 | |
2019-04-29 | add a few checks where it seems appropriate | moneromooo-monero | 1 | -0/+1 | |
2019-04-25 | unit_tests: fix crash in debug in output_distribution test | moneromooo-monero | 1 | -0/+7 | |
updating the block size limit needs recent block sizes, so we feed it dummy ones | |||||
2019-04-25 | rpc: improve get_output_distribution | moneromooo-monero | 1 | -11/+18 | |
It can now handle small reorgs without having to rescan the whole blockchain. Also add a test for it. | |||||
2019-04-23 | unit_tests: don't delete log file on windows, it will fail | moneromooo-monero | 1 | -0/+3 | |
2019-04-19 | Fix socks tests in windows and handle errors better | Lee Clagett | 1 | -7/+13 | |
2019-04-18 | wallet2: "output lineup" fake out selection | moneromooo-monero | 1 | -0/+117 | |
Based on python code by sarang: https://github.com/SarangNoether/skunkworks/blob/outputs/outputs/simulate.py | |||||
2019-04-17 | testdb: add override keyword where missing | stoffu | 1 | -6/+6 | |
and delete obsolete BlockchainBDB::get_tx_output_indices along the way | |||||
2019-04-16 | unit_tests: undo is_blocked implementation factoring | moneromooo-monero | 1 | -1/+12 | |
The is_host_blocked method is not on master yet | |||||
2019-04-14 | blockchain_db: fix db txn ending too early | moneromooo-monero | 1 | -0/+4 | |
The db txn in add_block ending caused the entire overarching batch txn to stop. Also add a new guard class so a db txn can be stopped in the face of exceptions. Also use a read only db txn in init when the db itself is read only, and do not save the max tx size in that case. | |||||
2019-04-11 | p2p: fix integer overflow in host bans | moneromooo-monero | 1 | -12/+17 | |
2019-04-11 | ringct: prevent use of full ringct signatures for more than one input | moneromooo-monero | 2 | -142/+57 | |
2019-04-09 | unit_tests/long_term_block_weight: some tweaks that seem to make more sense | stoffu | 1 | -8/+9 | |
2019-04-03 | unit_tests: fix long term block weight test after cache change | moneromooo-monero | 1 | -0/+5 | |
2019-03-25 | Added socks proxy (tor/i2pd/kovri) support to wallet | Lee Clagett | 2 | -1/+91 | |
2019-03-24 | Make difficulty 128 bit instead of 64 bit | moneromooo-monero | 3 | -0/+92 | |
Based on Boolberry work by: jahrsg <jahr@jahr.me> cr.zoidberg <crypto.zoidberg@gmail.com> | |||||
2019-03-24 | test: hmac_keccak - fix number of chunks counting | Dusan Klinec | 1 | -6/+7 | |
2019-03-20 | crypto: hmac_keccak added | Dusan Klinec | 2 | -0/+153 | |
2019-03-19 | Adding classes, functions, and utilities for common LMDB operations. | Lee Clagett | 2 | -0/+406 | |
2019-03-12 | tests: disable wallet SSL init for tests involving wallet2 | moneromooo-monero | 1 | -1/+1 | |
2019-03-08 | blockchain: speed up getting N blocks weights/long term weights | moneromooo-monero | 1 | -0/+12 | |
2019-03-05 | Update 2019 copyright | binaryFate | 46 | -46/+46 | |
2019-03-05 | epee: add SSL support | Martijn Otto | 1 | -0/+19 | |
RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you. | |||||
2019-03-05 | cryptonote: avoid double parsing blocks when syncing | moneromooo-monero | 1 | -2/+2 | |
2019-03-05 | save some database calls when getting top block hash and height | moneromooo-monero | 1 | -1/+3 | |
2019-03-05 | Avoid repeated (de)serialization when syncing | moneromooo-monero | 2 | -29/+29 | |
2019-03-04 | ArticMine's new block weight algorithm | moneromooo-monero | 6 | -175/+414 | |
This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty. Note: the long term block weight is stored in the database, but not in the actual block itself, since it requires recalculating anyway for verification. | |||||
2019-02-01 | unit_tests: remove leftover debug print | moneromooo-monero | 1 | -1/+0 | |
2019-01-28 | Adding initial support for broadcasting transactions over Tor | Lee Clagett | 4 | -8/+936 | |
- Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled). | |||||
2019-01-28 | notify: handle arbitrary tags | moneromooo-monero | 1 | -1/+1 | |
2019-01-22 | ringct: remove unused senderPk from ecdhTuple | moneromooo-monero | 2 | -4/+0 | |
This was an early ringct field, which was never used in production | |||||
2019-01-22 | ringct: the commitment mask is now deterministic | moneromooo-monero | 2 | -36/+0 | |
saves space in the tx and is safe Found by knaccc | |||||
2019-01-22 | ringct: encode 8 byte amount, saving 24 bytes per output | moneromooo-monero | 2 | -5/+21 | |
Found by knaccc | |||||
2019-01-22 | add a bulletproof version, new bulletproof type, and rct config | moneromooo-monero | 4 | -10/+19 | |
This makes it easier to modify the bulletproof format | |||||
2019-01-22 | Pruning | moneromooo-monero | 3 | -0/+243 | |
The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc. | |||||
2019-01-16 | blockchain_db: allow getting output keys without commitment | moneromooo-monero | 1 | -1/+1 | |
Since the commitment has to be calculated for non rct outputs, it slows down a lot unnecessarily if we don't need it | |||||
2019-01-16 | epee: speedup word/number matching | moneromooo-monero | 1 | -0/+84 | |
Number matching semantics are slightly changed: since this is used as a filter to check whether a number is signed and/or floating point, we can speed this up further. strto* functions are called afterwards and will error out where necessary. We now also accept numbers like .4 which were not accepted before. The strto* calls on a boost::string_ref will not access unallocated memory since the parsers always stop at the first bad character, and the original string is zero terminated. in arbitrary time measurement units for some arbitrary test case: match_number2: 235 -> 70 match_word2: 330 -> 108 | |||||
2019-01-11 | added two tests for partial word and case tolerance in mnemonics | Paul Shapiro | 1 | -1/+36 | |
2019-01-07 | Make get_output_key method const | moneroexamples | 1 | -2/+2 | |
get_output_key method is commonly used when working with txs and their key images. Because the method is not const, passing blockchain object though const& or pointers to const is not possible in this context. This is especially problematic in external projects (e.g., projects in moneroexamples) that use monero C++ api to operate on the blockchain and txs. Thus, having get_output_key method will simplify moving blockchain object around through const references and pointers to const objects. | |||||
2018-12-23 | epee: better network buffer data structure | moneromooo-monero | 2 | -4/+73 | |
avoids pointless allocs and memcpy | |||||
2018-12-18 | blockchain_db: speedup tx output gathering | moneromooo-monero | 1 | -1/+1 | |
We know all the data we'll want for getblocks.bin is contiguous | |||||
2018-12-07 | p2p: use vector instead of list for peer lists | moneromooo-monero | 1 | -3/+3 | |
2018-12-05 | unit_tests: strengthen notify test against OS scheduling | moneromooo-monero | 1 | -5/+16 | |
2018-12-04 | move int-util.h to epee | moneromooo-monero | 1 | -1/+1 | |
2018-11-27 | Outputs where all amounts are known spent can now be pruned | moneromooo-monero | 1 | -0/+1 | |
Only for pre rct for obvious reasons. Note: DO NOT use a known spent list which includes outputs which are not known spent. If the list includes any output that's just strongly thought to be spent, but not provably so, you risk finding yourself unable to sync past the point where that output is spent. I estimate only 200 MB saved on current mainnet though, unless the new blackballing rule unearths a good amount of large-amount-set extra spent outs. | |||||
2018-11-26 | rpc: speedup get_outs.bin | moneromooo-monero | 1 | -1/+1 | |
2018-11-23 | unit_tests: fix malloc/delete mismatch | moneromooo-monero | 1 | -1/+1 | |
2018-11-23 | unit_tests: do not rethrow a copy of an exception | moneromooo-monero | 1 | -1/+1 | |
Found by codacy.com | |||||
2018-11-23 | remove some unused code | moneromooo-monero | 3 | -4/+1 | |
Found by codacy.com | |||||
2018-11-23 | tests: slow_memmem now returns size_t | moneromooo-monero | 1 | -4/+4 | |
Makes more sense than uint64_t for an offset, and agrees with the %zu used to print results. Found by codacy.com | |||||
2018-11-16 | unit_tests: don't take the address of an unwrapped secret key | moneromooo-monero | 1 | -1/+4 | |
2018-11-16 | tests: add unit tests for get_output_distribution | moneromooo-monero | 4 | -87/+325 | |
2018-11-15 | unit_tests: add some hex parsing test for non hex input | xiphon | 1 | -0/+16 | |