aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-15cryptonote_protocol: fix "holes" in block download schedulemoneromooo-monero1-1/+2
2017-08-15cryptonote_protocol: fix out of order additionmoneromooo-monero1-0/+37
This was broken by the reorg fix, since we now have to add blocks regardless of their starting height. We now check whether we know the parent for the first block in the next span, or whether it was requested. If neither, it's an orphan. If it is not known, but was requested, we wait to get that block.
2017-08-15block_queue: do not add empty spansmoneromooo-monero1-0/+2
2017-08-12daemon: print peers' top height in sync_infomoneromooo-monero3-2/+8
2017-08-12protocol: fix reorgs while syncingmoneromooo-monero4-101/+48
2017-08-09connection_context: initialize statemoneromooo-monero1-0/+1
Why this was initialized properly before I have no idea, but it is not anymore. Fix it, which fixes syncing in release mode.
2017-08-09protocol: add checks for top block hard fork versionmoneromooo-monero3-0/+22
We won't even talk to a peer which claims a wrong version for its top block. This will avoid syncing to known bad peers in the first place. Also add IP fails when failing to verify a block.
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero2-1/+2
This fixes nodes not being able to connect to nodes which use recent code. While there, init peer_id too.
2017-08-07change mixin to ring size in user visible placesmoneromooo-monero10-63/+67
2017-08-07core: fix invalid memory access creating txmoneromooo-monero1-1/+1
2017-08-07updates: add "misc_log_ex.h" for logsmoneromooo-monero1-0/+1
2017-08-07dns_utils: add <functional> for std::functionmoneromooo-monero1-0/+1
2017-08-07blockchain_import: much faster when verifying with cryptonote::coremoneromooo-monero3-287/+152
Quick test with the first 56569 blocks from mainnet version verify batch time old 0 200 1:16 new 0 200 0:57 old 0 5000 0:53 new 0 5000 0:51 old 1 200 est > 1h new 1 200 10:21 old 1 5000 est > 1h new 1 5000 8:27
2017-08-07core: new API to disable DNS checkpoint lookupsmoneromooo-monero2-1/+10
2017-08-07blockchain: add testnet v6 fork height at 971400moneromooo-monero1-0/+2
2017-08-07core: thread most of handle_incoming_txmoneromooo-monero3-31/+113
2017-08-07cryptonote_protocol: retry stale spans earlymoneromooo-monero3-0/+25
Connections can be dropped by the net_node layer, unbeknownst to cryptonote_protocol, which would then not flush any spans scheduled to that connection, which would cause it to be only downloaded again once it becomes the next span (possibly after a small delay if it had been requested less than 5 seconds ago).
2017-08-07cryptonote_protocol: light cleanupmoneromooo-monero2-26/+9
2017-08-07cryptonote_protocol: avoid spurious SYNCHRONIZED OK messagesmoneromooo-monero1-2/+12
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero17-132/+1156
A block queue is now placed between block download and block processing. Blocks are now requested only from one peer (unless starved). Includes a new sync_info coommand.
2017-08-05walletAPI: add getRefreshFromBlockHeight()Jaquee2-0/+7
2017-08-05wallet api: pause refresh while commiting txJaquee1-0/+2
2017-08-05wallet2: fix temporarily missing incoming tx when being minedmoneromooo-monero2-20/+38
When scanning the txpool without having first updated the blockchain, the tx would be seen as neither in the txpool nor the chain, and removed, so it'd only reappear once the chain is refreshed, and the tx seen in a block.
2017-08-04simplewallet: show payment ids on sign_transfermoneromooo-monero1-12/+50
Integrated addresses are shown when an encrypted payment id is used
2017-08-03Wallet API: add tx unlock timeJaquee4-0/+10
2017-08-02daemon: some more include cleanupmoneromooo-monero1-4/+1
2017-08-02cryptonote_protocol: fix days behind calc on testnetmoneromooo-monero1-1/+1
2017-08-02wallet: return unlock_time in get_transfersmoneromooo-monero5-3/+53
also show it in simplewallet's show_transfer
2017-08-02fix wallet callback signaturesm2049r1-4/+4
2017-08-01network_throttle: remove unneeded heap allocationsmoneromooo-monero2-19/+6
This will keep leak traces less noisy, as those were one off allocations that were technically leaking.
2017-08-01p2p: move m_in_timedsync from connection_context to p2p_connection_contextmoneromooo-monero1-0/+3
It's got no place in the base class as it's P2P specific field
2017-07-31some include cleanupmoneromooo-monero17-27/+30
2017-07-31core: add a message when loading checkpoints at init timemoneromooo-monero1-0/+2
This uses DNS, which can take a while, so it's useful to know this is the culprit when loading pauses
2017-07-30tx_pool: remove obsolete unused m_config_folder fieldmoneromooo-monero1-1/+0
2017-07-30blockchain: skip checking tx semantics in embedded block hash rangemoneromooo-monero3-1/+17
If the txes are bad, this'll be picked up by the block hash mismatch since the tx merkle root is part of the block hash.
2017-07-29daemon: add average seconds per block in bc_dyn_statsmoneromooo-monero1-1/+4
2017-07-29core: fix lock ordering bug at init timemoneromooo-monero1-1/+2
2017-07-29Fix handling of strings & simplify summation of spendkeysJollyMort1-13/+7
2017-07-29p2p: close connections when exitingmoneromooo-monero1-0/+8
This ensures they don't leak if they were in the middle of an async operation.
2017-07-29Add option to join multisig wallet pieces togetherJollyMort2-3/+151
Asks user for all the data required to merge secret keys from multisig wallets into one master wallet, which then gets full control of the multisig wallet. The resulting wallet will be the same as any other regular wallet.
2017-07-28p2p: fix thread leakmoneromooo-monero1-6/+6
2017-07-28blockchain: fix cryptonight buffer leak on exitmoneromooo-monero1-1/+1
2017-07-27blockchain: ensure all blocks get their longhash precalculatedmoneromooo-monero2-2/+4
If the number of blocks to check was not a multiple of the number of preparation threads, the last few blocks would not be included in the threaded long hash calculation. Those would still get calculated when the block gets added to the chain, however, so this was only a tiny performance hit, rather than a security bug.
2017-07-27blockchain: pass correct height to get_block_longhashmoneromooo-monero1-4/+2
2017-07-27move get_proof_of_trust_hash from util.h to p2p_protocol_defs.hmoneromooo-monero3-10/+9
This avoids having to include p2p_protocol_defs.h in util.h, as util.h is used a lot, and p2p_protocol_defs.h includes a lot of other things that most users don't need.
2017-07-27wallet-cli: Minor improvement to help outputErik de Castro Lopo1-2/+4
2017-07-27Move OpenAlias console input back from libsmoneromooo-monero7-64/+113
Library code should definitely not ask for console input unless it's clearly an input function. Delegating the user interaction part to the caller means it can now be used by a GUI, or have a decision algorithm better adapted to a particular caller.
2017-07-26wallet_rpc_server: optionally return tx blobs on transfer callsmoneromooo-monero2-7/+62
also add do_not_relay flag to them, so it now becomes possible to create a tx without sending it yet
2017-07-25core: randomly shuffle outputsmoneromooo-monero1-1/+1
They used to be sorted by amount, which was fine before rct, but is now suboptimal, since amounts are not known anymore. In particular, it would give a recipient knowledge of whether change was higher or lower than the amount received.
2017-07-24cryptonote_protocol: Set send_idle_time in connection_info correctlyrbrunner71-1/+1
2017-07-24blockchain: one off warning when seeing a block with unknown versionmoneromooo-monero1-0/+14
2017-07-24Make msgwriter logs go to file onlymoneromooo-monero1-1/+1
This was the case for monero-wallet-cli already, but not for monerod, which was making it pretty spammy as it was duplicating intended output. Since my original intent was to ensure logs included command output for debugging, this achieves both.
2017-07-22Make successful transfer log message more informativeJollyMort1-1/+2
"Payment successfully sent" can be misleading if the TX isn't confirmed and drops from TX-pool.
2017-07-22core: forbid duplicate ring members from v6moneromooo-monero2-0/+31
This avoids someone adding what amounts to mixin 0 rings in practice, as there is no other good reason to allow this.
2017-07-22daemon: Add ability to write a PID fileErik de Castro Lopo3-11/+58
The PID file will only be written if the daemon is called with the `--detach` command line argument and a `--pidfile /some/file/path` argument.
2017-07-13daemon: fix status in command line mode if using restricted rpcmoneromooo-monero1-5/+4
2017-07-12miner: fix background mining options parsingmoneromooo-monero1-2/+2
They were set as uint8_t, which boost was apparently treating as a character type, rather than a numeric type
2017-07-11Don't hardcode /tmpHoward Chu1-3/+11
2017-07-10Fix #2164 histogram outputHoward Chu1-1/+1
When there are more than 50txs, the timestamp for the last bin was printed incorrectly. Subtracting "now" was omitted by mistake in 3fc22e7b78ab1dd409de4f3e8f5bff27be19735b
2017-07-09Add various readline related fixesJethro Grassie1-2/+2
- Add missing unbind key - Fix colored messages - Add command completion - Preserve last command input - Fix cursor position issues - Fix trailing whitespace in commands - Synchronize set_prompt
2017-07-06fix on_battery_power for linuxRyan Mehta1-26/+86
fix ac/battery linux
2017-07-05Fix spelling errorsErik de Castro Lopo2-10/+10
2017-07-04Add on_get_alt_blocks_hashes RPC callmoneroexamples3-1/+44
2017-07-02tx_pool: initialize padding in txpool meta structuremoneromooo-monero1-0/+2
2017-07-02cryptonote_core: initialize checkpoint flagmoneromooo-monero1-0/+1
2017-06-30simplewallet: lock idle scope when sweepingmoneromooo-monero1-0/+2
This ensures the chain and related structures can't change while we're using them
2017-06-28Ensure DNSResolver destructor runs on exitHoward Chu1-6/+2
Plugs a noisy but benign memory leak
2017-06-28Remove typeid use in network_addressmoneromooo-monero5-23/+15
Since I had to add an ID to the derived classes anyway, this can be used instead. This removes an apparently pointless warning from CLANG too.
2017-06-26Minor cleanup: tab vs. space + logs messagesbinaryFate2-4/+4
2017-06-26Fix #2120: return per-tx amount in transfer_split RPC call.binaryFate2-0/+9
2017-06-26wallet2: get current height from the daemon on creationmoneromooo-monero1-5/+14
Use current time to estimate current height only if the daemon cannot be queried.
2017-06-26wallet2: fix infinite loop on future refresh heightmoneromooo-monero1-1/+1
If the refresh height is in the future, the current code will loop till the actual height reaches this. Fix it by bailing out if we receive only three hashes, which is what we set in the call parameters.
2017-06-26wallet: fix refresh_from_height setting on new walletmoneromooo-monero2-15/+2
The previous patch was based on a wrong premise (that the daemon height was 0 because the daemon calling code wasn't yet initialized). In fact, current height approximation was not setup for testnet. Fix this.
2017-06-25Fix multiline wallet cli output with readlineJethro Grassie1-0/+15
monero-wallet-cli commands which have multine output sometimes causes issues with the readline support. This patch fixes show_transfers, payments and incoming_transfers.
2017-06-23Fix on_transfer RPC incorrect logging infoMike C1-1/+1
2017-06-23simplewallet: typo fixesGuillaume LE VAILLANT1-4/+4
2017-06-23Fix mismatch of parameter name between header file and implementation for ↵Julien Klepatch1-3/+2
set_user_options()
2017-06-22electrum-words: fix seed mistakenly thought to be old stylemoneromooo-monero2-3/+4
It'd see "empty" words due to extraneous spaces
2017-06-22simplewallet: removed unneeded LOCK_IDLE_SCOPE() from check_tx_key()stoffu1-2/+0
2017-06-22simplewallet: replace assert(m_wallet) with error outstoffu1-5/+25
2017-06-22crypto: moved boost::lock_guard into a smaller scopestoffu1-4/+5
2017-06-22Signature proving payment to destination by only revealing key derivation, ↵stoffu4-15/+359
not the actual tx secret key
2017-06-18Add readline support to clijethro2-0/+14
This PR adds readline support to the daemon and monero-wallet-cli. Only GNU readline is supported (e.g. not libedit) and there are cmake checks to ensure this. There is a cmake variable, Readline_ROOT_DIR that can specify a directory to find readline, otherwise some default paths are searched. There is also a cmake option, USE_READLINE, that defaults to ON. If set to ON, if readline is not found, the build continues but without readline support. One negative side effect of using readline is that the color prompt in the wallet-cli now has no color and just uses terminal default. I know how to fix this but it's quite a big change so will tackle another time.
2017-06-18Fixed typo in rpc/core_rpc_server.cppJulien Klepatch1-2/+2
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu1-2/+6
A timedsync is issued every minute on a connection, but the input tineout is 2 minutes. This means a new sync request could be issued while a slow sync request was already in progress. The additional request will further clog the network on a slow connection, and cause a premature timeout.
2017-06-13wallet_api: fix missing transaction parameter in callbackmoneromooo-monero1-1/+1
It was unused, so harmless Reported by erikd on IRC
2017-06-11blockchain_db: add a txpool tx getter which returns existencemoneromooo-monero6-5/+30
Avoids exception spam for the "nope, not found" case
2017-06-10simplewallet: new command to generate a random payment idmoneromooo-monero2-0/+15
This is trivial, but often requested, and possibly hard to do in Windows. That makes it more user friendly.
2017-06-08Fix #1991 asm multiply againHoward Chu1-16/+13
Tweak temp variables and constraints. Was working before if not inlined but newer gcc tends to inline it.
2017-06-08Add OSX background miningjethro2-1/+43
Implements miner::get_system_times, miner::get_process_time and miner::on_battery_power for OSX so that background mining works on OSX.
2017-06-07add simplewallet --generate-new-wallet arg checksMichael Shick1-0/+9
Add fail-fast paths that reduce frustration around the misuse of --wallet-file combined with --restore-deterministic-wallet. Flow now gives more descriptive errors and avoids having users type in their whole seed before the failure condition is noticed.
2017-06-04Add histogram to poolstatsHoward Chu3-3/+105
2017-06-03Prevent crash if performing certain actions before wallet is initializedRobby Weinberg3-2/+17
2017-06-01cryptonote_protocol_handler: fix crash in debug logmoneromooo-monero1-3/+1
2017-06-01Speedup print_pool_statsHoward Chu8-35/+113
Since we're just counting txs, there's no reason to deserialize all the blobs.
2017-06-01Don't copy blockchain for coinbase_tx_sumHoward Chu6-14/+31
Changed Blockchain::for_all_blocks() to for_blocks_range() Operate on blockchain in-place instead of building a copy first.
2017-05-31tx_pool: add missing blockchain lock in add_txmoneromooo-monero1-0/+5
2017-05-31fix get_upper_transaction renameschnerchi1-4/+4
2017-05-28simplewallet: fix refresh height for new walletsmoneromooo-monero1-10/+13
With the recent change to wallet creation code, the code was calling to the daemon before the wallet's daemon address was initialized, and thus failing. This was causing all new wallets to refresh from 0 instead of just fetching early block hashes.
2017-05-27abstracted nework addressesmoneromooo-monero10-231/+386
All code which was using ip and port now uses a new IPv4 object, subclass of a new network_address class. This will allow easy addition of I2P addresses later (and also IPv6, etc). Both old style and new style peer lists are now sent in the P2P protocol, which is inefficient but allows peers using both codebases to talk to each other. This will be removed in the future. No other subclasses than IPv4 exist yet.
2017-05-26node_rpc_proxy: fix earliest fork height query for unknown forksmoneromooo-monero1-1/+1
2017-05-25Move txpool to the databasemoneromooo-monero13-287/+824
Integration could go further (ie, return_tx_to_pool calls should not be needed anymore, possibly other things). poolstate.bin is now obsolete.
2017-05-23Wallet API: Set seed lang when recovering form keysJaquee1-1/+2
2017-05-23changed crypto to cncrypto so it generated libcncryptoGentian9-12/+12
fix a cmakelist
2017-05-19Fix typoxmr-eric1-1/+1
2017-05-18wallet2: check key image validity domain in import_key_imagesmoneromooo-monero1-0/+4
2017-05-17shared libs build (i.e. make debug)stoffu1-0/+1
2017-05-10Update sync time copyxmr-eric1-1/+1
2017-05-09Correct spelling of 'get_upper_transaction_size_limit'Nano Akron2-3/+3
2017-05-09Remove the 1.25x multiplier in max transaction size in just the walletNano Akron1-1/+1
2017-05-09corrected typo in help regarding min-outputs-*stoffu1-1/+1
2017-05-09wallet fix: ensure iterator to be validstoffu1-0/+3
2017-05-07wallet2: fix sweep_unmixable assuming wrong minimum mixin at v5moneromooo-monero1-2/+2
The bump to minimum mixin 4 was moved from v5 to v6
2017-05-02Wallet API: add spend/view key gettersJaquee3-5/+41
2017-04-24Change Old_English to English_Old - 'Old English' is actually a languageNano Akron4-10/+10
2017-04-24wallet: add sweep_below functionmoneromooo-monero7-10/+39
It sweeps all outputs below the given threshold This is available via the existing sweep_all RPC, by setting amount_threshold the desired amount (in atomic units)
2017-04-24Change all wallet language names into native names (and scripts)Nano Akron10-32/+32
2017-04-22wallet2: refer to triangular distribution for recent zone in commentmoneromooo-monero1-1/+1
It was wrongly refering to equiprobable distribution, which I think I'd originally done, but forgot to update the comment after changing to triangular Reported by smooth on IRC
2017-04-22wallet2: bias fake outs more towards recent outputsmoneromooo-monero1-2/+2
Two recent papers quantified the real usage bias for the real output in a ring being the true one, and shows that the current biasing is much too weak. While we wait for a better solution, we increase the ratio of recent-to-total fake outputs, as well as decrease the time window for recent outputs, so that half the fake outs are selected within the last 1.8 day. Value plucked from figure 10, page 11 of An Empirical Analysis of Linkability in the Monero Blockchain, 2017, Miller et al. This is also arbitrary, of course, but serves as a stopgap till a better selection algorithm is chosen.
2017-04-19Add expected total reward to RPC "getblocktemplate".assylias10-12/+19
Only works from V5 fork onward - returns 0 before that block.
2017-04-17wallet2: fix removal of wrong txes from unconfirmed_paymentsmoneromooo-monero1-1/+1
unconfirmed_payments changed from having the txid as key to the payment id, and this was not changed to match.
2017-04-16Amended software licenses for Portuguese and SpanishNano Akron3-28/+92
2017-04-16Added Simplified Chinese electrum word listNano Akron3-0/+1717
2017-04-16simplewallet: allow multiline seedmoneromooo-monero1-7/+22
People are likely to enter it in three lines as it is how it is displayed at creation time
2017-04-16mnemonics: ignore multiple whitespace between wordsmoneromooo-monero1-1/+1
2017-04-14wallet2: fix --generate-from-json in RPC modemoneromooo-monero1-3/+5
The daemon address was initialized too late
2017-04-12Clean up ARMv8-a aes_expand_key()hyc1-24/+16
The inline asm was lying about its parameters
2017-04-12Fix block_longhash_worker threadhyc1-1/+3
Wasn't getting its stack size initialized; crashes on Android with a default stack size of 1MB.
2017-04-12wallet cli: removed some inappropriate return-falsekenshi841-16/+6
2017-04-11Simplified the implementation and features of spanLee Clagett2-8/+26
2017-04-11Improvements for epee binary to hex functions:Lee Clagett3-19/+10
- Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
2017-04-11Resolve #92 add ability to create wallets thru RPCHoward Chu6-97/+407
Reviewed and squashed. Open/Create is only allowed if no walletfile was specified at startup.
2017-04-08wallet2: fix spurious output splitting when not merging destinationsmoneromooo-monero1-8/+20
2017-04-06wallet2: mention escaping/quoting --password in help stringmoneromooo-monero1-1/+1
2017-04-04daemon: print average fee per byte in print_pool_statsmoneromooo-monero1-1/+1
2017-04-04daemon: add fee/byte when print pool transaction infomoneromooo-monero1-0/+2
2017-04-04tx_pool: add blob size and fee/byte when logging a new txmoneromooo-monero1-1/+1
2017-04-03core: fix blob size cache, and reenable hash and blob size cachesmoneromooo-monero2-7/+1
2017-04-03IOS CMAKE build settingsJaquee3-11/+22
2017-04-02Wallet API: fix Cold signing split txJaquee1-4/+10
2017-04-02daemon: new relay_tx command and RPCmoneromooo-monero8-1/+122
2017-04-02wallet2: do not go over the target tx size if many destinationsmoneromooo-monero1-12/+12
If using a large input and many destinations, the code would generate as many outputs as it could using that input, even if it would bring the resulting tx above the max tx size.
2017-04-02simplewallet: fix cold signing of split transactionsmoneromooo-monero1-3/+9
They'd be rejected as suspicious as the change goes to more than one destination. However, split transactions will most likely include fake zero amount change to random addresses, so we only consider change with non zero amount for this.
2017-04-02simplewallet: allow setting confirm-missing-payment-id in watch walletsmoneromooo-monero1-6/+0
These can create transactions, even though they cannot sign them.
2017-04-01Add per transaction fee to transfer commandAntti Keränen1-4/+17
Allows priority argument default/unimportant/normal/elevated/priority to be used per transaction in CLI wallet's transfer command. Resolves #1913.
2017-03-31miner: add a debug log in pause and resumemoneromooo-monero1-0/+2
2017-03-28Add other possible paths of AC power status file on LinuxGuillaume LE VAILLANT1-3/+5
2017-03-27wallet cli: remove redundant password confirm in donate commandkenshi841-1/+0
2017-03-26update version to 0.10.3.1 tagRiccardo Spagni1-1/+1
2017-03-26simplewallet: factor the per-variable code in set_variablemoneromooo-monero1-170/+28
2017-03-26core: disable tx/block hash cachemoneromooo-monero1-0/+6
Looks like it doesn't work on win64
2017-03-25Silence warning about possibly uninitialized pointerGuillaume LE VAILLANT1-1/+1
2017-03-25mnemonics: sanity checks for word listsmoneromooo-monero3-5/+28
and a test to go with it Remember to run the test when changing word lists, or simplewallet will throw uncaught if that word list is used.
2017-03-25mnemonics: misc cleanupmoneromooo-monero11-100/+46
Pass relevant information to the base class instead of overwriting default values later, use objects instead of pointers to objects to avoid having to new objects unnecessarily.
2017-03-25wallet: option to merge destinationsmoneromooo-monero4-7/+42
With the change from the original transfer method to the new algorithm, payments to the same destination were merged. It seemed like a good idea, optimizing space. However, it is a useful tool for people who want to split large outputs into several smaller ones (ie, service providers making frequent payments, and who do not like a large chunk of their balance being locked for 10 blocks after each payment). Default to off, which is a change from the previous behavior.
2017-03-25core: avoid possible reordering bugs wth tx/bloch hash cachemoneromooo-monero4-31/+45
2017-03-24Fixed typo in v5 hard fork finalized dateDerek Zhang1-1/+1
2017-03-24Fixed typo in CLI wallet help messageDerek Zhang1-1/+1
2017-03-25Add Dutch mnemonics wordlistRoy Jacobs3-0/+1699
2017-03-24wallet: try to save large outputs when using an unneeded second inputmoneromooo-monero4-4/+106
When a single input is enough to satisfy a transfer, the code would previously try to add a second input, to match the "canonical" makeup of a transaction with two inputs and two outputs. This would cause wallets to slowly merge outputs till all the monero ends up in a single output, which causes trouble when making two transactions one after the other, since change is locked for 10 blocks, and an increasing portion of the remaining balance would end up locked on each transaction. There are two new settings (min-output-count and min-output-value) which can control when to stop adding such unneeded second outputs. The idea is that small "dust" outputs will still get added, but larger ones will not. Enable with, eg: set min-output-count 10 set min-output-value 30 to avoid using an unneeded second output of 30 monero or more, if there would be less than 10 such outputs left. This does not invalidate any other reason why such outputs would be used (ie, when they're really needed to satisfy a transfer, or when randomly picked in the normal course of selection). This may be improved in the future.
2017-03-24blockchain: offset v5 addition date on testnetmoneromooo-monero1-1/+1
to silence the update warning, since v5 was done very early on testnet
2017-03-24Wallet API: add hard fork info functionsJaquee5-26/+18
2017-03-23Fixes #1850 - Add French mnemonics wordlistassylias3-0/+1699
2017-03-23tx_pool: ensure txes loaded from poolstate.bin have their txid cachedmoneromooo-monero1-5/+6
The txid is not saved, and we want to make sure the transactions have their txid cached while in the pool, since get_transactions copies the transaction object, so any txid calculation on those copies would not benefit any later caller, since the original tx would be left without a cached txid.
2017-03-23tx_pool: remove transactions if they're in the blockchainmoneromooo-monero1-1/+9
When starting up, if the pool state was not saved, the pool might contain transactions which made it into the blockchain, so these need removing
2017-03-23core, wallet: faster tx pool scanningmoneromooo-monero8-80/+142
Includes a new RPC to get tx pool hashes fast.
2017-03-23core: cache tx and block hashes in the respective classesmoneromooo-monero5-2/+120
An idea from smooth
2017-03-22ringct: move ge_frombytes_vartime failure error to warningmoneromooo-monero1-11/+13
Avoids scaring people when seeing some invalid txes
2017-03-22Transfer helpAkademik Prokhor Zakharov1-2/+2
New pull request because I couldn't figure out how to change the previous one. 1. For clarity, I want to focus the help text for the 'transfer' command on the most typical use case (a single payment). 2. New users will prefer to use 'transfer', so the older method 'transfer_original' should refer to 'transfer' rather than the other way around.
2017-03-21daemon: better error reporting in commandsmoneromooo-monero1-41/+48
2017-03-21tx_pool: silence use of uninitialized warningmoneromooo-monero1-1/+1
The result is not actually used when uninitialized
2017-03-21wallet: fix set_log not handling 0,xxx style settingsmoneromooo-monero2-16/+2
2017-03-21wallet2: cache which pool txes were scanned alreadymoneromooo-monero2-2/+26
This massively speeds up the wallet updating the pool on mainnet, where the tx backlog is more than 500 txes.
2017-03-20blockchain: lower the relay fee by 2%moneromooo-monero1-1/+1
This ensures we accept txes with a fee that's slightly too small, to accomodate blockchain median jitter
2017-03-20tx_pool: use new filling algorithm from v5 onlymoneromooo-monero1-20/+30
2017-03-20wallet2: start using new fee priorities at v5, not 14 days laermoneromooo-monero1-1/+1
Waiting would mean the fee used is 1x base, but the base will have suddenly dropped
2017-03-20wallet2: speed up transactions using remote nodesmoneromooo-monero2-4/+42
Asking for a full histogram from a remote node (since it's untrusted) is pretty slow, and spams the remote node, so we replace it by only adding a second input if we have rct ones, which are for all intents and purposes always mixable.
2017-03-20wallet rpc: enable solo miningstoffu3-0/+93
2017-03-19core: call {prepare|cleanup}_handle_incoming_blocks when adding a mined blockmoneromooo-monero1-0/+17
This ensures that a batch can't also be started/stopped out of sync by another thread and us getting in the middle
2017-03-19Partial fix #1876, check thread in block_txn_start()Howard Chu1-1/+2
Don't allow use of existing batch txn if it's from the wrong thread
2017-03-19wallet-rpc bugfix: get_transfer_by_txid previously checking against payment idkenshi841-1/+1
2017-03-18Removed boost/asio.hpp include from epee/string_tools.hLee Clagett1-0/+1
2017-03-18wallet: increase node_rpc_proxy timeout to match wallet2moneromooo-monero1-4/+6
2017-03-18daemon: fix missing close parenthesis in alt_chain_info outputmoneromooo-monero1-1/+1
Reported by assylias_ on IRC
2017-03-18update version to 0.10.3.0Riccardo Spagni1-1/+1
2017-03-18simplewallet: allow setting tx priority in watch walletsmoneromooo-monero1-5/+0
Those can create unsigned transactions
2017-03-18daemon: alt_chain_info now prints fork depthmoneromooo-monero1-2/+14
2017-03-18wallet_rpc_server: make a few RPCs unavailable in restricted modemoneromooo-monero1-0/+28
Address book modification, setting tx nodes, importing key images
2017-03-18use const references in catch blocksmoneromooo-monero5-13/+13
2017-03-18wallet2: call is_key_image_spent in blocks in rescan_spentmoneromooo-monero1-21/+24
This is a potentially long lasting daemon RPC call
2017-03-18wallet_rpc_server: add a rescan_spent RPCmoneromooo-monero3-0/+39
2017-03-18simplewallet: catch case where no transactions are mademoneromooo-monero1-1/+7
This would otherwise be a silent noop, which is confusing. This can happen if the daemon is started, but not yet ready to service all requests, and this is a safe catch all.
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero2-27/+64
In case the DNS seed(s) is/are down, which would otherwise cause the fallback seeds to never be used. Also if the seeds resolve to too few IPs.
2017-03-17bump version numberRiccardo Spagni1-1/+1
2017-03-17wallet-rpc: enable openaliasstoffu5-9/+15
2017-03-15Add intervening v5 fork for increased min block sizemoneromooo-monero9-51/+87
Minimum mixin 4 and enforced ringct is moved from v5 to v6. v5 is now used for an increased minimum block size (from 60000 to 300000) to cater for larger typical/minimum transaction size. The fee algorithm is also changed to decrease the base per kB fee, and add a cheap tier for those transactions which we do not care if they get delayed (or even included in a block).
2017-03-14Specify "524,288" iterations instead of "500,000"darentuzi1-5/+5
CryptoNight does exactly 524,288 iterations over the scratchpad as defined in CNS008, saying 500,000 could be confusing. I know its meant to give a rough idea (around 500k) to the reader but if you are reading the code, might as well know the exact number.
2017-03-13protocol: fix wrong tx being looked up from fluffy blockmoneromooo-monero1-1/+10
Found by smooth
2017-03-12Adds a config file option to the walletArne Brutschy1-0/+19
2017-03-12core: don't try to re-relay an empty set of pool transactionsmoneromooo-monero1-1/+1