aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-09-14blockchain_blackball: use mdb_size_t where appropriatemoneromooo-monero1-1/+1
2018-09-14blockchain_blackball: error out on fgets errormoneromooo-monero1-1/+5
2018-09-14Merge pull request #4324Riccardo Spagni4-56/+83
44259e56 wallet: ask-password can now ask without encrypting the secret spend key (moneromooo-monero)
2018-09-14wallet: ask-password can now ask without encrypting the secret spend keymoneromooo-monero4-56/+83
2018-09-14Merge pull request #4347Riccardo Spagni1-1/+1
df0e7c2f wallet2: fix secondary partially signed multisig txes (moneromooo-monero)
2018-09-14Merge pull request #4337Riccardo Spagni1-1/+6
97764bae wallet_rpc_server: error out if wallet-file and wallet-dir are both used (moneromooo-monero)
2018-09-14Merge pull request #4336Riccardo Spagni1-0/+1
5f8f5631 wallet2.get_reserve_proof: throw when specified amount is zero (stoffu)
2018-09-14Merge pull request #4332Riccardo Spagni3-113/+47
20171746 wallet2: factor the creation of a new wallet keys file (moneromooo-monero) be6acfd5 wallet2: factor new blockchain setup (moneromooo-monero)
2018-09-14Merge pull request #4331Riccardo Spagni1-1/+1
88fbc4a5 wallet2: fill in v2 height for stagenet (moneromooo-monero)
2018-09-14Merge pull request #4330Riccardo Spagni1-3/+13
93e7627d cryptonote_format_utils: do not early out on invalid tx pubkeys (moneromooo-monero)
2018-09-14Merge pull request #4329Riccardo Spagni1-6/+0
45c85c89 remove unused fields from relay_tx RPC (el00ruobuob)
2018-09-14Merge pull request #4326Riccardo Spagni3-8/+10
bcda7adc NetBSD support (thomasvaughan)
2018-09-14Merge pull request #4380Riccardo Spagni1-0/+2
53a99ca1 cn_deserialize: comment out pruned tx case (moneromooo-monero)
2018-09-14Merge pull request #4372Riccardo Spagni1-1/+1
1660b0e7 tx_pool: make the max tx size a consensus rule from v8 (moneromooo-monero)
2018-09-14cn_deserialize: comment out pruned tx casemoneromooo-monero1-0/+2
it's not merged yet
2018-09-14Merge pull request #4253Riccardo Spagni15-949/+12
be001326 remove obsolete daemon selection of fake outs and old tx construction (moneromooo-monero)
2018-09-14remove obsolete daemon selection of fake outs and old tx constructionmoneromooo-monero15-949/+12
2018-09-14Merge pull request #4309Riccardo Spagni1-4/+14
5083614f dns_util: add new DNSSEC trust anchor for rollover (moneromooo-monero)
2018-09-14Merge pull request #4260Riccardo Spagni6-293/+1233
a54dbaee blockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero) 44439c32 record blackballs as amount/offset, and add export ability (moneromooo-monero) 4bce935b blockchain_blackball: more optimizations (moneromooo-monero) b66ba783 blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero) 639a3c01 blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero) eb8a51be blockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero) d6d276c6 blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero) 2b2a681b blockchain_blackball: avoid false positives for different amounts (moneromooo-monero) 80e4fef3 blockchain_blackball: set transaction looping txn to read only (moneromooo-monero) 4801d6b5 blockchain_blackball: add stats (moneromooo-monero) 846190fd blockchain_blackball: support pre-v2 databases (moneromooo-monero) daa6cc7d blockchain_blackball: use LMDB for the cache (moneromooo-monero) 50cb370d ringdb: allow blackballing many outputs at once (moneromooo-monero)
2018-09-14Merge pull request #4251Riccardo Spagni1-1/+1
cd236aeb Add bulletproof support (cslashm)
2018-09-14Merge pull request #4221Riccardo Spagni1-5/+9
62511df6 wallet2: fix refresh retry when a block/tx fails to parse (moneromooo-monero) b219c24c wallet2: trim hash chain after fast refresh of hashes (moneromooo-monero) 5b6bcca3 wallet2: fix checking the wrong vector when adding hashes (moneromooo-monero)
2018-09-14Merge pull request #4208Riccardo Spagni1-32/+80
2c636e45 simplewallet: handle transfers using a monero: URI (moneromooo-monero)
2018-09-14Merge pull request #4154Riccardo Spagni1-3/+15
5019852a cn_deserialize: extract payment ids from extra nonce (moneromooo-monero) 2af1ec3a cn_deserialize: support pruned transactions (moneromooo-monero)
2018-09-14Merge pull request #4147Riccardo Spagni3-0/+1187
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-13tx_pool: make the max tx size a consensus rule from v8moneromooo-monero1-1/+1
2018-09-13Add bulletproof supportcslashm1-1/+1
2018-09-11Merge pull request #4352Riccardo Spagni1-9/+0
0664a984 wallet_rpc_server: remove some unused code (moneroexamples)
2018-09-11NetBSD supportthomasvaughan3-8/+10
2018-09-11Merge pull request #4219Riccardo Spagni60-985/+3159
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-11blockchain: add a testnet v9 a day after v8moneromooo-monero1-0/+1
So that bulletproofs become mandatory
2018-09-11wallet2: bump testnet rollback to account for coming reorgmoneromooo-monero1-1/+1
2018-09-11bulletproofs: #include <openssl/bn.h>moneromooo-monero1-0/+1
Apparently needed for openssl 1.1.x
2018-09-11bulletproofs: speed up the latest changes a bitmoneromooo-monero4-34/+54
2018-09-11bulletproofs: scale points by 8 to ensure subgroup validitymoneromooo-monero4-19/+33
2018-09-11bulletproofs: match aggregated verification to sarang's latest prototypemoneromooo-monero1-64/+39
2018-09-11more comprehensive test for ge_p3 comparison to identity/point at infinitymoneromooo-monero3-6/+21
Reported by QuarksLab.
2018-09-11multiexp: fix maxscalar off by onemoneromooo-monero1-1/+1
Reported by QuarksLab.
2018-09-11ringct: error out when hashToPoint* returns the point at infinitymoneromooo-monero2-1/+4
Reported by QuarksLab.
2018-09-11cryptonote_basic: check output type before using itmoneromooo-monero1-0/+7
Reported by QuarksLab.
2018-09-11ringct: prevent a potential very large allocationmoneromooo-monero1-2/+2
Reported by QuarksLab.
2018-09-11crypto: some paranoid checks in generate_signature/check_signaturemoneromooo-monero1-1/+11
Reported by QuarksLab.
2018-09-11crypto: never return zero in random32_unbiasedmoneromooo-monero1-1/+1
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-11multiexp: fix wrong Bos-Coster result for 1 non trivial inputmoneromooo-monero1-3/+7
Reported by QuarksLab.
2018-09-11Check inputs to addKeys are in rangemoneromooo-monero2-0/+6
Reported by QuarksLab.
2018-09-11bulletproofs: reject x, y, z, or w[i] being zeromoneromooo-monero1-2/+63
Also try again when we're generate a proof with those characteristics Reported by QuarksLab.
2018-09-11v8: per byte fee, pad bulletproofs, fixed 11 ring sizemoneromooo-monero41-622/+969
2018-09-11bulletproofs: a few fixes from the Kudelski reviewmoneromooo-monero3-5/+23
- 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-11bulletproofs: reject points not in the main subgroupmoneromooo-monero3-0/+33
2018-09-11bulletproofs: speed up a few multiplies using existing Hi cachemoneromooo-monero1-2/+11
2018-09-11Add Pippenger cache and limit Straus cache sizemoneromooo-monero3-30/+82
2018-09-11perf_timer: split timer class into a base one and a logging onemoneromooo-monero2-14/+42
2018-09-11Pippenger multiexpmoneromooo-monero3-3/+138
Based on sarang's python code
2018-09-11multiexp: cut down on memory allocationsmoneromooo-monero1-15/+13
2018-09-11precalc the ge_p3 representation of Hmoneromooo-monero4-14/+19
2018-09-11require canonical multi output bulletproof layoutmoneromooo-monero1-0/+29
2018-09-11Add a define for the max number of bulletproof multi-outputsmoneromooo-monero3-2/+5
2018-09-11Bulletproof aggregated verification and testsmoneromooo-monero12-153/+250
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11multiexp: some speedupsmoneromooo-monero3-28/+121
- use a raw memory block to store cache - use aligned memory - use doubling API where appropriate - calculate straus in bands
2018-09-11aligned: aligned memory alloc/realloc/freemoneromooo-monero3-2/+184
2018-09-11bulletproofs: add aggregated verificationmoneromooo-monero6-231/+338
Ported from sarang's java code
2018-09-11make straus cached mode thread safe, and add tests for itmoneromooo-monero3-31/+67
2018-09-11multiexp: bos coster now works for just one pointmoneromooo-monero1-1/+11
2018-09-11bulletproofs: add multi output bulletproofs to rctmoneromooo-monero9-94/+181
2018-09-11add Straus multiexpmoneromooo-monero3-150/+182
2018-09-11ringct: add bos coster multiexpmoneromooo-monero4-51/+455
2018-09-11bulletproofs: misc optimizationsmoneromooo-monero1-23/+87
Use double mults where possible, avoid conversions, simplify
2018-09-11bulletproofs: multi-output bulletproofsmoneromooo-monero3-32/+320
2018-09-11Merge pull request #4218Riccardo Spagni2-54/+361
5fd83c13 Cryptonight variant 2 (SChernykh)
2018-09-10Merge pull request #4293luigi11113-53/+43
9d65399 is_hdd update (p8p)
2018-09-10Merge pull request #4256luigi11112-7/+3
d6fc870 db_lmdb: resize blockchain database when 90% filled (moneromooo-monero)
2018-09-10blockchain_blackball: add --force-chain-reaction-pass flagmoneromooo-monero1-1/+4
2018-09-10record blackballs as amount/offset, and add export abilitymoneromooo-monero6-99/+283
2018-09-09Cryptonight variant 2SChernykh2-54/+361
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-09wallet_rpc_server: remove some unused codemoneroexamples1-9/+0
2018-09-09blockchain_blackball: more optimizationsmoneromooo-monero1-45/+86
2018-09-09blockchain_blackball: do not process duplicate blockchains partsmoneromooo-monero1-0/+76
2018-09-09blockchain_blackball: make it clear secondary passes are not incrementalmoneromooo-monero1-1/+12
yet
2018-09-09blockchain_blackball: detect spent outputs by partial ring reusemoneromooo-monero1-0/+35
2018-09-09blockchain_blackball: fix chain reaction phase in incremental modemoneromooo-monero1-41/+35
It makes it a lot slower, unfortunately
2018-09-09blockchain_blackball: avoid false positives for different amountsmoneromooo-monero1-8/+12
Identical offset based rings may not actually be identical rings since they represent different outputs
2018-09-09blockchain_blackball: set transaction looping txn to read onlymoneromooo-monero1-1/+1
2018-09-09blockchain_blackball: add statsmoneromooo-monero1-2/+94
2018-09-09blockchain_blackball: support pre-v2 databasesmoneromooo-monero1-79/+123
2018-09-09blockchain_blackball: use LMDB for the cachemoneromooo-monero1-137/+561
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-09ringdb: allow blackballing many outputs at oncemoneromooo-monero4-45/+77
It cuts down on txn commits, and speeds up blackballing substantially
2018-09-08wallet2: fix secondary partially signed multisig txesmoneromooo-monero1-1/+1
2018-09-08wallet_rpc_server: error out if wallet-file and wallet-dir are both usedmoneromooo-monero1-1/+6
2018-09-05wallet rpc: Add close_wallet RPCGuillaume LE VAILLANT3-0/+59
And close the current wallet automatically if necessary when opening another wallet.
2018-09-04ringct: make conversion functions return const refsmoneromooo-monero1-8/+8
This might avoid unnecessary copies. Reported by stoffu
2018-09-04Merge pull request #4276luigi11111-7/+1
48a7bc4 tx_pool: fix infinite loop when failing to find a meta record (moneromooo-monero)
2018-09-04Merge pull request #4274luigi11111-1/+0
11c6718 util: remove unused <ustat.h> (moneromooo-monero)
2018-09-04Merge pull request #4270luigi11112-2/+15
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-04Merge pull request #4269luigi11113-1/+54
3d5abbe [#4027] add change_wallet_password wallet rpc command (artyomsol)
2018-09-04Merge pull request #4268luigi11114-3/+15
1f2409e Do memwipe for critical secret keys copied to rct::key (stoffu)
2018-09-04Merge pull request #4263luigi11111-2/+0
5ed6669 wallet_rpc_server: remove unused amount_keys field in transfer RPC (moneromooo-monero)
2018-09-04Merge pull request #4262luigi11111-9/+37
c3c14f3 simplewallet: allow named priority levels for default-priority (moneromooo-monero)
2018-09-04Merge pull request #4259luigi11112-0/+88
4e08100 Incremental Keccak API added (pr4r05)
2018-09-04Merge pull request #4252luigi11111-28/+1
ac09cfa wallet2: remove obsolete pruned/unpruned case (moneromooo-monero)
2018-09-04Merge pull request #4245luigi11118-129/+121
8ca1215 wallet: store trusted-daemon flag in wallet2 (stoffu)
2018-09-04Merge pull request #4160luigi11112-13/+32
704b60c block_queue: faster check whether a block was requested (moneromooo-monero)
2018-09-04wallet2.get_reserve_proof: throw when specified amount is zerostoffu1-0/+1
2018-09-03wallet2: factor the creation of a new wallet keys filemoneromooo-monero3-77/+29
2018-09-03wallet2: factor new blockchain setupmoneromooo-monero2-36/+18
2018-09-03wallet2: fill in v2 height for stagenetmoneromooo-monero1-1/+1
2018-09-02cryptonote_format_utils: do not early out on invalid tx pubkeysmoneromooo-monero1-3/+13
Another such pubkey might be valid
2018-09-02remove unused fields from relay_tx RPCel00ruobuob1-6/+0
2018-08-28simplewallet: handle transfers using a monero: URImoneromooo-monero1-32/+80
2018-08-28dns_util: add new DNSSEC trust anchor for rollovermoneromooo-monero1-4/+14
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-25cn_deserialize: extract payment ids from extra noncemoneromooo-monero1-1/+10
2018-08-25cn_deserialize: support pruned transactionsmoneromooo-monero1-2/+5
2018-08-25is_hdd updatep8p3-53/+43
2018-08-23Merge pull request #4223luigi11111-1/+2
c955257 electrum-words: fix bytes_to_words on big endian (moneromooo-monero)
2018-08-23electrum-words: fix bytes_to_words on big endianmoneromooo-monero1-1/+2
Reported by cslashm
2018-08-23add and use constant time 32 byte equality functionmoneromooo-monero5-13/+36
2018-08-23wallet: store trusted-daemon flag in wallet2stoffu8-129/+121
2018-08-22Merge pull request #4249luigi11111-6/+1
77655b0 simplewallet: Simplify LOCK_IDLE_SCOPE macro (rbrunner7)
2018-08-22Merge pull request #4247luigi11112-2/+2
10475ab node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
2018-08-22Merge pull request #4242luigi11113-0/+47
6fcdc9e rpc-wallet: refresh command added (ph4r05)
2018-08-22Merge pull request #4240luigi11111-1/+1
83f5587 blockchain: use uint64_t for height, not size_t (moneromooo-monero)
2018-08-22Merge pull request #4231luigi11111-1/+9
3e914ad simplewallet: add a warning and prompt on rescan_blockchain (moneromooo-monero)
2018-08-22Merge pull request #4225luigi11111-1/+1
2fd9be1 simplewallet: correct number of human-readable months (rbrunner7)
2018-08-22Merge pull request #4224luigi11111-3/+3
c5e2aee updates: fix hash sanity checking (moneromooo-monero)
2018-08-22Merge pull request #4210luigi11115-188/+200
4616cf2 Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
2018-08-22Merge pull request #4207luigi11111-7/+12
ce9457a cryptonote_protocol: don't serialize an unneeded new block message (moneromooo-monero)
2018-08-22Merge pull request #4204luigi11114-16/+37
b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero)
2018-08-22Merge pull request #4202luigi11111-0/+1
8439306 wallet2: do not divide by 0 on invalid daemon response (moneromooo-monero)
2018-08-22Merge pull request #4200luigi11114-68/+1
43f7110 blockchain_db: remove unused get_output_key variant (moneromooo-monero)
2018-08-22Merge pull request #4146luigi11114-2/+94
82d1b74 core: cache block template where possible (moneromooo-monero)
2018-08-22rpc-wallet: refresh command addedDusan Klinec3-0/+47
2018-08-22wallet2: fix refresh retry when a block/tx fails to parsemoneromooo-monero1-4/+5
It would switch to a new set of blocks and fail, getting out of sync with the hash chain in the process
2018-08-22wallet2: trim hash chain after fast refresh of hashesmoneromooo-monero1-0/+1
This ensures it can't end up filled with the actual placeholders
2018-08-22wallet2: fix checking the wrong vector when adding hashesmoneromooo-monero1-1/+3
The two vectors should be the same size anyway, so add an assert to catch any case where they aren't
2018-08-19tx_pool: fix infinite loop when failing to find a meta recordmoneromooo-monero1-7/+1
2018-08-19wallet2: ask for a binary output distribution, for speedmoneromooo-monero1-0/+2
2018-08-19db_lmdb: speedup the get_output_distribution common casemoneromooo-monero1-2/+13
2018-08-17util: remove unused <ustat.h>moneromooo-monero1-1/+0
It's obsolete and removed from at least Arch Linux 8.2 Reported by moneroexamples
2018-08-17[#4027] add change_wallet_password wallet rpc commandartyomsol3-1/+54
2018-08-16Do memwipe for critical secret keys copied to rct::keystoffu4-3/+15
2018-08-16core: cache block template where possiblemoneromooo-monero4-2/+94
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-16crypto: make secret_key automatically mlockmoneromooo-monero5-10/+12
2018-08-16store secret keys encrypted where possiblemoneromooo-monero10-154/+561
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-16wallet: wipe seed from memory where appropriatemoneromooo-monero11-132/+228
2018-08-16wallet2: make --restricted-rpc available for wallet RPC onlystoffu7-49/+47
2018-08-15Merge pull request #4196luigi11111-4/+3
361513a blockchain_blackball: use a bit less memory (moneromooo-monero)
2018-08-15Merge pull request #4195luigi11112-28/+40
f13c7a8 simplewallet: make sure wallet config is stored right after creation (stoffu)
2018-08-15Merge pull request #4194luigi11111-4/+3
0f75717 wallet2: avoid using arbitrary random values when unknown (moneromooo-monero)
2018-08-15Merge pull request #4193luigi11111-2/+4
4520cfd wallet2: guard against bad outputs in import_outputs (moneromooo-monero)
2018-08-15Merge pull request #4192luigi11111-0/+13
5860611 blockchain_blackball: allow resumable interrupt with ^C (moneromooo-monero)
2018-08-15Merge pull request #4188luigi11114-0/+112
a3fe1c5 simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
2018-08-15Merge pull request #4174luigi11111-21/+15
ff37bd0 wallet2: fix O(n^2) behaviour in import_key_images (moneromooo-monero)
2018-08-15Merge pull request #4173luigi11111-1/+1
3940e12 daemon.print_bc: don't print difficulty twice (stoffu)
2018-08-15Merge pull request #4172luigi11111-1/+1
3a4c3ac simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
2018-08-15Merge pull request #4171luigi11112-4/+12
9127a8b wallet-rpc: filter getbalance response by address index (stoffu)
2018-08-15Merge pull request #4170luigi11115-1/+52
1c6cfd3 wallet-rpc: add get_address_index command (stoffu)
2018-08-15Merge pull request #4166luigi11112-52/+20
5e675de simplewallet: fix language detection when using --use-english-language-names (moneromooo-monero)
2018-08-15Merge pull request #4164luigi11111-15/+19
8e24533 blockchain: some batch tx scanning speedup (moneromooo-monero)
2018-08-15Merge pull request #4161luigi11111-2/+2
be02eb9 db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
2018-08-15Merge pull request #4158luigi11112-1/+35
7db7ec8 wallet rpc: support making integrated address of given standard address (stoffu)
2018-08-15Merge pull request #4153luigi11114-16/+35
37f0799 wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
2018-08-15Merge pull request #4150luigi11111-2/+3
f2e65c6 wallet2: consider minimum fee when testing if balance is sufficient (stoffu)
2018-08-15Merge pull request #4138luigi11111-1/+10
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-15Merge pull request #4137luigi11112-3/+5
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-15Merge pull request #4136luigi11114-0/+24
4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
2018-08-15Merge pull request #4106luigi11111-2/+2
20eb192 simplewallet: reword 'seed encryption' to 'seed offset' (moneromooo-monero)
2018-08-15Merge pull request #4103luigi111113-51/+75
bcab579 wallet: allow adjusting number of rounds for the key derivation function (stoffu)
2018-08-15Merge pull request #4089luigi11111-3/+3
909398e p2p: connect via the bound ip, if any (moneromooo-monero)
2018-08-15Merge pull request #4024luigi11111-0/+1
5a2864c simplewallet: fix delay when setting auto-refresh off (moneromooo-monero)
2018-08-15Merge pull request #4020luigi11111-1/+14
c24a0af [monerod] Added blocks remaining count during syncronisation. (Jorropo)
2018-08-15Merge pull request #3528luigi11112-30/+115
34d4b79 wallet2: use a gamma distribution to pick fake outs (moneromooo-monero)
2018-08-15Incremental Keccak API addedDusan Klinec2-0/+88
- needed for TREZOR integration
2018-08-15wallet_rpc_server: remove unused amount_keys field in transfer RPCmoneromooo-monero1-2/+0
2018-08-15simplewallet: allow named priority levels for default-prioritymoneromooo-monero1-9/+37
to match those used by the various transfer functions
2018-08-14db_lmdb: resize blockchain database when 90% filledmoneromooo-monero2-7/+3
instead of a random ratio from 60% to 90%.
2018-08-13node_rpc_proxy: fix fork earliest height caching [RYO backport]fireice-uk2-2/+2
xref https://github.com/ryo-currency/ryo-currency/pull/86
2018-08-13simplewallet: Simplify LOCK_IDLE_SCOPE macrorbrunner71-6/+1
2018-08-13wallet2: remove obsolete pruned/unpruned casemoneromooo-monero1-28/+1
All daemons will not support pruned blocks
2018-08-12wallet: disable core dumps on startup in release modemoneromooo-monero4-0/+24
2018-08-12stack_trace: print stack traces on stdout if the logger isn't livemoneromooo-monero1-1/+10
2018-08-12core: sync database based on bytes added, not blocks addedmoneromooo-monero4-16/+37
Blocks have a very wide range, whereas actual size is the relevant quantity to consider when syncing
2018-08-09blockchain: use uint64_t for height, not size_tmoneromooo-monero1-1/+1
2018-08-09blockchain_blackball: use a bit less memorymoneromooo-monero1-4/+3
2018-08-09cryptonote_protocol: don't serialize an unneeded new block messagemoneromooo-monero1-7/+12
Non fluffy block nodes should now be very rare
2018-08-07blockchain_depth: add average min depthmoneromooo-monero1-3/+7
2018-08-07blockchain_depth: get the average min depth of a set of txesmoneromooo-monero2-0/+379
2018-08-08wallet: allow adjusting number of rounds for the key derivation functionstoffu13-51/+75
2018-08-07simplewallet: add a warning and prompt on rescan_blockchainmoneromooo-monero1-1/+9
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-05simplewallet: correct number of human-readable monthsrbrunner71-1/+1
2018-08-05updates: fix hash sanity checkingmoneromooo-monero1-3/+3
2018-08-03wallet: distinguish coinbase from other txes in show_transfersmoneromooo-monero4-16/+35
2018-08-02Fixed ZMQ-RPC for transactions and GET_BLOCKS_FASTLee Clagett5-188/+200
2018-07-31wallet2: do not divide by 0 on invalid daemon responsemoneromooo-monero1-0/+1
2018-07-31wallet-rpc: add get_address_index commandstoffu5-1/+52
2018-07-31wallet-rpc: filter getbalance response by address indexstoffu2-5/+13
2018-07-30blockchain_db: remove unused get_output_key variantmoneromooo-monero4-68/+1
It was actually incorrect, as it would not return commitment
2018-07-30blockchain_ancestry: faster and uses less memorymoneromooo-monero1-50/+114
2018-07-30blockchain_ancestry: add an incremental modemoneromooo-monero1-25/+99
2018-07-30blockchain_ancestry: finds all ancestors of a tx, block, or chainmoneromooo-monero2-0/+666
2018-07-30wallet2: avoid using arbitrary random values when unknownmoneromooo-monero1-4/+3
2018-07-30wallet2: guard against bad outputs in import_outputsmoneromooo-monero1-2/+4
also some minor speedup
2018-07-30simplewallet: add set_tx_key for importing tx keys from 3rd party walletsstoffu4-0/+112