Age | Commit message (Collapse) | Author | Files | Lines |
|
0ec360b4 CryptonightR: define out i386/x86_64 specific code on other archs (moneromooo-monero)
773509dd slow-hash: fix build on arm (moneromooo-monero)
0cb6a763 cmake: ARCH_ID fixes for cross compilation (TheCharlatan)
|
|
348320a3 wallet api/device: set estimated restore height if none is provided (selsta)
3c1c2499 wallet api: don't truncate address in subaddress_account (selsta)
|
|
3dfef479 core: fix adding new pre-hoh block when a tx is already in the pool (moneromooo-monero)
|
|
|
|
|
|
Same behaviour as subaddress.cpp now.
|
|
|
|
|
|
|
|
8bf9243b update readme wording to more accurately reflect PoW (Riccardo Spagni)
dd0e1d22 bump version, update readme to reflect, update checkpoints (Riccardo Spagni)
392f0858 update quick sync checkpoints and hash (Riccardo Spagni)
|
|
|
|
|
|
|
|
3233fdea wallet: fix payment ID decryption for construction data (Dusan Klinec)
|
|
|
|
395eb921 blockchain: remove buggy long term block weight cache (moneromooo-monero)
|
|
It seems to be buggy on reorgs, and prevents the use of
a blockchain with two nodes.
We'll speed this up again if/when the need arises.
|
|
0c0f6034 blockchain: fix block template creation race (moneromooo-monero)
|
|
If two create_block_template are called at nearly the same time,
and a block is added at nearly the same time, this could happen:
- the blockchain top block is B0
- thread 1 enters create_block_template, takes blockchain lock
- thread 1 creates a fresh block referencing prev block B0
- thread 1 releases blockchain lock
- thread 0 adds a new block
- thread 0 enters create_block_template
- thread 0 updates block template
- thread 1 takes txpool lock and continues creating block template
- thread 1 overwrites block template with previous data
|
|
1d628550 blockchain: fix long term weight addition on pop/init (moneromooo-monero)
|
|
993a1994 tests: add a CNv4 JIT test (moneromooo-monero)
736f2579 crypto: plug CNv4 JIT into cn_slow_hash (moneromooo-monero)
2e9b988a crypto: clear cache after generating random program (moneromooo-monero)
683c3d13 performance_tests: add tests for new Cryptonight variants (moneromooo-monero)
|
|
3b7967c6 rpc: fix wrongly formatted JSON for pruned tx (stoffu)
|
|
|
|
|
|
Enabled by setting the MONERO_USE_CNV4_JIT env var to 1
|
|
|
|
|
|
2c0fc8b4 db_lmdb: fix missing mdb_dbi_close in migration (moneromooo-monero)
|
|
32ebc95d CMakeLists.txt: detect and use -pthread compiler flag (moneromooo-monero)
be2d061b miner: fix build with boost 1.69 (moneromooo-monero)
1de62cb1 mlocker: fix access to global lock map after dtor on exit (moneromooo-monero)
5544bb83 mlocker: fix dtor ordering problem (moneromooo-monero)
|
|
4b32859d CNv4 JIT compiler for x86-64 and tests (SChernykh)
|
|
Fix for #4399.
Also unifies code for serializing pruned tx to binary/json into one.
(Cherry-picked from #4586)
|
|
Minimalistic JIT code generator for random math sequence in CryptonightR.
Usage:
- Allocate writable and executable memory
- Call v4_generate_JIT_code with "buf" pointed to memory allocated on the previous step
- Call the generated code instead of "v4_random_math(code, r)", omit the "code" parameter
|
|
Fixed by hyc
|
|
The cmake thread detection just ain't enough to always work
|
|
|
|
as the lock, it now leaks
|
|
leak the mutex instead, it's a one off
|
|
7aa0cc58 blockchain: fix m_long_term_block_weight_height initialization (moneromooo-monero)
|
|
Also check return of that function, it can now return error
|
|
bd7f8251 blockchain: forbid older BP rct versions from v11 (moneromooo-monero)
|
|
|
|
f9d820ad Fix v3/v4 db conversion (moneromooo-monero)
|
|
|
|
0b0fb709 Build fixes for some platforms (moneromooo-monero)
3ac3366a blockchain: add v10 fork heights (moneromooo-monero)
c2b8037a Adding cnv4-2 tweaks (Lee Clagett)
1b77e80a Cryptonight variant 4 aka CryptonightR (SChernykh)
b980fec4 slow-hash: some more big endian fixes (xiphon)
cd22a02d slow-hash: fix for big endian (moneromooo-monero)
96f53815 Small function declaration cleanup in slow-hash.c (Pol Mauri)
612ecb13 Add support for V10 protocol with BulletProofV2 and short amount. (cslashm)
823b38bc Fix dummy decryption in debug mode (cslashm)
377de050 fix log namespace (cslashm)
ff9853b4 New scheme key destination contrfol (cslashm)
041af954 cryptonote: Fix enum check in expand_transaction_2 (Tom Smeding)
1767c817 simplewallet: tell the user to complain to the recipient (moneromooo-monero)
c2d0e9a1 ringct: fix v1 ecdhInfo serialization (moneromooo-monero)
0b18fa54 ringct: the commitment mask is now deterministic (moneromooo-monero)
6ba3a116 ringct: encode 8 byte amount, saving 24 bytes per output (moneromooo-monero)
77f8f454 ringct: save 3 bytes on bulletproof size (moneromooo-monero)
f7f67600 add a bulletproof version, new bulletproof type, and rct config (moneromooo-monero)
5b07e0c9 core: include a dummy encrypted payment id when no payment is used (moneromooo-monero)
2eff9b12 core, wallet: remember original text version of destination address (moneromooo-monero)
e10d12b6 simplewallet: disable long payment ids by default (moneromooo-monero)
b84b350f blockchain: fix wrong hf version when popping multiple blocks (moneromooo-monero)
1c7650f4 simplewallet: remove ability to transfer with detached short payment ids (moneromooo-monero)
4a7917ef blockchain: fix block rate check for empty blockchains (moneromooo-monero)
34d2850f ignore child process when exec (Jethro Grassie)
5f89caea wallet2: fix ring reuse breaking when using histogram (moneromooo-monero)
db1e0a53 core: fix unmixable special case allowing ring size below 11 (moneromooo-monero)
66772f12 blockchain: include number of discarded blocks in --reorg-notify (moneromooo-monero)
af1ade4e core: add a few more block rate window sizes (moneromooo-monero)
fb0dbab9 notify: fix tokenizing being too strict (moneromooo-monero)
0ac22d0e core: add --block-rate-notify (moneromooo-monero)
7d2f817f blockchain: add --reorg-notify (moneromooo-monero)
1168e8d5 cryptonote_core: warn when the block rate deviates from expectations (moneromooo-monero)
842a5d8b notify: handle arbitrary tags (moneromooo-monero)
ebc60a09 ArticMine's new block weight algorithm (moneromooo-monero)
|
|
|
|
|
|
|
|
It introduces random integer math into the main loop.
|
|
|
|
|
|
- These functions are declared twice in slow-hash.c. Remove one of the copies.
- The declarations have the wrong return type, should be void, not int.
Function definitions here: https://github.com/monero-project/monero/blob/1e74586ee99e4bd89626d2eb4d23883cd91f0f81/src/crypto/aesb.c#L151-L180
Test plan: make release-test
|
|
|
|
|
|
|
|
Implies protocol version management.
|
|
This was noticed because GCC warned about using an enum value in a
boolean context.
|
|
for long payment ids
|
|
The change made for v2 broke v1, and we have no way to know which
version we're serializing here. However, since we don't actually
care about space savings in this case, we continue serialiazing
both mask and amount.
|
|
saves space in the tx and is safe
Found by knaccc
|
|
Found by knaccc
|
|
Found by luigi1111
|
|
This makes it easier to modify the bulletproof format
|
|
For better transaction uniformity, even though this wastes space.
|
|
|
|
unless --long-payment-id-support is used
|
|
Since we keep track of the hf version in the db, we pick it up
from there instead of doing the full reorg call, which is quite
expensive
|
|
It seemed like a good idea at the time
|
|
|
|
|
|
|
|
|
|
|
|
The 10 minute one will never trigger for 0 blocks, as it's still
fairly likely to happen even without the actual hash rate changing
much, so we add a 20 minute window, where it will (for 0 blocks)
and a one hour window.
|
|
|
|
This runs a command whenever the block rate deviates too much
from the expectation
|
|
This will trigger if a reorg is seen. This may be used to do things
like stop automated withdrawals on large reorgs.
%s is replaced by the height at the split point
%h is replaced by the height of the new chain
%n is replaced by the number of new blocks after the reorg
|
|
The warning threshold is set to allow a false positive every
ten days on average.
|
|
|
|
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.
|
|
0406724c Makefile: fix building without a git tree (moneromooo-monero)
|
|
|
|
f985d70f wallet2: extend fake out picks away from the gamma pick (moneromooo-monero)
|
|
in order to unbias selection from blocks with few txes
|
|
ea723eef update version to 0.13.0.4 (Riccardo Spagni)
|
|
64c8981c Providing user supplied default constructor for expect<void> (Lee Clagett)
|
|
|
|
|
|
fea60d6a console_handler: add a global log when exiting via EOF (moneromooo-monero)
|
|
14515ef2 blockchain: move two new verification errors to the verify category (moneromooo-monero)
|
|
742dec8d rpc: fix output distribution caching ignoring chain changes (moneromooo-monero)
|
|
c28ea6b6 device: fixed Ledger Nano S device selection (xiphon)
|
|
8d098ad5 Rename "blackball" for clarity (moneromooo-monero)
|
|
a23c80df core: don't verify range proofs multiple times (moneromooo-monero)
|
|
d7ff707b tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool (stoffu)
|
|
1e8a9d7d ANSI colors in Windows 10 (v0.13) (iDunk5400)
|
|
e4ce26c7 spawn: close all file descriptors before execve (moneromooo-monero)
|
|
bd482802 util: close keys file lock on exec (moneromooo-monero)
|
|
It's a common confusion point for users which run monerod
without stdin and with --detach
|
|
Lest we get people get scared again
|
|
0 is placeholder for whole chain, so we should compare chain
height changes rather than chain-height-or-zero. Even this isn't
totally foolproof if a blocks are popped and the same number
added again, but it is much better as it prevents the data from
slowly going out of sync.
|
|
Apparently some people seem to think it's a censorship list...
|
|
|
|
|
|
|
|
No need to give whatever we're calling access to what we use
|
|
|
|
|
|
8e7baeb3 daemon: fix reading past stack on exit (moneromooo-monero)
|
|
7ae3ebc7 wallet_rpc_server: fix change_wallet_password RPC (moneromooo-monero)
|
|
|
|
32ba6f3a wallet2_api: fix generating new wallet in the GUI (moneromooo-monero)
|
|
It was creating a new wallet without a password first (this should
be fixed), then not changing the password correctly
|
|
|
|
dae5fcaa update the version in readme (Riccardo Spagni)
5881bec7 bump version to 0.13.0.3 (Riccardo Spagni)
|
|
|
|
|
|
e3e1f836 tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC (stoffu)
|
|
26e0cecb Dockerfile: init and update submodules (Tyler Baker)
|
|
82037f23 build: use ARCH 'native' by default, allow to configure and override it (xiphon)
|
|
a04d68f6 SOFTWARE is the default wallet device (m2049r)
|
|
e25d21a7 simplewallet: mark default-ring-size setting as obsolete (moneromooo-monero)
|
|
d7f3805d Revert "p2p: connect via the bound ip, if any" (moneromooo-monero)
|
|
3b04e2e3 daemon: do not run complex code in a signal handler (moneromooo-monero)
|
|
2509717b simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
|
|
067e232b password: fix secure input with echo on windows (moneromooo-monero)
|
|
b215ea9f password: fix backspace outputting ^? on linux on echoing secure input (moneromooo-monero)
|
|
get_transaction_pool RPC
Inspired by https://github.com/masari-project/masari/issues/93
|
|
|
|
The Docker image is failing to build, as the submodules are not being
explicitly initialized and updated.
Fixes: https://github.com/monero-project/monero/issues/4582
Signed-off-by: Tyler Baker <tyler@foundries.io>
|
|
|
|
Thanks to iDunk for the testing back and forth
|
|
This reverts commit 909398efc79cb1fa92e330e9a50a316ca5858953.
It looks like it's causing trouble with tor on some setups
|
|
|
|
instead, delegate the work to a one off thread
and notify it from the signal handler
|
|
|
|
|
|
e0f4606a remove -release from the version string (Riccardo Spagni)
d7d6d238 update version for release (Riccardo Spagni)
|
|
|
|
|
|
8833aec0 wallet2: fix cold signing using non padded bulletproofs (moneromooo-monero)
|
|
02c2b43a Utils: Add Dockerfile for android 64-bit build (Gregory Lemercier)
|
|
c716a331 device: increase ledger timeout to 2 minutes (selsta)
|
|
bd7b800f device_io_hid: fix DEFAULT_* type (too short) and init time (moneromooo-monero)
|
|
8f22e808 device: destroy device objects on exit (moneromooo-monero)
|
|
77471e23 blockchain_blackball: fix stray ! (moneromooo-monero)
|
|
c95a1408 CMakeLists.txt: Fix typo (erciccione)
|
|
c5a97315 Remove last traces of libpcsc-lite (moneromooo-monero)
|
|
17701864 Depends: build hidapi with -fPIC (iDunk5400)
|
|
This reverts commit b26ab0b5803af4ffe23de11a45e43877301a4902.
|
|
85e58cb2 blockchain_blackball: fix stats double counting (moneromooo-monero)
|
|
9acf42d3 Multisig M/N functionality core tests added (naughtyfox)
9f3963e8 Arbitrary M/N multisig schemes: * support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation (naughtyfox)
|
|
21a624af Consolidate HID depends makefiles into single recipe (TheCharlatan)
|
|
f9485a36 tests: update crypto tests data file after PRNG changes (moneromooo-monero)
|
|
0656050f README: update MSYS2 dependencies for Ledger (Lafudoci)
|
|
3d722db4 wallet-cli: Update French translation (Guillaume LE VAILLANT)
|
|
cbdd6b91 Linux: Fix building of static binaries with hw device support (iDunk5400)
|
|
977df631 Fix some calls to the translation function (Guillaume LE VAILLANT)
|
|
fb3593c2 Add check if submodules need to be updated (TheCharlatan)
|
|
02d3ef7b blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
|
|
34a85e0c wallet2: disable height based segregation (moneromooo-monero)
|
|
c5928bde wallet2_api: fix build with C++14 (moneromooo-monero)
|
|
a0613532 secure_pwd_reader: Add proper Unicode handling [Ryo contribution] (fireice-uk)
579383c2 simplewallet: Add Unicode input_line [Ryo backport] (fireice-uk)
|
|
7f2ad1a7 functional_tests: fix linking on Windows (iDunk5400)
|
|
7c790f11 Fix rtxn usage in BlockchainLMDB::get_estimated_batch_size (Howard Chu)
|
|
5ec929fb daemon: do not display uptime when not known (moneromooo-monero)
|
|
bccd88dd wallet2: clear found out for every tx key (doy-lee)
|
|
2c74b1a1 wallet_rpc_server: include all transfer records for a txid (moneromooo-monero)
|
|
25e5890d wallet: fix --generate-from-json using wrong password (moneromooo-monero)
|
|
d5541e44 common: Windows 'spawn' support for tx and block notifications (xiphon)
|
|
fa9e54b6 build: fix gcc false positive 'stringop-overflow' warning (xiphon)
|
|
6da36ea0 wallet2_api: blackball/unblackball now take two parameters (moneromooo-monero)
|
|
31559e6a Update unbound submodule to 7f23967 (iDunk5400)
|
|
2fbf38ee Fix 32bit depends builds (TheCharlatan)
17142ec9 malloc scratchpad for all supported android archs (m2049r)
6a781408 Make depends use self built clang for darwin (TheCharlatan)
69da14e1 fixes make debug compilation on OSX (Dusan Klinec)
fe125647 Fixup RENAME_DB() macro (Howard Chu)
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec)
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
89288863 README: mention ASAN usage alongside valgrind (moneromooo-monero)
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)
a69271fa Fixed a typo (Piotr Kąkol)
92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox)
43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
6f5360b3 bump version to 0.13.0.1 (Riccardo Spagni)
cf470bf3 switch from master to rc (Riccardo Spagni)
|
|
fa942ef6 daemon: silence daemon update warnings on testnet (iDunk5400)
|
|
bef1750f unit_tests: fix longstanding DNS related unit test (moneromooo-monero)
|
|
8110bea3 dns_utils: refresh list of usable DNSSEC servers (moneromooo-monero)
|
|
73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
|
|
7dd11711 wallet2: fix transfers between subaddresses hitting the sanity check (moneromooo-monero)
|
|
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero)
3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero)
a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero)
1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero)
fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero)
2e2139ff epee: do not propagate exception through dtor (moneromooo-monero)
0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero)
1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero)
418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero)
ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero)
6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero)
53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero)
e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero)
661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero)
5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero)
7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero)
a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero)
d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero)
02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero)
c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
|
|
921b0fb1 use default create_address_file argument (m2049r)
|
|
85318e78 build: set ARCH_FLAG before compiler/linker flag checks (xiphon)
|
|
06d05c21 device: set device name correctly if key_on_device is set (Dusan Klinec)
|
|
17142ec9 malloc scratchpad for all supported android archs (m2049r)
|
|
6a781408 Make depends use self built clang for darwin (TheCharlatan)
|
|
69da14e1 fixes make debug compilation on OSX (Dusan Klinec)
|
|
fe125647 Fixup RENAME_DB() macro (Howard Chu)
|
|
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec)
|
|
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
|
|
89288863 README: mention ASAN usage alongside valgrind (moneromooo-monero)
|
|
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)
|
|
a69271fa Fixed a typo (Piotr Kąkol)
|
|
92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
|
|
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
|
|
7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox)
|
|
43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
|
|
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
|
|
Those take a command line of the form "A [B]", with A being the
name (and optional path, if not in the caller's CWD, but fully
qualified path is recommended, avoids possible security issues)
to a program, and optional arguments. Any occurence of the two
character string "%s" will be replaced by the hash of the block
or transaction which triggered the notification.
Tokenization is barebones. If you want things like pipes, calls
to paths with spaces, etc, then use a script (though exec time
will suffer).
block-notify is called when a new block is added onto the chain.
tx-notify is called when a new transaction happens with the
wallet as source and/or destination.
It is the notification program's responsibility to determine what
to do in those cases.
Note that this is asynchronous, so it is very possible that:
- the notification programs will be run out of order
- several events happen before the notification for the first one
A Windows port would be nice if someone wants to make one.
|
|
The key image (which was only supplied if verbose was true) is
readily available, not a secret key, and it was only modelled
after the CLI command because it's a bit spammy for the CLI.
|
|
Transfers between subaddresses are accounted for differently
|
|
Coverity 175293, 175312, 175266
|