aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-01-22ringct: encode 8 byte amount, saving 24 bytes per outputmoneromooo-monero11-28/+71
Found by knaccc
2019-01-22ringct: save 3 bytes on bulletproof sizemoneromooo-monero1-1/+4
Found by luigi1111
2019-01-22add a bulletproof version, new bulletproof type, and rct configmoneromooo-monero13-62/+95
This makes it easier to modify the bulletproof format
2019-01-18Merge pull request #5008Riccardo Spagni6-26/+93
c6d38718 core: include a dummy encrypted payment id when no payment is used (moneromooo-monero) b7441c4a core, wallet: remember original text version of destination address (moneromooo-monero) a9b1c04a crptonote_core: do not error out sending unparsable extra field (moneromooo-monero)
2019-01-18Merge pull request #5050Riccardo Spagni1-1/+0
07cb574c ringct: remove duplicate rv.mixRing = mixRing; in genRctSimple (stoffu)
2019-01-18Merge pull request #5049Riccardo Spagni1-0/+1
0a29660f message_store: init me field (moneromooo-monero)
2019-01-18Merge pull request #5047Riccardo Spagni1-0/+14
584126d1 i18n: filter LANG/LC_LANG for valid characters, and handle @ (moneromooo-monero)
2019-01-18Merge pull request #5048Riccardo Spagni1-1/+2
a67b77a9 blockchain: don't propagate exception past dtor (moneromooo-monero)
2019-01-18core: include a dummy encrypted payment id when no payment is usedmoneromooo-monero2-14/+58
For better transaction uniformity, even though this wastes space.
2019-01-18core, wallet: remember original text version of destination addressmoneromooo-monero5-10/+33
2019-01-18crptonote_core: do not error out sending unparsable extra fieldmoneromooo-monero1-2/+2
extra is arbitrary, and the user may well want to send custom data
2019-01-18Merge pull request #5037Riccardo Spagni1-3/+3
51b0625e simplewallet: improve punctuation in user visible string (selsta)
2019-01-18Merge pull request #5028Riccardo Spagni4-233/+214
464097e5 blockchain_ancestry: allow getting ancestry of a single output (moneromooo-monero) a6216d1a blockchain_db: allow getting output keys without commitment (moneromooo-monero)
2019-01-18Merge pull request #5020Riccardo Spagni2-12/+37
1ef79b43 simplewallet: disable long payment ids by default (moneromooo-monero)
2019-01-18Merge pull request #5014Riccardo Spagni2-16/+101
0debe7d7 wallet2: remember which output keys map to which key images (moneromooo-monero)
2019-01-18Merge pull request #4971Riccardo Spagni1-46/+49
15904610 simplewallet: remove extra colon in a few calls to input_secure_line (stoffu) 247dab73 simplewallet: avoid conversion to string in input_secure_line (stoffu) bf9ef7ad simplewallet: factor yesno hint into input_line (stoffu)
2019-01-18simplewallet: fix help text of rescan_bc to mention the "hard" optionstoffu1-1/+1
2019-01-18simplewallet: remove extra colon in a few calls to input_secure_linestoffu1-6/+6
2019-01-18simplewallet: avoid conversion to string in input_secure_linestoffu1-2/+2
2019-01-18simplewallet: factor yesno hint into input_linestoffu1-38/+41
2019-01-16blockchain_ancestry: allow getting ancestry of a single outputmoneromooo-monero1-229/+209
This involved a reorg of the code, to factor and speedup some bits, as well as using the cache for all modes, and making both modes usable in the same run.
2019-01-16blockchain_db: allow getting output keys without commitmentmoneromooo-monero3-4/+5
Since the commitment has to be calculated for non rct outputs, it slows down a lot unnecessarily if we don't need it
2019-01-16simplewallet: disable long payment ids by defaultmoneromooo-monero2-12/+37
unless --long-payment-id-support is used
2019-01-16wallet2: remember which output keys map to which key imagesmoneromooo-monero2-16/+101
This allows filling in transfer_details when a cold signed tx gets seen in a block next
2019-01-16simplewallet: improve punctuation in user visible stringselsta1-3/+3
2019-01-16Merge pull request #5042Riccardo Spagni1-0/+1
c1081091 simplewallet: Show new address after going multisig (rbrunner7)
2019-01-16Merge pull request #5035Riccardo Spagni1-1/+1
53fcd159 simplewallet: don't subtract 1 to estimate blockchain height (moneromooo-monero)
2019-01-16Merge pull request #5034Riccardo Spagni4-0/+15
13785ec9 wallet api/device: set estimated restore height if none is provided (selsta)
2019-01-16Merge pull request #5032Riccardo Spagni3-8/+38
5ee6f037 blockchain: fix wrong hf version when popping multiple blocks (moneromooo-monero) 634d359a blockchain: use the version passed as parameter, not a new one (moneromooo-monero) 94a375d5 hardfork: remove batch transactions setup (moneromooo-monero)
2019-01-16Merge pull request #5029Riccardo Spagni1-1/+1
d1b3990d p2p: don't stop the idle thread when no gray peers are found (moneromooo-monero)
2019-01-16Merge pull request #5027Riccardo Spagni4-39/+89
9092fc4b wallet: do not display daemon controlled text if untrusted (moneromooo-monero)
2019-01-16Merge pull request #5019Riccardo Spagni3-7/+23
65ce387c daemon: add a +hex option to print_block (moneromooo-monero)
2019-01-16Merge pull request #5018Riccardo Spagni1-31/+2
8bd71677 simplewallet: remove ability to transfer with detached short payment ids (moneromooo-monero)
2019-01-16Merge pull request #5015Riccardo Spagni2-59/+5
6f2081f8 cryptonote_core: revert extra_tx_map (moneromooo-monero)
2019-01-16Merge pull request #5012Riccardo Spagni4-6/+12
d7354c78 wallet_rpc_server: add all field to export_key_images (moneromooo-monero)
2019-01-16Merge pull request #5009Riccardo Spagni2-1/+6
5e10dee3 simplewallet: fix show_transfers colouring, and add red for failed (moneromooo-monero)
2019-01-16Merge pull request #5006Riccardo Spagni1-1/+1
7c58421c blockchain_blackball: make log file name consistent with executable (stoffu)
2019-01-16Merge pull request #5004Riccardo Spagni1-0/+17
de9dcdd1 wallet2: finalize_multisig now rejects non N-1/N multisig wallets (moneromooo-monero)
2019-01-16Merge pull request #5001Riccardo Spagni2-3/+5
a5ffc2d5 Remove boost::lexical_cast for uuid and unused uuid function (Lee Clagett)
2019-01-16Merge pull request #4995Riccardo Spagni1-3/+0
99765b21 Remove unused hash in export_key_images (doy-lee)
2019-01-16Merge pull request #4994Riccardo Spagni1-0/+3
c5e0539c device/trezor: store tx_prefix_hash in tx key aux (Dusan Klinec)
2019-01-16Merge pull request #4993Riccardo Spagni1-1/+3
b8342dd5 blockchain: fix block rate check for empty blockchains (moneromooo-monero)
2019-01-16Merge pull request #4987Riccardo Spagni1-4/+12
841a6acd wallet2: fix accessing unwound stack on exception (moneromooo-monero)
2019-01-16Merge pull request #4986Riccardo Spagni1-2/+2
d24c325c daemon: print human friendly timestamp too (moneromooo-monero)
2019-01-16Merge pull request #4985Riccardo Spagni1-6/+9
808a1f1e wallet2: cut down on the number of useless derivation threads (moneromooo-monero)
2019-01-16Merge pull request #4984Riccardo Spagni8-44/+71
008647d7 blockchain_db: speedup tx output gathering (moneromooo-monero)
2019-01-16Merge pull request #4981Riccardo Spagni2-11/+57
60b35c91 Add --restore-date param (Howard Chu)
2019-01-16Merge pull request #4980Riccardo Spagni1-4/+3
219548f2 Sync hashchain bug fixed (naughtyfox)
2019-01-16Merge pull request #4979Riccardo Spagni1-0/+2
611db08a Wallet: Initialize members without default ctor. (Tadeas Moravec)
2019-01-16Merge pull request #4976Riccardo Spagni5-20/+20
85665003 epee: better network buffer data structure (moneromooo-monero)
2019-01-16Merge pull request #4973Riccardo Spagni1-1/+10
aaafa8a9 ringct: avoid repeated point conversion (moneromooo-monero)
2019-01-08i18n: filter LANG/LC_LANG for valid characters, and handle @moneromooo-monero1-0/+14
If there are more valid characters, add them in, I did not find an actual list.
2019-01-08ringct: remove duplicate rv.mixRing = mixRing; in genRctSimplestoffu1-1/+0
2019-01-07Merge pull request #5045Riccardo Spagni1-10/+10
050ee521 wallet_api: fix usage of LOG_ERROR (moneromooo-monero)
2019-01-07Merge pull request #5016Riccardo Spagni1-1/+1
434a147b blocks: fix checkpoint code generation on OpenBSD (moneromooo-monero)
2019-01-07Merge pull request #5007Riccardo Spagni1-7/+7
68f095f0 message_store: fix error message adding const char * with offset (moneromooo-monero)
2019-01-07message_store: init me fieldmoneromooo-monero1-0/+1
Coverity 190651
2019-01-07blockchain: don't propagate exception past dtormoneromooo-monero1-1/+2
Coverity 190660
2019-01-07wallet_api: fix usage of LOG_ERRORmoneromooo-monero1-10/+10
2019-01-07Make get_output_key method constmoneroexamples4-8/+8
get_output_key method is commonly used when working with txs and their key images. Because the method is not const, passing blockchain object though const& or pointers to const is not possible in this context. This is especially problematic in external projects (e.g., projects in moneroexamples) that use monero C++ api to operate on the blockchain and txs. Thus, having get_output_key method will simplify moving blockchain object around through const references and pointers to const objects.
2019-01-06Merge pull request #4956Riccardo Spagni1-0/+4
2d7b0236 wallet2: clear all payments on soft rescan_bc (moneromooo-monero)
2019-01-06Merge pull request #4954Riccardo Spagni2-9/+41
93c59b29 perf_timer: check allowed categories before logging (moneromooo-monero) 6a507dab perf_timer: add a way to get and reset the current time (moneromooo-monero) c1581a5b perf_timer: only log to file (moneromooo-monero)
2019-01-06Merge pull request #4952Riccardo Spagni5-27/+31
570dd369 p2p: use vector instead of list for peer lists (moneromooo-monero)
2019-01-06Merge pull request #4949Riccardo Spagni2-12/+24
5464725a protocol: change standby mode to not wait sleeping (moneromooo-monero) 85807dfb add a once_a_time_milliseconds class (moneromooo-monero)
2019-01-06Merge pull request #4938Riccardo Spagni1-2/+2
a13eb0a1 epee: speed up string matching a bit (moneromooo-monero) 3a3858dc epee: avoid string allocation when parsing a pod from string (moneromooo-monero)
2019-01-04simplewallet: Show new address after going multisigrbrunner71-0/+1
2019-01-02wallet api/device: set estimated restore height if none is providedselsta4-0/+15
2019-01-02simplewallet: don't subtract 1 to estimate blockchain heightmoneromooo-monero1-1/+1
in case it returns 0, and other uses don't, plus it's a estimation anyway.
2019-01-01blockchain: fix wrong hf version when popping multiple blocksmoneromooo-monero3-6/+37
Since we keep track of the hf version in the db, we pick it up from there instead of doing the full reorg call, which is quite expensive
2019-01-01blockchain: use the version passed as parameter, not a new onemoneromooo-monero1-1/+1
2019-01-01hardfork: remove batch transactions setupmoneromooo-monero1-1/+0
This is now default, so it spares us the warnings
2018-12-31wallet2: speedup output trackingmoneromooo-monero2-13/+49
It can get heavy for large wallets
2018-12-31wallet: optionally keep track of owned outputs usesmoneromooo-monero4-19/+109
2018-12-31Merge pull request #4960luigi11111-0/+4
b56b5b5 ignore child process when exec (jtgrassie)
2018-12-31Merge pull request #4957luigi11111-1/+1
0e2f5cb perf_timer: make all logs Info level (moneromooo-monero)
2018-12-31Merge pull request #4955luigi11111-2/+2
25e5a85 singleton: fix missing *this return value in operator= (monermooo-monero)
2018-12-31Merge pull request #4953luigi11111-5/+13
dbbb3ce cryptonote: don't serialize for blob size if already known (moneromooo-monero)
2018-12-31Merge pull request #4948luigi11111-2/+12
1d892ec simplewallet: donate command validate amount (selsta)
2018-12-31Merge pull request #4946luigi11118-104/+31
6644b9b blockchain_db: remove a couple unused functions (moneromooo-monero) ce594f5 blockchain_db: allocate known size vector only once (moneromooo-monero) 8332698 db_lmdb: inline check_open, it's trivial and called everywhere (moneromooo-monero) 5511563 db_lmdb: avoid pointless division (moneromooo-monero) d1efe3d cryptonote: set tx hash on newly parsed txes when known (moneromooo-monero) 9cc68a2 tx_pool: add a few std::move where it can make a difference (moneromooo-monero)
2018-12-31Merge pull request #4945luigi11112-8/+6
e37154a build: protobuf dependency fixes, libusb build (ph4r05)
2018-12-31Merge pull request #4944luigi11111-3/+29
1505dd3 util: set MONERO_DEFAULT_LOG_CATEGORY (moneromooo-monero) db57374 util: use fcntl instead of flock, for compatibility (moneromooo-monero)
2018-12-31Merge pull request #4940luigi11112-7/+15
9e64a71 blockchain: call deinit in dtor (moneromooo-monero)
2018-12-31Merge pull request #4929luigi11112-0/+102
5a76933 Add glibc back compat code (TheCharlatan)
2018-12-31Merge pull request #4928luigi11111-5/+3
affff94 blockchain: fix race between two external mining threads (moneromooo-monero)
2018-12-31Merge pull request #4898luigi11111-144/+230
e6f026e Simplewallet: Unify usage messages. (tmoravec)
2018-12-31Merge pull request #4864luigi11111-5/+0
707c2f8 Remove -Werror (moneromooo-monero)
2018-12-30p2p: don't stop the idle thread when no gray peers are foundmoneromooo-monero1-1/+1
2018-12-30wallet: do not display daemon controlled text if untrustedmoneromooo-monero4-39/+89
2018-12-27simplewallet: remove ability to transfer with detached short payment idsmoneromooo-monero1-31/+2
It seemed like a good idea at the time
2018-12-26daemon: add a +hex option to print_blockmoneromooo-monero3-7/+23
2018-12-26daemon: print human friendly timestamp toomoneromooo-monero1-2/+2
2018-12-25blocks: fix checkpoint code generation on OpenBSDmoneromooo-monero1-1/+1
Its od outputs small decimals with leading 0, which means octal in C
2018-12-25cryptonote_core: revert extra_tx_mapmoneromooo-monero2-59/+5
While the lookups are faster, the zeroCommit calls have to be done again when storing the new outputs in the db, which ends up making the whole thing slower after all, and the ways this can be cached aren't very nice code wise, so let's forget it since the gains aren't very large anyway.
2018-12-24wallet_rpc_server: add all field to export_key_imagesmoneromooo-monero4-6/+12
To use if you want all key images, not just the ones for recently imported outputs
2018-12-23Simplewallet: Unify usage messages.Tadeas Moravec1-144/+230
Help messages describe the commands usage. When users run the command with wrong arguments, it usually helpfully offers the usage, too. Unfortunately, these two usage messages were duplicated in the code and started to get out of sync. Fixing with constant strings.
2018-12-23epee: better network buffer data structuremoneromooo-monero5-20/+20
avoids pointless allocs and memcpy
2018-12-23simplewallet: fix show_transfers colouring, and add red for failedmoneromooo-monero2-1/+6
Also add the type back, as it was somehow weirdly split into two different fields, one being a union...
2018-12-23Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett2-3/+5
2018-12-22message_store: fix error message adding const char * with offsetmoneromooo-monero1-7/+7
2018-12-22blockchain_blackball: make log file name consistent with executablestoffu1-1/+1
2018-12-21wallet2: finalize_multisig now rejects non N-1/N multisig walletsmoneromooo-monero1-0/+17
2018-12-19Remove unused hash in export_key_imagesdoy-lee1-3/+0
2018-12-18device/trezor: store tx_prefix_hash in tx key auxDusan Klinec1-0/+3
- tx_prefix_hash is required in the key derivation for decryption of the tx keys
2018-12-18blockchain: fix block rate check for empty blockchainsmoneromooo-monero1-1/+3
2018-12-18build: protobuf dependency fixes, libusb buildDusan Klinec2-8/+6
- docker protobuf dependencies, cross-compilation - device/trezor protobuf build fixes, try_compile - libusb built under all platforms, used by trezor for direct connect
2018-12-18blockchain_db: speedup tx output gatheringmoneromooo-monero8-44/+71
We know all the data we'll want for getblocks.bin is contiguous
2018-12-16wallet2: cut down on the number of useless derivation threadsmoneromooo-monero1-6/+9
2018-12-16wallet2: fix accessing unwound stack on exceptionmoneromooo-monero1-4/+12
2018-12-14Add --restore-date paramHoward Chu2-11/+57
Estimate restore height from given date Check date format early, error out early if invalid
2018-12-14Sync hashchain bug fixednaughtyfox1-4/+3
2018-12-14Wallet: Initialize members without default ctor.Tadeas Moravec1-0/+2
Found by Coverity (188336 in Anonimal's Coverity account).
2018-12-12MMS (Multisig Messaging System): Initial versionrbrunner712-127/+3877
2018-12-12ringct: avoid repeated point conversionmoneromooo-monero1-1/+10
2018-12-12Merge pull request #4927Riccardo Spagni1-1/+2
6456cb41 Bulletproof: Initialize members in default construtor. (Tadeas Moravec)
2018-12-12Merge pull request #4925Riccardo Spagni1-10/+10
ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero) 9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero) 4d71d463 mlocker: remove early page size log (moneromooo-monero)
2018-12-12Merge pull request #4924Riccardo Spagni1-7/+10
0c5dd316 cryptonote: add a set_null for transaction_prefix (moneromooo-monero)
2018-12-12Merge pull request #4923Riccardo Spagni2-2/+1
aba9a9c2 daemon: stop miner before we bring the whole thing down (moneromooo-monero)
2018-12-12Merge pull request #4921Riccardo Spagni1-7/+24
ac665418 ringct: fix dummy bulletproofs on ledger in fake mode (moneromooo-monero)
2018-12-12Merge pull request #4920Riccardo Spagni1-5/+4
e98ae34e core: fix adding new pre-hoh block when a tx is already in the pool (moneromooo-monero)
2018-12-12Merge pull request #4909Riccardo Spagni2-35/+86
756684bb blockchain: avoid unnecessary DB lookups when syncing (moneromooo-monero)
2018-12-12Merge pull request #4908Riccardo Spagni1-2/+19
5ca4994c rpc: speed up the common get_output_distribution case while syncing (moneromooo-monero)
2018-12-12Merge pull request #4903Riccardo Spagni10-0/+138
dc1c1252 add command pop_blocks (Jason Wong)
2018-12-12Merge pull request #4901Riccardo Spagni5-4/+413
a48f2dab blockchain_prune_known_spent_data: blackball file is now optional (moneromooo-monero) 17b45725 Outputs where all amounts are known spent can now be pruned (moneromooo-monero)
2018-12-12Merge pull request #4899Riccardo Spagni1-1/+95
2be31b4c blockchain_blackball: spot when all outputs of an amount are spent (moneromooo-monero)
2018-12-12Merge pull request #4897Riccardo Spagni1-8/+21
9b5efad2 simplewallet: enable donation on testnet/stagenet for easier testing (stoffu)
2018-12-12Merge pull request #4839Riccardo Spagni16-72/+652
d71f89e2 device/trezor: device/trezor: correct device initialization, status check (Dusan Klinec) 65b9bca7 device/trezor: python2 compatibility - bundle dependencies (Dusan Klinec) 9cf636af device/trezor: ask for KI sync on first refresh (Dusan Klinec) d21dad70 device: enable to use multiple independent device wallets (Dusan Klinec) 318cc784 device/trezor: passphrase entry on host (Dusan Klinec)
2018-12-12Merge pull request #4787Riccardo Spagni4-1/+50
3dba7f25 protocol: option to pad transaction relay to the next kB (moneromooo-monero)
2018-12-08ignore child process when execJethro Grassie1-0/+4
2018-12-08perf_timer: make all logs Info levelmoneromooo-monero1-1/+1
and make them not default at log level 1
2018-12-08wallet2: clear all payments on soft rescan_bcmoneromooo-monero1-0/+4
They'll get duplicated otherwise
2018-12-08epee: avoid string allocation when parsing a pod from stringmoneromooo-monero1-2/+2
2018-12-07singleton: fix missing *this return value in operator=moneromooo-monero1-2/+2
while there, disable both operator= and copy ctor, since they are not supposed to be around for a singleton
2018-12-07perf_timer: check allowed categories before loggingmoneromooo-monero1-8/+21
2018-12-07perf_timer: add a way to get and reset the current timemoneromooo-monero2-2/+18
2018-12-07perf_timer: only log to filemoneromooo-monero1-3/+6
2018-12-07cryptonote: don't serialize for blob size if already knownmoneromooo-monero1-5/+13
2018-12-07p2p: use vector instead of list for peer listsmoneromooo-monero5-27/+31
2018-12-07protocol: change standby mode to not wait sleepingmoneromooo-monero2-12/+24
2018-12-07simplewallet: donate command validate amountselsta1-2/+12
2018-12-06util: use fcntl instead of flock, for compatibilitymoneromooo-monero1-3/+26
in particular with NFS
2018-12-05tx_pool: add a few std::move where it can make a differencemoneromooo-monero1-3/+4
2018-12-05cryptonote: set tx hash on newly parsed txes when knownmoneromooo-monero3-5/+14
2018-12-05db_lmdb: avoid pointless divisionmoneromooo-monero1-1/+1
2018-12-05db_lmdb: inline check_open, it's trivial and called everywheremoneromooo-monero2-8/+7
2018-12-05blockchain_db: allocate known size vector only oncemoneromooo-monero1-5/+5
2018-12-05blockchain_db: remove a couple unused functionsmoneromooo-monero4-82/+0
2018-12-05util: set MONERO_DEFAULT_LOG_CATEGORYmoneromooo-monero1-0/+3
Otherwise it'd end up with whatever was included last
2018-12-05blockchain: call deinit in dtormoneromooo-monero2-7/+15
This ensures the io service that runs in another thread cannot access data after it's deleted
2018-12-04device/trezor: device/trezor: correct device initialization, status checkDusan Klinec5-22/+139
- checks if the device is in the correct usable state - implements check for the v2.0.9 firmware which does not support payment IDs - simple transacttion check, payment id fmt consistency - minor fixes, refactoring, webusb session counting fix
2018-12-04device/trezor: python2 compatibility - bundle dependenciesDusan Klinec5-8/+248
2018-12-04device/trezor: ask for KI sync on first refreshDusan Klinec4-18/+58
When doing a first refresh on HW-token based wallet KI sync is required if money were received. Received money may indicate wallet was already used before the restore I.e., some transaction could have been already sent from the wallet. The spent UTXO would not be detected as spent which could lead to double spending errors on submitting a new transaction. Thus if the wallet is HW-token based with the cold signing protocol and the first refresh detected received money the user is asked to perform the key image sync.
2018-12-04device: enable to use multiple independent device walletsDusan Klinec6-2/+73
- adds a new option `--hw-device-deriv-path` to the simple wallet. Enables to specify wallet derivation path / wallet code (path avoided so it can be misinterpreted as a file path). - devices can use different derivation mechanisms. Trezor uses standard SLIP-10 mechanism with fixed SLIP-44 prefix for Monero - Trezor: when empty, the default derivation mechanism is used with 44'/128'/0'. When entered the derivation path is 44'/128'/PATH. - Trezor: the path is always taken as elements are hardened (1<<31 bit turned on)
2018-12-04Merge pull request #4879Riccardo Spagni1-24/+29
243f010e rpc: mask values that are nobody else's business in restricted RPC (moneromooo-monero)
2018-12-04Merge pull request #4906Riccardo Spagni1-2/+2
506472e0 protocol: fix use after free when dropping a connection (moneromooo-monero)
2018-12-04Merge pull request #4894Riccardo Spagni23-132/+34
aee7a4e3 wallet_rpc_server: do not use RPC data if the call failed (moneromooo-monero) 1a0733e5 windows_service: fix memory leak (moneromooo-monero) 0dac3c64 unit_tests: do not rethrow a copy of an exception (moneromooo-monero) 5d9915ab cryptonote: fix get_unit for non default settings (moneromooo-monero) d4f50cb1 remove some unused code (moneromooo-monero) 61163971 a few minor (but easy) performance tweaks (moneromooo-monero) 30023074 tests: slow_memmem now returns size_t (moneromooo-monero)
2018-12-04Merge pull request #4892Riccardo Spagni1-173/+173
c28e3d2d rctOps: add braces to suppress warnings (stoffu)
2018-12-04rpc: mask values that are nobody else's business in restricted RPCmoneromooo-monero1-24/+29
2018-12-04Merge pull request #4888Riccardo Spagni1-2/+3
b0d9d605 cn_deserialize: allow parsing partially valid tx extra (moneromooo-monero)
2018-12-04Merge pull request #4885Riccardo Spagni1-2/+2
b5573fc2 wallet2: resume processing when tx extra is partially broken (stoffu)
2018-12-04Merge pull request #4884Riccardo Spagni1-1/+1
56e616e8 wallet2: add n_vouts to capture list (moneromooo-monero)
2018-12-04Merge pull request #4882Riccardo Spagni1-1/+1
6bfcc573 scoped_message_writer: protect all std::cout usage from readline (moneromooo-monero)
2018-12-04Merge pull request #4866Riccardo Spagni15-272/+13
9c923bad epee: fix network packet header field endianness (moneromooo-monero) ec1a62b5 move int-util.h to epee (moneromooo-monero)
2018-12-04Merge pull request #4880Riccardo Spagni2-6/+2
96e6b439 blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
2018-12-04Merge pull request #4878Riccardo Spagni5-0/+10
517f25ef rpc: add version to get_info (Jethro Grassie)
2018-12-04Merge pull request #4877Riccardo Spagni1-1/+3
c25260f5 protocol: fix incorrect tx hash in log (moneromooo-monero)
2018-12-04move int-util.h to epeemoneromooo-monero15-272/+13
2018-12-04Merge pull request #4872Riccardo Spagni1-10/+6
fc99f177 lmdb: fix gcc 7.3.0 'implicit-fallthrough' warning (xiphon)
2018-12-04Merge pull request #4869Riccardo Spagni3-5/+5
60f36386 Avoid unnecessary temp block and copy ctor (moneromooo-monero)
2018-12-04Merge pull request #4862Riccardo Spagni1-5/+9
3998a937 Enhance help text for print_ring. (Tadeas Moravec) 3900fb77 Enhance help text for incoming_transfers. (Tadeas Moravec)
2018-12-04Merge pull request #4859Riccardo Spagni4-22/+21
6f2497bc Don't cache nettype in core_rpc_server use m_core (doy-lee)
2018-12-04Merge pull request #4854Riccardo Spagni28-93/+28
bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
2018-12-04Merge pull request #4853Riccardo Spagni2-2/+8
2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
2018-12-04Merge pull request #4845Riccardo Spagni5-20/+213
6732fc7f Fix issue 4793 - M/N multisig transaction signature (naughtyfox)
2018-12-04Add glibc back compat codeTheCharlatan2-0/+102
To ensure that the binaries compiled by gitian run across many linux distributions, enforce 2.17 as the minimum libc version supported.
2018-12-02blockchain: fix race between two external mining threadsmoneromooo-monero1-5/+3
2018-12-01Bulletproof: Initialize members in default construtor.Tadeas Moravec1-1/+2
Fixing a build warning on g++ 7.3.0
2018-11-30daemon: print monero version at startup when calling a detached daemonmoneromooo-monero1-10/+10
So people who want a timstamp get a timestamp
2018-11-30cryptonote: add a set_null for transaction_prefixmoneromooo-monero1-7/+10
Since it's all inline, I suspect the compiler will merge the duplicate stores anyway.
2018-11-30daemon: stop miner before we bring the whole thing downmoneromooo-monero2-2/+1
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).
2018-11-30ringct: fix dummy bulletproofs on ledger in fake modemoneromooo-monero1-7/+24
Ledger does some basic checks on them
2018-11-29device/trezor: passphrase entry on hostDusan Klinec8-22/+134
- 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
2018-11-28add command pop_blocksJason Wong10-0/+138
add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style
2018-11-27blockchain_prune_known_spent_data: blackball file is now optionalmoneromooo-monero1-7/+44
If not present, the tool will scan the blockchain, since scanning for this is fairly fast.
2018-11-27Outputs where all amounts are known spent can now be prunedmoneromooo-monero5-4/+376
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.
2018-11-27blockchain: avoid unnecessary DB lookups when syncingmoneromooo-monero2-35/+86
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.
2018-11-27rpc: speed up the common get_output_distribution case while syncingmoneromooo-monero1-2/+19
2018-11-26core: fix adding new pre-hoh block when a tx is already in the poolmoneromooo-monero1-5/+4
2018-11-27simplewallet: use is_transfer_unlocked instead of is_tx_spendtime_unlocked ↵stoffu1-1/+1
for show_transfers Followup on #4728
2018-11-26Merge pull request #4821Riccardo Spagni6-17/+42
fc98f7a0 rpc: speedup get_outs.bin (moneromooo-monero)
2018-11-26rpc: speedup get_outs.binmoneromooo-monero6-17/+42
2018-11-26Merge pull request #4834Riccardo Spagni1-9/+15
2c7195d8 bulletproofs: avoid std::vector allocations for slice (moneromooo-monero)
2018-11-26Merge pull request #4831Riccardo Spagni1-1/+1
c5ee14ae json_archive: initialize inner_array_size in ctor (moneromooo-monero)
2018-11-26Merge pull request #4830Riccardo Spagni1-0/+9
dffec258 db_lmdb: error out if the db needs migration in read only mode (moneromooo-monero)
2018-11-26Merge pull request #4825Riccardo Spagni4-4/+110
b9b307d1 rpc: speedup get_output_distribution (moneromooo-monero)
2018-11-26Merge pull request #4824Riccardo Spagni11-191/+692
2ffe53d9 device/trezor: webusb transport added, cmake fixes (Dusan Klinec)
2018-11-26Merge pull request #4816Riccardo Spagni1-1/+0
1a4d1603 wallet2: remove redundant chacha key generation in store_keys (stoffu)
2018-11-26protocol: fix use after free when dropping a connectionmoneromooo-monero1-2/+2
2018-11-25device/trezor: webusb transport added, cmake fixesDusan Klinec11-191/+692
- 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
2018-11-24blockchain_blackball: spot when all outputs of an amount are spentmoneromooo-monero1-1/+95
2018-11-24simplewallet: enable donation on testnet/stagenet for easier testingstoffu1-8/+21