jw
43a6abcd10
Merge pull request #9 from matthewincognito/clang-build-fix
...
blockchain_blackball: fix build with CLANG 5
6 years ago
moneromooo-monero
52572e9b21
blockchain_blackball: fix build with CLANG 5
...
It doesn't like the explicit NULL dereference (which is fine, honest)
(cherry picked from commit 3367ed863c
)
6 years ago
jwinterm
0b26e58497
block 202612 and 685498 fix
6 years ago
wowario
0ac4b8e63e
increase ringsize to 10
6 years ago
jw
a47d1a3d75
Merge pull request #1 from wowario/difficulty-algorithm
...
Add LWMA difficulty algorithm
6 years ago
wowario
efe03eb037
added LWMA
6 years ago
jw
427de2986f
Merge pull request #2 from wowario/master
...
rename to wownero
6 years ago
wowario
a801517396
rename to wownero
6 years ago
Matthew Incognito
ff29cd248d
simplewallet: Update minimum and default ring size
6 years ago
jwinterm
64aab43a42
Fix decimal thing
6 years ago
jwinterm
7f2d79ad44
Tweak final emission check
6 years ago
jwinterm
5c4b0b97b4
Update hardcoded seed nodes
6 years ago
jwinterm
c473f01310
Initial commit
6 years ago
moneromooo-monero
b1398fff40
core: fix use of uninitialised data
6 years ago
Riccardo Spagni
428fb45f68
update checkpoints
6 years ago
Riccardo Spagni
3fedd51d26
update checkpoints.dat to block 1532400
6 years ago
Riccardo Spagni
83dbc5be76
update version to 0.12 Lithium Luna
6 years ago
Riccardo Spagni
df91d7bcbd
Merge pull request #3426
...
8ea3c4d5
simplewallet: new --use-english-language-names flag (moneromooo-monero)
6 years ago
Riccardo Spagni
b8ccd47b9f
Merge pull request #3419
...
1e393f4b
wallet: make the segregation height settable (moneromooo-monero)
6 years ago
moneromooo-monero
bb20f104ba
Move v7 fork to 1546000 to give more update time
6 years ago
moneromooo-monero
8ea3c4d544
simplewallet: new --use-english-language-names flag
...
On some Windows systems, displaying language names in their own
languages freezes the display.
6 years ago
moneromooo-monero
1e393f4bb7
wallet: make the segregation height settable
...
via user setting first, then DNS TXT record, hardcoded fallback
6 years ago
Riccardo Spagni
5cd36e48bf
Merge pull request #3421
...
9732a37e
wallet_rpc_server: add sweep_unmixable as alias for sweep_dust (moneromooo-monero)
6 years ago
Riccardo Spagni
83651630bc
Merge pull request #3418
...
20a00266
blockchain: forbid bulletproof types before v8 (moneromooo-monero)
6 years ago
moneromooo-monero
9732a37e9a
wallet_rpc_server: add sweep_unmixable as alias for sweep_dust
6 years ago
moneromooo-monero
20a002667c
blockchain: forbid bulletproof types before v8
...
They were already forbidden implicitely, but let's make that
explicit for robustness
6 years ago
stoffu
b86f1e5dad
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.
6 years ago
Riccardo Spagni
a14eabc043
Merge pull request #3416
...
6f54c910
simplewallet: fix restore height prompt that got disabled by #3175 (stoffu)
6 years ago
Riccardo Spagni
432480fa42
Merge pull request #3414
...
524cbdc1
blockchain: fix log message about per-kB fee (stoffu)
6 years ago
Riccardo Spagni
2a9839cc3e
Merge pull request #3376
...
833f9fcf
show '<Not set>' for empty wallet description (cryptochangements34)
6 years ago
Riccardo Spagni
0f27fc57ac
Merge pull request #3336
...
57c0b1ed
Fix typos in various files (Dimitris Apostolou)
6 years ago
moneromooo-monero
eac3a11ed3
wallet: more user friendly print_ring
...
It can now take a txid (to display rings for all its inputs),
and will print rings in a format that set_ring understands
6 years ago
moneromooo-monero
798535149d
wallet2_api: add key reuse mitigations API
6 years ago
moneromooo-monero
b057a21d56
wallet2_api: add ring api
6 years ago
moneromooo-monero
d32ef7b0f2
ringdb: factor ring addition code
6 years ago
moneromooo-monero
a7da8208f5
wallet2_api: add blackball api
6 years ago
moneromooo-monero
504428ab4a
ringdb: use the genesis block as a db name
...
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.
6 years ago
moneromooo-monero
b09e5181cc
wallet: add a set_ring command
...
This is so one can set rings for spent key images in case the
attackers don't merge the ring matching patch set.
6 years ago
moneromooo-monero
0590f62ab6
new blockchain_usage tool, reports on output usage
6 years ago
moneromooo-monero
db10dd6d83
wallet: make ringdb an object with database state
6 years ago
moneromooo-monero
df6fad4c62
blockchain_utilities: new blockchain_blackball tool
...
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
6 years ago
moneromooo-monero
d29ea0455a
wallet: add an output blackball list to avoid using those in rings
6 years ago
moneromooo-monero
18eaf19489
wallet: key reuse mitigation options
...
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.
6 years ago
moneromooo-monero
5f146873c5
wallet: add shared ring database
...
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.
6 years ago
moneromooo-monero
41f727ce42
add RPC to get a histogram of outputs of a given amount
6 years ago
cryptochangements34
833f9fcfe9
show '<Not set>' for empty wallet description
6 years ago
stoffu
6f54c910f7
simplewallet: fix restore height prompt that got disabled by #3175
6 years ago
stoffu
524cbdc1e2
blockchain: fix log message about per-kB fee
6 years ago
Dimitris Apostolou
57c0b1ed9f
Fix typos in various files
6 years ago
Riccardo Spagni
51bb7fafac
Merge pull request #3410
...
c5024c5b
simplewallet: add a warning when getting a daemon error in transfer (moneromooo-monero)
6 years ago
Riccardo Spagni
60af9d689b
Merge pull request #3408
...
e1b526b3
Remove the `Blockchain::get_all_known_block_ids` function. (Jean Pierre Dudey)
6 years ago
moneromooo-monero
c5024c5b73
simplewallet: add a warning when getting a daemon error in transfer
...
A malicious daemon (or MITM) could attempt to add spurious errors
so the wallet tries again, sending another set of fake outs.
6 years ago
stoffu
a7266d6d7b
wallet2+cli+rpc: eliminate redundant m_http_client from cli/rpc and delegate calls to wallet2
6 years ago
Jean Pierre Dudey
e1b526b371
Remove the `Blockchain::get_all_known_block_ids` function.
...
This function isn't used in the codebase.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
6 years ago
stoffu
71d186566e
replace invoke_http_json("/json_rpc",...) with invoke_http_json_rpc("/json_rpc",methodname,...) to reduce boilerplate
6 years ago
Riccardo Spagni
a69c713f8e
Merge pull request #3398
...
c577abab
wallet: fix auto low priority so that it takes effect only when saved default is 0 (stoffu)
6 years ago
Riccardo Spagni
2fe1504c03
Merge pull request #3399
...
1d39b265
wallet2: fix use_fork_rules() when querying version that is defined but not enabled yet (stoffu)
6 years ago
Riccardo Spagni
f9f2d182da
Merge pull request #3395
...
523371c0
p2p: fix network ID being uninitialised when using exclusive peers (moneromooo-monero)
6 years ago
Riccardo Spagni
8b90e3141a
Merge pull request #3386
...
9abeff59
wallet2: handle no blocks returned in refresh to mean no new blocks (moneromooo-monero)
6 years ago
Riccardo Spagni
7a44301675
Merge pull request #3385
...
ec41006c
node_rpc_proxy: fix target height caching (moneromooo-monero)
6 years ago
Riccardo Spagni
534369eece
Merge pull request #3384
...
b63ea060
simplewallet: do not call a RPC when displaying the prompt (moneromooo-monero)
6 years ago
Riccardo Spagni
cb72b85bbf
Merge pull request #3372
...
c3e23b2d
ringct: 17% improvement in Borromean signature verification (moneromooo-monero)
6 years ago
stoffu
4405e4fc73
wallet2: check_tx_key() shouldn't require hardware encryption
6 years ago
stoffu
7dfa5e9e6e
chacha: call prehashed version explicitly as generate_chacha_key_prehashed
...
hash: add prehashed version cn_slow_hash_prehashed
slow-hash: let cn_slow_hash take 4th parameter for deciding prehashed or not
slow-hash: add support for prehashed version for the other 3 platforms
6 years ago
stoffu
b2d23b189e
crypto: revert odd namespace changes made in #3303
6 years ago
stoffu
8705beaf51
keypair::generate: always require hw::device to avoid possible mistake
6 years ago
stoffu
27a196b126
device: untangle cyclic depenency
...
When #3303 was merged, a cyclic dependency chain was generated:
libdevice <- libcncrypto <- libringct <- libdevice
This was because libdevice needs access to a set of basic crypto operations
implemented in libringct such as scalarmultBase(), while libringct also needs
access to abstracted crypto operations implemented in libdevice such as
ecdhEncode(). To untangle this cyclic dependency chain, this patch splits libringct
into libringct_basic and libringct, where the basic crypto ops previously in
libringct are moved into libringct_basic. The cyclic dependency is now resolved
thanks to this separation:
libcncrypto <- libringct_basic <- libdevice <- libcryptonote_basic <- libringct
This eliminates the need for crypto_device.cpp and rctOps_device.cpp.
Also, many abstracted interfaces of hw::device such as encrypt_payment_id() and
get_subaddress_secret_key() were previously implemented in libcryptonote_basic
(cryptonote_format_utils.cpp) and were then called from hw::core::device_default,
which is odd because libdevice is supposed to be independent of libcryptonote_basic.
Therefore, those functions were moved to device_default.cpp.
6 years ago
stoffu
c9b38b4765
device: made function prototypes consistent with pre-#3303 codebase
6 years ago
Riccardo Spagni
f2e8e8d23c
Merge pull request #3377
...
aa8bef0c
fix error message typo in wallet2.cpp (cryptochangements34)
6 years ago
Riccardo Spagni
9a63fbcf83
Merge pull request #3371
...
84decbea
core: add v7 for 1539500 on mainnet (moneromooo-monero)
6 years ago
Riccardo Spagni
3bc2537f5a
Merge pull request #3369
...
1979d53d
wallet: fixes and tweaks to the save_watch_only command (moneromooo-monero)
6 years ago
Riccardo Spagni
0f2d6d40b4
Merge pull request #3360
...
1ff35fda
Wallet API: make nettype non-defaulted to disambiguate from deprecated versions (and make libwallet_api_tests compilable) (stoffu)
6 years ago
Riccardo Spagni
2e074e2ae7
Merge pull request #3358
...
978663d4
Stagenet: successive forks up to v7 (stoffu)
6 years ago
Riccardo Spagni
117cf12509
Merge pull request #3355
...
0bbd521f
libwallet_merged: added missing libdevice (stoffu)
6 years ago
Riccardo Spagni
33158f089d
Merge pull request #3354
...
ffe70b8f
Make mixin optional with default for rpc transfer (cryptochangements34)
6 years ago
Riccardo Spagni
2dfb4f098e
Merge pull request #3353
...
73dd883d
Ledger HW Bug fixes (Cédric)
6 years ago
Riccardo Spagni
cfc5a3d4d4
Merge pull request #3345
...
e0cda74a
wallet2_api: add info/error/warning entry points (moneromooo-monero)
6 years ago
Riccardo Spagni
67978b78ce
Merge pull request #3337
...
91d97dd4
fuzz_tests: set small subaddress lookahead for speed (moneromooo-monero)
5f85cc7e
wallet2: guard against overflowing of subaddress indices (moneromooo-monero)
6 years ago
Riccardo Spagni
3fed788603
Merge pull request #3315
...
649a1b7a
wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new wallets (Leon Klingele)
6 years ago
moneromooo-monero
5f85cc7e3d
wallet2: guard against overflowing of subaddress indices
6 years ago
stoffu
1d39b26556
wallet2: fix use_fork_rules() when querying version that is defined but not enabled yet
6 years ago
stoffu
c577abab61
wallet: fix auto low priority so that it takes effect only when saved default is 0
6 years ago
moneromooo-monero
523371c042
p2p: fix network ID being uninitialised when using exclusive peers
6 years ago
Cédric
73dd883d51
Ledger HW Bug fixes
...
Fix the way the REAL mode is handle:
Let create_transactions_2 and create_transactions_from construct the vector of transactions.
Then iterate on it and resign.
We just need to add 'outs' list in the TX struct for that.
Fix default secret keys value when DEBUG_HWDEVICE mode is off
The magic value (00...00 for view key and FF..FF for spend key) was not correctly set
when DEBUG_HWDEVICE was off. Both was set to 00...00.
Add sub-address info in ABP map in order to correctly display destination sub-address on device
Fix DEBUG_HWDEVICE mode:
- Fix compilation errors.
- Fix control device init in ledger device.
- Add more log.
Fix sub addr control
Fix debug Info
6 years ago
moneromooo-monero
9abeff5911
wallet2: handle no blocks returned in refresh to mean no new blocks
...
This is not a possible return from the daemon, but I want this in
now so all wallets handle this when the daemon starts doing so.
6 years ago
moneromooo-monero
ec41006cad
node_rpc_proxy: fix target height caching
6 years ago
moneromooo-monero
b63ea060de
simplewallet: do not call a RPC when displaying the prompt
...
Speeds up refresh when you have a lot of in/out transactions
6 years ago
Leon Klingele
649a1b7ae6
wallet2 / simplewallet: Must opt-in to create '.address.txt' files for new wallets
...
Previously, a file containing the unencrypted Monero address was
created by default in the wallet's directory. This file might pose
as a privacy risk. The creation of this file is now opt-in and can
be enabled by providing
--create-address-file
6 years ago
cryptochangements34
aa8bef0cb3
fix error message typo in wallet2.cpp
6 years ago
stoffu
978663d461
Stagenet: successive forks up to v7
6 years ago
Riccardo Spagni
e9f41e405f
Merge pull request #3368
...
38657fd0
Bump min ring size from 5 to 7 from v7 (moneromooo-monero)
6 years ago
Riccardo Spagni
546e380cab
Merge pull request #3370
...
04a0cc89
slow-hash: fix uint64 type typo (moneromooo-monero)
6 years ago
Riccardo Spagni
3a12f2588a
Merge pull request #3365
...
55a65f32
Wallet API: corrected testnet/mainnet ordering (stoffu)
6 years ago
Riccardo Spagni
f4cf613e34
Merge pull request #3362
...
49c70962
device: remove dependency on readline (stoffu)
6 years ago
Riccardo Spagni
220cb62ca4
Merge pull request #3357
...
557a6fb6
cn_deserialize: link with device and ringct (moneromooo-monero)
6 years ago
Riccardo Spagni
60c8544e77
Merge pull request #3347
...
9a6be3da
wallet_manager: fixed typo deviuce/device.hpp (stoffu)
6 years ago
moneromooo-monero
c3e23b2dce
ringct: 17% improvement in Borromean signature verification
6 years ago
moneromooo-monero
84decbea48
core: add v7 for 1539500 on mainnet
6 years ago
moneromooo-monero
1979d53d78
wallet: fixes and tweaks to the save_watch_only command
...
- save the new keys file as FOO-watchonly.keys, not FOO.keys-watchonly
- catch any exception (eg, I/O errors) and error out
- print the new keys filename in simplewallet
6 years ago
moneromooo-monero
38657fd0e9
Bump min ring size from 5 to 7 from v7
6 years ago
moneromooo-monero
04a0cc89cf
slow-hash: fix uint64 type typo
6 years ago
stoffu
55a65f3269
Wallet API: corrected testnet/mainnet ordering
6 years ago
stoffu
49c70962ee
device: remove dependency on readline
6 years ago
stoffu
1ff35fda7c
Wallet API: make nettype non-defaulted to disambiguate from deprecated versions (and make libwallet_api_tests compilable)
6 years ago
moneromooo-monero
557a6fb6ea
cn_deserialize: link with device and ringct
6 years ago
Lee Clagett
e136bc6b8a
tweaks to the monerov1 cryptonight algorithm
6 years ago
SChernykh
d58c9ec99c
slow-hash: optimized version
6 years ago
moneromooo-monero
608fd6f14a
Monero Cryptonight variants, and add one for v7
...
This is the first variant of many, with the intent to improve
Monero's resistance to ASICs and encourage mining decentralization.
6 years ago
stoffu
0bbd521fa2
libwallet_merged: added missing libdevice
6 years ago
cryptochangements34
ffe70b8f61
Make mixin optional with default for rpc transfer
6 years ago
Riccardo Spagni
a21c927d7d
Merge pull request #3298
...
f2bb8085
Fix #3297 use the password_prompter helper (Howard Chu)
6 years ago
Riccardo Spagni
0c2b25204e
Merge pull request #3312
...
399120dd
simplewallet: set seed language when restoring from english-old seed (stoffu)
6 years ago
Riccardo Spagni
237f0179b7
Merge pull request #3313
...
43026822
Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows (rbrunner7)
6 years ago
Riccardo Spagni
baf640887d
Merge pull request #3343
...
3d452367
allow using ring size instead of mixin for rpc transfer (cryptochangements34)
6 years ago
Riccardo Spagni
98acbe83fc
Merge pull request #3348
...
c95dddd2
remove unused function keyImageV (h908714124)
6 years ago
Riccardo Spagni
05f0762dc5
Merge pull request #3346
...
25ea307d
Fix invalid device unique_ptr cast (MoroccanMalinois)
6 years ago
Riccardo Spagni
9841a452e5
Merge pull request #3338
...
51219457
core: fix sending to the source address with a short payment id (moneromooo-monero)
6 years ago
Riccardo Spagni
61ac5b0471
Merge pull request #3332
...
6b40ea93
simplewallet: fix print_ring_members printing wrong heights (moneromooo-monero)
6 years ago
Riccardo Spagni
5b25cbb5a7
Merge pull request #3314
...
71bff546
wallet api: when restoring from EnglishOld, set language to English (stoffu)
6 years ago
Riccardo Spagni
abcdb7b5c4
Merge pull request #3308
...
6f8779d2
blockchain: fix random sync failures (moneromooo-monero)
6 years ago
Riccardo Spagni
0e5c006207
Merge pull request #3307
...
223d7d0c
db_lmdb: fix free space reporting (moneromooo-monero)
6 years ago
Riccardo Spagni
5950d356b6
Merge pull request #3301
...
34a2a085
rctSigs - loop invariant code removed from the loop (Dusan Klinec)
6 years ago
Riccardo Spagni
4f93f74528
Merge pull request #3277
...
0e7ad2e2
Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu)
af773211
Stagenet (stoffu)
cc9a0bee
command_line: allow args to depend on more than one args (stoffu)
55f8d917
command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu)
450306a0
command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu)
9f9e095a
Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
6 years ago
Riccardo Spagni
033ead4bad
Merge pull request #3273
...
f3b74e75
Fix refresh height estimation (Howard Chu)
6 years ago
Riccardo Spagni
b54587d7b3
Merge pull request #3259
...
6d900a40
removed systemd private tempdir (ston1th)
496055d1
monerod: do not log to tmpdir in daemon mode (ston1th)
6 years ago
Edward Betts
fbcc91c2a4
Correct spelling mistakes.
6 years ago
cryptochangements34
3d452367b0
allow using ring size instead of mixin for rpc transfer
6 years ago
stoffu
0e7ad2e2c9
Wallet API: generalize 'bool testnet' to 'NetworkType nettype'
6 years ago
h908714124
c95dddd2d2
remove unused function keyImageV
6 years ago
stoffu
9a6be3da25
wallet_manager: fixed typo deviuce/device.hpp
6 years ago
stoffu
af773211cb
Stagenet
6 years ago
stoffu
cc9a0bee04
command_line: allow args to depend on more than one args
6 years ago
stoffu
55f8d917fd
command_line::get_arg: remove 'required' for dependent args as they're always optional
6 years ago
stoffu
450306a01c
command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318
6 years ago
Jean Pierre Dudey
9f9e095a8c
Use `genesis_tx` parameter in `generate_genesis_block`. #3261
...
* src/cryptnote_config.h: The constant `config::testnet::GENESIS_TX` was
changed to be the same as `config::GENESIS_TX` (the mainnet's transaction)
because the mainnet's transaction was being used for both networks.
* src/cryptonote_core/cryptonote_tx_utils.cpp: The `generate_genesis_block` function
was ignoring the `genesis_tx` parameter, and instead it was using the `config::GENESIS_TX`
constant. That's why the testnet genesis transaction was changed. Also five lines of unused
code were removed.
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
6 years ago
MoroccanMalinois
25ea307d67
Fix invalid device unique_ptr cast
6 years ago
moneromooo-monero
e0cda74ace
wallet2_api: add info/error/warning entry points
6 years ago
cslashm
e745c1e38d
Code modifications to integrate Ledger HW device into monero-wallet-cli.
...
The basic approach it to delegate all sensitive data (master key, secret
ephemeral key, key derivation, ....) and related operations to the device.
As device has low memory, it does not keep itself the values
(except for view/spend keys) but once computed there are encrypted (with AES
are equivalent) and return back to monero-wallet-cli. When they need to be
manipulated by the device, they are decrypted on receive.
Moreover, using the client for storing the value in encrypted form limits
the modification in the client code. Those values are transfered from one
C-structure to another one as previously.
The code modification has been done with the wishes to be open to any
other hardware wallet. To achieve that a C++ class hw::Device has been
introduced. Two initial implementations are provided: the "default", which
remaps all calls to initial Monero code, and the "Ledger", which delegates
all calls to Ledger device.
6 years ago
moneromooo-monero
51219457b1
core: fix sending to the source address with a short payment id
...
It would fail to send, thinking it needs a destination address,
since the destination matches the change address in this case.
6 years ago
moneromooo-monero
6b40ea937a
simplewallet: fix print_ring_members printing wrong heights
...
And also use uint64_t instead of int for heights where appropriate
6 years ago
stoffu
71bff546d3
wallet api: when restoring from EnglishOld, set language to English
6 years ago
rbrunner7
430268224d
Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows
6 years ago
stoffu
399120ddad
simplewallet: set seed language when restoring from english-old seed
6 years ago
ston1th
496055d128
monerod: do not log to tmpdir in daemon mode
...
The logging to /tmp/bitmonero.daemon.stdout.stderr caused segfaults
if the /tmp mount was full (#2851 ).
Now the daemon is only logging to /tmp/bitmonero.daemon.stdout.stderr
in the debug builds.
6 years ago
moneromooo-monero
6f8779d282
blockchain: fix random sync failures
...
When a block is added as part of a chunk (when syncing historical
blocks), a block may end up already in the blockchain if it was
added to the queue before being added to the chain (though it's
not clear how that could happen, but it's an implementation detail)
and thus may not be added to the chain when add_block is called.
This would cause m_blocks_txs_check to not be cleared, causing it
to get out of sync at next call, and thus wrongfully reject the
next block.
6 years ago
moneromooo-monero
223d7d0c7a
db_lmdb: fix free space reporting
...
reported by Brad Richards
6 years ago
Dusan Klinec
34a2a08530
rctSigs - loop invariant code removed from the loop
6 years ago
Riccardo Spagni
2ac3da1251
Merge pull request #3256
...
df5273de
wallet2: fix auto_low_priority field name typo on load (moneromooo-monero)
6 years ago
Riccardo Spagni
0d530bd04e
Merge pull request #3295
...
6514f0ed
db_lmdb: fix return code mixup in for_all_* (moneromooo-monero)
6 years ago
Riccardo Spagni
46903ec26a
Merge pull request #3294
...
fd57e13a
simplewallet: typo in generate-from-multisig-keys (stoffu)
6 years ago
Riccardo Spagni
21335e5c6b
Merge pull request #3293
...
4a78a99f
cryptonote_core: change wording of fork warning message (moneromooo-monero)
6 years ago
Riccardo Spagni
299af8e43e
Merge pull request #3290
...
1d28c0d8
p2p: restore m_testnet assignment lost during rebase (whythat)
6 years ago
Riccardo Spagni
ea9ddcac7f
Merge pull request #3288
...
10f78f63
p2p: need libcryptonote_core due to arg_testnet_on being used (stoffu)
6 years ago
Riccardo Spagni
fc57e0ef2d
Merge pull request #3263
...
d4e728c9
simplewallet: reword donate command message for clarity (Serhack)
6 years ago
Riccardo Spagni
c9aa9370f9
Merge pull request #3260
...
b2d4bb9b
Remove `voting_version` parameter documentation. (Jean Pierre Dudey)
6 years ago
Riccardo Spagni
4e9de94565
Merge pull request #3257
...
da25757b
simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings) (stoffu)
6 years ago
Riccardo Spagni
ff36fd93fd
Merge pull request #3255
...
3962bcb2
Closes #2886 : really ignore battery checking (Timothy D. Prime)
6 years ago
Riccardo Spagni
cfa3af4078
Merge pull request #3247
...
89ad162a
wallet2: remove unused m_subaddresses_inv (moneromooo-monero)
f2c4c399
wallet2: speed up subaddress generation (by about a third) (moneromooo-monero)
6 years ago
Riccardo Spagni
6920fdaf4f
Merge pull request #3246
...
3c33e131
wallet2: don't store invalid key image when watch-only (stoffu)
0133b348
wallet2: don't throw when spent amount is inconsistent (stoffu)
6 years ago
Riccardo Spagni
0fc5eec9cd
Merge pull request #3235
...
6866ed46
Add default value to max_height, otherwise it's 0 (Michał Sałaban)
6 years ago
Howard Chu
f2bb8085ec
Fix #3297 use the password_prompter helper
6 years ago
moneromooo-monero
6514f0ed7b
db_lmdb: fix return code mixup in for_all_*
6 years ago
stoffu
fd57e13a84
simplewallet: typo in generate-from-multisig-keys
6 years ago
moneromooo-monero
4a78a99f96
cryptonote_core: change wording of fork warning message
...
An udpate may or may not be available now, but should be soon if not.
This will prevent too many people freaking out.
6 years ago
whythat
1d28c0d8a9
p2p: restore m_testnet assignment lost during rebase
6 years ago
stoffu
10f78f63f1
p2p: need libcryptonote_core due to arg_testnet_on being used
6 years ago
Riccardo Spagni
8154df778a
Merge pull request #3276
...
ed6c68db
crypto: add missing include (WIN32) (iDunk5400)
6 years ago
Riccardo Spagni
5a8e7fd0e5
Merge pull request #3249
...
a4b50a6f
handle ^D and ^C while password prompting (Jethro Grassie)
6 years ago
Riccardo Spagni
6198c816b1
Merge pull request #3170
...
b3b2d4d2
options: add testnet option dependencies (whythat)
c5f55bb4
common: implement dynamic option dependencies mechanism (whythat)
05a12ccc
options: remove testnet-* options (whythat)
c33cb60e
common: implement dependent option descriptor (whythat)
6 years ago
Riccardo Spagni
a2cbedd29f
Merge pull request #3191
...
3607d467
core: add --no-fluffy-blocks, and enable fluffy blocks by default (moneromooo-monero)
6 years ago
whythat
b3b2d4d20c
options: add testnet option dependencies
6 years ago
whythat
c5f55bb4c0
common: implement dynamic option dependencies mechanism
6 years ago
whythat
05a12ccc2d
options: remove testnet-* options
6 years ago
iDunk5400
ed6c68db1b
crypto: add missing include (WIN32)
6 years ago
moneromooo-monero
89ad162a3f
wallet2: remove unused m_subaddresses_inv
6 years ago
moneromooo-monero
f2c4c39971
wallet2: speed up subaddress generation (by about a third)
6 years ago
Leon Klingele
7c1a607c40
txpool: Don't bail out when blob_size == tx_size_limit
...
Previously, when blob_size == tx_size_limit, the "m_too_big" property was set
and the transaction was rejected. This should not have been the case.
6 years ago
whythat
c33cb60eb6
common: implement dependent option descriptor
6 years ago
Howard Chu
f3b74e75b0
Fix refresh height estimation
...
Since commit b0426d4c
refresh height for a newly created wallet
connected to a sync'd daemon was off by a month. Now we only use
the 1 month safety margin if we're unable to talk to a daemon.
6 years ago
moneromooo-monero
3607d467f3
core: add --no-fluffy-blocks, and enable fluffy blocks by default
6 years ago
Riccardo Spagni
ef91d6e61e
Merge pull request #3196
...
eda9fb5b
p2p: fix testnet/mainnet port mixup (moneromooo-monero)
6 years ago
Riccardo Spagni
6b1382b6b6
Merge pull request #3199
...
30ce8c59
cn_deserialize: check for raw tx_extra (moneromooo-monero)
6 years ago
Riccardo Spagni
f4a6bc79d9
Merge pull request #3226
...
e4646379
keccak: fix mdlen bounds sanity checking (moneromooo-monero)
2e3e90ac
pass large parameters by const ref, not value (moneromooo-monero)
61defd89
blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero)
9af6b2d1
ringct: fix infinite loop in unused h2b function (moneromooo-monero)
8cea8d0c
simplewallet: double check a new multisig wallet is multisig (moneromooo-monero)
9b98a6ac
threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero)
24803ed9
blockchain_export: fix buffer overflow in exporter (moneromooo-monero)
f3f7da62
perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero)
c6ea3df0
performance_tests: remove add_arg call stray extra param (moneromooo-monero)
fa6b4566
fuzz_tests: fix an uninitialized var in setup (moneromooo-monero)
03887f11
keccak: fix sanity check bounds test (moneromooo-monero)
ad11db91
blockchain_db: initialize m_open in base class ctor (moneromooo-monero)
bece67f9
miner: restore std::cout precision after modification (moneromooo-monero)
1aabd14c
db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
6 years ago
Riccardo Spagni
24d8f9237f
Merge pull request #3248
...
d6a0ae96
blockchain: don't try to use hash check array after it's freed (moneromooo-monero)
6 years ago
Riccardo Spagni
853dd2d4f7
Merge pull request #3232
...
b81e276c
connection_context: initialize m_last_request_time to current time (moneromooo-monero)
6 years ago
Riccardo Spagni
260d666cf4
Merge pull request #3231
...
84a8b2da
Don't create readtxn until after txn_safe gate check (Howard Chu)
6 years ago
Riccardo Spagni
ef47ba95c8
Merge pull request #3229
...
928c1825
cryptonote_protocol: guard against all threads in standby (moneromooo-monero)
6 years ago
Riccardo Spagni
b5b88c2747
Merge pull request #3225
...
71806327
dns: change default DNS to a worldwide selection (moneromooo-monero)
6 years ago
Riccardo Spagni
a54247b993
Merge pull request #3221
...
2e584dcb
p2p: do not try to connect to peers in offline mode (moneromooo-monero)
6 years ago
Riccardo Spagni
0c71197892
Merge pull request #3217
...
fde4489e
wipeable_string: call memwipe directly (moneromooo-monero)
6 years ago
Riccardo Spagni
9c4428e583
Merge pull request #3214
...
214d251c
wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown (stoffu)
6 years ago
Riccardo Spagni
bfddb2283b
Merge pull request #3210
...
39992134
txpool: Properly bail out when outputs_amount == inputs_amount (Leon Klingele)
6 years ago
Riccardo Spagni
9681a885d1
Merge pull request #3207
...
a99ef176
wallet-rpc: take subaddress account as arg for get_transfer_by_txid (stoffu)
77125096
wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS (stoffu)
6 years ago
Riccardo Spagni
079eea7b70
Merge pull request #3205
...
bc61ae69
tx_pool: add a max pool size, settable with --max-txpool-size (moneromooo-monero)
3b4e6b35
txpool: increase unmined tx expiry to three days (moneromooo-monero)
6 years ago
Riccardo Spagni
b23578e473
Merge pull request #3197
...
f90c76be
Return appropriate error code when there's no connection to daemon (Michał Sałaban)
3cb65b3f
Return appropriate error code when not enough money for tx (Michał Sałaban)
6 years ago
Riccardo Spagni
666a76652b
Merge pull request #3187
...
851bd057
call _exit instead of abort in release mode (moneromooo-monero)
6 years ago
Riccardo Spagni
bdf0339dda
Merge pull request #3181
...
e3f0980a
daemon: don't drop RPC with busy error when running offline (moneromooo-monero)
6 years ago
Riccardo Spagni
ba22928d4b
Merge pull request #3180
...
1dfed567
Fixed #if instead of #ifdef (Matt Little)
7c442453
Support building cncrypto lib with msvc (Matt Little)
6 years ago
Riccardo Spagni
82599ef0e3
Merge pull request #3175
...
3be98036
wallet-cli: Do not ask for scan_from_height if it explicitly is set to zero. (Maximilian Lupke)
6 years ago
Riccardo Spagni
a43be404c7
Merge pull request #3171
...
402c9eef
cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub (stoffu)
6 years ago
Riccardo Spagni
04a676397f
Merge pull request #3165
...
7539603f
Bootstrap daemon (stoffu)
6 years ago
Riccardo Spagni
381faf06c7
Merge pull request #3163
...
628b78ae
Fix in_peers/out_peers RPC operations (Erik de Castro Lopo)
ece9bcf5
rpc_client: Fix error handling (Erik de Castro Lopo)
8f30350d
Fix method name in invoke_http_json_rpc (Erik de Castro Lopo)
32c0f908
Allow the number of incoming connections to be limited (Erik de Castro Lopo)
d609a2c1
Rename delete_connections to delete_out_connections (Erik de Castro Lopo)
b927c0fc
Rename connections_count to max_out_connection_count (Erik de Castro Lopo)
6 years ago
Riccardo Spagni
0bffd2ec64
Merge pull request #3161
...
78a2e15b
daemon: exit with 0 when successful (moneromooo-monero)
6 years ago
Riccardo Spagni
5d36ed6613
Merge pull request #3094
...
a85dbb3f
Fixed typos and wording tweaks (Maxithi)
6 years ago
stoffu
da25757b42
simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings)
6 years ago
Serhack
d4e728c995
simplewallet: reword donate command message for clarity
6 years ago
Riccardo Spagni
370b43d12b
Merge pull request #3138
...
19ff243f
wallets: reorg 61 more days on testnet (moneromooo-monero)
c70f03ca
blockchain: move bulletproofs to v8 (moneromooo-monero)
6 years ago
Riccardo Spagni
589a53f479
Merge pull request #2959
...
3f1a3fac
bulletproofs: more robust challenge computation (moneromooo-monero)
6 years ago
Jean Pierre Dudey
b2d4bb9b64
Remove `voting_version` parameter documentation.
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
6 years ago
moneromooo-monero
df5273def5
wallet2: fix auto_low_priority field name typo on load
6 years ago
Timothy D. Prime
3962bcb2a2
Closes #2886 : really ignore battery checking
...
Move option test first.
6 years ago
stoffu
3c33e1317b
wallet2: don't store invalid key image when watch-only
6 years ago
Jethro Grassie
a4b50a6f51
handle ^D and ^C while password prompting
6 years ago
moneromooo-monero
d6a0ae96c6
blockchain: don't try to use hash check array after it's freed
...
It's freed when we've synced past its end, but we might still
find an old chain somewhere
6 years ago
stoffu
0133b3481a
wallet2: don't throw when spent amount is inconsistent
6 years ago
moneromooo-monero
71806327f5
dns: change default DNS to a worldwide selection
...
DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
6 years ago
stoffu
214d251c48
wallet: suggest the use of sweep_unmixable when not_enough_outs_to_mix is thrown
6 years ago
moneromooo-monero
bc61ae69bf
tx_pool: add a max pool size, settable with --max-txpool-size
6 years ago
moneromooo-monero
e4646379a6
keccak: fix mdlen bounds sanity checking
...
found by h908714124
6 years ago
Michał Sałaban
6866ed469a
Add default value to max_height, otherwise it's 0
6 years ago
moneromooo-monero
b81e276cab
connection_context: initialize m_last_request_time to current time
...
This prevents spurious early peer drops
6 years ago
moneromooo-monero
928c1825f0
cryptonote_protocol: guard against all threads in standby
6 years ago
moneromooo-monero
2e3e90acbe
pass large parameters by const ref, not value
...
Coverity 136394 136397 136409 136526 136529 136533 175302
6 years ago
moneromooo-monero
61defd89e3
blockchain: sanity check number of precomputed hash of hash blocks
...
Coverity 142951
6 years ago
moneromooo-monero
9af6b2d1b8
ringct: fix infinite loop in unused h2b function
...
Coverity 146775
6 years ago
moneromooo-monero
8cea8d0cef
simplewallet: double check a new multisig wallet is multisig
...
Coverity 182493
6 years ago
moneromooo-monero
9b98a6ac8f
threadpool: catch exceptions in dtor, to avoid terminate
...
If an exception is thrown, it is ignored. While this may hide
a bug, this should only be system exceptions in boost, which
is pretty unlikely. Morever, wait should be called manually
before the dtor anyway. Add an error message if the dtor has
to wait in case some such cases creep in so they get fixed.
Coverity 182538
6 years ago
moneromooo-monero
24803ed91f
blockchain_export: fix buffer overflow in exporter
...
Coverity 182550
6 years ago
moneromooo-monero
f3f7da624d
perf_timer: rewrite to make it clear there is no division by zero
...
It could have happened if epee::misc_utils::get_ns_count
is buggy, at a push
Coverity 182561
6 years ago
moneromooo-monero
03887f1140
keccak: fix sanity check bounds test
...
Nothing calls this with those inputs
6 years ago
moneromooo-monero
ad11db9144
blockchain_db: initialize m_open in base class ctor
...
It's cleaner this way, since it's a base class field
Coverity 136568
6 years ago
moneromooo-monero
bece67f9e8
miner: restore std::cout precision after modification
...
Coverity 136462
6 years ago
moneromooo-monero
1aabd14c21
db_lmdb: check hard fork info drop succeeded
...
Coverity 136364
6 years ago
moneromooo-monero
3b4e6b35b3
txpool: increase unmined tx expiry to three days
6 years ago
moneromooo-monero
2e584dcb1f
p2p: do not try to connect to peers in offline mode
6 years ago
moneromooo-monero
851bd057ec
call _exit instead of abort in release mode
...
Avoids cores being created, as they're nowadays often piped
to some call home system
6 years ago
Leon Klingele
399921347f
txpool: Properly bail out when outputs_amount == inputs_amount
...
Previously, when outputs_amount == inputs_amount, the "m_overspend" property
was set, whereas "m_fee_too_low" would have been the correct property to set.
This is unlikely to ever occur and just something I've noticed while reading
through the code.
6 years ago
Howard Chu
84a8b2da14
Don't create readtxn until after txn_safe gate check
6 years ago
moneromooo-monero
3f1a3fac00
bulletproofs: more robust challenge computation
...
Changes from sarang, from a recommendation by an anonymous reviewer
6 years ago
moneromooo-monero
b809058993
ringct: pseudoOuts moved to prunable in the simple bulletproof case
...
Saves 64 bytes non prunable data per typical tx
This breaks v7 consensus, will require a testnet reorg from v6
6 years ago
moneromooo-monero
19ff243f52
wallets: reorg 61 more days on testnet
6 years ago
moneromooo-monero
c70f03cacf
blockchain: move bulletproofs to v8
...
and set v7 height to 1057027 on testnet (one block earlier)
This is to easily dump current nodes since we're going to change
the v7 rules with this.
6 years ago
moneromooo-monero
fde4489e1d
wipeable_string: call memwipe directly
...
since the original reason for the indirect call (that memwipe
was not in contrib) is now gone
6 years ago
stoffu
a99ef17695
wallet-rpc: take subaddress account as arg for get_transfer_by_txid
6 years ago
stoffu
7712509644
wallet-rpc: rename *_INDEX_OUTOFBOUND into *_INDEX_OUT_OF_BOUNDS
6 years ago
stoffu
7539603f94
Bootstrap daemon
6 years ago
Maxithi
a85dbb3f2f
Fixed typos and wording tweaks
6 years ago
stoffu
402c9eef0e
cryptonote_tx_utils: fixed logic bug in get_destination_view_key_pub
6 years ago
Michał Sałaban
f90c76beb4
Return appropriate error code when there's no connection to daemon
6 years ago
Erik de Castro Lopo
628b78ae8a
Fix in_peers/out_peers RPC operations
...
Original implementations could never have worked.
6 years ago