Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
in order to unbias selection from blocks with few txes
|
|
ea723eef update version to 0.13.0.4 (Riccardo Spagni)
|
|
|
|
|
|
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)
|
|
e4ce26c7 spawn: close all file descriptors before execve (moneromooo-monero)
|
|
bd482802 util: close keys file lock on exec (moneromooo-monero)
|
|
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)
|
|
|
|
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
|
|
|
|
|
|
e3e1f836 tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC (stoffu)
|
|
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)
|
|
get_transaction_pool RPC
Inspired by https://github.com/masari-project/masari/issues/93
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
8833aec0 wallet2: fix cold signing using non padded bulletproofs (moneromooo-monero)
|
|
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)
|
|
c5a97315 Remove last traces of libpcsc-lite (moneromooo-monero)
|
|
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)
|
|
977df631 Fix some calls to the translation function (Guillaume LE VAILLANT)
|
|
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)
|
|
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)
|
|
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)
|
|
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)
|
|
06d05c21 device: set device name correctly if key_on_device is set (Dusan Klinec)
|
|
17142ec9 malloc scratchpad for all supported android archs (m2049r)
|
|
fe125647 Fixup RENAME_DB() macro (Howard Chu)
|
|
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
|
|
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (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 136462
|
|
Coverity 161862
|
|
Not much we can do here
Coverity 161875
|
|
Coverity 161868
|
|
This would call terminate.
We ignore exceptions in pthread_join instead, as this is not
a fatal problem here.
Coverity 182568
|
|
Coverity 182569
|
|
Coverity 188305
|
|
Coverity 188349
|
|
|
|
Coverity 188408
|
|
Coverity 188406
|
|
|
|
|
|
Make sure target DB's record is on a writable page
|
|
|
|
|
|
Those use the extra nonce without a payment id
|
|
357441a2 add checkpoints for testnet and mainnet (Riccardo Spagni)
d9f666d7 update checkpoints.dat (Riccardo Spagni)
6b1b4e83 update version to 13.0 (Riccardo Spagni)
6f153533 update readme with v13.0 (Riccardo Spagni)
|
|
e350cc5a wallet2: fix duplicate output making it to the RPC (moneromooo-monero)
bf9a0f4c epee: fix stack overflow on crafted input (moneromooo-monero)
45683ee0 epee: fix invalid memory write reading an array entry (moneromooo-monero)
|
|
|
|
c39ad0cd tx_pool: fix tx removal at startup keeping references (moneromooo-monero)
|
|
4d0a8db0 device: fix warnings about overridden functions (moneromooo-monero)
|
|
6e270fbd wallet2_api: fix for latest code changes (moneromooo-monero)
|
|
50981c40 blockchain: add stagenet v8 and v9, two weeks before mainnet (moneromooo-monero)
|
|
b35beaa8 wallet_rpc_server: include account index in incoming_transfers RPC (moneromooo-monero)
|
|
83907f88 wallet_rpc_server: fix --run-as-service on Windows (moneromooo-monero)
|
|
|
|
|
|
|
|
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac
Split Ledger logic and device IO
|
|
|
|
instead of merging that with other scalar multiplications
where possible for speed, since this is not actually safe
|
|
|
|
|
|
Use unique_ptr to manage WalletImpl internals, rather than raw
pointers.
|
|
|
|
f3cd51a1 cryptonote tweak v2.2 (Lee Clagett)
|
|
If we originally think we have enough outputs on the blockchain
to pick random fake outputs, we might end up with not enough of
them if enough are actually blackballed.
|
|
Thanks iDunk for the windows testing
|
|
|
|
|
|
Thanks iDunk for building patches on windows
|
|
8db2d8d4 simplewallet: fix --generate-from-json setting wrong wallet filename (moneromooo-monero)
|
|
66901901 README: harmonize command formatting inside README.md (Andrea)
8cd98408 disable AES on s390x architecture (Tuan M. Hoang)
4ed30bab wallet: implement coin splitting for sweep_* 'outputs' option (whythat)
24f52396 wallet: add 'outputs' option for sweep_* commands (whythat)
52e19d69 README: Compile boost with cxxflags=-fPIC cflags=-fPIC (Italocoin Project)
0c77523d README: fill in libsodium package name for Arch (phloatingman)
|
|
f77ce675 rpc: allow pruning of json encoded txs (cryptochangements34)
|
|
9bf0105e Fixed Keccak implementation on big-endian platforms (Alexandro Sanchez)
|
|
b7660149 node_rpc_proxy: return a non empty error string on connection failure (moneromooo-monero)
|
|
05edc969 simplewallet: remove obsolete transfer_original command (moneromooo-monero)
|
|
607301bf rct: avoid repeated unnecessary conversions when accummulating (moneromooo-monero)
|
|
ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero)
|
|
2ace509a simplewallet: print reason why refresh+password is needed (moneromooo-monero)
|
|
4f81cd3a rpc: add cumulative difficulty in block header data (moneromooo-monero)
|
|
55c7cd14 Adding expect<T> - a value-or-error implementation (Lee Clagett)
|
|
b2bb9312 blockchain: simplify output distribution code (moneromooo-monero)
befdcbf4 db_lmdb: do not use base for cumulative distribution (moneromooo-monero)
|
|
|
|
|
|
|
|
|
|
6e6ffc06 wallet2_api: bring up to latest wallet api (moneromooo-monero)
|
|
67a56a9f rctTypes: fix incorrect serialization (stoffu)
|
|
26971d46 WalletAPI: 'hasMultisigPartialKeyImages' function added (naughtyfox)
|
|
7a76354c wallet2: import_multisig forward refresh exception (naughtyfox)
|
|
8501b8df crypto_ops_builder: link to EdDSA/Ed25519 draft RFC (moneromooo-monero)
|
|
03c07b16 rpc: return "already mining" in start_mining if already mining (moneromooo-monero)
|
|
cd647612 rpc: don't include start time if restricted (moneromooo-monero)
|
|
e6117282 daemon: request no PoW hashes we don't need when asking for blocks (moneromooo-monero)
|
|
4e1e9a60 blockchain: add mainnet v8 height targetting 18 october (moneromooo-monero)
|
|
76f95f05 rpc: allow to pass RPC login via RPC_LOGIN env var (Dusan Klinec)
|
|
f0bc684c mnemonics: fix outrageous compile time with CLANG in release (moneromooo-monero)
|
|
56b50faa wallet: use wipeable_string in more places where a secret is used (moneromooo-monero)
07ec748c wipeable_string: add hex_to_pod function (moneromooo-monero)
|
|
ba8dd347 api/wallet: properly disable key encryption (stoffu)
|
|
f9b22a7b hw_device: support for multiple devices added [for review] (Dusan Klinec)
|
|
c336d0f2 add daemonizer to rpc wallet (jcktm)
|
|
42397359 Fixup 32bit arm build (TheCharlatan)
a06d2581 Fix Windows build (TheCharlatan)
ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan)
cbbf4d24 Adapt translations to upstream changes (TheCharlatan)
db571546 Updated pcsc url (TheCharlatan)
f0ba19fd Add lrelease to the depends (TheCharlatan)
cfb30462 Add Miniupnp submodule (TheCharlatan)
5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan)
d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan)
56b6e41e Add support for apple and arm building (TheCharlatan)
29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan)
8db3d573 Modify depends for monero's dependencies (TheCharlatan)
0806a23a Initial depends addition (TheCharlatan)
|
|
Implemented strategy splits total amount into N equal parts,
where N is a specified number of outputs. If N > 1, dummy
change output is NOT created.
rebased by moneromooo
|
|
'outputs' option allows to specify the number of
separate outputs of smaller denomination that will
be created by sweep operation.
rebased by moneromooo
|
|
|
|
|
|
|
|
This makes it easier to avoid bugs on the caller side if errors are
represented by non empty strings.
This fixes the refresh height setting in new wallets when no daemon
is running.
|
|
|
|
|
|
|
|
|