xiphon
fc99f177f3
lmdb: fix gcc 7.3.0 'implicit-fallthrough' warning
6 years ago
moneromooo-monero
60f36386e4
Avoid unnecessary temp block and copy ctor
...
block already has a default ctor, and the extra object
churn due to its innards (vectors, etc) is pointless.
6 years ago
moneromooo-monero
31d80027b5
tests: add unit tests for get_output_distribution
6 years ago
Tadeas Moravec
3998a937e5
Enhance help text for print_ring.
6 years ago
Tadeas Moravec
3900fb779f
Enhance help text for incoming_transfers.
6 years ago
moneromooo-monero
0936dae8a4
blockchain: remove "0 is height" shortcut from get_output_distribution
...
This prevents asking for just 0, and the RPC layer already does this
6 years ago
moneromooo-monero
872c7eb26a
Revert "blockchain: simplify output distribution code"
...
This reverts commit b2bb9312a7
.
6 years ago
xiphon
2a48c2a286
slow-hash: some more big endian fixes
6 years ago
moneromooo-monero
b39fdf8ebe
slow-hash: fix for big endian
6 years ago
Riccardo Spagni
c37c70f459
Merge pull request #4806
...
ac23b10f
blockchain: fix innocuous difficulty cache inconsistency (moneromooo-monero)
3b14d972
blockchain: use uint64_t for block height, not size_t (moneromooo-monero)
6 years ago
Riccardo Spagni
0295055bcb
Merge pull request #4805
...
6a1062f5
bulletproofs: reserve vector memory when known in advance (moneromooo-monero)
6 years ago
Riccardo Spagni
cec336ecbc
Merge pull request #4804
...
00907c39
rct: speedup commit a little (moneromooo-monero)
6 years ago
Riccardo Spagni
056abf980e
Merge pull request #4801
...
7ae36e91
wallet_rpc_server: account for watch-only/non-deterministic/multisig when querying seed (stoffu)
6 years ago
Riccardo Spagni
3a40d94998
Merge pull request #4800
...
79b4dae6
simplewallet: slightly adjust wording when printing multisig seed (stoffu)
6 years ago
Riccardo Spagni
45f597c564
Merge pull request #4799
...
f4988454
perf_timer: remove stray debug addition (moneromooo-monero)
6 years ago
Riccardo Spagni
46f989bc49
Merge pull request #4795
...
5d7c2316
rct: add a zeroCommit cache for common pre-rct case (moneromooo-monero)
6 years ago
Riccardo Spagni
f9c60736b8
Merge pull request #4794
...
e198b06e
Fix: out_of_hashchain_bounds_error in refresh (Hasan Pekdemir)
6 years ago
Riccardo Spagni
40bb7a304a
Merge pull request #4792
...
5d4f3df8
simplewallet: reorganize SCOPED_WALLET_UNLOCK a bit more (stoffu)
6 years ago
Riccardo Spagni
86395e5bd6
Merge pull request #4791
...
5878fe95
simplewallet: don't skip asking for password when watch-only (stoffu)
6 years ago
Riccardo Spagni
9aff9a5372
Merge pull request #4790
...
177a9d76
wallet: warn if lockable memory limit is too low (moneromooo-monero)
6 years ago
Riccardo Spagni
20bf9b93dd
Merge pull request #4789
...
0afdb00b
wallet2: fix print_ring printing double entries for transactions (moneromooo-monero)
6 years ago
Riccardo Spagni
c8cc65f30a
Merge pull request #4788
...
8f3963d2
wallet2: demote a few uninteresting recurring logs to TRACE (moneromooo-monero)
6 years ago
Riccardo Spagni
279a0a4d8a
Merge pull request #4786
...
c22e85fe
simplewallet: remove redundant messages on daemon connection failure (stoffu)
6 years ago
Riccardo Spagni
4561119846
Merge pull request #4784
...
1c04c21d
wallet_rpc_server: include additional tx keys in sign_transfer response (stoffu)
6 years ago
Riccardo Spagni
140defd89f
Merge pull request #4778
...
71eb32a9
dns_utils: do not exit if DNS records are corrupt (moneromooo-monero)
6 years ago
Riccardo Spagni
b1ba96e159
Merge pull request #4777
...
c17a1d43
daemon: use msg_writer, not cout, to display information (moneromooo-monero)
6 years ago
Riccardo Spagni
46d0dc2808
Merge pull request #4776
...
03fc731b
p2p: less frequent incoming connections check (moneromooo-monero)
14a5c206
p2p: tone down "no incoming connections" warning to info if in peers is 0 (moneromooo-monero)
6 years ago
Riccardo Spagni
d7bac99f6f
Merge pull request #4770
...
2bd46065
Expose limit-rate defaults from command line help (RaskaRuby)
6 years ago
Riccardo Spagni
9827958f5e
Merge pull request #4768
...
cf552c75
tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time (moneromooo-monero)
6 years ago
Riccardo Spagni
e90ee7548c
Merge pull request #4765
...
09dbd9cb
tx_pool: fix comment about transaction_prefix (moneromooo-monero)
6 years ago
Riccardo Spagni
95d96d139d
Merge pull request #4764
...
1598f01c
wallet2: use padded bulletproofs for multisig signing (stoffu)
6 years ago
Riccardo Spagni
1910aab5f4
Merge pull request #4236
...
a9357141
Add new command "export_transfers" to save transfers to csv (sachaaaaa)
6 years ago
doy-lee
6f2497bc7a
Don't cache nettype in core_rpc_server use m_core
...
This can go out of sync with m_core's nettype if you run in fakechain
mode since entering fakechain mode is done through code not the command
line and core_rpc_server only looks at the command line to figure out
the nettype.
6 years ago
moneromooo-monero
c5ee14ae6e
json_archive: initialize inner_array_size in ctor
...
Coverity 136581
6 years ago
Martijn Otto
bd98e99c80
Removed a lot of unnecessary includes
6 years ago
moneromooo-monero
2b3595d0fe
various: do not propagate exception through dtor
...
Coverity 189689, 189690, 189692, 189695
6 years ago
stoffu
79b4dae66f
simplewallet: slightly adjust wording when printing multisig seed
6 years ago
Riccardo Spagni
0cc3fc3756
Merge pull request #4769
...
5808530f
blockchain: remove unused output_scan_worker parameter (moneromooo-monero)
1426209a
blockchain: don't run threads if we have just one function to run (moneromooo-monero)
6f7a5fd4
db_lmdb: slight speedup getting array data from the blockchain (moneromooo-monero)
99fbe100
db_lmdb: save some string copies for readonly db keys/values (moneromooo-monero)
bf31447e
tx_pool: speed up take_tx for transactions from blocks (moneromooo-monero)
4f005a77
tx_pool: remove unnecessary get_transaction_hash (moneromooo-monero)
593ef598
perf_timer: call reserve on new timer array (moneromooo-monero)
6ecc99ad
core: avoid unnecessary tx/blob conversions (moneromooo-monero)
00cc1a16
unit_tests: notify test special case for the usual weirdo (moneromooo-monero)
6 years ago
Riccardo Spagni
33ad6fb4c1
Merge pull request #4761
...
6e1282b6
wallet2: fix off by one in output picking (moneromooo-monero)
6 years ago
Riccardo Spagni
92c5a892b5
Merge pull request #4757
...
db24a2e5
hash: fix hash_permutation on big endian (moneromooo-monero)
6 years ago
Riccardo Spagni
8ba3f89b44
Merge pull request #4755
...
42d8d508
crypto: fix AES encryption on big endian (xiphon)
6 years ago
Riccardo Spagni
59e8a4c306
Merge pull request #4753
...
157054b8
hardfork: initialize current_fork_index in ctor (moneromooo-monero)
2362baf7
network_throttle: initialize m_last_sample_time in ctor (moneromooo-monero)
d9400f69
serializtion: add missing mainnet and stagenet fields for 0mq (moneromooo-monero)
cbe0122b
wallet2: initialize amount to 0 in tx_scan_info_t ctor (moneromooo-monero)
6 years ago
Riccardo Spagni
23fc891555
Merge pull request #4750
...
e61062b6
use current height - 1 for top block height in err msgs (cryptochangements34)
6 years ago
Riccardo Spagni
ff347c98a1
Merge pull request #4747
...
dad5bbfd
return message in stop_mining if mining never started (cryptochangements34)
6 years ago
Riccardo Spagni
dd42b642ee
Merge pull request #4746
...
f3019efe
wallet-rpc: add on_restore_deterministic RPC call. (Hasan Pekdemir)
6 years ago
Riccardo Spagni
2312aacf18
Merge pull request #4847
...
6d3311ac
libwallet_api_tests: add missing dependency on Boost Locale and ICU (stoffu)
f0459abb
cmake: move Boost_LOCALE_LIBRARY out of ICU_LIBRARIES (stoffu)
6 years ago
stoffu
f0459abbb9
cmake: move Boost_LOCALE_LIBRARY out of ICU_LIBRARIES
6 years ago
xiphon
d01bdaca12
common: fix base58 gcc -Werror=implicit-fallthrough
6 years ago
sachaaaaa
a93571410e
Add new command "export_transfers" to save transfers to csv
6 years ago
moneromooo-monero
2c7195d80c
bulletproofs: avoid std::vector allocations for slice
6 years ago
moneromooo-monero
dffec2587f
db_lmdb: error out if the db needs migration in read only mode
6 years ago
Riccardo Spagni
8534f71eed
Merge pull request #4814
...
840bf155
build: fix Ubuntu 16.04 (GCC 5.4.0) compilation (xiphon)
6 years ago
stoffu
ba2055a220
api/wallet: fix compile errors made in #4720
6 years ago
stoffu
1a4d160311
wallet2: remove redundant chacha key generation in store_keys
6 years ago
xiphon
840bf155a0
build: fix Ubuntu 16.04 (GCC 5.4.0) compilation
6 years ago
Riccardo Spagni
a9e03ebc6a
Merge pull request #4809
...
1fd017cf
Fix build of monero-gui by adding device_trezor to wallet_merged (buricl)
6 years ago
Riccardo Spagni
148ac1a898
Merge pull request #4744
...
b3e8677c
cryptonote: use logging functions for errors, not std::cout (moneromooo-monero)
6 years ago
Riccardo Spagni
a369a13928
Merge pull request #4743
...
9335d5a2
wallet2: save ring in the ringdb once a tx is created (moneromooo-monero)
6 years ago
Riccardo Spagni
da26bc92e9
Merge pull request #4742
...
0a95cdaa
blockchain_utilities: fix logs and cout output colliding (moneromooo-monero)
6 years ago
Riccardo Spagni
d210d6fb45
Merge pull request #4738
...
107f3398
wallet2: fix ring reuse breaking when using histogram (moneromooo-monero)
6 years ago
Riccardo Spagni
299d75b209
Merge pull request #4735
...
73e504c1
rpc: adjust ring size error message now that too high is also possible (moneromooo-monero)
a5ca7f4f
core: fix unmixable special case allowing ring size below 11 (moneromooo-monero)
6 years ago
Riccardo Spagni
0991aa8964
Merge pull request #4733
...
b3067962
cryptonote_core: avoid gratuitous recalculations in check_block_rate() (xiphon)
6 years ago
Riccardo Spagni
164ba3ef1c
Merge pull request #4731
...
f26ce08c
wallet: add a non destructive blockchain rescan (moneromooo-monero)
6 years ago
moneromooo-monero
3dba7f252e
protocol: option to pad transaction relay to the next kB
...
To help protect one's privacy from traffic volume analysis
for people using Tor or I2P. This will really fly once we
relay txes on a timer rather than on demand, though.
Off by default for now since it's wasteful and doesn't bring
anything until I2P's in.
6 years ago
Riccardo Spagni
b789f7e10d
Merge pull request #4729
...
e86af52e
wallet2: rewrite keys file in a safer manner (Nathan Dorfman)
6 years ago
Riccardo Spagni
1667d41064
Merge pull request #4728
...
1f35de23
simplewallet: display locked/unlocked state in show_transfers (moneromooo-monero)
6 years ago
Riccardo Spagni
b60078d1b3
Merge pull request #4726
...
91eaea9c
mnemonics: fix words_to_bytes on big endian (moneromooo-monero)
6 years ago
Riccardo Spagni
236c0dd48c
Merge pull request #4720
...
5f614ba9
simplewallet: print the number of show/all transfers (moneromooo-monero)
8d71b2b1
wallet2: only export necessary outputs and key images (moneromooo-monero)
769ae42a
wallet2: faster output and key image import/export (moneromooo-monero)
6 years ago
Riccardo Spagni
267b5d8807
Merge pull request #4711
...
c4fbfd78
Small function declaration cleanup in slow-hash.c (Pol Mauri)
6 years ago
Riccardo Spagni
cb4d5c2d4b
Merge pull request #4707
...
97cad7e9
db_lmdb: log which output was not found in get_output_key (moneromooo-monero)
6 years ago
buricl
1fd017cf77
Fix build of monero-gui by adding device_trezor to wallet_merged
6 years ago
moneromooo-monero
6e1282b600
wallet2: fix off by one in output picking
...
and take into account wallet level minimum spend age
6 years ago
moneromooo-monero
ac23b10f15
blockchain: fix innocuous difficulty cache inconsistency
...
This inconsistent state would not actually be used in practice
6 years ago
moneromooo-monero
3b14d9727b
blockchain: use uint64_t for block height, not size_t
...
for consistency
6 years ago
moneromooo-monero
6a1062f560
bulletproofs: reserve vector memory when known in advance
6 years ago
moneromooo-monero
00907c3987
rct: speedup commit a little
...
saves a conversion, and uses a double scalarmult instead of
two scalarmults
6 years ago
stoffu
7ae36e91f6
wallet_rpc_server: account for watch-only/non-deterministic/multisig when querying seed
...
Followup on #4653
6 years ago
moneromooo-monero
f49884543c
perf_timer: remove stray debug addition
6 years ago
xiphon
b3067962fa
cryptonote_core: avoid gratuitous recalculations in check_block_rate()
6 years ago
Dusan Klinec
e178bf234a
rpc: fix linking error of 6097472a
, get_output_distribution
...
Undefined symbols for architecture x86_64:
"cryptonote::core::get_output_distribution(unsigned long long, unsigned long long, unsigned long long, unsigned long long&, std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long> >&, unsigned long long&) const", referenced from:
cryptonote::rpc::RpcHandler::get_output_distribution(cryptonote::core&, unsigned long long, unsigned long long, unsigned long long, bool) in rpc_handler.cpp.o
6 years ago
moneromooo-monero
5f614ba968
simplewallet: print the number of show/all transfers
6 years ago
moneromooo-monero
8d71b2b1b3
wallet2: only export necessary outputs and key images
...
and disable annoying test that requires ridiculous amounts
of skullduggery every time some format changes
6 years ago
moneromooo-monero
769ae42a7b
wallet2: faster output and key image import/export
6 years ago
Riccardo Spagni
7e2483e1d5
Merge pull request #4702
...
70877b1d
wallet2/create_transactions_2: removed obsolete '/ 1024' on min_fee calc (Paul Shapiro)
6 years ago
Riccardo Spagni
68e2efa8f2
Merge pull request #4694
...
a43daebf
Add stats utility (Howard Chu)
6 years ago
Riccardo Spagni
6d3d8635be
Merge pull request #4693
...
74fb3d88
multiexp: some minor speedups (moneromooo-monero)
a6d2e246
bulletproofs: only enable profiling on request (moneromooo-monero)
a110e6aa
multiexp: tune which variants to use for which number of points (moneromooo-monero)
8b476722
bulletproofs: speedup prover (moneromooo-monero)
6f9ae5b6
multiexp: handle pippenger multiexps with part precalc (moneromooo-monero)
10e5a927
bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions (moneromooo-monero)
8629a42c
bulletproofs: rework flow to use sarang's fast batch inversion code (moneromooo-monero)
fc9f7d9c
bulletproofs: merge multiexps as per sarang's new python code (moneromooo-monero)
4061960a
multiexp: pack the digits table when STRAUS_C is 4 (moneromooo-monero)
bf8e4b98
bulletproofs: some more minor speedup (moneromooo-monero)
c415df97
performance_tests: sc_check and ge_dsm_precomp (moneromooo-monero)
a281b950
bulletproofs: remove single value prover (moneromooo-monero)
484155d0
bulletproofs: some more speedup (moneromooo-monero)
a621d6c8
bulletproofs: random minor speedups (moneromooo-monero)
a49a1761
bulletproofs: shave off a lot of scalar muls from the g/h construction (moneromooo-monero)
4564a5d1
bulletproofs: speedup PROVE (moneromooo-monero)
6 years ago
Riccardo Spagni
5141f6e8e8
Merge pull request #4692
...
cb4aafd2
blockchain_utilities: simplify getting block blob from height (moneromooo-monero)
6 years ago
Riccardo Spagni
ae919a1e15
Merge pull request #4691
...
7f0dd094
wallet2: sanity check rct output distribution from the daemon (moneromooo-monero)
6 years ago
Riccardo Spagni
617deb3329
Merge pull request #4689
...
ba0faae7
crypto: fixed groestl on big-endian platforms (xiphon)
ed36335c
crypto: fixed incremental keccak API on big-endian platforms (xiphon)
6 years ago
Riccardo Spagni
adf4eb8d50
Merge pull request #4688
...
5a2e54a1
Fix prune using receive time as tx_weight (doy-lee)
6 years ago
Riccardo Spagni
0c7086bf7f
Merge pull request #4687
...
6097472a
Update ZMQ fee estimate and add ZMQ output distribution (Lee Clagett)
6 years ago
Riccardo Spagni
d394c50f7b
Merge pull request #4686
...
cf646e3a
wallet2/create_transactions_2: removed extraneous shuffle before sort of unused_*_indices_per_subaddr (Paul Shapiro)
6 years ago
Riccardo Spagni
9cf0e67978
Merge pull request #4685
...
76681b9b
wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee args (Paul Shapiro)
6 years ago
Riccardo Spagni
5251496662
Merge pull request #4684
...
4a003bb5
mnemonics/electrum-words/create_checksum_index(): updated to work with non fixed word list length mnemonic (Paul Shapiro)
6 years ago
Riccardo Spagni
5918ef93f8
Merge pull request #4683
...
3a85af40
core: fix handle_incoming_tx* comment about return value (moneromooo-monero)
6 years ago
Riccardo Spagni
69b646494b
Merge pull request #4241
...
29ffb6bb
device/trezor: trezor support added (Dusan Klinec)
6 years ago
Riccardo Spagni
dc7de3312f
Merge pull request #4779
...
233f00c6
cryptonote_core: fix build error gcc 5.4.0 'sign-compare' (xiphon)
6 years ago
Hasan Pekdemir
e198b06e7a
Fix: out_of_hashchain_bounds_error in refresh
...
15:43 < hahsun> Im on stagenet and I suddenly get this exception: 2018-11-04 14:42:52.416 [RPC0] ERROR wallet.wallet2 src/wallet/wallet2.cpp:2070 !m_blockchain.is_in_bounds(current_index). THROW EXCEPTION: error::out_of_hashchain_bounds_error
16:01 <+moneromooo> OK, possibly because the blckchain is always seeded with the genesis block hash...
16:02 <+moneromooo> So that case should be allowed, assuming it doesn't break the code around it.
16:05 <+moneromooo> OK if stop_height == size || (size==1 && stop_heigt ==0)
16:05 <+moneromooo> Throw if not that.
16:06 < hahsun> k
6 years ago
moneromooo-monero
5d7c231604
rct: add a zeroCommit cache for common pre-rct case
...
This is called for every pre-rct output at blockchain sync time,
and a lot of them wil hit the cache, saving a scalarmult each.
6 years ago
moneromooo-monero
5808530f54
blockchain: remove unused output_scan_worker parameter
6 years ago
moneromooo-monero
1426209a10
blockchain: don't run threads if we have just one function to run
6 years ago
moneromooo-monero
6f7a5fd4f7
db_lmdb: slight speedup getting array data from the blockchain
6 years ago
stoffu
5d4f3df887
simplewallet: reorganize SCOPED_WALLET_UNLOCK a bit more
...
Followup on #4555
6 years ago
stoffu
5878fe95ce
simplewallet: don't skip asking for password when watch-only
6 years ago
moneromooo-monero
177a9d76f9
wallet: warn if lockable memory limit is too low
6 years ago
moneromooo-monero
f26ce08c8a
wallet: add a non destructive blockchain rescan
6 years ago
moneromooo-monero
8f3963d200
wallet2: demote a few uninteresting recurring logs to TRACE
6 years ago
moneromooo-monero
0afdb00b9d
wallet2: fix print_ring printing double entries for transactions
...
When a tx gets from unconfirmed to conirmed, the rings for that
transaction were being added twice
6 years ago
cryptochangements34
e61062b6f2
use current height - 1 for top block height in err msgs
6 years ago
Dusan Klinec
29ffb6bba8
device/trezor: trezor support added
6 years ago
stoffu
c22e85fe1a
simplewallet: remove redundant messages on daemon connection failure
...
try_connect_to_daemon with silent=false already prints failure message
6 years ago
stoffu
1c04c21d6e
wallet_rpc_server: include additional tx keys in sign_transfer response
...
Followup on #4552
6 years ago
moneromooo-monero
97cad7e979
db_lmdb: log which output was not found in get_output_key
6 years ago
xiphon
233f00c601
cryptonote_core: fix build error gcc 5.4.0 'sign-compare'
6 years ago
moneromooo-monero
71eb32a976
dns_utils: do not exit if DNS records are corrupt
6 years ago
moneromooo-monero
c17a1d431b
daemon: use msg_writer, not cout, to display information
6 years ago
moneromooo-monero
03fc731bf2
p2p: less frequent incoming connections check
6 years ago
Riccardo Spagni
9a4b15c631
Merge pull request #4664
...
61304151
db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedup (moneromooo-monero)
6 years ago
Riccardo Spagni
7d05e6eab3
Merge pull request #4663
...
d6937e37
ringct: use dummy bulletproofs when in fake mode, for speed (moneromooo-monero)
6 years ago
Riccardo Spagni
a0cd602e56
Merge pull request #4658
...
ca9b996d
perf_timer: separate log categories based on caller categories (moneromooo-monero)
6 years ago
Riccardo Spagni
3ceeac50da
Merge pull request #4653
...
ade369f9
Add RPC error code for non-deterministic wallet (Michał Sałaban)
6 years ago
Riccardo Spagni
fde24c80c2
Merge pull request #4648
...
a7bffead
daemon: fix base fee stating /kB even when it is per byte (moneromooo-monero)
6 years ago
Riccardo Spagni
e7a475e4e6
Merge pull request #4645
...
6f88c03d
Simplewallet: update help text for show_transfers. (Ted Moravec)
6 years ago
Riccardo Spagni
4f7cdd90fd
Merge pull request #4639
...
ec301390
Update db_lmdb.cpp (Cactii1)
6 years ago
moneromooo-monero
99fbe1008b
db_lmdb: save some string copies for readonly db keys/values
6 years ago
moneromooo-monero
14a5c2068f
p2p: tone down "no incoming connections" warning to info if in peers is 0
...
Also add an info if not offline, since it weakens the network
6 years ago
moneromooo-monero
bf31447e9b
tx_pool: speed up take_tx for transactions from blocks
...
This happens for every historical tx when syncing, and the
unnecessary parsing is actually showing up on profile.
Since these are kept cached for just one block, this does
not increase memory usage after syncing.
6 years ago
moneromooo-monero
4f005a77c2
tx_pool: remove unnecessary get_transaction_hash
6 years ago
moneromooo-monero
593ef5981d
perf_timer: call reserve on new timer array
...
to avoid reallocations in the vast majority of the time
6 years ago
moneromooo-monero
6ecc99ad1f
core: avoid unnecessary tx/blob conversions
6 years ago
RaskaRuby
2bd46065ae
Expose limit-rate defaults from command line help
6 years ago
moneromooo-monero
cf552c752d
tx_pool: allow take_tx to work without m_txs_by_fee_and_receive_time
...
This should make it possible to have two daemons running on the
same database again.
6 years ago
moneromooo-monero
09dbd9cbbc
tx_pool: fix comment about transaction_prefix
...
It was leftover from a change that was undone before commit,
but the comment change was let through
6 years ago
stoffu
1598f01caf
wallet2: use padded bulletproofs for multisig signing
...
Analogous to #4540
6 years ago
xiphon
42d8d5085e
crypto: fix AES encryption on big endian
6 years ago
moneromooo-monero
db24a2e509
hash: fix hash_permutation on big endian
6 years ago
Hasan Pekdemir
f3019efe1b
wallet-rpc: add on_restore_deterministic RPC call.
6 years ago
moneromooo-monero
157054b840
hardfork: initialize current_fork_index in ctor
...
Also order init list to match actual runtime init order
Coverity 136605
6 years ago
moneromooo-monero
d9400f69eb
serializtion: add missing mainnet and stagenet fields for 0mq
...
Coverity 184940
6 years ago
moneromooo-monero
cbe0122bf1
wallet2: initialize amount to 0 in tx_scan_info_t ctor
...
It seems the more prudent thing to do here. It will not catch
attempts to use that value before it is initialized when using
ASAN or valgrind, but in a case where it does, it will have
smaller repercussions.
So it seems appropriate in this particular case.
Coverity 182498
6 years ago
Nathan Dorfman
e86af52e2f
wallet2: rewrite keys file in a safer manner
6 years ago
cryptochangements34
dad5bbfdf9
return message in stop_mining if mining never started
6 years ago
moneromooo-monero
b3e8677c70
cryptonote: use logging functions for errors, not std::cout
6 years ago
moneromooo-monero
9335d5a297
wallet2: save ring in the ringdb once a tx is created
...
Even if it is never relayed, it ensures a daemon supplying
fake outs on demand will never be asked for a set with the
real input being the only intersecting member (only a problem
with people who trust their privacy to some stranger's node,
but it seems to be a massively common thing, even in Monero)
6 years ago
moneromooo-monero
0a95cdaa80
blockchain_utilities: fix logs and cout output colliding
6 years ago
moneromooo-monero
107f33985d
wallet2: fix ring reuse breaking when using histogram
6 years ago
moneromooo-monero
73e504c139
rpc: adjust ring size error message now that too high is also possible
6 years ago
moneromooo-monero
a5ca7f4fb5
core: fix unmixable special case allowing ring size below 11
6 years ago
Riccardo Spagni
00a7d441d6
Merge pull request #4719
...
0aff4987
rpc: fix build with older compilers (moneromooo-monero)
6 years ago
Riccardo Spagni
20d3605a54
Merge pull request #4700
...
3bb4b0d4
miner: fix build with boost 1.69 (moneromooo-monero)
6 years ago
Riccardo Spagni
33d9d2b4c1
Merge pull request #4672
...
62f94e1b
device_io_hid.cpp: fix copyright header (moneromooo-monero)
6 years ago
Riccardo Spagni
fc06c5daf8
Merge pull request #4617
...
3ffbec15
rpc: init m_rpc_version in Message ctor (moneromooo-monero)
bfa2dce1
rpc: remove unused ctors (moneromooo-monero)
7cc39845
account: init creation timestamp to 0 (moneromooo-monero)
32123789
wallet2: initialize some scalar fields in ctor where appropriate (moneromooo-monero)
4eca42b2
blockchain_db: initialize m_hardfork in ctor just in case (moneromooo-monero)
6 years ago
Riccardo Spagni
148d14164e
Merge pull request #4615
...
a7960542
WalletAPI: rescanBlockchain, rescanBlockchainAsync (mmitkevich)
6 years ago
Riccardo Spagni
ecc690a613
Merge pull request #4612
...
2d48861d
p2p: only deinitialize what's been initialized in offline mode (moneromooo-monero)
6 years ago
Riccardo Spagni
665ab1afbc
Merge pull request #4609
...
e54e5668
daemon: Show mining address (Ricardo de Vries)
6 years ago
Riccardo Spagni
481d7ed147
Merge pull request #4604
...
0fbbb065
p2p: a negative result from UPNP_GetValidIGD is an error (moneromooo-monero)
6 years ago
Riccardo Spagni
6fc7869eb5
Merge pull request #4586
...
e51c9787
rpc: fix wrongly formatted JSON for pruned tx (stoffu)
6 years ago
Riccardo Spagni
c761bee764
Merge pull request #4561
...
04ddf02e
Return appropriate RPC error code when key image signature check fails (Michał Sałaban)
6 years ago
Riccardo Spagni
d6fb329653
Merge pull request #4555
...
68e9744d
simplewallet: perform trivial error checks before password prompt (xiphon)
6 years ago
Riccardo Spagni
169e6e9074
Merge pull request #4552
...
67e76aa0
wallet_rpc_server: optionally return tx keys in sign_transfer (moneromooo-monero)
6 years ago
Riccardo Spagni
b8a4e5b7a6
Merge pull request #4547
...
f2c2c47a
simplewallet: fixed deadlock if a user hits CTRL+C twice (xiphon)
6 years ago
Riccardo Spagni
d7ff24c1e0
Merge pull request #4545
...
93a88d73
Utils: add support for newer Windows versions detection (Gregory Lemercier)
6 years ago
Riccardo Spagni
659cf52a61
Merge pull request #4539
...
977fc1bc
wallet_rpc_server: add describe_transfer RPC (moneromooo-monero)
6 years ago
Riccardo Spagni
056a58d13f
Merge pull request #4536
...
fd62b6e7
blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
6 years ago
Riccardo Spagni
557c17e206
Merge pull request #4408
...
341b3931
cryptonote_core: warn when the block rate deviates from expectations (moneromooo-monero)
6 years ago
Riccardo Spagni
1c91963dcd
Merge pull request #4308
...
9907ea06
cryptonote: sort tx_extra fields (moneromooo-monero)
6 years ago
moneromooo-monero
1f35de2300
simplewallet: display locked/unlocked state in show_transfers
...
it doesn't display the details, which are already displayed
in show_transfer
6 years ago
moneromooo-monero
91eaea9c72
mnemonics: fix words_to_bytes on big endian
6 years ago
xiphon
ba0faae789
crypto: fixed groestl on big-endian platforms
6 years ago
moneromooo-monero
0aff49873c
rpc: fix build with older compilers
6 years ago
Pol Mauri
c4fbfd786a
Small function declaration cleanup in slow-hash.c
...
- 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: 1e74586ee9/src/crypto/aesb.c (L151-L180)
Test plan: make release-test
6 years ago
Lee Clagett
6097472a19
Update ZMQ fee estimate and add ZMQ output distribution
6 years ago
moneromooo-monero
d6937e373b
ringct: use dummy bulletproofs when in fake mode, for speed
6 years ago
Howard Chu
a43daebf57
Add stats utility
...
Report statistics from a blockchain DB
6 years ago
moneromooo-monero
61f83316b3
wallet2: extend fake out picks away from the gamma pick
...
in order to unbias selection from blocks with few txes
6 years ago
Paul Shapiro
70877b1d91
wallet2/create_transactions_2: removed obsolete '/ 1024' on min_fee calc
6 years ago
doy-lee
5a2e54a1cb
Fix prune using receive time as tx_weight
6 years ago
moneromooo-monero
3bb4b0d41f
miner: fix build with boost 1.69
6 years ago
moneromooo-monero
74fb3d882c
multiexp: some minor speedups
6 years ago
moneromooo-monero
a6d2e246f3
bulletproofs: only enable profiling on request
6 years ago
moneromooo-monero
a110e6aa18
multiexp: tune which variants to use for which number of points
6 years ago
moneromooo-monero
8b4767221c
bulletproofs: speedup prover
6 years ago
moneromooo-monero
6f9ae5b6eb
multiexp: handle pippenger multiexps with part precalc
6 years ago
moneromooo-monero
10e5a92769
bulletproofs: maintain -z4, -z5, and -y0 to avoid subtractions
6 years ago
moneromooo-monero
8629a42cf6
bulletproofs: rework flow to use sarang's fast batch inversion code
6 years ago
moneromooo-monero
fc9f7d9c81
bulletproofs: merge multiexps as per sarang's new python code
6 years ago
moneromooo-monero
4061960a16
multiexp: pack the digits table when STRAUS_C is 4
...
Spotted by stoffu
6 years ago
moneromooo-monero
bf8e4b9870
bulletproofs: some more minor speedup
6 years ago
moneromooo-monero
a281b950bf
bulletproofs: remove single value prover
...
It is now expressed in terms of the array prover
6 years ago
moneromooo-monero
484155d043
bulletproofs: some more speedup
6 years ago
moneromooo-monero
a621d6c8b4
bulletproofs: random minor speedups
6 years ago
moneromooo-monero
a49a17618f
bulletproofs: shave off a lot of scalar muls from the g/h construction
6 years ago
moneromooo-monero
4564a5d17b
bulletproofs: speedup PROVE
6 years ago
moneromooo-monero
cb4aafd27e
blockchain_utilities: simplify getting block blob from height
6 years ago
xiphon
ed36335c96
crypto: fixed incremental keccak API on big-endian platforms
6 years ago
moneromooo-monero
7f0dd094e7
wallet2: sanity check rct output distribution from the daemon
6 years ago
stoffu
e51c978770
rpc: fix wrongly formatted JSON for pruned tx
...
Fix for #4399 .
Also unifies code for serializing pruned tx to binary/json into one.
6 years ago
xiphon
fd62b6e79f
blocks: use auto-generated .c files instead of 'LD -r -b binary'
6 years ago
Paul Shapiro
4a003bb5a2
mnemonics/electrum-words/create_checksum_index(): updated to work with non fixed word list length mnemonic
6 years ago
Paul Shapiro
76681b9bda
wallet2/create_transactions_2: fixed typo in try_tx=true's estimate_fee args
6 years ago
Paul Shapiro
cf646e3afe
wallet2/create_transactions_2: removed extraneous shuffle before sort of unused_*_indices_per_subaddr
6 years ago
moneromooo-monero
3a85af403d
core: fix handle_incoming_tx* comment about return value
6 years ago
Riccardo Spagni
2287fb9fb4
Merge pull request #4524
...
f5f7c2ac
rpc: blanket initialize 0MQ request and response structures (moneromooo-monero)
6 years ago
Riccardo Spagni
a145ae52b6
Merge pull request #4523
...
6ca00b6d
miner: really reset flags/precision on std::cout (moneromooo-monero)
6 years ago
Riccardo Spagni
5c418c0522
Merge pull request #4522
...
a39c0358
blockchain: add check test options are given for fakechain mode (moneromooo-monero)
6 years ago
Riccardo Spagni
ed4b953bb7
Merge pull request #4518
...
92a0827e
wallet2: make fake out selection messages less spammy (moneromooo-monero)
6 years ago
Riccardo Spagni
a38299801f
Merge pull request #4666
...
cf75ee72
blockchain: move two new verification errors to the verify category (moneromooo-monero)
6 years ago
Riccardo Spagni
9f34a3a29a
Merge pull request #4659
...
b916ca63
rpc: fix output distribution caching ignoring chain changes (moneromooo-monero)
6 years ago
Riccardo Spagni
4cd8850fce
Merge pull request #4642
...
25d327e7
device: extended logging, refactored device selection code (xiphon)
825d836f
device: fixed Ledger Nano S device selection (xiphon)
6 years ago
Riccardo Spagni
bdd32bc2b2
Merge pull request #4650
...
99cd6f96
Rename "blackball" for clarity (moneromooo-monero)
6 years ago
Riccardo Spagni
93f2c13a39
Merge pull request #4637
...
c39e0a17
core: don't verify range proofs multiple times (moneromooo-monero)
6 years ago
Riccardo Spagni
313f16e83c
Merge pull request #4635
...
776aefda
tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool (stoffu)
6 years ago
Riccardo Spagni
fe0e426be4
Merge pull request #4629
...
c7743929
spawn: close all file descriptors before execve (moneromooo-monero)
6 years ago
moneromooo-monero
62f94e1b9d
device_io_hid.cpp: fix copyright header
6 years ago
moneromooo-monero
cf75ee722a
blockchain: move two new verification errors to the verify category
...
Lest we get people get scared again
6 years ago
moneromooo-monero
61304151b4
db_lmdb: use MDB_MULTIPLE_NEXT where possible for some speedup
6 years ago
moneromooo-monero
b916ca63a8
rpc: fix output distribution caching ignoring chain changes
...
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.
6 years ago
moneromooo-monero
ca9b996dcb
perf_timer: separate log categories based on caller categories
...
Also default to microseconds, for homogeneity
Makes it easier to enable what we need
6 years ago
moneromooo-monero
a7bffead9e
daemon: fix base fee stating /kB even when it is per byte
6 years ago
Michał Sałaban
ade369f96f
Add RPC error code for non-deterministic wallet
6 years ago
moneromooo-monero
99cd6f961a
Rename "blackball" for clarity
...
Apparently some people seem to think it's a censorship list...
6 years ago
xiphon
25d327e796
device: extended logging, refactored device selection code
6 years ago
Ted Moravec
6f88c03dfc
Simplewallet: update help text for show_transfers.
...
Describe the output format.
6 years ago
Ricardo de Vries
e54e5668a8
daemon: Show mining address
6 years ago
xiphon
825d836f9f
device: fixed Ledger Nano S device selection
6 years ago
stoffu
776aefdac1
tx_pool: revert #4592 and move bin2hex conversion to on_get_transaction_pool
6 years ago
Cactii1
ec3013903b
Update db_lmdb.cpp
6 years ago
moneromooo-monero
c39e0a1706
core: don't verify range proofs multiple times
6 years ago
moneromooo-monero
c774392985
spawn: close all file descriptors before execve
...
No need to give whatever we're calling access to what we use
6 years ago
moneromooo-monero
a69fc05a0c
util: close keys file lock on exec
6 years ago
Riccardo Spagni
5c85da5a73
Merge pull request #4610
...
9b6dd934
Providing user supplied default constructor for expect<void> (Lee Clagett)
6 years ago
Riccardo Spagni
d4e4fac209
Merge pull request #4602
...
6f28667a
daemon: fix reading past stack on exit (moneromooo-monero)
6 years ago
Riccardo Spagni
c5be5ca6b4
Merge pull request #4623
...
99d45a95
wallet_rpc_server: fix change_wallet_password RPC (moneromooo-monero)
6 years ago
moneromooo-monero
99d45a9578
wallet_rpc_server: fix change_wallet_password RPC
6 years ago
Riccardo Spagni
e0a1d45d76
Merge pull request #4621
...
0cdd4b07
wallet2_api: fix generating new wallet in the GUI (moneromooo-monero)
6 years ago
moneromooo-monero
0cdd4b074e
wallet2_api: fix generating new wallet in the GUI
...
It was creating a new wallet without a password first (this should
be fixed), then not changing the password correctly
6 years ago
moneromooo-monero
3ffbec1556
rpc: init m_rpc_version in Message ctor
...
Coverity 182501
6 years ago
moneromooo-monero
bfa2dce171
rpc: remove unused ctors
...
Also prevents coverity from moaning about them not initializing fields
6 years ago
moneromooo-monero
7cc39845be
account: init creation timestamp to 0
...
Never actually used uninitialized
Coverity 136615
6 years ago
moneromooo-monero
3212378912
wallet2: initialize some scalar fields in ctor where appropriate
...
Coverity 188336
6 years ago
moneromooo-monero
4eca42b241
blockchain_db: initialize m_hardfork in ctor just in case
...
Coverity 136568
6 years ago
mmitkevich
a7960542a9
WalletAPI: rescanBlockchain, rescanBlockchainAsync
6 years ago
moneromooo-monero
2d48861db7
p2p: only deinitialize what's been initialized in offline mode
6 years ago
Lee Clagett
9b6dd9348c
Providing user supplied default constructor for expect<void>
6 years ago
iDunk5400
e7f24850d5
Fix Windows build after epee dependency change
6 years ago
moneromooo-monero
0fbbb065d4
p2p: a negative result from UPNP_GetValidIGD is an error
...
as per the source documentation
6 years ago
moneromooo-monero
6f28667aa3
daemon: fix reading past stack on exit
6 years ago
Riccardo Spagni
1afc1d0d26
Merge pull request #4502
...
9a856697
rpc: fixed typo in JSON command error response message (AnythingTechPro)
6 years ago
Riccardo Spagni
5ccd3d32b4
Merge pull request #4489
...
00901e9c
epee: initialize a few data members where it seems to be appropriate (moneromooo-monero)
144a6c32
abstract_tcp_server2: move m_period to subclass (moneromooo-monero)
758d7684
connection_basic: remove unused floating time start time (moneromooo-monero)
e5108a29
Catch more exceptions in dtors (moneromooo-monero)
6 years ago
Riccardo Spagni
c531df734f
Merge pull request #4389
...
6844ae1b
tx_pool: avoid parsing a whole tx if only the prefix is needed (moneromooo-monero)
6 years ago
Riccardo Spagni
ad8e6ee8c7
Merge pull request #4592
...
a677492f
tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC (stoffu)
6 years ago
Riccardo Spagni
544413de8f
Merge pull request #4577
...
d886b97f
SOFTWARE is the default wallet device (m2049r)
6 years ago
Riccardo Spagni
f6cfca9a40
Merge pull request #4551
...
c0822fdd
simplewallet: mark default-ring-size setting as obsolete (moneromooo-monero)
6 years ago
Riccardo Spagni
fa7278d6b5
Merge pull request #4578
...
76d6d832
Revert "p2p: connect via the bound ip, if any" (moneromooo-monero)
6 years ago
Riccardo Spagni
f916ef81f1
Merge pull request #4571
...
c3b8328c
daemon: do not run complex code in a signal handler (moneromooo-monero)
e736964a
Remove epee header dependency on cryptonote_core (moneromooo-monero)
6 years ago
Riccardo Spagni
175bfe4747
Merge pull request #4567
...
14ed029b
simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
6 years ago
Riccardo Spagni
40980b33b7
Merge pull request #4550
...
0e33cf89
password: fix secure input with echo on windows (moneromooo-monero)
6 years ago
Riccardo Spagni
ae5ca0bea1
Merge pull request #4549
...
dc8f6924
password: fix backspace outputting ^? on linux on echoing secure input (moneromooo-monero)
6 years ago
stoffu
a677492f1b
tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC
...
Inspired by https://github.com/masari-project/masari/issues/93
6 years ago
moneromooo-monero
76d6d832d2
Revert "p2p: connect via the bound ip, if any"
...
This reverts commit 909398efc7
.
It looks like it's causing trouble with tor on some setups
6 years ago
wow nero
d886b97fe2
SOFTWARE is the default wallet device
6 years ago
moneromooo-monero
c3b8328cd3
daemon: do not run complex code in a signal handler
...
instead, delegate the work to a one off thread
and notify it from the signal handler
6 years ago
moneromooo-monero
e736964a0c
Remove epee header dependency on cryptonote_core
6 years ago
moneromooo-monero
14ed029b24
simplewallet: fix view key parsing in --generate-from-view-key
6 years ago
moneromooo-monero
f5f7c2ac24
rpc: blanket initialize 0MQ request and response structures
6 years ago
Michał Sałaban
04ddf02e3a
Return appropriate RPC error code when key image signature check fails
6 years ago
xiphon
68e9744d44
simplewallet: perform trivial error checks before password prompt
6 years ago
xiphon
f2c2c47a4b
simplewallet: fixed deadlock if a user hits CTRL+C twice
...
Co-authored-by: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
6 years ago
moneromooo-monero
67e76aa06c
wallet_rpc_server: optionally return tx keys in sign_transfer
6 years ago
moneromooo-monero
c0822fdd30
simplewallet: mark default-ring-size setting as obsolete
6 years ago
moneromooo-monero
0e33cf89d2
password: fix secure input with echo on windows
...
Thanks to iDunk for the testing back and forth
6 years ago
moneromooo-monero
dc8f6924b2
password: fix backspace outputting ^? on linux on echoing secure input
6 years ago
moneromooo-monero
92a0827eea
wallet2: make fake out selection messages less spammy
6 years ago
Riccardo Spagni
bf60e98abc
fix version changes on master
6 years ago
Gregory Lemercier
93a88d7323
Utils: add support for newer Windows versions detection
6 years ago
Riccardo Spagni
c23b6f8f56
Merge pull request #4540
...
8833aec0
wallet2: fix cold signing using non padded bulletproofs (moneromooo-monero)
6 years ago
Riccardo Spagni
0c135c9420
Merge pull request #4535
...
c716a331
device: increase ledger timeout to 2 minutes (selsta)
6 years ago
Riccardo Spagni
18318e0dbc
Merge pull request #4538
...
bd7b800f
device_io_hid: fix DEFAULT_* type (too short) and init time (moneromooo-monero)
6 years ago
moneromooo-monero
8833aec083
wallet2: fix cold signing using non padded bulletproofs
...
This code was deciding which bulletproof configuration to use
based on ptx which weren't created yet.
6 years ago
moneromooo-monero
977fc1bceb
wallet_rpc_server: add describe_transfer RPC
...
for unsigned tx sets using a view only wallet
6 years ago
moneromooo-monero
bd7b800f0a
device_io_hid: fix DEFAULT_* type (too short) and init time
6 years ago
selsta
c716a331f3
device: increase ledger timeout to 2 minutes
6 years ago
Riccardo Spagni
31155115d2
Merge pull request #4532
...
8f22e808
device: destroy device objects on exit (moneromooo-monero)
6 years ago
Riccardo Spagni
d6dbb6601b
Merge pull request #4530
...
77471e23
blockchain_blackball: fix stray ! (moneromooo-monero)
6 years ago
Riccardo Spagni
91c6725b88
Merge pull request #4527
...
c5a97315
Remove last traces of libpcsc-lite (moneromooo-monero)
6 years ago
Riccardo Spagni
ac5674524a
Revert "Merge pull request #4472"
...
This reverts commit 79d46c4d55
, reversing
changes made to c9fc61dbb5
.
6 years ago
moneromooo-monero
8f22e80865
device: destroy device objects on exit
6 years ago
moneromooo-monero
77471e23bd
blockchain_blackball: fix stray !
6 years ago
moneromooo-monero
c5a97315ee
Remove last traces of libpcsc-lite
6 years ago
moneromooo-monero
6ca00b6d75
miner: really reset flags/precision on std::cout
6 years ago
moneromooo-monero
a39c035846
blockchain: add check test options are given for fakechain mode
...
Coverity 188616
6 years ago
Riccardo Spagni
3f2bfe87f7
Merge pull request #4514
...
85e58cb2
blockchain_blackball: fix stats double counting (moneromooo-monero)
6 years ago
moneromooo-monero
6844ae1b8d
tx_pool: avoid parsing a whole tx if only the prefix is needed
6 years ago
moneromooo-monero
85e58cb24a
blockchain_blackball: fix stats double counting
6 years ago
Riccardo Spagni
e19652df51
Merge pull request #4036
...
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)
6 years ago
moneromooo-monero
9907ea0694
cryptonote: sort tx_extra fields
...
This removes some small amount of fingerprinting entropy.
There is no consensus rule to require this since this field
is technically free form, and a transaction is free to have
custom data in it.
6 years ago
Guillaume LE VAILLANT
977df6315f
Fix some calls to the translation function
...
Some strings were not detected by lupdate because "tr() cannot be called without
context".
6 years ago
Riccardo Spagni
79d46c4d55
Merge pull request #4472
...
02d3ef7b
blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
6 years ago
Riccardo Spagni
c9fc61dbb5
Merge pull request #4495
...
34a85e0c
wallet2: disable height based segregation (moneromooo-monero)
6 years ago
Riccardo Spagni
21960a5b5a
Merge pull request #4499
...
c5928bde
wallet2_api: fix build with C++14 (moneromooo-monero)
6 years ago