Age | Commit message (Collapse) | Author | Files | Lines |
|
Contains two modifications to improve ASIC resistance: shuffle and integer math.
Shuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth.
Integer math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop.
More details and performance numbers: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md
|
|
ee31383 db_lmdb: don't sync a read only DB (moneromooo-monero)
|
|
8d578f1 memwipe: don't call the workhorse for 0 bytes (moneromooo-monero)
|
|
639ca3b core_tests: add --filter to select which tests to run (moneromooo-monero)
|
|
2951436 wallet: warn when payment IDs are used (moneromooo-monero)
|
|
8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero)
|
|
96f8c62 README: remove mentions of external miniupnpc dependency (moneromooo-monero)
|
|
61caab8 crypto: remove slight bias in key generation due to modulo (moneromooo-monero)
|
|
a4272de wallet2: unlock keys file before calling verify_password (needed for Windows) (stoffu)
|
|
ed7825d monero-wallet-cli: added locked_sweep_all command (jcktm)
|
|
|
|
8c4db68 node_rpc_proxy: factor a few RPC calls using get_info (moneromooo-monero)
|
|
d6440ab wallet2: recover from index out of hashchain bounds error (moneromooo-monero)
|
|
d95bc44 blockchain: fix getting invalid block data on failure (moneromooo-monero)
|
|
aa0ea0a blockchain: set the m_verifivation_failed flag in a couple more places (moneromooo-monero)
|
|
438d52d remove epee from link lines where it's redundant (moneromooo-monero)
|
|
ef649f9 crypto: remove unused unsafe random scalar generator (moneromooo-monero)
|
|
3474154 gtest: use -fPIC with CLANG too (moneromooo-monero)
|
|
d6d78f1 Allow fractional outputs to be ignored (stoffu)
|
|
80d7c6c blockchain_utilities: report file offset where a read error occurs (moneromooo-monero)
|
|
13851b2 simplewallet.sweep_all: show usage when parsing fails (stoffu)
|
|
e6f4d4a unit_tests: do not recreate the same base rct sig all the time (moneromooo-monero)
|
|
41b4bf9 tx_pool: cache check_tx_inputs results (moneromooo-monero)
|
|
7cdd147 Changed URLs to HTTPS (einsteinsfool)
|
|
3e46db9 rpc: add a non binary get_transaction_pool_hashes RPC (moneromooo-monero)
|
|
87e158b device_ledger: factor the prologue code (moneromooo-monero)
|
|
0c41488 miner: show id and height when a block is found (stoffu)
|
|
bd9e4e3 daemon: show a bit more info with print_block (stoffu)
|
|
6cb9707 simplewallet: remove leftover global debug trace (moneromooo-monero)
|
|
09f43b9 crypto: add a README pointing to the SUPERCOP licence (moneromooo-monero)
|
|
e5592c4 rpc: add blockchain disk size to getinfo (moneromooo-monero)
|
|
45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
|
|
50af357 alt_chain_info can now give more info about a particular alt chain (moneromooo-monero)
|
|
149da42 db_lmdb: enable batch transactions by default (stoffu)
34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn)
9e1403e update get_info RPC and bump RPC version (vicsn)
207b66e first new functional tests (vicsn)
|
|
4c00a4d unit_tests: add device unit tests (moneromooo-monero)
|
|
This can happen when there's a very large reorg on the daemon
(ie, on testnet)
|
|
This gets rid of the temporary precalc cache.
Also make the RPC able to send data back in binary or JSON,
since there can be a lot of data
This bumps the LMDB database format to v3, with migration.
|
|
Subaddresses are better for privacy
|
|
This would only throw
|
|
Some of them don't like it
|
|
fc39d3b2 wallet2: ensure outputs are processed only once (moneromooo-monero)
|
|
22411149 blockchain_import: make sleep compile on Windows (iDunk5400)
|
|
This should be proof against any way one might get to multiple
processing, such as generating the same derivation from the
same pubkey, etc
|
|
It's not 100% certain it'll be needed, but it avoids getinfo
needing the blockchain lock and potentially blocking
|
|
|
|
e6479220 bump version to 12.3 (Riccardo Spagni)
|
|
|
|
|
|
|
|
9c211b50 docker: update to new versions of dependencies (HomDx)
|
|
|
|
|
|
58cceaad wallet2: fix double counting outs if the tx pubkey is duplicated (moneromooo-monero)
|
|
dead780f abstract_tcp_server2: fix use after free (moneromooo-monero)
|
|
34de7bc2 device_ledger: fix buffer underflow on bad data from device (moneromooo-monero)
41e9cab4 device: misc cleanup (moneromooo-monero)
3b4dec2d device_ledger: fix potential buffer overflow from bad size calc (moneromooo-monero)
|
|
9d7f6e60 simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
|
|
df9d50a8 wallet2: fix read buffer overflow in import_key_images (moneromooo-monero)
|
|
66df13a5 wallet-rpc.getaddress: throw if index is out of bound (stoffu)
|
|
2a19697b wallet2: fix double header in unsigned transfer file (moneromooo-monero)
|
|
5b5828fc zmq_server: fix bind call when address and/or port are empty (moneromooo-monero)
|
|
b85acb4c Fix RPC crashes that didn't check for an open wallet (Howard Chu)
|
|
bc443494 wallet2: fix out of sync account tag cache (moneromooo-monero)
|
|
|
|
1a526ed5 abstract_tcp_server2: restart async accept on error (moneromooo-monero)
|
|
Also added notes to WalletManager::verifyWalletPassword (which afaik seems unused
by anyone at the moment) regarding the need to unlock the keys file beforehand.
|
|
|
|
Takes advantage of caching
|
|
|
|
|
|
|
|
|
|
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
|
|
when a block being added to the main chain is invalid.
This ensures the peer is banned after a number of these.
|
|
For some reason, this confuses and kills ASAN on startup
as it thinks const uint8_t ipv4_network_address::ID is
defined multiple times.
|
|
|
|
|
|
9a39b7d wallet2: fix build for windows (std::max again) (moneromooo-monero)
|
|
49dc78d util: fix mistakes made in #3994 (stoffu)
|
|
29254fc api/wallet: add missing arg to wallet2::refresh() (stoffu)
|
|
|
|
|
|
4510f41 Wallet API: add some missing override keyword (stoffu)
|
|
1d17647 epee.string_tools: add conversion between UTF-8 and UTF-16 (stoffu)
59de6f8 util: add file_locker class (stoffu)
3d623a8 wallet: prevent the same wallet file from being opened by multiple processes (stoffu)
|
|
84d9e7f blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
|
|
9b38551 wallet_rpc_server: fix build - forgot to build rpc version (moneromooo-monero)
|
|
Also remove dust() from UnsignedTransactionImpl (already in PendingTransactionImpl)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dcbc17e wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
|
|
8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
|
|
0a5292c wallet2: use decoded amount when reporting repeated output key (stoffu)
|
|
25c15dc wallet2: use correct fee for split txes (stoffu)
|
|
798dfcf wallet: allow unspendable unmixable outputs to be discarded (stoffu)
|
|
2d10830 db_ldmb: print db version when complaining about incompatibility (moneromooo-monero)
|
|
b628503 Remove old logic saved in comments. (jeandudey)
|
|
08b85a8 cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu)
0cf80ba net_node: resolve host for node addresses given via command line flags (stoffu)
|
|
This is based on how much an attacking miner stands to lose in block
rewardy by mining a private chain which double spends a payment.
This is not foolproof, since mining is based on luck, and breaks
down as the attacking miner nears 50% of the network hash rate,
and the estimation is based on a constant block reward.
|
|
362f5e6 simplewallet: don't confirm missing payment ID when sending to only subaddresses (stoffu)
|
|
a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
|
|
|
|
|
|
Helps a bit when running with valgrind
|
|
Speeds up syncing with a lot of outgoing outputs as key generation
runs Cryptonight.
|
|
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
|
|
|
|
|
|
key derivation and checking for incoming outputs are threaded
in batch before adding blocks to the local blockchain. Other
minor bits and bobs are also cached.
|
|
|
|
|
|
|
|
|
|
Processing typically is the bottleneck
|
|
|
|
|
|
|
|
also use reserve where appropriate
|
|
|
|
|
|
|
|
|
|
0309615 device_ledger: fix bad memory access on connect error (moneromooo-monero)
|
|
2d5921e blockchain: avoid duplicate db query for height (moneromooo-monero)
|
|
1789b76 cryptonote_protocol_handler: log when dropping a peer (moneromooo-monero)
|
|
8766528 epee: fallback to a counter if gmtime fails when rotating logs (moneromooo-monero)
|
|
4ecf714 epee: fix include for ofstream (moneromooo-monero)
|
|
948c482 simplewallet: grammar fix in warning message (moneromooo-monero)
|
|
9ddb07f update readme to include debian one liner for deps (Gingeropolous)
|
|
f61fe2e Update readme to include pcslite dependency (Gingeropolous)
|
|
55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
|
|
2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
|
|
d7a6b72 wallet2: fix bulletproof cold signing (moneromooo-monero)
|
|
c367609 blockchain_import: warn+delay about using --dangerous-unverified-import (moneromooo-monero)
|
|
8cc4606 snap: strip metadata from icon.png (moneromooo-monero)
|
|
bf26920 wallet2: fix get_approximate_blockchain_height for stagenet (stoffu)
|
|
d81e042 tx_pool: initialize bitflags padding since it gets written to storage (moneromooo-monero)
|
|
8fc0cdb wallet2: lower default for subaddress lookahead when restoring with hardware (stoffu)
248310d Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (stoffu)
46e90b7 Wallet API: add support for wallet creation from hardware device (stoffu)
|
|
d45cd37 fix typos in language files and rpc_args.cpp (ordtrogen)
|
|
7bf99a2 fix string handling for donation message (cryptochangements34)
|
|
|
|
This is called a lot when creating a block template, and
does not change until the blockchain changes.
This also avoids tx parsing when cached.
|
|
|
|
|
|
use snprintf "just in case" where appropriate
consistently use unsigned for temp values
pass std::string by const ref rather than by value
add length check (which can't happen in practice) for memcpy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This should help new nodes predict how much disk space will be
needed for a full sync
|
|
261ee56 don't limit miner threads in wallet (cryptochangements34)
|
|
|
|
62c8c07 wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
|
|
01cc978 ringct: remove an unnecessary scalarmultBase in zeroCommit (moneromooo-monero)
|
|
2861289 readme - explain building master vs. release (Gingeropolous)
|
|
8962f00 simplewallet: add optional trusted/untrusted argument to set_daemon (moneromooo-monero)
941a608 util: consider Tor/I2P addresses to be non local (moneromooo-monero)
2b3357e README: mention --untrusted-daemon (moneromooo-monero)
|
|
5f00df3 Update Readme to indicate recommended version (Gingeropolous)
|
|
afed978 Fixes #3645: error on freebsd lambda return values forced to std::string (rockhouse)
|
|
ace2eda blockchain: pop forked blocks only when DB is not read-only (stoffu)
|
|
4f3a4fb blockchain: return error when requesting non existent output (moneromooo-monero)
|
|
2b0c632 tx_pool: hold off parsing a tx blob till we actually need it (moneromooo-monero)
|
|
f8dd433 epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero)
5db9e3c unit_tests: add tests for local IP range detection (moneromooo-monero)
|
|
63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)
|
|
6b8568e simplewallet.sign_transfer: rename export to export_raw, add help message (stoffu)
|
|
1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
|
|
6f9260e handle optional miner params better (cryptochangements34)
|
|
91663fc adding win building details. (k1nghat)
|
|
099bb83 easylogging++: cached allowed categories (moneromooo-monero)
|
|
|
|
|
|
|
|
5a412b7 disable file size sanity check when loading the wallet cache (moneromooo-monero)
|
|
de1ffe0 p2p: warn when no incoming connections are seen for a while (moneromooo-monero)
|
|
26c569d add disclaimer about 3rd party packages (jtgrassie)
|
|
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
|
|
bdf5a3a Fix PCSC compilation under windows (cslashm)
f17383a Fix CMAKE config for PCSC in order to avoid msys DLL dependencies (cslashm)
|
|
d44d19c Fixed for compilation in big endian PPC. (nioroso-x3)
|
|
4764929 use deterministic viewkey if not supplied (cryptochangements34)
|
|
16e209e core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero)
|
|
558d05b epee: log type name when a container size check fails (moneromooo-monero)
a2566db object_sizes: add a few useful types (moneromooo-monero)
|
|
|
|
|
|
|
|
db55263 threadpool: allow constructing an object, and misc tweaks (moneromooo-monero)
ce173cb core: remove threadpool dependency from header (moneromooo-monero)
3147468 unit_tests: add threadpool unit test (moneromooo-monero)
|
|
|
|
89e51ec simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet (jcktm)
|
|
f357210 Fix Typo (Rafficer)
|
|
9c2a7b4 wallet-rpc: watch-only and cold wallet features added (ph4r05)
|
|
eb9f3a3 check_spend_proof (itssteven)
|
|
4812c06 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
|
|
fa0839f Ensure m_timestamps has the correct number for computing difficulty. (thaerkh)
|
|
1590183 p2p: fix fallback seed node usage (moneromooo-monero)
|
|
b5cb1bc blockchain: avoid exception if asked for a block we do not have (moneromooo-monero)
|