Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
b9389e5 db_lmdb: save pruned and prunable tx data separately (moneromooo-monero)
|
|
3f5fb6f simplewallet: add --untrusted-daemon option (moneromooo-monero)
|
|
ad19f86 don't show error twice when starting simplewallet (cryptochangements34)
|
|
a6b8d3f tx_pool: remove old comment from fill_block_template() (stoffu)
|
|
a6a54fa blockchain: cache difficulty for next block (moneromooo-monero)
|
|
80d2f80 wallet2: Update function parameter documentation (leonklingele)
|
|
49f4645 bump version for point release (fluffypony)
6715c90 update checkpoints for point release (fluffypony)
45975fd update checkpoints (fluffypony)
|
|
|
|
This bumps DB version to 2, migration code will run for v1 DBs
|
|
|
|
|
|
|
|
9317bce9 crypto: more places needing fixing for GCC 8.1 (moneroexamples)
4a72d595 chacha: fix build with GCC 8.1 (moneromooo-monero)
|
|
64f82e04 unit_tests: fix build after get_output_didstribution signature change (moneromooo-monero)
|
|
|
|
ce63ab09 blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
|
|
18cd6837 Fix mdb_load append option (hyc)
97050326 ITS#8831 move flag init into readhdr (hyc)
|
|
cb9c7972 Fix output shuffling for multisig (stoffu)
|
|
18761b37 simplewallet: use correct unit for fee command (stoffu)
|
|
b13bddc3 Wallet API: allow log path to be non-default & console output to be configurable (stoffu)
|
|
5f8ffca3 speed up get_output_distribution (and precalc common case) (moneromooo-monero)
|
|
|
|
29fbaeaa daemon: request unpruned transactions for print_tx (moneromooo-monero)
|
|
b6a76f76 Update readme to include link to announcement list (Gingeropolous)
|
|
872cb4ef blockchain: pop top if block version disagrees with the ideal fork version (stoffu)
|
|
b88c9a00 unit_tests: set default data dir to the source tree at build time (moneromooo-monero)
|
|
a5c98609 version.cmake: fix configuring version.cpp without git (moneromooo-monero)
|
|
ff31611a Revert "Merge pull request #3775" (Riccardo Spagni)
|
|
This reverts commit 20ef37bbcac7715d5299dd77d401583420e07ced, reversing
changes made to 40070a661fd2ff503e07f4ed48dfe9fe67cfa297.
|
|
|
|
|
|
instead of uninitialized
|
|
|
|
|
|
|
|
|
|
a58d9738 wallet2: consider 6 outputs or less to be unmixable from v7 (moneromooo-monero)
|
|
|
|
Might be a bit heavy handed, but conservative.
|
|
6f859e43 cryptonote: make sure outPk setup always happens (moneromooo-monero)
|
|
Use MDB_CURRENT to avoid seeking to new key when appending DUPs.
Reinit cursor on new batch, if appending DUPs.
|
|
Avoid stomping on flags from 1st readhdr invocation
|
|
|
|
Added link to readme for https://lists.getmonero.org
|
|
|
|
5f193847 ringct: do not show verification errors with default settings (moneromooo-monero)
|
|
|
|
|
|
3880bf39 cryptonote_protocol_handler.inl: remove span read just now that failed to pass some basic tests (stoffu)
da249fd5 cryptonote_protocol_handler.inl: fix return type mismatches (int vs bool) (stoffu)
|
|
e3c68b90 README.md: mention building deps with -fPIC for static builds (moneromooo-monero)
|
|
|
|
c1886155 unit_tests: fix build after get_output_didstribution signature change (moneromooo-monero)
|
|
|
|
82b05d50 Adding required library (dependency of boost::this_thread::sleep_for) (Gene Peters)
|
|
f9d0827b Fix broken interactive daemon 'limit' commands plus RPC calls (rbrunner7)
|
|
53a1962d epee: Drop deprecated Boost.Thread header (Jan Beich)
|
|
18c2f6e2 mlog: fix setting no logs (moneromooo-monero)
|
|
b1a9e97b slow-hash: fix memory leak for Windows /karbowanec#41 (aivve)
|
|
7346a59c Build: update miniupnp submodule (anonimal)
|
|
dad10775 Only log an error if fork version is higher AND is not known. (Thaer Khawaja)
|
|
ffeeefde speedup get_output_histogram for all amounts when min_count > 0 (moneromooo-monero)
2dae0f20 wallet2: add missing parameters to get_output_histogram (moneromooo-monero)
|
|
5bd7f760 import_multisig_info: fix sanity check crash in detach_blockchain (Mikhail Mitkevichl)
|
|
pass some basic tests
|
|
|
|
|
|
|
|
|
|
|
|
f21df05 was never supposed to be merged into the master branch.
fluffypony merged #3670 before #3668 was rebased and resolved.
Note: the cherry-picked commit hashes are now invalid because #3670
was merged before #3668 was rebased with the updated repo location.
|
|
This skips the vast majority of "dust" output amounts with just
one instance on the chain. Clocks in at 0.15% of the original
time on testnet.
|
|
|
|
|
|
|
|
19e01378 Build: remove UPnP definition from snap (anonimal)
6b853980 Build: update CMake and p2p for in-tree miniupnp (anonimal)
859db52f CMake: update new location of in-tree miniupnpc (anonimal)
f21df05c Build: add miniupnp submodule (anonimal)
10685648 Build: remove in-tree miniupnpc (anonimal)
|
|
0b88fff3 simplewallet: fix help message of sign_transfer (stoffu)
|
|
f82c10dc WalletManagerImpl: reuse existing connection to daemon instead of reconnectivng every time (stoffu)
|
|
998c1461 daemon: read config file before reading any other args (stoffu)
|
|
f914df84 device: add a one off override keyword where appropriate (moneromooo-monero)
|
|
51b511be simplewallet: add version command (moneromooo-monero)
35d1269f daemon: add a version command (moneromooo-monero)
|
|
d8584fc8 util: log stack trace on crash (moneromooo-monero)
|
|
875c1cab wallet2: increase rpc timeout for get_output_distribution (moneromooo-monero)
70f23217 add top height to get_output_distribution, and cache it for rct (moneromooo-monero)
8c7363fb rpc: add missing perf timer for get_output_distribution (moneromooo-monero)
|
|
(cherry picked from commit 5ef6dcb1c4b08497533a20d0addcf1b09db51166)
|
|
(cherry picked from commit a7366b5feeffaeb65b217b2d6f138e0ab1c90192)
|
|
|
|
This should cache the vast majority of calls for long running wallets
|
|
|
|
(cherry picked from commit b16a282f97d8f6c967e8a0b1ecfd75110f095182)
|
|
Though we only need miniupnpc, rebasing and maintaining a miniupnpc-only
repo is unrealistic.
(cherry picked from commit 3c40eb768c292a4dec79d7dffd6685fd37940a2a)
|
|
Will be replaced by a submodule.
(cherry picked from commit e962216678e699a8fc7eb271a8a515f5ca65f7cb)
|
|
In file included from src/cryptonote_basic/hardfork.cpp:33:
In file included from src/blockchain_db/blockchain_db.h:42:
In file included from src/cryptonote_basic/hardfork.h:31:
contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include <boost/thread/v2/thread.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/rpc/daemon_handler.cpp:29:
In file included from src/rpc/daemon_handler.h:36:
In file included from src/p2p/net_node.h:41:
In file included from contrib/epee/include/net/levin_server_cp2.h:32:
In file included from contrib/epee/include/net/abstract_tcp_server2.h:324:
contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
#include <boost/thread/v2/thread.hpp> // TODO
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average<val, default_base>::set_base()':
contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread'
#define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x)
^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
#define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x)
^~~~~~~~~
contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep'
#define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x)
^
contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL'
#define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x)
^~~~~~~~~
|
|
|
|
|
|
|
|
|
|
|
|
b5d6c723 wallet2: store subaddress lookahead settings (stoffu)
|
|
|
|
3367ed86 blockchain_blackball: fix build with CLANG 5 (moneromooo-monero)
|
|
It doesn't like the explicit NULL dereference (which is fine, honest)
|
|
94b899db Use 'boost' mutex instead of 'std' mutex (cslashm)
2c274e05 Fix sub-address tx scan. (cslashm)
|
|
|
|
When additional keys was needed, the TX scan failed because the
derivation data was always recomputed with the main tx_key and not
the corresponding additional one.
Moreover this patch avoid perf decreasing when not using HW device.
|
|
73951cbd wallet2: request transactions in slices when scanning for known rings (moneromooo-monero)
25fe67e4 rpc: allow getting pruned blocks from gettransactions (moneromooo-monero)
|
|
08343aba tx_pool: fix loading with colliding key images (moneromooo-monero)
|
|
a9cc88ee common: make this build with unbound 1.4.20 (moneromooo-monero)
|
|
24acb66e wallet2: fix misc issues when the ringdb can't be initialized (moneromooo-monero)
|
|
0b26c4d5 wallet2: move segregation height to v7 (moneromooo-monero)
|
|
eecfb57d wallet: warn if not using the default ring size (moneromooo-monero)
|
|
aa5c2e01 simplewallet: warn about key reuse on startup (moneromooo-monero)
|
|
eb59f7c5 cryptonote_tx_util: make destinations properly shuffled (stoffu)
|
|
1e0958c0 wallet: fix default mixin (4 -> 6) (sneurlax)
|
|
|
|
0beb94f3 device: fix endianess dependence on subaddress secret key generation (moneromooo-monero)
|
|
11c933e1 fix lambda compile error on openbsd (moneromooo-monero)
|
|
c77d2bfa Add the possibility to export private view key for fast scan. (cslashm)
100b7bc1 Change mutex lock model to avoid dead lock and ensure locks are always released. (cslashm)
641dfc99 Automatic height setup when creating/restoring hw device. (cslashm)
|
|
dac3895a update block hashes for checkpoints.dat (Riccardo Spagni)
|
|
1834127c rpc: make get_output_distribution a non-restricted RPC (moneromooo-monero)
|
|
eaa8bfe7 wallet2: set from_height of GET_OUTPUT_DISTRIBUTION correctly The previous expression (stoffu)
0a619f78 wallet2: enable the mitigation only after the fork height (stoffu)
|
|
5f664793 p2p: correct port number for seed nodes (stoffu)
|
|
0098ed33 wallet2: fix for loading settings of key reuse mitigation (stoffu)
|
|
1d79c14d Revert bb19386b (Howard Chu)
522be96f Fix generating version.cpp (Howard Chu)
|
|
e520cc06 change wording in hard fork description section (Gingeropolous)
|
|
57300491 wallet: catch exceptions dealing with ringdb and warn (moneromooo-monero)
|
|
A key image may be present more than once if all but one of the
txes spending that key image are coming from blocks. When loading
a txpool from storage, we must load the one that's not from a
block first to avoid rejection
|
|
Common on currently used distros
|
|
|
|
This avoid massive memory consumption for huge wallets
|
|
and get them pruned in find_and_save_rings, since it does not need
the pruned data in the first place.
Also set decode_to_json to false where missing, we don't need this
either.
|
|
reconnectivng every time
|
|
since people seem to really want to use things the wrong way.
|
|
On client startup the device asks for authorization to export the private view key.
If user agree, the client hold the private view key allowing a fast blockchain scan.
If the user does not agree, the blockchain scan is fully done via the device.
|
|
Additional cosmetic fixes:
move 'name' as protected
remove unnecessary local var
Fix debug log
|
|
When creating/restoring wallet, if --restore-height option is not used the current estimate
height is used for starting the scan. In other words it is assume we are creating a new account.
|
|
|
|
|
|
|
|
|
|
We now force little endianness
|
|
|
|
|
|
so that those nodes can still be used for sending transactions
|
|
|
|
The previous expression
req_t.from_height = X ? Y >= Z : 0;
forces the parameter to take the value of either 0 or 1.
|
|
|
|
|
|
|
|
|
|
The requirement for CMake 3.2.0 was introduced erroneously
in commit e29282d2081709e126b1fb67f49e9d4a666794da and is no
longer present
|
|
Also removes BYPRODUCT dependency on CMake 3.2
|
|
changed wording in hard fork section because reasons. Added prospective slot of next hardfork to communicate that more are coming because it never stops.
its everywhere and all at the same time.
|
|
|
|
b1398fff core: fix use of uninitialised data (moneromooo-monero)
|
|
bb07d8d7 README: add instructions for cloning / submodules (anonimal)
|
|
Takes about 10 ms, which takes pretty much all of the get_info
RPC, which is called pretty often from wallets.
Also add a new lock so we don't need to lock the blockchain lock,
which will avoid blocking for a long time when calling the getinfo
RPC while syncing. Users of get_difficulty_for_next_block who need
the lock will have locked it already.
|
|
|
|
|
|
428fb45f update checkpoints (Riccardo Spagni)
3fedd51d update checkpoints.dat to block 1532400 (Riccardo Spagni)
83dbc5be update version to 0.12 Lithium Luna (Riccardo Spagni)
|
|
efe70a15 Unbound: add git submodule for unbound (anonimal)
84c5a9ba Unbound: remove unbound from in-tree source (anonimal)
|
|
|
|
We'll instead use a git submodule to pull from our unbound repo.
|
|
|
|
|
|
|
|
8ea3c4d5 simplewallet: new --use-english-language-names flag (moneromooo-monero)
|
|
1e393f4b wallet: make the segregation height settable (moneromooo-monero)
|
|
bb20f104 Move v7 fork to 1546000 to give more update time (moneromooo-monero)
|
|
|
|
On some Windows systems, displaying language names in their own
languages freezes the display.
|
|
via user setting first, then DNS TXT record, hardcoded fallback
|
|
9732a37e wallet_rpc_server: add sweep_unmixable as alias for sweep_dust (moneromooo-monero)
|
|
20a00266 blockchain: forbid bulletproof types before v8 (moneromooo-monero)
|
|
b86f1e5d Add command line option allowing to restrict the default sub-address lookahead in order to avoid so looooong time of set-up when creating a HW based wallet. (stoffu)
|
|
|
|
They were already forbidden implicitely, but let's make that
explicit for robustness
|
|
lookahead in order to avoid
so looooong time of set-up when creating a HW based wallet.
|
|
6f54c910 simplewallet: fix restore height prompt that got disabled by #3175 (stoffu)
|
|
524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
|
|
833f9fcf show '<Not set>' for empty wallet description (cryptochangements34)
|
|
57c0b1ed Fix typos in various files (Dimitris Apostolou)
|
|
eac3a11e wallet: more user friendly print_ring (moneromooo-monero)
79853514 wallet2_api: add key reuse mitigations API (moneromooo-monero)
b057a21d wallet2_api: add ring api (moneromooo-monero)
d32ef7b0 ringdb: factor ring addition code (moneromooo-monero)
a7da8208 wallet2_api: add blackball api (moneromooo-monero)
2ab66ff1 liblmdb: install lmdb library for wallet2_api usage (stoffu)
504428ab ringdb: use the genesis block as a db name (moneromooo-monero)
b09e5181 wallet: add a set_ring command (moneromooo-monero)
0590f62a new blockchain_usage tool, reports on output usage (moneromooo-monero)
db10dd6d wallet: make ringdb an object with database state (moneromooo-monero)
df6fad4c blockchain_utilities: new blockchain_blackball tool (moneromooo-monero)
d29ea045 wallet: add an output blackball list to avoid using those in rings (moneromooo-monero)
18eaf194 wallet: key reuse mitigation options (moneromooo-monero)
5f146873 wallet: add shared ring database (moneromooo-monero)
41f727ce add RPC to get a histogram of outputs of a given amount (moneromooo-monero)
|
|
It can now take a txid (to display rings for all its inputs),
and will print rings in a format that set_ring understands
|
|
|
|
|
|
|
|
|
|
|
|
This will avoid careless forkers polluting the shared database
even if they make their own chain. They'll then automatically
start using another subdb, and any key-reusing fork of those
forks will reuse their subdbs.
|
|
This is so one can set rings for spent key images in case the
attackers don't merge the ring matching patch set.
|
|
|
|
|
|
It scans for known spent outputs and stores their public keys
in a database which can then be read by the wallet, which can
then avoid using those as fake outs in new transactions.
Usage: monero-blockchain-blackball db1 db2...
This uses the shared database in ~/.shared-ringdb
|
|
|
|
If a pre-fork output is spent on both Monero and attack chain,
any post-fork output can be deduced to be a fake output, thereby
decreasing the effective ring size.
The segregate-per-fork-outputs option, on by default, allows
selecting only pre-fork outputs in this case, so that the same
ring can be used when spending it on the other side, which does
not decrease the effective ring size.
This is intended to be SET when intending to spend Monero on the
attack fork, and to be UNSET if not intending to spend Monero
on the attack fork (since it leaks the fact that the output being
spent is pre-fork).
If the user is not certain yet whether they will spend pre-fork
outputs on a key reusing fork, the key-reuse-mitigation2 option
should be SET instead.
If you use this option and intend to spend Monero on both forks,
then spend real Monero first.
|
|
This maps key images to rings, so that different forks can reuse
the rings by key image. This avoids revealing the real inputs like
would happen if two forks spent the same outputs with different
rings. This database is meant to be shared with all Monero forks
which don't bother making a new chain, putting users' privacy at
risk in the process. It is placed in a shared data directory by
default ($HOME/.shared-ringdb on UNIX like systems). You may
use --shared-ringdb-dir to override this location, and should
then do so for all Monero forks for them to share the database.
|
|
|
|
|
|
|
|
|
|
|