Riccardo Spagni
249feda4e1
Merge pull request #4147
...
a4d2d842
blockchain_depth: add average min depth (moneromooo-monero)
289880d8
blockchain_depth: get the average min depth of a set of txes (moneromooo-monero)
628428a0
blockchain_ancestry: faster and uses less memory (moneromooo-monero)
2382484d
blockchain_ancestry: add an incremental mode (moneromooo-monero)
888324fa
blockchain_ancestry: finds all ancestors of a tx, block, or chain (moneromooo-monero)
2018-09-14 12:19:44 +02:00
moneromooo-monero
607301bf6d
rct: avoid repeated unnecessary conversions when accummulating
2018-09-14 10:18:01 +00:00
moneromooo-monero
ac9346637a
rpc: add a "is an update available" flag in get_info
...
Make it easier for a user to be told when to update
2018-09-14 09:28:03 +00:00
moneromooo-monero
2ace509a78
simplewallet: print reason why refresh+password is needed
2018-09-14 08:26:36 +00:00
moneromooo-monero
4f81cd3a3c
rpc: add cumulative difficulty in block header data
2018-09-13 12:41:59 +00:00
moneromooo-monero
1660b0e72c
tx_pool: make the max tx size a consensus rule from v8
2018-09-13 09:43:29 +00:00
cslashm
cd236aebca
Add bulletproof support
2018-09-13 09:50:43 +02:00
Lee Clagett
55c7cd1458
Adding expect<T> - a value-or-error implementation
2018-09-12 22:44:34 +00:00
moneromooo-monero
b2bb9312a7
blockchain: simplify output distribution code
2018-09-12 19:20:16 +00:00
moneromooo-monero
befdcbf4be
db_lmdb: do not use base for cumulative distribution
...
it's confusing and needlessly complicated
2018-09-12 19:20:13 +00:00
stoffu
67a56a9f8b
rctTypes: fix incorrect serialization
2018-09-12 20:33:10 +09:00
moneromooo-monero
56b50faab2
wallet: use wipeable_string in more places where a secret is used
2018-09-12 09:26:11 +00:00
Riccardo Spagni
157690caaa
Merge pull request #4352
...
0664a984
wallet_rpc_server: remove some unused code (moneroexamples)
2018-09-11 21:26:50 +02:00
thomasvaughan
bcda7adcd4
NetBSD support
2018-09-11 14:32:33 +00:00
Riccardo Spagni
e6d36c1701
Merge pull request #4219
...
9137ad2c
blockchain: add a testnet v9 a day after v8 (moneromooo-monero)
ac4f71c2
wallet2: bump testnet rollback to account for coming reorg (moneromooo-monero)
8f418a6d
bulletproofs: #include <openssl/bn.h> (moneromooo-monero)
2bf63650
bulletproofs: speed up the latest changes a bit (moneromooo-monero)
044dff5a
bulletproofs: scale points by 8 to ensure subgroup validity (moneromooo-monero)
c83012c4
bulletproofs: match aggregated verification to sarang's latest prototype (moneromooo-monero)
ce0c7432
performance_tests: add padded bulletproof construction (moneromooo-monero)
1224e53b
core_tests: add a test for 4-aggregated BP verification (moneromooo-monero)
0e6ed559
fuzz_tests: add a bulletproof fuzz test (moneromooo-monero)
463434d1
more comprehensive test for ge_p3 comparison to identity/point at infinity (moneromooo-monero)
d0a0565f
unit_tests: add a few more multiexp unit tests (moneromooo-monero)
6526d87f
core_tests: add a test for a tx with empty bulletproof (moneromooo-monero)
a129bbd9
multiexp: fix maxscalar off by one (moneromooo-monero)
7ed496cc
ringct: error out when hashToPoint* returns the point at infinity (moneromooo-monero)
d1591853
cryptonote_basic: check output type before using it (moneromooo-monero)
61632dc1
ringct: prevent a potential very large allocation (moneromooo-monero)
a4317e61
crypto: some paranoid checks in generate_signature/check_signature (moneromooo-monero)
7434df1c
crypto: never return zero in random32_unbiased (moneromooo-monero)
0825e974
multiexp: fix wrong Bos-Coster result for 1 non trivial input (moneromooo-monero)
a1359ad4
Check inputs to addKeys are in range (moneromooo-monero)
fe0fa3b9
bulletproofs: reject x, y, z, or w[i] being zero (moneromooo-monero)
5ffb2ff9
v8: per byte fee, pad bulletproofs, fixed 11 ring size (moneromooo-monero)
869b3bf8
bulletproofs: a few fixes from the Kudelski review (moneromooo-monero)
c4291762
bulletproofs: reject points not in the main subgroup (moneromooo-monero)
15697177
bulletproofs: speed up a few multiplies using existing Hi cache (moneromooo-monero)
0b05a0fa
Add Pippenger cache and limit Straus cache size (moneromooo-monero)
51eb3bdc
add pippenger unit tests (moneromooo-monero)
b17b8db3
performance_tests: add stats and loop count multiplier options (moneromooo-monero)
7314d919
perf_timer: split timer class into a base one and a logging one (moneromooo-monero)
d126a02b
performance_tests: add aggregated bulletproof tx verification (moneromooo-monero)
263431c4
Pippenger multiexp (moneromooo-monero)
1ed0ed4d
multiexp: cut down on memory allocations (moneromooo-monero)
1b867e7f
precalc the ge_p3 representation of H (moneromooo-monero)
ef56529f
performance_tests: document the tested bulletproof layouts (moneromooo-monero)
30111780
unit_tests: a couple more bulletproof unit tests for gamma (moneromooo-monero)
c444b1b2
require canonical multi output bulletproof layout (moneromooo-monero)
7e67c52f
Add a define for the max number of bulletproof multi-outputs (moneromooo-monero)
2a8fcb42
Bulletproof aggregated verification and tests (moneromooo-monero)
126196b0
multiexp: some speedups (moneromooo-monero)
71d67bda
aligned: aligned memory alloc/realloc/free (moneromooo-monero)
cb9ecab1
performance_tests: add signature generation/verification (moneromooo-monero)
bacf0a1e
bulletproofs: add aggregated verification (moneromooo-monero)
e895c3de
make straus cached mode thread safe, and add tests for it (moneromooo-monero)
7f48bf05
multiexp: bos coster now works for just one point (moneromooo-monero)
9ce9f8ca
bulletproofs: add multi output bulletproofs to rct (moneromooo-monero)
f34e2e20
performance_tests: add tx checking tests with more than 2 outputs (moneromooo-monero)
0793184b
performance_tests: add a --verbose flag, and default to terse (moneromooo-monero)
939bc223
add Straus multiexp (moneromooo-monero)
9ff6e6a0
ringct: add bos coster multiexp (moneromooo-monero)
e9164bb3
bulletproofs: misc optimizations (moneromooo-monero)
112f32f0
performance_tests: add crypto ops (moneromooo-monero)
f5d7b993
performance_tests: add bulletproofs (moneromooo-monero)
8f4ce989
performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
1aa10c43
performance_tests: add (Borromean) range proofs (moneromooo-monero)
aacfd6e3
bulletproofs: multi-output bulletproofs (moneromooo-monero)
cb1cc757
performance_tests: don't override log level to 0 (moneromooo-monero)
2018-09-11 15:45:56 +02:00
moneromooo-monero
9137ad2c63
blockchain: add a testnet v9 a day after v8
...
So that bulletproofs become mandatory
2018-09-11 13:38:36 +00:00
moneromooo-monero
ac4f71c200
wallet2: bump testnet rollback to account for coming reorg
2018-09-11 13:38:35 +00:00
moneromooo-monero
8f418a6db0
bulletproofs: #include <openssl/bn.h>
...
Apparently needed for openssl 1.1.x
2018-09-11 13:38:34 +00:00
moneromooo-monero
2bf636503f
bulletproofs: speed up the latest changes a bit
2018-09-11 13:38:32 +00:00
moneromooo-monero
044dff5a30
bulletproofs: scale points by 8 to ensure subgroup validity
2018-09-11 13:38:31 +00:00
moneromooo-monero
c83012c476
bulletproofs: match aggregated verification to sarang's latest prototype
2018-09-11 13:38:30 +00:00
moneromooo-monero
463434d1f7
more comprehensive test for ge_p3 comparison to identity/point at infinity
...
Reported by QuarksLab.
2018-09-11 13:38:20 +00:00
moneromooo-monero
a129bbd944
multiexp: fix maxscalar off by one
...
Reported by QuarksLab.
2018-09-11 13:38:17 +00:00
moneromooo-monero
7ed496cc78
ringct: error out when hashToPoint* returns the point at infinity
...
Reported by QuarksLab.
2018-09-11 13:38:16 +00:00
moneromooo-monero
d1591853bf
cryptonote_basic: check output type before using it
...
Reported by QuarksLab.
2018-09-11 13:38:15 +00:00
moneromooo-monero
61632dc166
ringct: prevent a potential very large allocation
...
Reported by QuarksLab.
2018-09-11 13:38:14 +00:00
moneromooo-monero
a4317e61b5
crypto: some paranoid checks in generate_signature/check_signature
...
Reported by QuarksLab.
2018-09-11 13:38:12 +00:00
moneromooo-monero
7434df1cc6
crypto: never return zero in random32_unbiased
...
This avoids problems when the caller can't deal with a zero
walue, which happens often enough that it's worth nipping the
problem in the bud.
2018-09-11 13:38:12 +00:00
moneromooo-monero
0825e97436
multiexp: fix wrong Bos-Coster result for 1 non trivial input
...
Reported by QuarksLab.
2018-09-11 13:38:10 +00:00
moneromooo-monero
a1359ad43c
Check inputs to addKeys are in range
...
Reported by QuarksLab.
2018-09-11 13:38:09 +00:00
moneromooo-monero
fe0fa3b9c5
bulletproofs: reject x, y, z, or w[i] being zero
...
Also try again when we're generate a proof with those characteristics
Reported by QuarksLab.
2018-09-11 13:38:08 +00:00
moneromooo-monero
5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
2018-09-11 13:38:07 +00:00
moneromooo-monero
869b3bf824
bulletproofs: a few fixes from the Kudelski review
...
- fix integer overflow in n_bulletproof_amounts
- check input scalars are in range
- remove use of environment variable to tweak straus performance
- do not use implementation defined signed shift for signum
2018-09-11 13:38:05 +00:00
moneromooo-monero
c429176248
bulletproofs: reject points not in the main subgroup
2018-09-11 13:38:04 +00:00
moneromooo-monero
1569717718
bulletproofs: speed up a few multiplies using existing Hi cache
2018-09-11 13:38:03 +00:00
moneromooo-monero
0b05a0fa74
Add Pippenger cache and limit Straus cache size
2018-09-11 13:38:02 +00:00
moneromooo-monero
7314d919e7
perf_timer: split timer class into a base one and a logging one
2018-09-11 13:37:47 +00:00
moneromooo-monero
263431c486
Pippenger multiexp
...
Based on sarang's python code
2018-09-11 13:37:45 +00:00
moneromooo-monero
1ed0ed4de4
multiexp: cut down on memory allocations
2018-09-11 13:37:44 +00:00
moneromooo-monero
1b867e7f40
precalc the ge_p3 representation of H
2018-09-11 13:37:42 +00:00
moneromooo-monero
c444b1b229
require canonical multi output bulletproof layout
2018-09-11 13:37:39 +00:00
moneromooo-monero
7e67c52fa2
Add a define for the max number of bulletproof multi-outputs
2018-09-11 13:37:38 +00:00
moneromooo-monero
2a8fcb421b
Bulletproof aggregated verification and tests
...
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11 13:37:37 +00:00
moneromooo-monero
126196b017
multiexp: some speedups
...
- use a raw memory block to store cache
- use aligned memory
- use doubling API where appropriate
- calculate straus in bands
2018-09-11 13:37:35 +00:00
moneromooo-monero
71d67bda74
aligned: aligned memory alloc/realloc/free
2018-09-11 13:37:34 +00:00
moneromooo-monero
bacf0a1e2f
bulletproofs: add aggregated verification
...
Ported from sarang's java code
2018-09-11 13:37:32 +00:00
moneromooo-monero
e895c3def1
make straus cached mode thread safe, and add tests for it
2018-09-11 13:37:31 +00:00
moneromooo-monero
7f48bf05d7
multiexp: bos coster now works for just one point
2018-09-11 13:37:30 +00:00
moneromooo-monero
9ce9f8caf6
bulletproofs: add multi output bulletproofs to rct
2018-09-11 13:37:28 +00:00
moneromooo-monero
939bc22332
add Straus multiexp
2018-09-11 13:37:25 +00:00
moneromooo-monero
9ff6e6a0a7
ringct: add bos coster multiexp
2018-09-11 13:37:24 +00:00
moneromooo-monero
e9164bb38b
bulletproofs: misc optimizations
...
Use double mults where possible, avoid conversions, simplify
2018-09-11 13:37:23 +00:00
moneromooo-monero
aacfd6e370
bulletproofs: multi-output bulletproofs
2018-09-11 13:37:17 +00:00
Riccardo Spagni
f0ab4dc7b2
Merge pull request #4218
...
5fd83c13
Cryptonight variant 2 (SChernykh)
2018-09-11 15:22:25 +02:00
luigi1111
ab85b924c9
Merge pull request #4293
...
9d65399
is_hdd update (p8p)
2018-09-10 15:07:02 -05:00
TheCharlatan
56b6e41ea7
Add support for apple and arm building
...
Add pcsc-lite to linux builds
Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them
Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
2018-09-10 22:05:36 +02:00
luigi1111
46bcd91db4
Merge pull request #4256
...
d6fc870
db_lmdb: resize blockchain database when 90% filled (moneromooo-monero)
2018-09-10 15:04:50 -05:00
naughtyfox
26971d46fc
WalletAPI: 'hasMultisigPartialKeyImages' function added
2018-09-10 19:33:08 +03:00
naughtyfox
7a76354c8b
wallet2: import_multisig forward refresh exception
2018-09-10 18:45:37 +03:00
moneromooo-monero
a54dbaee08
blockchain_blackball: add --force-chain-reaction-pass flag
2018-09-10 09:04:21 +00:00
moneromooo-monero
44439c3208
record blackballs as amount/offset, and add export ability
2018-09-10 09:04:18 +00:00
SChernykh
5fd83c13fb
Cryptonight variant 2
...
Contains two modifications to improve ASIC resistance: shuffle and integer math.
Shuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth.
Integer math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop.
More details and performance numbers: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md
2018-09-09 20:43:01 +02:00
moneromooo-monero
8501b8dffb
crypto_ops_builder: link to EdDSA/Ed25519 draft RFC
...
instead of including the text, as it's not fully free to redistribute
2018-09-09 16:18:49 +00:00
moneromooo-monero
03c07b167d
rpc: return "already mining" in start_mining if already mining
2018-09-09 15:27:30 +00:00
moneroexamples
0664a98421
wallet_rpc_server: remove some unused code
2018-09-09 12:37:01 +00:00
moneromooo-monero
4bce935b40
blockchain_blackball: more optimizations
2018-09-09 12:03:02 +00:00
moneromooo-monero
b66ba78306
blockchain_blackball: do not process duplicate blockchains parts
2018-09-09 12:02:48 +00:00
moneromooo-monero
639a3c019c
blockchain_blackball: make it clear secondary passes are not incremental
...
yet
2018-09-09 12:02:42 +00:00
moneromooo-monero
eb8a51be68
blockchain_blackball: detect spent outputs by partial ring reuse
2018-09-09 12:02:39 +00:00
moneromooo-monero
d6d276c604
blockchain_blackball: fix chain reaction phase in incremental mode
...
It makes it a lot slower, unfortunately
2018-09-09 12:02:36 +00:00
moneromooo-monero
2b2a681b01
blockchain_blackball: avoid false positives for different amounts
...
Identical offset based rings may not actually be identical rings
since they represent different outputs
2018-09-09 12:02:32 +00:00
moneromooo-monero
80e4fef3c6
blockchain_blackball: set transaction looping txn to read only
2018-09-09 12:02:25 +00:00
moneromooo-monero
4801d6b514
blockchain_blackball: add stats
2018-09-09 12:02:02 +00:00
moneromooo-monero
846190fd18
blockchain_blackball: support pre-v2 databases
2018-09-09 12:01:59 +00:00
moneromooo-monero
daa6cc7d73
blockchain_blackball: use LMDB for the cache
...
This uses less memory and makes it faster to load/save, though
makes it slower to run (which is actually faster since it would
previously start swapping anyway).
2018-09-09 12:01:49 +00:00
moneromooo-monero
50cb370d5b
ringdb: allow blackballing many outputs at once
...
It cuts down on txn commits, and speeds up blackballing substantially
2018-09-09 12:01:43 +00:00
moneromooo-monero
df0e7c2feb
wallet2: fix secondary partially signed multisig txes
2018-09-08 23:12:06 +00:00
moneromooo-monero
97764bae3a
wallet_rpc_server: error out if wallet-file and wallet-dir are both used
2018-09-08 20:54:14 +00:00
moneromooo-monero
cd647612b0
rpc: don't include start time if restricted
2018-09-07 13:28:40 +00:00
Guillaume LE VAILLANT
54b859bea5
wallet rpc: Add close_wallet RPC
...
And close the current wallet automatically if necessary when opening another
wallet.
2018-09-05 16:52:16 +02:00
moneromooo-monero
e611728228
daemon: request no PoW hashes we don't need when asking for blocks
...
This fixes the horrendous slowdown in bc_dyn_stats
2018-09-05 09:43:44 +00:00
moneromooo-monero
7c8f95d3e2
ringct: make conversion functions return const refs
...
This might avoid unnecessary copies.
Reported by stoffu
2018-09-04 18:28:20 +00:00
luigi1111
03738fdde1
Merge pull request #4276
...
48a7bc4
tx_pool: fix infinite loop when failing to find a meta record (moneromooo-monero)
2018-09-04 13:25:44 -05:00
luigi1111
b2038e24f0
Merge pull request #4274
...
11c6718
util: remove unused <ustat.h> (moneromooo-monero)
2018-09-04 13:21:53 -05:00
luigi1111
77ed11e627
Merge pull request #4270
...
29dea03
epee: resize vectors where possible in serialization (moneromooo-monero)
76affd9
epee: some speedup in parsing (moneromooo-monero)
dc6c069
db_lmdb: speedup the get_output_distribution common case (moneromooo-monero)
76ac5a8
wallet2: ask for a binary output distribution, for speed (moneromooo-monero)
2018-09-04 13:19:58 -05:00
luigi1111
59e6fb06f9
Merge pull request #4269
...
3d5abbe
[#4027 ] add change_wallet_password wallet rpc command (artyomsol)
2018-09-04 13:17:40 -05:00
luigi1111
5f1bbe3bce
Merge pull request #4268
...
1f2409e
Do memwipe for critical secret keys copied to rct::key (stoffu)
2018-09-04 13:16:04 -05:00
luigi1111
085b6ba98e
Merge pull request #4263
...
5ed6669
wallet_rpc_server: remove unused amount_keys field in transfer RPC (moneromooo-monero)
2018-09-04 13:12:48 -05:00
luigi1111
8bbae77134
Merge pull request #4262
...
c3c14f3
simplewallet: allow named priority levels for default-priority (moneromooo-monero)
2018-09-04 13:11:18 -05:00
luigi1111
e4378ed8aa
Merge pull request #4259
...
4e08100
Incremental Keccak API added (pr4r05)
2018-09-04 13:09:48 -05:00
luigi1111
6d4d4ddb68
Merge pull request #4252
...
ac09cfa
wallet2: remove obsolete pruned/unpruned case (moneromooo-monero)
2018-09-04 13:05:12 -05:00
luigi1111
88e5ed0072
Merge pull request #4245
...
8ca1215
wallet: store trusted-daemon flag in wallet2 (stoffu)
2018-09-04 13:03:37 -05:00
luigi1111
46d8bc2a33
Merge pull request #4160
...
704b60c
block_queue: faster check whether a block was requested (moneromooo-monero)
2018-09-04 13:02:09 -05:00
stoffu
5f8f56315c
wallet2.get_reserve_proof: throw when specified amount is zero
2018-09-04 13:00:38 +09:00
moneromooo-monero
20171746de
wallet2: factor the creation of a new wallet keys file
2018-09-03 11:27:46 +00:00
moneromooo-monero
be6acfd5be
wallet2: factor new blockchain setup
2018-09-03 11:27:43 +00:00
moneromooo-monero
88fbc4a567
wallet2: fill in v2 height for stagenet
2018-09-03 11:26:28 +00:00
moneromooo-monero
93e7627d5a
cryptonote_format_utils: do not early out on invalid tx pubkeys
...
Another such pubkey might be valid
2018-09-02 23:00:44 +00:00
el00ruobuob
45c85c89de
remove unused fields from relay_tx RPC
2018-09-02 23:50:31 +02:00
moneromooo-monero
4e1e9a607e
blockchain: add mainnet v8 height targetting 18 october
...
and v9 a day later
2018-09-02 16:02:17 +00:00
Dusan Klinec
76f95f052e
rpc: allow to pass RPC login via RPC_LOGIN env var
...
- passing by parameter is insecure as it is shown in the process list
2018-08-31 15:51:59 +02:00
moneromooo-monero
f0bc684ccd
mnemonics: fix outrageous compile time with CLANG in release
...
from several minutes to 10-15 seconds
2018-08-29 09:53:48 +00:00
moneromooo-monero
2c636e45f2
simplewallet: handle transfers using a monero: URI
2018-08-28 19:55:49 +00:00
moneromooo-monero
5083614ffa
dns_util: add new DNSSEC trust anchor for rollover
...
It should be useful from the 11th of october 2018.
The old key is still trusted for now.
https://www.icann.org/resources/pages/ksk-rollover
2018-08-28 11:29:51 +00:00
moneromooo-monero
5019852adc
cn_deserialize: extract payment ids from extra nonce
2018-08-25 18:39:48 +00:00
moneromooo-monero
2af1ec3af7
cn_deserialize: support pruned transactions
2018-08-25 18:39:45 +00:00
p8p
9d6539923e
is_hdd update
2018-08-25 04:31:22 -07:00
luigi1111
91c7d68b2d
Merge pull request #4223
...
c955257
electrum-words: fix bytes_to_words on big endian (moneromooo-monero)
2018-08-23 14:04:26 -05:00
moneromooo-monero
c955257c4a
electrum-words: fix bytes_to_words on big endian
...
Reported by cslashm
2018-08-23 07:58:23 +00:00
moneromooo-monero
d2e26c23f3
add and use constant time 32 byte equality function
2018-08-23 07:56:51 +00:00
stoffu
8ca1215f25
wallet: store trusted-daemon flag in wallet2
2018-08-23 14:55:09 +09:00
luigi1111
510dbf3329
Merge pull request #4249
...
77655b0
simplewallet: Simplify LOCK_IDLE_SCOPE macro (rbrunner7)
2018-08-22 21:07:00 -05:00
luigi1111
1db7a29e12
Merge pull request #4247
...
10475ab
node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
2018-08-22 21:04:34 -05:00
luigi1111
2e7bfd0de5
Merge pull request #4242
...
6fcdc9e
rpc-wallet: refresh command added (ph4r05)
2018-08-22 21:00:10 -05:00
luigi1111
ec6982f8eb
Merge pull request #4240
...
83f5587
blockchain: use uint64_t for height, not size_t (moneromooo-monero)
2018-08-22 20:58:55 -05:00
luigi1111
b0c00b0752
Merge pull request #4231
...
3e914ad
simplewallet: add a warning and prompt on rescan_blockchain (moneromooo-monero)
2018-08-22 20:55:00 -05:00
luigi1111
3f662876e6
Merge pull request #4225
...
2fd9be1
simplewallet: correct number of human-readable months (rbrunner7)
2018-08-22 20:52:43 -05:00
luigi1111
4e6187faf3
Merge pull request #4224
...
c5e2aee
updates: fix hash sanity checking (moneromooo-monero)
2018-08-22 20:51:32 -05:00
luigi1111
a5d21be843
Merge pull request #4210
...
4616cf2
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
2018-08-22 20:47:28 -05:00
luigi1111
0d415ff638
Merge pull request #4207
...
ce9457a
cryptonote_protocol: don't serialize an unneeded new block message (moneromooo-monero)
2018-08-22 20:45:09 -05:00
luigi1111
4a4ea78ecd
Merge pull request #4204
...
b278b83
core: sync database based on bytes added, not blocks added (moneromooo-monero)
2018-08-22 20:43:51 -05:00
luigi1111
6e8e4fb3b7
Merge pull request #4202
...
8439306
wallet2: do not divide by 0 on invalid daemon response (moneromooo-monero)
2018-08-22 20:42:20 -05:00
luigi1111
7e4507a048
Merge pull request #4200
...
43f7110
blockchain_db: remove unused get_output_key variant (moneromooo-monero)
2018-08-22 20:40:37 -05:00
luigi1111
1eebb3d8fc
Merge pull request #4146
...
82d1b74
core: cache block template where possible (moneromooo-monero)
2018-08-22 20:37:06 -05:00
Dusan Klinec
6fcdc9e0b2
rpc-wallet: refresh command added
2018-08-22 16:57:55 +02:00
moneromooo-monero
62511df622
wallet2: fix refresh retry when a block/tx fails to parse
...
It would switch to a new set of blocks and fail, getting out of sync
with the hash chain in the process
2018-08-22 09:57:46 +00:00
moneromooo-monero
b219c24c3a
wallet2: trim hash chain after fast refresh of hashes
...
This ensures it can't end up filled with the actual placeholders
2018-08-22 09:57:42 +00:00
moneromooo-monero
5b6bcca32a
wallet2: fix checking the wrong vector when adding hashes
...
The two vectors should be the same size anyway, so add an assert
to catch any case where they aren't
2018-08-22 09:57:39 +00:00
moneromooo-monero
48a7bc4280
tx_pool: fix infinite loop when failing to find a meta record
2018-08-19 17:47:05 +00:00
moneromooo-monero
76ac5a8fbe
wallet2: ask for a binary output distribution, for speed
2018-08-19 15:58:25 +00:00
moneromooo-monero
dc6c0696fd
db_lmdb: speedup the get_output_distribution common case
2018-08-19 15:58:21 +00:00
moneromooo-monero
11c6718865
util: remove unused <ustat.h>
...
It's obsolete and removed from at least Arch Linux 8.2
Reported by moneroexamples
2018-08-17 13:06:38 +00:00
artyomsol
3d5abbe86b
[ #4027 ] add change_wallet_password wallet rpc command
2018-08-17 09:54:26 +03:00
stoffu
1f2409e9e2
Do memwipe for critical secret keys copied to rct::key
2018-08-16 22:26:30 +09:00
moneromooo-monero
82d1b74500
core: cache block template where possible
...
This avoids constant rechecking of the same things each time
a miner asks for the block template. The tx pool maintains
a cookie to allow users to detect when the pool state changed,
which means the block template needs rebuilding.
2018-08-16 12:44:33 +00:00
moneromooo-monero
ab74dc277a
crypto: make secret_key automatically mlock
2018-08-16 11:57:49 +00:00
moneromooo-monero
e9ffa91257
store secret keys encrypted where possible
...
The secret spend key is kept encrypted in memory, and
decrypted on the fly when needed.
Both spend and view secret keys are kept encrypted in a JSON
field in the keys file. This avoids leaving the keys in
memory due to being manipulated by the JSON I/O API.
2018-08-16 11:57:43 +00:00
moneromooo-monero
ea37614efe
wallet: wipe seed from memory where appropriate
2018-08-16 09:17:52 +00:00
stoffu
a64f57fe42
wallet2: make --restricted-rpc available for wallet RPC only
2018-08-16 09:54:23 +09:00
luigi1111
4d66939791
Merge pull request #4196
...
361513a
blockchain_blackball: use a bit less memory (moneromooo-monero)
2018-08-15 18:13:08 -05:00
luigi1111
41e583b0a2
Merge pull request #4195
...
f13c7a8
simplewallet: make sure wallet config is stored right after creation (stoffu)
2018-08-15 17:58:24 -05:00
luigi1111
e69e0e9e34
Merge pull request #4194
...
0f75717
wallet2: avoid using arbitrary random values when unknown (moneromooo-monero)
2018-08-15 17:56:23 -05:00
luigi1111
1c55a3756b
Merge pull request #4193
...
4520cfd
wallet2: guard against bad outputs in import_outputs (moneromooo-monero)
2018-08-15 17:54:49 -05:00
luigi1111
05485bd1c5
Merge pull request #4192
...
5860611
blockchain_blackball: allow resumable interrupt with ^C (moneromooo-monero)
2018-08-15 17:53:42 -05:00
luigi1111
8d2e454929
Merge pull request #4188
...
a3fe1c5
simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
2018-08-15 17:47:05 -05:00
luigi1111
7aa2030cee
Merge pull request #4174
...
ff37bd0
wallet2: fix O(n^2) behaviour in import_key_images (moneromooo-monero)
2018-08-15 17:40:55 -05:00
luigi1111
b531858c02
Merge pull request #4173
...
3940e12
daemon.print_bc: don't print difficulty twice (stoffu)
2018-08-15 17:39:35 -05:00
luigi1111
2102e6c738
Merge pull request #4172
...
3a4c3ac
simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
2018-08-15 17:38:36 -05:00
luigi1111
a68143bc52
Merge pull request #4171
...
9127a8b
wallet-rpc: filter getbalance response by address index (stoffu)
2018-08-15 17:37:23 -05:00
luigi1111
564e9c3b5f
Merge pull request #4170
...
1c6cfd3
wallet-rpc: add get_address_index command (stoffu)
2018-08-15 17:35:49 -05:00
luigi1111
8c4b3f3736
Merge pull request #4166
...
5e675de
simplewallet: fix language detection when using --use-english-language-names (moneromooo-monero)
2018-08-15 17:34:29 -05:00
luigi1111
fd3b71129b
Merge pull request #4164
...
8e24533
blockchain: some batch tx scanning speedup (moneromooo-monero)
2018-08-15 17:31:24 -05:00
luigi1111
2530dc6710
Merge pull request #4161
...
be02eb9
db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
2018-08-15 17:27:48 -05:00
luigi1111
e7328ed5b7
Merge pull request #4158
...
7db7ec8
wallet rpc: support making integrated address of given standard address (stoffu)
2018-08-15 17:25:19 -05:00
luigi1111
5e795ee7af
Merge pull request #4153
...
37f0799
wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
2018-08-15 17:23:56 -05:00
luigi1111
2a44c2defd
Merge pull request #4150
...
f2e65c6
wallet2: consider minimum fee when testing if balance is sufficient (stoffu)
2018-08-15 17:22:36 -05:00
luigi1111
88369c6685
Merge pull request #4138
...
7f8bdeb
easylogging++: make the logger handle early/late logging (moneromooo-monero)
bc8cbdb
stack_trace: print stack traces on stdout if the logger isn't live (moneromooo-monero)
2018-08-15 17:19:04 -05:00
luigi1111
5295e4eb82
Merge pull request #4137
...
63e342b
crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)
0496c7c
crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
2018-08-15 17:17:34 -05:00
luigi1111
1d2c08610b
Merge pull request #4136
...
4307489
wallet: disable core dumps on startup in release mode (moneromooo-monero)
2018-08-15 17:15:49 -05:00
luigi1111
ad13b6d25a
Merge pull request #4106
...
20eb192
simplewallet: reword 'seed encryption' to 'seed offset' (moneromooo-monero)
2018-08-15 17:12:12 -05:00
luigi1111
017e07a035
Merge pull request #4103
...
bcab579
wallet: allow adjusting number of rounds for the key derivation function (stoffu)
2018-08-15 17:09:52 -05:00
luigi1111
b586ae1310
Merge pull request #4089
...
909398e
p2p: connect via the bound ip, if any (moneromooo-monero)
2018-08-15 17:06:17 -05:00
luigi1111
dd8354aa08
Merge pull request #4024
...
5a2864c
simplewallet: fix delay when setting auto-refresh off (moneromooo-monero)
2018-08-15 17:05:14 -05:00
luigi1111
4745e3be22
Merge pull request #4020
...
c24a0af
[monerod] Added blocks remaining count during syncronisation. (Jorropo)
2018-08-15 17:03:35 -05:00
luigi1111
4cde4cb946
Merge pull request #3528
...
34d4b79
wallet2: use a gamma distribution to pick fake outs (moneromooo-monero)
2018-08-15 17:00:32 -05:00
Dusan Klinec
4e081001c0
Incremental Keccak API added
...
- needed for TREZOR integration
2018-08-15 18:20:22 +02:00
moneromooo-monero
5ed6669130
wallet_rpc_server: remove unused amount_keys field in transfer RPC
2018-08-15 12:47:33 +00:00
moneromooo-monero
c3c14f3083
simplewallet: allow named priority levels for default-priority
...
to match those used by the various transfer functions
2018-08-15 12:16:17 +00:00
moneromooo-monero
d6fc870d04
db_lmdb: resize blockchain database when 90% filled
...
instead of a random ratio from 60% to 90%.
2018-08-14 08:55:49 +00:00
fireice-uk
10475ab23f
node_rpc_proxy: fix fork earliest height caching [RYO backport]
...
xref https://github.com/ryo-currency/ryo-currency/pull/86
2018-08-13 22:16:17 +02:00
rbrunner7
77655b0a0e
simplewallet: Simplify LOCK_IDLE_SCOPE macro
2018-08-13 21:21:24 +02:00
moneromooo-monero
ac09cfa6be
wallet2: remove obsolete pruned/unpruned case
...
All daemons will not support pruned blocks
2018-08-13 13:17:27 +00:00
moneromooo-monero
4307489147
wallet: disable core dumps on startup in release mode
2018-08-12 16:28:10 +00:00
moneromooo-monero
bc8cbdb25d
stack_trace: print stack traces on stdout if the logger isn't live
2018-08-12 16:18:07 +00:00
moneromooo-monero
b278b83860
core: sync database based on bytes added, not blocks added
...
Blocks have a very wide range, whereas actual size is the relevant
quantity to consider when syncing
2018-08-12 16:13:46 +00:00
moneromooo-monero
83f5587167
blockchain: use uint64_t for height, not size_t
2018-08-09 17:09:26 +00:00
moneromooo-monero
361513ac81
blockchain_blackball: use a bit less memory
2018-08-09 14:50:20 +00:00
moneromooo-monero
ce9457a379
cryptonote_protocol: don't serialize an unneeded new block message
...
Non fluffy block nodes should now be very rare
2018-08-09 14:45:31 +00:00
moneromooo-monero
a4d2d84209
blockchain_depth: add average min depth
2018-08-07 21:20:54 +00:00
moneromooo-monero
289880d82d
blockchain_depth: get the average min depth of a set of txes
2018-08-07 21:20:49 +00:00
stoffu
bcab579864
wallet: allow adjusting number of rounds for the key derivation function
2018-08-08 01:56:54 +09:00
moneromooo-monero
3e914ad831
simplewallet: add a warning and prompt on rescan_blockchain
...
Many people are using this as a "let's see what this does" command
when something doesn't work as they thought it should, and thus
destroying info that they might still need.
2018-08-07 12:49:23 +00:00
rbrunner7
2fd9be1646
simplewallet: correct number of human-readable months
2018-08-05 09:58:33 +02:00
moneromooo-monero
c5e2aee961
updates: fix hash sanity checking
2018-08-05 00:19:45 +00:00
moneromooo-monero
37f0799284
wallet: distinguish coinbase from other txes in show_transfers
2018-08-03 12:48:16 +00:00
Lee Clagett
4616cf2641
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST
2018-08-02 07:30:20 +00:00
moneromooo-monero
8439306212
wallet2: do not divide by 0 on invalid daemon response
2018-07-31 14:26:00 +00:00
stoffu
1c6cfd34f4
wallet-rpc: add get_address_index command
2018-07-31 21:36:12 +09:00
stoffu
9127a8b79f
wallet-rpc: filter getbalance response by address index
2018-07-31 20:45:41 +09:00
moneromooo-monero
43f71100bc
blockchain_db: remove unused get_output_key variant
...
It was actually incorrect, as it would not return commitment
2018-07-30 21:57:47 +00:00
moneromooo-monero
628428a0df
blockchain_ancestry: faster and uses less memory
2018-07-30 21:39:25 +01:00
moneromooo-monero
2382484dcd
blockchain_ancestry: add an incremental mode
2018-07-30 21:39:22 +01:00
moneromooo-monero
888324fa57
blockchain_ancestry: finds all ancestors of a tx, block, or chain
2018-07-30 21:39:18 +01:00
moneromooo-monero
0f757177fe
wallet2: avoid using arbitrary random values when unknown
2018-07-30 13:34:15 +01:00
moneromooo-monero
4520cfd978
wallet2: guard against bad outputs in import_outputs
...
also some minor speedup
2018-07-30 13:21:58 +01:00
stoffu
a3fe1c56ee
simplewallet: add set_tx_key for importing tx keys from 3rd party wallets
2018-07-30 20:50:05 +09:00
stoffu
f13c7a8263
simplewallet: make sure wallet config is stored right after creation
2018-07-30 20:39:05 +09:00
moneromooo-monero
5860611afa
blockchain_blackball: allow resumable interrupt with ^C
2018-07-30 11:14:45 +01:00
luigi1111
0dddfeacc9
Merge pull request #4129
...
ee31383
db_lmdb: don't sync a read only DB (moneromooo-monero)
2018-07-27 14:30:57 -05:00
luigi1111
ff01c3ade4
Merge pull request #4110
...
639ca3b
core_tests: add --filter to select which tests to run (moneromooo-monero)
2018-07-27 14:28:49 -05:00