moneromooo-monero
ec1a62b50d
move int-util.h to epee
6 years ago
Riccardo Spagni
a605c0da08
Merge pull request #4872
...
fc99f177
lmdb: fix gcc 7.3.0 'implicit-fallthrough' warning (xiphon)
6 years ago
Riccardo Spagni
e7d30780de
Merge pull request #4869
...
60f36386
Avoid unnecessary temp block and copy ctor (moneromooo-monero)
6 years ago
Riccardo Spagni
eba668c6ad
Merge pull request #4862
...
3998a937
Enhance help text for print_ring. (Tadeas Moravec)
3900fb77
Enhance help text for incoming_transfers. (Tadeas Moravec)
6 years ago
Riccardo Spagni
11d86f6008
Merge pull request #4859
...
6f2497bc
Don't cache nettype in core_rpc_server use m_core (doy-lee)
6 years ago
Riccardo Spagni
c00ac446fd
Merge pull request #4854
...
bd98e99c
Removed a lot of unnecessary includes (Martijn Otto)
6 years ago
Riccardo Spagni
398f7076bb
Merge pull request #4853
...
2b3595d0
various: do not propagate exception through dtor (moneromooo-monero)
6 years ago
Riccardo Spagni
94288d7d1d
Merge pull request #4845
...
6732fc7f
Fix issue 4793 - M/N multisig transaction signature (naughtyfox)
6 years ago
Tadeas Moravec
6456cb415a
Bulletproof: Initialize members in default construtor.
...
Fixing a build warning on g++ 7.3.0
6 years ago
moneromooo-monero
9b69a0ae01
daemon: print monero version at startup when calling a detached daemon
...
So people who want a timstamp get a timestamp
6 years ago
moneromooo-monero
0c5dd3161b
cryptonote: add a set_null for transaction_prefix
...
Since it's all inline, I suspect the compiler will merge the
duplicate stores anyway.
6 years ago
moneromooo-monero
aba9a9c277
daemon: stop miner before we bring the whole thing down
...
This avoids the miner erroring out trying to submit blocks
to a core that's already shut down (and avoids pegging
the CPU while we're busy shutting down).
6 years ago
moneromooo-monero
ac665418f0
ringct: fix dummy bulletproofs on ledger in fake mode
...
Ledger does some basic checks on them
6 years ago
Dusan Klinec
318cc78457
device/trezor: passphrase entry on host
...
- simple device callback object added. Device can request passphrase/PIN entry via the callback or notify user some action is required
- callback is routed to wallet2, which routes the callback to i_wallet_callback so CLI or GUI wallets can support passphrase entry for HW tokens
- wallet: device open needs wallet callback first - passphrase protected device needs wallet callback so user can enter passphrase
6 years ago
Jason Wong
dc1c12528d
add command pop_blocks
...
add new public method to Blockchain and update according to code review
update after review: better lock/unlock, try catch and coding style
6 years ago
moneromooo-monero
a48f2dab00
blockchain_prune_known_spent_data: blackball file is now optional
...
If not present, the tool will scan the blockchain, since scanning
for this is fairly fast.
6 years ago
moneromooo-monero
17b45725af
Outputs where all amounts are known spent can now be pruned
...
Only for pre rct for obvious reasons.
Note: DO NOT use a known spent list which includes outputs
which are not known spent. If the list includes any output
that's just strongly thought to be spent, but not provably
so, you risk finding yourself unable to sync past the point
where that output is spent.
I estimate only 200 MB saved on current mainnet though,
unless the new blackballing rule unearths a good amount of
large-amount-set extra spent outs.
6 years ago
moneromooo-monero
756684bb28
blockchain: avoid unnecessary DB lookups when syncing
...
Some of the inputs for block in a span will be from other earlier
blocks in that span. Keep track of those outputs so we don't have
to look them up again after those early blocks are added to the
blockchain.
6 years ago
moneromooo-monero
5ca4994c9c
rpc: speed up the common get_output_distribution case while syncing
6 years ago
moneromooo-monero
e98ae34e4b
core: fix adding new pre-hoh block when a tx is already in the pool
6 years ago
stoffu
0e2a5d75de
simplewallet: use is_transfer_unlocked instead of is_tx_spendtime_unlocked for show_transfers
...
Followup on #4728
6 years ago
Riccardo Spagni
58ce16d4d9
Merge pull request #4821
...
fc98f7a0
rpc: speedup get_outs.bin (moneromooo-monero)
6 years ago
moneromooo-monero
fc98f7a0a1
rpc: speedup get_outs.bin
6 years ago
Riccardo Spagni
3e2abc9eaa
Merge pull request #4834
...
2c7195d8
bulletproofs: avoid std::vector allocations for slice (moneromooo-monero)
6 years ago
Riccardo Spagni
4a64303d71
Merge pull request #4831
...
c5ee14ae
json_archive: initialize inner_array_size in ctor (moneromooo-monero)
6 years ago
Riccardo Spagni
c4fd8ce97e
Merge pull request #4830
...
dffec258
db_lmdb: error out if the db needs migration in read only mode (moneromooo-monero)
6 years ago
Riccardo Spagni
eccb9b08c4
Merge pull request #4825
...
b9b307d1
rpc: speedup get_output_distribution (moneromooo-monero)
6 years ago
Riccardo Spagni
b37ce24cdd
Merge pull request #4824
...
2ffe53d9
device/trezor: webusb transport added, cmake fixes (Dusan Klinec)
6 years ago
Riccardo Spagni
cc1ea0b651
Merge pull request #4816
...
1a4d1603
wallet2: remove redundant chacha key generation in store_keys (stoffu)
6 years ago
moneromooo-monero
506472e0c6
protocol: fix use after free when dropping a connection
6 years ago
Dusan Klinec
2ffe53d9e6
device/trezor: webusb transport added, cmake fixes
...
- webusb transport based on libusb added. Provides direct access to Trezor via USB, no need for Trezor bridge.
- trezor protocol message handler improved, no recursion used. Ready for upcoming integration tests.
- libusb (for docker) bumped from v1.0.9 to v1.0.22, newer version required for webusb transport, for device enumeration.
- cmake improvements and fixes. Cmake Trezor checks are moved to a dedicated CheckTrezor.cmake file. In case of a problem Trezor is excluded from build.
- ifdefs made consistent to Ledger.
- UDP Transport enumeration disabled by default in release mode
6 years ago
moneromooo-monero
2be31b4c9c
blockchain_blackball: spot when all outputs of an amount are spent
6 years ago
stoffu
9b5efad294
simplewallet: enable donation on testnet/stagenet for easier testing
6 years ago
moneromooo-monero
aee7a4e364
wallet_rpc_server: do not use RPC data if the call failed
...
Found by codacy.com
6 years ago
moneromooo-monero
1a0733e534
windows_service: fix memory leak
...
Found by codacy.com
6 years ago
moneromooo-monero
5d9915ab9e
cryptonote: fix get_unit for non default settings
...
Found by codacy.com
6 years ago
moneromooo-monero
d4f50cb109
remove some unused code
...
Found by codacy.com
6 years ago
moneromooo-monero
611639710d
a few minor (but easy) performance tweaks
...
Found by codacy.com
6 years ago
moneromooo-monero
3002307418
tests: slow_memmem now returns size_t
...
Makes more sense than uint64_t for an offset, and agrees with
the %zu used to print results.
Found by codacy.com
6 years ago
stoffu
c28e3d2dae
rctOps: add braces to suppress warnings
6 years ago
moneromooo-monero
b0d9d6051f
cn_deserialize: allow parsing partially valid tx extra
6 years ago
stoffu
b5573fc231
wallet2: resume processing when tx extra is partially broken
...
Motivated by https://monero.stackexchange.com/questions/10483
Some exchanges appear to have customized the wallet software
in an inappropriate way, making the tx extra field partially
unreadable. PR #3716 changed the wallet behavior disallowing
such partially valid tx extra.
An example tx reported by the user is
e87c675a85f34ecac58a8846613d25062f1813e1023c552b705afad32b972c38
where the normal tx pubkey appears again with the aditional
tx pubkeys tag `04` which is inappropriate.
6 years ago
moneromooo-monero
56e616e855
wallet2: add n_vouts to capture list
6 years ago
Jethro Grassie
517f25efd1
rpc: add version to get_info
6 years ago
moneromooo-monero
6bfcc57395
scoped_message_writer: protect all std::cout usage from readline
6 years ago
moneromooo-monero
96e6b43970
blockchain_stats: don't use gmtime_r on Windows
...
In some cases, it doesn't like it (I don't know the details).
Factor into a new epee function
6 years ago
moneromooo-monero
c25260f51c
protocol: fix incorrect tx hash in log
6 years ago
naughtyfox
6732fc7fde
Fix issue 4793 - M/N multisig transaction signature
6 years ago
moneromooo-monero
b9b307d11a
rpc: speedup get_output_distribution
...
and decrease the amount of data carried around
6 years ago
Riccardo Spagni
84dd674cd0
Merge pull request #4781
...
2a48c2a2
slow-hash: some more big endian fixes (xiphon)
b39fdf8e
slow-hash: fix for big endian (moneromooo-monero)
6 years ago
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