aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-03-04Merge pull request #5092Riccardo Spagni1-2/+2
eec79276 blockchain: fix default genesis block timestamp (moneromooo-monero)
2019-03-04Merge pull request #5091Riccardo Spagni12-9/+419
123fc2a2 i2p: initial support (Jethro Grassie)
2019-03-04Merge pull request #5084Riccardo Spagni1-0/+5
9d58749b wallet2: fix hashchain going out of sync on refresh error (moneromooo-monero)
2019-03-04Merge pull request #5082Riccardo Spagni1-6/+22
1bc5f9fa bulletproofs: speed up vector_power_sum (moneromooo-monero)
2019-03-04Merge pull request #5081Riccardo Spagni1-3/+3
d78addcb db_lmdb: don't unnecessarily cast to double on the way to uint64_t (moneromooo-monero)
2019-03-04Merge pull request #4054Riccardo Spagni14-30/+168
24569454 epee: add SSL support (moneromooo-monero)
2019-03-04Merge pull request #5224Riccardo Spagni1-1/+1
807903bb hardfork: fix fork determination for historical heights (moneromooo)
2019-03-04Merge pull request #5217Riccardo Spagni2-7/+13
fa2fbc39 wallet2: fix mishandling rct outputs in coinbase tx (moneromooo-monero)
2019-03-04blockchain: forbid older BP rct versions from v11moneromooo-monero1-1/+18
2019-03-04Merge pull request #5175Riccardo Spagni1-0/+1
85088d9f db_lmdb: fix missing mdb_dbi_close in migration (moneromooo-monero)
2019-03-04Merge pull request #5174Riccardo Spagni7-3/+2855
0de14396 tests: add a CNv4 JIT test (moneromooo-monero) 24d281c3 crypto: plug CNv4 JIT into cn_slow_hash (moneromooo-monero) 78ab59ea crypto: clear cache after generating random program (moneromooo-monero) b9a61884 performance_tests: add tests for new Cryptonight variants (moneromooo-monero) fff23bf7 CNv4 JIT compiler for x86-64 and tests (SChernykh) 3dde67d8 blockchain: add v10 fork heights (moneromooo-monero)
2019-03-04Merge pull request #5132Riccardo Spagni8-121/+314
2dbc487e Add support for V10 protocol with BulletProofV2 and short amount. (cslashm) 63cc02c0 Fix dummy decryption in debug mode (cslashm) f0e55ceb fix log namespace (cslashm) 460da140 New scheme key destination contrfol (cslashm)
2019-03-04tests: add a CNv4 JIT testmoneromooo-monero1-7/+8
2019-03-04crypto: plug CNv4 JIT into cn_slow_hashmoneromooo-monero2-3/+100
Enabled by setting the MONERO_USE_CNV4_JIT env var to 1
2019-03-04crypto: clear cache after generating random programmoneromooo-monero1-0/+3
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-04Print the reason why a notification spec failed to parsemoneromooo-monero2-3/+3
2019-03-04blockchain: include number of discarded blocks in --reorg-notifymoneromooo-monero2-3/+5
2019-03-04core: add a few more block rate window sizesmoneromooo-monero1-1/+1
The 10 minute one will never trigger for 0 blocks, as it's still fairly likely to happen even without the actual hash rate changing much, so we add a 20 minute window, where it will (for 0 blocks) and a one hour window.
2019-03-04core: add --block-rate-notifymoneromooo-monero2-0/+33
This runs a command whenever the block rate deviates too much from the expectation
2019-03-04notify: fix tokenizing being too strictmoneromooo-monero1-1/+1
2019-03-04hardfork: fix fork determination for historical heightsmoneromooo1-1/+1
2019-03-04Merge pull request #5126Riccardo Spagni6-45/+576
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 Spagni14-33/+530
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-04ArticMine's new block weight algorithmmoneromooo-monero14-33/+530
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-03-03wallet2: fix mishandling rct outputs in coinbase txmoneromooo-monero2-7/+13
Reported by cutcoin
2019-02-21db_lmdb: fix missing mdb_dbi_close in migrationmoneromooo-monero1-0/+1
Fixed by hyc
2019-02-14Fixed path to int-util.hSChernykh1-1/+1
2019-02-14Adding cnv4-2 tweaksSChernykh2-39/+79
Co-Authored-By: Lee Clagett <vtnerd@users.noreply.github.com>
2019-02-14Cryptonight variant 4 aka CryptonightRSChernykh6-17/+508
It introduces random integer math into the main loop.
2019-02-08Add support for V10 protocol with BulletProofV2 and short amount.cslashm1-13/+34
2019-02-08Fix dummy decryption in debug modecslashm1-1/+3
2019-02-08fix log namespacecslashm1-45/+45
2019-02-08New scheme key destination contrfolcslashm7-63/+233
Implies protocol version management.
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-02epee: add SSL supportmoneromooo-monero14-30/+168
RPC connections now have optional tranparent SSL. An optional private key and certificate file can be passed, using the --{rpc,daemon}-ssl-private-key and --{rpc,daemon}-ssl-certificate options. Those have as argument a path to a PEM format private private key and certificate, respectively. If not given, a temporary self signed certificate will be used. SSL can be enabled or disabled using --{rpc}-ssl, which accepts autodetect (default), disabled or enabled. Access can be restricted to particular certificates using the --rpc-ssl-allowed-certificates, which takes a list of paths to PEM encoded certificates. This can allow a wallet to connect to only the daemon they think they're connected to, by forcing SSL and listing the paths to the known good certificates. To generate long term certificates: openssl genrsa -out /tmp/KEY 4096 openssl req -new -key /tmp/KEY -out /tmp/REQ openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT /tmp/KEY is the private key, and /tmp/CERT is the certificate, both in PEM format. /tmp/REQ can be removed. Adjust the last command to set expiration date, etc, as needed. It doesn't make a whole lot of sense for monero anyway, since most servers will run with one time temporary self signed certificates anyway. SSL support is transparent, so all communication is done on the existing ports, with SSL autodetection. This means you can start using an SSL daemon now, but you should not enforce SSL yet or nothing will talk to you.
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-30i2p: initial supportJethro Grassie12-9/+419
2019-01-29Merge pull request #4988Riccardo Spagni26-692/+2863
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 Clagett26-692/+2863
- 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 Spagni5-315/+336
acfff8d0 rpc: fix internal daemon calls in restricted rpc getting partial data (moneromooo-monero)
2019-01-28Merge pull request #5053Riccardo Spagni7-7/+62
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-monero5-315/+336
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 #5074Riccardo Spagni1-1/+1
b8c5f550 wallet api: don't truncate address in subaddress_account (selsta)
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-monero4-6/+22
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 #5063Riccardo Spagni2-24/+115
11227e0b mnemonics: compare canonical words (lowercase) (moneromooo-monero)
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 Spagni20-107/+210
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-26blockchain: fix default genesis block timestampmoneromooo-monero1-2/+2
2019-01-22ringct: remove unused senderPk from ecdhTuplemoneromooo-monero2-4/+0
This was an early ringct field, which was never used in production
2019-01-22ringct: the commitment mask is now deterministicmoneromooo-monero5-27/+55
saves space in the tx and is safe Found by knaccc
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-22Pruningmoneromooo-monero44-427/+3018
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-19wallet2: fix hashchain going out of sync on refresh errormoneromooo-monero1-0/+5
2019-01-19bulletproofs: speed up vector_power_summoneromooo-monero1-6/+22
found by sarang
2019-01-19db_lmdb: don't unnecessarily cast to double on the way to uint64_tmoneromooo-monero1-3/+3
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-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-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-15wallet api: don't truncate address in subaddress_accountselsta1-1/+1
Same behaviour as subaddress.cpp now.
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-11mnemonics: compare canonical words (lowercase)moneromooo-monero2-24/+115
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-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)