Commit Graph

6292 Commits

Author SHA1 Message Date
moneromooo-monero e5ac16b077
abstract_tcp_server2: restart async accept on error 2018-07-04 10:40:19 +01:00
stoffu bea06d1a32
epee.string_tools: add conversion between UTF-8 and UTF-16 2018-07-04 10:40:16 +01:00
moneromooo-monero e93058b41c
wallet_api: fixups to build on the branch 2018-07-04 10:40:13 +01:00
stoffu 8fb50b738f
Wallet API: add support for wallet creation from hardware device 2018-07-04 10:40:09 +01:00
stoffu 9e9cd108a3
Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp 2018-07-04 10:40:06 +01:00
stoffu fbdc30966b
wallet2: lower default for subaddress lookahead when restoring with hardware 2018-07-03 11:19:53 +01:00
Jethro Grassie ed366efb8c
add disclaimer about 3rd party packages
Demoted the 3rd party maintained package installs to after compiling
from repository source and removed the broken Homebrew package
instructions.
2018-07-03 11:19:49 +01:00
stoffu afa669656b
wallet: allow unspendable unmixable outputs to be discarded 2018-07-03 11:19:45 +01:00
stoffu e70d80e820
wallet2: use decoded amount when reporting repeated output key 2018-07-03 11:19:40 +01:00
stoffu 5e180c73f8
wallet2: use correct fee for split txes 2018-07-03 11:19:36 +01:00
moneromooo-monero d099dba9e1
epee: adaptive connection timeout system
a connection's timeout is halved for every extra connection
from the same host.

Also keep track of when we don't need to use a connection
anymore, so we can close it and free the resource for another
connection.

Also use the longer timeout for non routable local addresses.
2018-07-03 11:19:32 +01:00
stoffu 04abe99f81
simplewallet: don't confirm missing payment ID when sending to only subaddresses 2018-07-03 11:19:28 +01:00
moneromooo-monero 9c2f09df51
epee: fallback to a counter if gmtime fails when rotating logs 2018-07-03 11:19:25 +01:00
Gingeropolous 505fde2e09
Update readme to include pcslite dependency
Update readme to include pcslite dependency
2018-07-03 11:19:21 +01:00
stoffu 009feaca79
wallet2: fix get_approximate_blockchain_height for stagenet 2018-07-03 11:17:56 +01:00
moneromooo-monero 7ce841cc2f
wallet: do not log by default if we're not asked to log to console
This means monero-wallet-rpc still does, but the user level program
does not.
2018-07-03 11:17:52 +01:00
moneromooo-monero 4e2b279a94
tx_pool: initialize bitflags padding since it gets written to storage
Avoids valgrind reporting uninitialized data usage
2018-07-03 11:17:48 +01:00
moneromooo-monero b85169a5b6
README: mention --untrusted-daemon
when connecting the wallet to a daemon on a tor hidden service
2018-07-03 11:17:44 +01:00
moneromooo-monero 082e0a1bef
util: consider Tor/I2P addresses to be non local 2018-07-03 11:17:40 +01:00
moneromooo-monero 85d2ae4ad7
simplewallet: add optional trusted/untrusted argument to set_daemon
Otherwise the previous daemon's trustedness would carry over.
If not specified, the local address check is performed again.
2018-07-03 11:17:36 +01:00
stoffu 233a1ead22
blockchain: pop forked blocks only when DB is not read-only 2018-07-03 11:17:32 +01:00
rockhouse@users.noreply.github.com 1380b70e74
Fixes #3645: error on freebsd lambda return values forced to std::string 2018-07-03 11:17:28 +01:00
moneromooo-monero 8e64b61663
blockchain: return error when requesting non existent output
avoids RPC thread dying, causing the wallet to timeout
2018-07-03 11:17:24 +01:00
moneromooo-monero 1d3874dabf
epee: fix detection of 172.16.0.0/172.31.255.255 local IP range 2018-07-03 11:17:19 +01:00
moneromooo-monero 740085271b
daemon: fix readline interfering with std::cerr usage
Once readline is initialized, std::cerr's operator<< will
output a 0xff byte for unknown reasons.
2018-07-03 11:17:15 +01:00
moneromooo-monero 81e3926304
disable file size sanity check when loading the wallet cache 2018-07-03 11:17:11 +01:00
moneromooo-monero e04ae088e8
fix build with GCC 8.1.0 2018-07-03 11:17:07 +01:00
moneromooo-monero f6896d9974
core: lock incoming tx lock when checking the txpool and chain
This gets rid of an innocuous race trying to add the same tx
twice to the txpool
2018-07-03 11:17:03 +01:00
moneromooo-monero f6dbb967f8
simplewallet: add --untrusted-daemon option 2018-07-03 11:17:00 +01:00
luigi1111 06b0f9e870
Merge pull request #3976
f40cf1a device_ledger: fix bad memory access on connect error (moneromooo-monero)
2018-06-27 15:35:13 -05:00
luigi1111 0a7efa45f7
Merge pull request #3928
b1538bf Update readme to indicate recommended version (Gingeropolous)
2018-06-25 14:51:45 -05:00
luigi1111 db26776a35
Merge pull request #3526
66100f2 malloc scratchpad for all supported android archs (m2049r)
2018-06-12 12:10:00 -05:00
moneromooo-monero f40cf1a859
device_ledger: fix bad memory access on connect error 2018-06-09 20:49:05 +01:00
Gingeropolous b1538bff31
Update readme to indicate recommended version
... is 0.12.2.0
2018-06-04 22:34:35 -04:00
Riccardo Spagni e2c39f6b59
Merge pull request #3914
107eec4d protocol: drop (and increase fails) if most blocks hashes are invalid (moneromooo-monero)
2018-06-03 18:41:36 +02:00
Riccardo Spagni f12b277d20
Merge pull request #3912
de742b5c blockchain: demote a hash-of-hashes validation warning to debug (moneromooo-monero)
2018-06-03 18:38:30 +02:00
moneromooo-monero 107eec4dca
protocol: drop (and increase fails) if most blocks hashes are invalid 2018-06-03 17:37:06 +01:00
moneromooo-monero de742b5c82
blockchain: demote a hash-of-hashes validation warning to debug
This data comes from untrusted peers, and validation failures
are therefore normal.
2018-06-02 23:52:50 +01:00
Riccardo Spagni 0d219ccdcd
Merge pull request #3906
2cab7ec9 remove -master from version string (Riccardo Spagni)
e0cf1eca update checkpoints.dat for point release (Riccardo Spagni)
bfecf19c bump version for 0.12.2 point release (Riccardo Spagni)
2018-06-02 14:54:06 +02:00
Riccardo Spagni 2cab7ec917 remove -master from version string 2018-06-02 14:51:24 +02:00
Riccardo Spagni e0cf1ecadd
update checkpoints.dat for point release 2018-06-02 14:31:05 +02:00
Riccardo Spagni bfecf19ce9
bump version for 0.12.2 point release 2018-06-02 14:27:48 +02:00
Riccardo Spagni 95568639e0
Merge pull request #3900
bcddce70 rpc: the cache is still for non cumulative on that branch (moneromooo-monero)
2018-06-01 13:24:27 +02:00
moneromooo-monero bcddce70e6
rpc: the cache is still for non cumulative on that branch 2018-06-01 09:03:31 +01:00
Riccardo Spagni bd56771996
Merge pull request #3858
f6687c3e rapidjson: remove outdated in-tree, use submodule (anonimal)
2018-05-31 21:26:31 +02:00
Riccardo Spagni a87a19c570
Merge pull request #3893
410c6e5b rpc: convert distribution to cumulative after caching (moneromooo-monero)
2018-05-31 21:25:58 +02:00
Riccardo Spagni 3380458d2e
Merge pull request #3891
9e96873f wallet2: don't ask for pruned txes yet, we still parse the entire tx (moneromooo-monero)
2018-05-31 21:25:43 +02:00
Riccardo Spagni 0dac3afc22
Merge pull request #3883
15e029ac rpc: fix get_output_distribution cache for the cumulative case (moneromooo-monero)
2018-05-31 21:24:52 +02:00
Riccardo Spagni dca353c574
Merge pull request #3886
4602c267 Fix CMAKE config for PCSC in order to avoid msys DLL dependencies (cslashm)
2018-05-31 21:24:17 +02:00
Riccardo Spagni 8195a444ee
Merge pull request #3889
5e2e003c http_protocol_handler: limit the number of starting newlines (moneromooo-monero)
fd9019b3 abstract_tcp_server2: timeout on RPC connections (moneromooo-monero)
ccaa666c http_protocol_handler: speedup newline discarding (moneromooo-monero)
ca7f0249 console_handler: fix start_default_console use of prompt parameter (moneromooo-monero)
2018-05-31 21:23:52 +02:00