aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04performance_tests: add tests for new Cryptonight variantsmoneromooo-monero2-10/+10
2019-03-04CNv4 JIT compiler for x86-64 and testsSChernykh4-0/+2746
Minimalistic JIT code generator for random math sequence in CryptonightR. Usage: - Allocate writable and executable memory - Call v4_generate_JIT_code with "buf" pointed to memory allocated on the previous step - Call the generated code instead of "v4_random_math(code, r)", omit the "code" parameter
2019-03-04blockchain: add v10 fork heightsmoneromooo-monero1-0/+5
2019-03-04Merge pull request #5126Riccardo Spagni9-51/+611
f1fb06b1 Fixed path to int-util.h (SChernykh) 9da0892b Adding cnv4-2 tweaks (SChernykh) f51397b3 Cryptonight variant 4 aka CryptonightR (SChernykh)
2019-03-04Merge pull request #5124Riccardo Spagni25-64/+1117
b8787f43 ArticMine's new block weight algorithm (moneromooo-monero)
2019-03-04Merge pull request #5122Riccardo Spagni1-15/+2
52964501 ringct: fix v1 ecdhInfo serialization (moneromooo-monero)
2019-03-04Merge pull request #5120Riccardo Spagni1-5/+1
45b7df70 wallet_rpc_server: remove detached short payment ids support (moneromooo-monero)
2019-03-04Merge pull request #5118Riccardo Spagni1-1/+1
49b2a48a simplewallet: tell the user to complain to the recipient (moneromooo-monero)
2019-03-04Merge pull request #5115Riccardo Spagni3-3/+3
fec359a6 cryptonote: Fix enum check in expand_transaction_2 (Tom Smeding) 9bf0e537 cryptonote: Add const-qualifier on comparison functor (Tom Smeding) 5d2fdc2e serialization: Use pos_type instead of streampos (Tom Smeding)
2019-03-04ArticMine's new block weight algorithmmoneromooo-monero25-64/+1117
This curbs runaway growth while still allowing substantial spikes in block weight Original specification from ArticMine: here is the scaling proposal Define: LongTermBlockWeight Before fork: LongTermBlockWeight = BlockWeight At or after fork: LongTermBlockWeight = min(BlockWeight, 1.4*LongTermEffectiveMedianBlockWeight) Note: To avoid possible consensus issues over rounding the LongTermBlockWeight for a given block should be calculated to the nearest byte, and stored as a integer in the block itself. The stored LongTermBlockWeight is then used for future calculations of the LongTermEffectiveMedianBlockWeight and not recalculated each time. Define: LongTermEffectiveMedianBlockWeight LongTermEffectiveMedianBlockWeight = max(300000, MedianOverPrevious100000Blocks(LongTermBlockWeight)) Change Definition of EffectiveMedianBlockWeight From (current definition) EffectiveMedianBlockWeight = max(300000, MedianOverPrevious100Blocks(BlockWeight)) To (proposed definition) EffectiveMedianBlockWeight = min(max(300000, MedianOverPrevious100Blocks(BlockWeight)), 50*LongTermEffectiveMedianBlockWeight) Notes: 1) There are no other changes to the existing penalty formula, median calculation, fees etc. 2) There is the requirement to store the LongTermBlockWeight of a block unencrypted in the block itself. This is to avoid possible consensus issues over rounding and also to prevent the calculations from becoming unwieldy as we move away from the fork. 3) When the EffectiveMedianBlockWeight cap is reached it is still possible to mine blocks up to 2x the EffectiveMedianBlockWeight by paying the corresponding penalty. Note: the long term block weight is stored in the database, but not in the actual block itself, since it requires recalculating anyway for verification.
2019-02-14Fixed path to int-util.hSChernykh1-1/+1
2019-02-14Adding cnv4-2 tweaksSChernykh3-49/+89
Co-Authored-By: Lee Clagett <vtnerd@users.noreply.github.com>
2019-02-14Cryptonight variant 4 aka CryptonightRSChernykh9-23/+543
It introduces random integer math into the main loop.
2019-02-03simplewallet: tell the user to complain to the recipientmoneromooo-monero1-1/+1
for long payment ids
2019-02-03ringct: fix v1 ecdhInfo serializationmoneromooo-monero1-15/+2
The change made for v2 broke v1, and we have no way to know which version we're serializing here. However, since we don't actually care about space savings in this case, we continue serialiazing both mask and amount.
2019-02-02wallet_rpc_server: remove detached short payment ids supportmoneromooo-monero1-5/+1
2019-02-01cryptonote: Fix enum check in expand_transaction_2Tom Smeding1-1/+1
This was noticed because GCC warned about using an enum value in a boolean context.
2019-02-01cryptonote: Add const-qualifier on comparison functorTom Smeding1-1/+1
The original code did not compile with GCC 8.2.1 in C++17 mode, since comparison functions for std::set's must be invocable as const.
2019-02-01serialization: Use pos_type instead of streamposTom Smeding1-1/+1
According to [1], the ios_base::streampos member type is deprecated, and removed in C++17. This type was an alias for pos_type, which this commit uses instead. [1]: https://en.cppreference.com/w/cpp/io/ios_base
2019-01-29Merge pull request #4988Riccardo Spagni39-826/+4293
973403bc Adding initial support for broadcasting transactions over Tor (Lee Clagett)
2019-01-29Merge pull request #5104Riccardo Spagni1-1/+1
dc0b86ab block_queue: fix late sanity check off by one (moneromooo-monero)
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett39-826/+4293
- Support for ".onion" in --add-exclusive-node and --add-peer - Add --anonymizing-proxy for outbound Tor connections - Add --anonymous-inbounds for inbound Tor connections - Support for sharing ".onion" addresses over Tor connections - Support for broadcasting transactions received over RPC exclusively over Tor (else broadcast over public IP when Tor not enabled).
2019-01-28block_queue: fix late sanity check off by onemoneromooo-monero1-1/+1
2019-01-28Merge pull request #5062Riccardo Spagni6-321/+342
acfff8d0 rpc: fix internal daemon calls in restricted rpc getting partial data (moneromooo-monero)
2019-01-28Merge pull request #5053Riccardo Spagni8-8/+63
23813c71 blockchain: add --reorg-notify (moneromooo-monero) f6db59b0 notify: handle arbitrary tags (moneromooo-monero) ff959216 notify: warn if the spec contains one of '"\ (moneromooo-monero) 13852678 common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawn (moneromooo-monero)
2019-01-28rpc: fix internal daemon calls in restricted rpc getting partial datamoneromooo-monero6-321/+342
2019-01-28Merge pull request #5080Riccardo Spagni4-8/+44
d294a577 daemon: extend 'print_pl' command, optional filter by type and limit (xiphon)
2019-01-28Merge pull request #5079Riccardo Spagni27-832/+1070
efec3ed2 Resync to upstream mdb.master (Howard Chu)
2019-01-28Merge pull request #5074Riccardo Spagni1-1/+1
b8c5f550 wallet api: don't truncate address in subaddress_account (selsta)
2019-01-28Merge pull request #5073Riccardo Spagni3-6/+6
45ea19fa bump sodium to 1.0.16 (italocoin)
2019-01-28blockchain: add --reorg-notifymoneromooo-monero3-1/+32
This will trigger if a reorg is seen. This may be used to do things like stop automated withdrawals on large reorgs. %s is replaced by the height at the split point %h is replaced by the height of the new chain %n is replaced by the number of new blocks after the reorg
2019-01-28notify: handle arbitrary tagsmoneromooo-monero5-7/+23
2019-01-28notify: warn if the spec contains one of '"\moneromooo-monero1-0/+2
These aren't processed as a shell does, so this may surprise users
2019-01-28common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawnmoneromooo-monero2-0/+6
2019-01-28Merge pull request #5069Riccardo Spagni1-3/+10
2112060d wallet2: fix duplicate tx notifications for pool txes (moneromooo-monero)
2019-01-28Merge pull request #5068Riccardo Spagni1-1/+1
96e35506 wallet2: fix incorrect patch for determining fork rules (moneromooo-monero)
2019-01-28Merge pull request #5065Riccardo Spagni1-2/+2
ca86ef1b readline: don't dereference possible NULL pointer (Jethro Grassie)
2019-01-28Merge pull request #5064Riccardo Spagni1-0/+36
5ecc5cc7 added two tests for partial word and case tolerance in mnemonics (Paul Shapiro)
2019-01-28Merge pull request #5063Riccardo Spagni2-24/+115
11227e0b mnemonics: compare canonical words (lowercase) (moneromooo-monero)
2019-01-28Merge pull request #5060Riccardo Spagni6-8294/+13295
cb3b4adb translations: update and sync all language files (erciccione) dc0f618e utils: 'update-translations.sh' now removes obsolete strings (erciccione)
2019-01-28Merge pull request #5058Riccardo Spagni1-3/+18
99b3bc5b README.md: updated build instructions for OpenBSD 6.4 (ston1th)
2019-01-28Merge pull request #5056Riccardo Spagni3-10/+11
8258a9e7 wallet: do not check txpool in background mode (moneromooo-monero)
2019-01-28Merge pull request #5055Riccardo Spagni5-9/+43
6c060e6a device: proper handling of user input (selsta)
2019-01-28Merge pull request #5054Riccardo Spagni2-2/+1
93c21644 device_ledger: remove full_name variable (selsta)
2019-01-28Merge pull request #5052Riccardo Spagni32-214/+304
b6534c40 ringct: remove unused senderPk from ecdhTuple (moneromooo-monero) 7d375981 ringct: the commitment mask is now deterministic (moneromooo-monero) 99d946e6 ringct: encode 8 byte amount, saving 24 bytes per output (moneromooo-monero) cdc3ccec ringct: save 3 bytes on bulletproof size (moneromooo-monero) f931e16c add a bulletproof version, new bulletproof type, and rct config (moneromooo-monero)
2019-01-28Merge pull request #4843Riccardo Spagni52-429/+3292
b750fb27 Pruning (moneromooo-monero)
2019-01-22ringct: remove unused senderPk from ecdhTuplemoneromooo-monero4-8/+0
This was an early ringct field, which was never used in production
2019-01-22ringct: the commitment mask is now deterministicmoneromooo-monero7-63/+55
saves space in the tx and is safe Found by knaccc
2019-01-22ringct: encode 8 byte amount, saving 24 bytes per outputmoneromooo-monero14-34/+93
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-monero24-140/+184
This makes it easier to modify the bulletproof format
2019-01-22Pruningmoneromooo-monero52-429/+3292
The blockchain prunes seven eighths of prunable tx data. This saves about two thirds of the blockchain size, while keeping the node useful as a sync source for an eighth of the blockchain. No other data is currently pruned. There are three ways to prune a blockchain: - run monerod with --prune-blockchain - run "prune_blockchain" in the monerod console - run the monero-blockchain-prune utility The first two will prune in place. Due to how LMDB works, this will not reduce the blockchain size on disk. Instead, it will mark parts of the file as free, so that future data will use that free space, causing the file to not grow until free space grows scarce. The third way will create a second database, a pruned copy of the original one. Since this is a new file, this one will be smaller than the original one. Once the database is pruned, it will stay pruned as it syncs. That is, there is no need to use --prune-blockchain again, etc.
2019-01-21readline: don't dereference possible NULL pointerJethro Grassie1-2/+2
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-18Merge pull request #5046Riccardo Spagni2-5/+13
524bf750 core_tests: add a --list_tests command line switch (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 Spagni5-234/+215
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 #5017Riccardo Spagni3-45/+173
21777daf epee: speedup word/number matching (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 #5010Riccardo Spagni5-67/+7
b4433abc Optimize the depends builds for faster compilation (TheCharlatan)
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-18Merge pull request #4966Riccardo Spagni1-1/+1
1717e635 simplewallet: fix help text of rescan_bc to mention the "hard" option (stoffu)
2019-01-18daemon: extend 'print_pl' command, optional filter by type and limitxiphon4-8/+44
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-17Resync to upstream mdb.masterHoward Chu27-832/+1070
2019-01-17Optimize the depends builds for faster compilationTheCharlatan5-67/+7
This includes more fine grained configure options and skipping the openssl and zlib dependencies when compiling qt. The zlib and libevent packages are removed.
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-monero4-5/+6
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-16epee: speedup word/number matchingmoneromooo-monero3-45/+173
Number matching semantics are slightly changed: since this is used as a filter to check whether a number is signed and/or floating point, we can speed this up further. strto* functions are called afterwards and will error out where necessary. We now also accept numbers like .4 which were not accepted before. The strto* calls on a boost::string_ref will not access unallocated memory since the parsers always stop at the first bad character, and the original string is zero terminated. in arbitrary time measurement units for some arbitrary test case: match_number2: 235 -> 70 match_word2: 330 -> 108
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-16Merge pull request #5043Riccardo Spagni1-2/+2
3dd89bdd Changed Windows build commands. (Aniket Pradhan)
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 #5036Riccardo Spagni2-17/+17
d6dde478 remove trailing whitespace in README.md (David Meister)
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 #5022Riccardo Spagni1-1/+1
37a9bcf4 Remove visibility settings from boost.mk (TheCharlatan)
2019-01-16Merge pull request #5021Riccardo Spagni2-3/+13
b82efa32 epee: speed up json parsing (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 #5005Riccardo Spagni3-16/+16
306a1244 core_tests: rename invalid multisig tests to read "invalid" (moneromooo-monero)
2019-01-16Merge pull request #5001Riccardo Spagni6-35/+11
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 Spagni9-45/+72
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 Spagni22-85/+325
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-16Merge pull request #4972Riccardo Spagni1-0/+30
b97059fc add erciccione's pgp key (erciccione)
2019-01-15wallet api: don't truncate address in subaddress_accountselsta1-1/+1
Same behaviour as subaddress.cpp now.
2019-01-15bump sodium to 1.0.16italocoin3-6/+6
2019-01-13wallet2: fix incorrect patch for determining fork rulesmoneromooo-monero1-1/+1
Half of the patch was correct, but half was introducing another bug, where a wallet asking for a fork that the daemon does not know about yet would decide to use those rules.
2019-01-13wallet2: fix duplicate tx notifications for pool txesmoneromooo-monero1-3/+10
2019-01-11added two tests for partial word and case tolerance in mnemonicsPaul Shapiro1-1/+36
2019-01-11mnemonics: compare canonical words (lowercase)moneromooo-monero2-24/+115
2019-01-11translations: update and sync all language fileserciccione5-8293/+13294
2019-01-11utils: 'update-translations.sh' now removes obsolete stringserciccione1-1/+1
2019-01-09README.md: updated build instructions for OpenBSD 6.4ston1th1-3/+18
2019-01-09device: proper handling of user inputselsta5-9/+43
(1) If the user denies something on the Ledger, a proper error message is now shown. (2) Ledger doesn't time out anymore while waiting on user input. (3) Lower the timeout to 2 seconds, this is enough for normal Ledger <-> System communication.
2019-01-09wallet: do not check txpool in background modemoneromooo-monero3-10/+11
This avoids the constant message about needed to run refresh to enter a password. Also mention the txpool when asking for the password if the reason is a pool tx.
2019-01-09device_ledger: remove full_name variableselsta2-2/+1
This variable was never set, resulting in the device name always showing as "disconnected".
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-07Merge pull request #4970Riccardo Spagni5-10/+10
ec68cf82 Make get_output_key method const (moneroexamples)
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-07core_tests: add a --list_tests command line switchmoneromooo-monero2-5/+13
2019-01-07wallet_api: fix usage of LOG_ERRORmoneromooo-monero1-10/+10
2019-01-07Make get_output_key method constmoneroexamples5-10/+10
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 #4969Riccardo Spagni1-25/+25
08bcbd65 update expiry date for both signing and encryption keys (moneromooo-monero)
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 Spagni6-30/+34
570dd369 p2p: use vector instead of list for peer lists (moneromooo-monero)
2019-01-06Merge pull request #4951Riccardo Spagni1-0/+3
b21a60ef mlocker: set default log category (moneromooo-monero)
2019-01-06Merge pull request #4950Riccardo Spagni3-8/+36
68f045de easylogging++: check allowed categories before logging (moneromooo-monero)
2019-01-06Merge pull request #4949Riccardo Spagni3-21/+54
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 Spagni3-40/+20
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-06Merge pull request #4934Riccardo Spagni4-30/+156
5dc590cb wallet2: speedup output tracking (moneromooo-monero) db3f2a91 wallet: optionally keep track of owned outputs uses (moneromooo-monero)
2019-01-04Changed Windows build commands.Aniket Pradhan1-2/+2
`pacman -Syuu` can either upgrade or degrade the packages (depending upon the package lists), and should not be normally used. Instead of that, one should use `pacman -Syu` which only upgrades the packages.
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-02remove trailing whitespace in README.mdDavid Meister2-17/+17
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 #4957luigi11112-2/+2
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 #4945luigi111112-25/+228
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 #4941luigi11111-5/+16
1cfd6f1 unit_tests: strengthen notify test against OS scheduling (moneromooo-monero)
2018-12-31Merge pull request #4940luigi11112-7/+15
9e64a71 blockchain: call deinit in dtor (moneromooo-monero)
2018-12-31Merge pull request #4936luigi11112-9/+8
7d9aeb7 easylogging++: avoid uneeded temporary std::string object (moneromooo-monero)
2018-12-31Merge pull request #4935luigi11111-1/+2
ea85de4 CONTRIBUTING: mention not changing spelling/typoes in code (moneromooo-monero)
2018-12-31Merge pull request #4933luigi11112-2/+2
3cf85f0 Changed RECIEVED to RECEIVED in log messages. (normoes)
2018-12-31Merge pull request #4929luigi11116-165/+113
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 #4864luigi11114-15/+2
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-27Remove visibility settings from boost.mkTheCharlatan1-1/+1
Clang gave a visibility error when compiling boost with visibility hidden.
2018-12-27epee: speed up json parsingmoneromooo-monero2-3/+13
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-monero22-85/+325
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 Clagett6-35/+11
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-22core_tests: rename invalid multisig tests to read "invalid"moneromooo-monero3-16/+16
2018-12-21wallet2: finalize_multisig now rejects non N-1/N multisig walletsmoneromooo-monero1-0/+17
2018-12-20Merge pull request #4902Riccardo Spagni6-107/+5
118db4f3 Cleanup leftovers from migrating depends from bitcoin (TheCharlatan)
2018-12-20Merge pull request #4849Riccardo Spagni12-127/+3877
1ebcd7b9 MMS (Multisig Messaging System): Initial version (rbrunner7)
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 Klinec12-25/+228
- 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-monero9-45/+72
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