aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-07Merge pull request #2224Riccardo Spagni1-162/+36
04bd1925 cmake: Update detection of external miniupnpc (Erik de Castro Lopo)
2017-08-07Merge pull request #2207Riccardo Spagni5-288/+162
c93b7692 blockchain_import: much faster when verifying with cryptonote::core (moneromooo-monero) 38756d00 core: new API to disable DNS checkpoint lookups (moneromooo-monero)
2017-08-07Merge pull request #2254Riccardo Spagni4-0/+12
e31aac80 walletAPI: add getRefreshFromBlockHeight() (Jaquee) 48c0cb1b wallet api: pause refresh while commiting tx (Jaquee) f233c01c CMakeLists.txt - ios/xcode fix (Jaquee)
2017-08-07Merge pull request #2259Riccardo Spagni2-0/+2
569b9b2b updates: add "misc_log_ex.h" for logs (moneromooo-monero) 74628941 dns_utils: add <functional> for std::function (moneromooo-monero)
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-07Merge pull request #2218Riccardo Spagni2-3/+145
02f13d6c Fix handling of strings & simplify summation of spendkeys (JollyMort) 40fc9d7b Add option to join multisig wallet pieces together (JollyMort)
2017-08-07Merge pull request #2194Riccardo Spagni1-0/+1
380009e5 README: give credit where credit is due (moneromooo-monero)
2017-08-07Merge pull request #2189Riccardo Spagni1-1/+1
335fc8ab mlog: fix crash accessing stale data when rotating logs (moneromooo-monero)
2017-08-07Merge pull request #2149Riccardo Spagni26-184/+1614
158c3ecf core: thread most of handle_incoming_tx (moneromooo-monero) f57ee382 cryptonote_protocol: retry stale spans early (moneromooo-monero) 90df52e1 cryptonote_protocol: light cleanup (moneromooo-monero) 84e23156 cryptonote_protocol: avoid spurious SYNCHRONIZED OK messages (moneromooo-monero) 5be43fcd cryptonote_protocol_handler: sync speedup (moneromooo-monero)
2017-08-07Merge pull request #2138Riccardo Spagni3-0/+173
044c5b55 Readme: add android docker build instruction (MoroccanMalinois) 82836be4 Utils: Add dockerfile for android NDK build (MoroccanMalinois)
2017-08-07Merge pull request #2126Riccardo Spagni3-979/+3922
98cb3fee italian translation (erciccione) ff07cdc9 updates monero_fr.ts (erciccione) f675fedc updates monero.ts (erciccione)
2017-08-07Merge pull request #2244Riccardo Spagni1-4/+1
328bebbe daemon: some more include cleanup (moneromooo-monero)
2017-08-07Merge pull request #2243Riccardo Spagni1-0/+2
4d873046 blockchain: add testnet v6 fork height at 971400 (moneromooo-monero)
2017-08-07Merge pull request #2242Riccardo Spagni1-1/+1
1c9196b0 cryptonote_protocol: fix days behind calc on testnet (moneromooo-monero)
2017-08-07Merge pull request #2239Riccardo Spagni1-4/+4
600353e2 fix wallet callback signatures (m2049r)
2017-08-07Merge pull request #2234Riccardo Spagni17-27/+30
214fd81e some include cleanup (moneromooo-monero)
2017-08-07Merge pull request #2230Riccardo Spagni1-0/+2
5dd722be core: add a message when loading checkpoints at init time (moneromooo-monero)
2017-08-07Merge pull request #2226Riccardo Spagni1-1/+0
14ec6ed8 tx_pool: remove obsolete unused m_config_folder field (moneromooo-monero)
2017-08-07Merge pull request #2223Riccardo Spagni1-1/+4
d37e8f88 daemon: add average seconds per block in bc_dyn_stats (moneromooo-monero)
2017-08-07Merge pull request #2222Riccardo Spagni1-1/+2
878205f1 core: fix lock ordering bug at init time (moneromooo-monero)
2017-08-07Merge pull request #2220Riccardo Spagni2-3/+3
c6ba7d11 p2p: move m_in_timedsync from connection_context to p2p_connection_context (moneromooo-monero)
2017-08-07Merge pull request #2219Riccardo Spagni1-6/+14
04ebfbfe p2p: close connections when exiting (moneromooo-monero) 9a10148c p2p: fix thread leak (moneromooo-monero)
2017-08-07Merge pull request #2216Riccardo Spagni2-7/+7
d8becf2e blockchain: fix cryptonight buffer leak on exit (moneromooo-monero) 91aa90fc blockchain: ensure all blocks get their longhash precalculated (moneromooo-monero) ff4bcaed blockchain: pass correct height to get_block_longhash (moneromooo-monero)
2017-08-07Merge pull request #2215Riccardo Spagni3-10/+9
06aea2cf move get_proof_of_trust_hash from util.h to p2p_protocol_defs.h (moneromooo-monero)
2017-08-07Merge pull request #2214Riccardo Spagni2-19/+6
41f935dd network_throttle: remove unneeded heap allocations (moneromooo-monero)
2017-08-07Merge pull request #2211Riccardo Spagni1-2/+4
525975ac wallet-cli: Minor improvement to help output (Erik de Castro Lopo)
2017-08-07Merge pull request #2210Riccardo Spagni7-64/+113
cb0b5594 Move OpenAlias console input back from libs (moneromooo-monero)
2017-08-07Merge pull request #2206Riccardo Spagni1-1/+1
340feede core: randomly shuffle outputs (moneromooo-monero)
2017-08-07Merge pull request #2203Riccardo Spagni2-20/+38
0c57df97 wallet2: fix temporarily missing incoming tx when being mined (moneromooo-monero)
2017-08-07Merge pull request #2201Riccardo Spagni3-7/+69
dc0b312f wallet_rpc_server: optionally return tx blobs on transfer calls (moneromooo-monero) 5eb79983 epee: add a KV_SERIALIZE variant for optional parameters (moneromooo-monero)
2017-08-07Merge pull request #2200Riccardo Spagni1-1/+1
f1b76c84 cryptonote_protocol: Set send_idle_time in connection_info correctly (rbrunner7)
2017-08-07Merge pull request #2198Riccardo Spagni1-0/+14
53af9768 blockchain: one off warning when seeing a block with unknown version (moneromooo-monero)
2017-08-07Merge pull request #2197Riccardo Spagni1-13/+24
d75cff1a Fix readline prompt when command does not output (Jethro Grassie)
2017-08-07Merge pull request #2196Riccardo Spagni1-12/+50
16a55347 simplewallet: show payment ids on sign_transfer (moneromooo-monero)
2017-08-07Merge pull request #2195Riccardo Spagni3-2/+3
599436a4 mlog: default to msgwriter logs only for log level 1 (moneromooo-monero) 58f3fc68 Make msgwriter logs go to file only (moneromooo-monero)
2017-08-07Merge pull request #2191Riccardo Spagni1-1/+2
23909bb0 Make successful transfer log message more informative (JollyMort)
2017-08-07Merge pull request #2188Riccardo Spagni2-0/+31
a5031a7d core: forbid duplicate ring members from v6 (moneromooo-monero)
2017-08-07Merge pull request #2182Riccardo Spagni4-19/+61
2fac03e6 Update monerod systemd service file (Erik de Castro Lopo) 51efb217 daemon: Add ability to write a PID file (Erik de Castro Lopo)
2017-08-07Merge pull request #2151Riccardo Spagni1-1/+1
13a8d64f epee: don't send the body of the response to a HEAD HTTP request (Guillaume LE VAILLANT)
2017-08-07Merge pull request #2153Riccardo Spagni8-19/+19
35d68b2c Fix spelling errors (Erik de Castro Lopo)
2017-08-07Merge pull request #2148Riccardo Spagni3-1/+44
125f823b Add on_get_alt_blocks_hashes RPC call (moneroexamples)
2017-08-07Merge pull request #2147Riccardo Spagni1-26/+86
94717021 fix on_battery_power for linux (Ryan Mehta)
2017-08-07Merge pull request #2141Riccardo Spagni1-1/+5
94dd5cb4 Makefile: Add debug-static-all target (Erik de Castro Lopo)
2017-08-07Merge pull request #2132Riccardo Spagni1-6/+2
464afd4d Ensure DNSResolver destructor runs on exit (Howard Chu)
2017-08-07blockchain: add testnet v6 fork height at 971400moneromooo-monero1-0/+2
2017-08-07core: thread most of handle_incoming_txmoneromooo-monero4-31/+114
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-monero22-132/+1461
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-05CMakeLists.txt - ios/xcode fixJaquee1-0/+3
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-02daemon: some more include cleanupmoneromooo-monero1-4/+1
2017-08-02cryptonote_protocol: fix days behind calc on testnetmoneromooo-monero1-1/+1
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-monero2-3/+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-30cmake: Update detection of external miniupnpcErik de Castro Lopo1-162/+36
The version of miniupnpc in external/ uses API version 16, but the code also seems to work for API version 10. Also remove detection of older unsupported versions.
2017-07-30Makefile: Add debug-static-all targetErik de Castro Lopo1-1/+5
Also make debug-all target statically link all internal libraries.
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-24epee: add a KV_SERIALIZE variant for optional parametersmoneromooo-monero1-0/+7
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-24Fix readline prompt when command does not outputJethro Grassie1-13/+24
2017-07-24mlog: default to msgwriter logs only for log level 1moneromooo-monero1-1/+1
There might be privacy issues doing it by default
2017-07-24Make msgwriter logs go to file onlymoneromooo-monero2-1/+2
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-24README: give credit where credit is duemoneromooo-monero1-0/+1
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-22mlog: fix crash accessing stale data when rotating logsmoneromooo-monero1-1/+1
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-22Update monerod systemd service fileErik de Castro Lopo1-8/+3
Make monerod use a PID file and let systemd know where that file is.
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-19italian translationerciccione1-0/+2761
2017-07-19updates monero_fr.tserciccione1-488/+581
2017-07-19updates monero.tserciccione1-491/+580
2017-07-19Merge pull request #2159Riccardo Spagni4-18/+76
6955976b Add various readline related fixes (Jethro Grassie)
2017-07-19Merge pull request #2157Riccardo Spagni1-0/+1
6a23cd07 Add notification on stop (Jethro Grassie)
2017-07-19Merge pull request #2173Riccardo Spagni1-1/+1
a02d7458 mlog: make MONERO_LOGS env var understand N,logs type spec (moneromooo-monero)
2017-07-19Merge pull request #2170Riccardo Spagni1-5/+4
c3bb6bec daemon: fix status in command line mode if using restricted rpc (moneromooo-monero)
2017-07-19Merge pull request #2169Riccardo Spagni1-2/+2
f5f985c0 miner: fix background mining options parsing (moneromooo-monero)
2017-07-19Merge pull request #2166Riccardo Spagni1-3/+11
33d17c37 Don't hardcode /tmp (Howard Chu)
2017-07-19Merge pull request #2165Riccardo Spagni1-1/+1
8db68a57 Fix #2164 histogram output (Howard Chu)
2017-07-19Merge pull request #2154Riccardo Spagni1-2/+2
97069380 mlog: add msgwriter:INFO to log 0 and 1 defaults (moneromooo-monero)
2017-07-19Merge pull request #2142Riccardo Spagni2-0/+3
02d66db4 tx_pool: initialize padding in txpool meta structure (moneromooo-monero) 0722aea3 cryptonote_core: initialize checkpoint flag (moneromooo-monero)
2017-07-19Merge pull request #2140Riccardo Spagni0-0/+0
d765cd91 epee: Remove unused variable (Erik de Castro Lopo)
2017-07-19Merge pull request #2135Riccardo Spagni1-0/+2
5cea3552 simplewallet: lock idle scope when sweeping (moneromooo-monero)
2017-07-19Merge pull request #2131Riccardo Spagni1-3/+3
a04faf56 abstract_tcp_server2: guard against accessing lock on a destroyed object (moneromooo-monero)
2017-07-15mlog: make MONERO_LOGS env var understand N,logs type specmoneromooo-monero1-1/+1
2017-07-13Readme: add android docker build instructionMoroccanMalinois1-0/+9
2017-07-13Utils: Add dockerfile for android NDK buildMoroccanMalinois2-0/+164
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 Grassie4-18/+76
- 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-07Add notification on stopJethro Grassie1-0/+1
2017-07-06fix on_battery_power for linuxRyan Mehta1-26/+86
fix ac/battery linux
2017-07-06mlog: add msgwriter:INFO to log 0 and 1 defaultsmoneromooo-monero1-2/+2
This ensures command output gets logged by default
2017-07-05epee: don't send the body of the response to a HEAD HTTP requestGuillaume LE VAILLANT1-1/+1
According to the HTTP spec: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response".
2017-07-05Fix spelling errorsErik de Castro Lopo8-19/+19
2017-07-04Add on_get_alt_blocks_hashes RPC callmoneroexamples3-1/+44
2017-07-03Merge pull request #2130Riccardo Spagni1-15/+20
a0d2c745 Fix issue #2119 SEGV (Howard Chu)
2017-07-03Merge pull request #2127Riccardo Spagni1-1/+9
44bfe604 enable monero build on ppc64le architecture (Roberto Oliveira)
2017-07-03Merge pull request #2125Riccardo Spagni2-3/+3
f98bf48b Minor cleanup: tab vs. space + logs messages (binaryFate)
2017-07-03Merge pull request #2124Riccardo Spagni2-21/+17
3b599d2b wallet2: get current height from the daemon on creation (moneromooo-monero) d3bb72ff wallet2: fix infinite loop on future refresh height (moneromooo-monero) 32754784 wallet: fix refresh_from_height setting on new wallet (moneromooo-monero)
2017-07-03Merge pull request #2123Riccardo Spagni1-22/+21
eb71ebbe Formatting README.i18n.md as Markdown. (Jonathan Cross)
2017-07-03Merge pull request #2122Riccardo Spagni1-1/+0
a282c575 Fix #2071: remove declaration of unused variable "it" in epee (binaryFate)
2017-07-03Merge pull request #2121Riccardo Spagni2-0/+9
5a09d79c Fix #2120: return per-tx amount in transfer_split RPC call. (binaryFate)
2017-07-03Merge pull request #2116Riccardo Spagni20-0/+710
841231e5 Add fuzz testing using american fuzzy lop (moneromooo-monero)
2017-07-03Merge pull request #2114Riccardo Spagni1-1/+1
b592cb3f Fix on_transfer RPC incorrect logging info (Mike C)
2017-07-03Merge pull request #2112Riccardo Spagni2-5/+31
76043b17 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) a73a42a6 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) be9d4f04 Fix multiline wallet cli output with readline (Jethro Grassie)
2017-07-03Merge pull request #2110Riccardo Spagni3-606/+3337
7d2c89b6 Add french translation (Guillaume LE VAILLANT) 3255887f simplewallet: typo fixes (Guillaume LE VAILLANT)
2017-07-03Merge pull request #2107Riccardo Spagni1-3/+2
bdab3436 Fix mismatch of parameter name between header file and implementation for set_user_options() (Julien Klepatch)
2017-07-03Merge pull request #2106Riccardo Spagni2-3/+4
bb708ab8 electrum-words: fix seed mistakenly thought to be old style (moneromooo-monero)
2017-07-03Merge pull request #2098Riccardo Spagni2-3/+10
fdccf7e6 Add readline improvements (Jethro Grassie)
2017-07-03Merge pull request #2128Riccardo Spagni6-26/+17
8f96cfc2 Remove typeid use in network_address (moneromooo-monero)
2017-07-02tx_pool: initialize padding in txpool meta structuremoneromooo-monero1-0/+2
2017-07-02cryptonote_core: initialize checkpoint flagmoneromooo-monero1-0/+1
2017-07-02epee: Remove unused variableErik de Castro Lopo1-1/+0
2017-07-01Fix issue #2119 SEGVHoward Chu1-15/+20
Due to bad refactoring in PR #2073. timeout_handler() doesn't work as a virtual function.
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-28monero-wallet-cli: hang on exit in readline code (#2117)moneromooo-monero1-3/+2
readline_buffer: move a local to local scope Also limit the select fd limit to what we use Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
2017-06-28monero-wallet-cli: hang on exit in readline code (#2117)moneromooo-monero1-2/+10
readline_buffer: fix start/stop threads being starved by process process could run for quite some time re-acquiring the process lock, leaving start/stop starving. Yielding after unlock in process is much better but doesn't seem to be enough to reliably yield, so we sleep for a millisecond, which should be transparent for user input anyway. Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
2017-06-28abstract_tcp_server2: guard against accessing lock on a destroyed objectmoneromooo-monero1-3/+3
2017-06-28Remove typeid use in network_addressmoneromooo-monero6-26/+17
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-27enable monero build on ppc64le architectureRoberto Oliveira1-1/+9
Fix wrong flags for ppc64le: -maes - not avaiable -march - changed by -mcpu that does the same for powerpc
2017-06-26Fix #2071: remove declaration of unused variable "it" in epeebinaryFate1-1/+0
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-26Formatting README.i18n.md as Markdown.Jonathan Cross1-22/+21
2017-06-25Fix multiline wallet cli output with readlineJethro Grassie2-1/+20
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-24Add fuzz testing using american fuzzy lopmoneromooo-monero20-0/+710
Existing tests: block, transaction, signature, cold outputs, cold transaction. Data for these is in tests/data/fuzz. A convenience shell script is in contrib/fuzz_testing/fuzz.sh, eg: contrib/fuzz_testing/fuzz.sh signature The fuzzer will run indefinitely, ^C to stop. Fuzzing is currently supported for GCC only. I can't get CLANG to build Monero here as it dies on some system headers, so if someone wants to make it work on both, that'd be great. In particular, the __AFL_LOOP construct should be made to work so that a given run can fuzz multiple inputs, as the C++ load time is substantial.
2017-06-24Add readline improvementsJethro Grassie2-3/+10
Color prompt now working and no reprompting on exit command.
2017-06-24Merge pull request #2111Riccardo Spagni1-1/+1
8261ba69 readline_buffer: fix busy wait (moneromooo-monero)
2017-06-24Merge pull request #2103Riccardo Spagni2-4/+4
21b939e1 readline: fix invalid memory access (moneromooo-monero) 5f8f2905 readline_buffer: add a couple const (moneromooo-monero)
2017-06-24Merge pull request #2095Riccardo Spagni2-64/+68
f4e3dca1 unit_tests: fix build failures after network_address changes (moneromooo-monero)
2017-06-24Merge pull request #2091Riccardo Spagni1-2/+2
e4da88a2 Fixed typo in rpc/core_rpc_server.cpp (Julien Klepatch)
2017-06-24Merge pull request #2089Riccardo Spagni241-11756/+33043
a85b5759 Upgrade unbound library (Erik de Castro Lopo)
2017-06-24Merge pull request #2073Riccardo Spagni3-11/+55
07c4276c Don't issue a new timedsync while one is already in progress (Howard Chu) cf3a376c Don't timeout a slow operation that's making progress (Howard Chu) 340830de Fix PR#2039 (Howard Chu)
2017-06-24Merge pull request #2069Riccardo Spagni2-1/+1
11de4d59 Converting README.i18n to Markdown (Jonathan Cross)
2017-06-24Merge pull request #1992Riccardo Spagni4-26/+389
d5f1cef7 simplewallet: removed unneeded LOCK_IDLE_SCOPE() from check_tx_key() (stoffu) 8df918f8 simplewallet: replace assert(m_wallet) with error out (stoffu) 8da82256 crypto: moved boost::lock_guard into a smaller scope (stoffu) c9e0e944 Signature proving payment to destination by only revealing key derivation, not the actual tx secret key (stoffu)
2017-06-23Fix on_transfer RPC incorrect logging infoMike C1-1/+1
2017-06-23readline_buffer: fix busy waitmoneromooo-monero1-1/+1
It'd eat up a core constantly, due to spending its time jumping back and forth between userland and kernel. We now wait for up to a millisecond in kernel, which will be transparent to the user and drop to idle most of the time.
2017-06-23Add french translationGuillaume LE VAILLANT2-602/+3333
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-21Merge pull request #2094Riccardo Spagni1-1/+1
007937e2 net_utils_base: added missing template keyword (kenshi84)
2017-06-21readline: fix invalid memory accessmoneromooo-monero1-1/+1
m_cout_buf was not initialized
2017-06-21readline_buffer: add a couple constmoneromooo-monero2-3/+3
2017-06-19unit_tests: fix build failures after network_address changesmoneromooo-monero2-64/+68
2017-06-19net_utils_base: added missing template keywordkenshi841-1/+1
2017-06-18Merge pull request #2087Riccardo Spagni1-1/+1
4e13ab30 wallet_api: fix missing transaction parameter in callback (moneromooo-monero)
2017-06-18Merge pull request #2082Riccardo Spagni7-5/+31
235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
2017-06-18Merge pull request #2081Riccardo Spagni2-0/+15
b2319a03 simplewallet: new command to generate a random payment id (moneromooo-monero)
2017-06-18Merge pull request #2079Riccardo Spagni1-0/+1
c3bec61d core_tests: fix tests failing due to new txpool code requitring batch transactions (moneromooo-monero)
2017-06-18Merge pull request #2078Riccardo Spagni1-16/+13
1dd52415 Fix #1991 asm multiply again (Howard Chu)
2017-06-18Merge pull request #2076Riccardo Spagni1-0/+9
ac0714dc add simplewallet --generate-new-wallet arg checks (Michael Shick)
2017-06-18Merge pull request #2074Riccardo Spagni8-1/+376
e1f3dfcc Add readline support to cli (jethro)
2017-06-18Merge pull request #2070Riccardo Spagni3-2/+17
71f8249a Prevent crash if performing certain actions before wallet is initialized (Robby Weinberg)
2017-06-18Merge pull request #2066Riccardo Spagni3-3/+105
3fc22e7b Add histogram to poolstats (Howard Chu) d09620b0 Fix PR#2039 (Howard Chu)
2017-06-18Merge pull request #2064Riccardo Spagni1-3/+1
6fc2dc39 cryptonote_protocol_handler: fix crash in debug log (moneromooo-monero)
2017-06-18Add readline support to clijethro8-1/+376
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-18Merge pull request #2055Riccardo Spagni2-1/+43
1b75ad91 Add OSX background mining (jethro)
2017-06-18Merge pull request #2052Riccardo Spagni18-256/+507
072102cf abstracted nework addresses (moneromooo-monero)
2017-06-18Fixed typo in rpc/core_rpc_server.cppJulien Klepatch1-2/+2
2017-06-17Upgrade unbound libraryErik de Castro Lopo241-11756/+33043
These files were pulled from the 1.6.3 release tarball. This new version builds against OpenSSL version 1.1 which will be the default in the new Debian Stable which is due to be released RealSoonNow (tm).
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu2-2/+9
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-15Don't timeout a slow operation that's making progressHoward Chu1-9/+46
If we got at least MIN_BYTES_WANTED (default 512) during any network poll, reset the timeout to allow more time for data to arrive.
2017-06-15Fix PR#2039Howard Chu1-1/+1
Missed a crypto -> cncrypto rename