Commit Graph

6117 Commits

Author SHA1 Message Date
moneromooo-monero
f61cd54465
epee: fix stack overflow on crafted input 2018-09-25 11:30:03 +00:00
luigi1111
c7bca47b69
Merge pull request #4227
46b697f abstract_tcp_server2: fix race on shutdown (moneromooo-monero)
2018-08-22 20:53:48 -05:00
luigi1111
84a6e81de0
Merge pull request #4107
cfea525 simplewallet: reword 'seed encryption' to 'seed offset'
2018-08-22 20:29:20 -05:00
moneromooo-monero
46b697feb4
abstract_tcp_server2: fix race on shutdown 2018-08-05 16:31:40 +00:00
Riccardo Spagni
a486cae407
Merge pull request #4120
1772c859 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
2018-07-10 09:33:13 +02:00
Teutone
1772c8593a
add .load() to make Boost 1.67 happy with its new is_integral check 2018-07-09 17:56:30 +01:00
Riccardo Spagni
9a4f1f0134
Merge pull request #4118
58f28cad wallet2: ensure outputs are processed only once (moneromooo-monero)
2018-07-09 17:52:01 +02:00
moneromooo-monero
58f28cadf8
wallet2: ensure outputs are processed only once
This should be proof against any way one might get to multiple
processing, such as generating the same derivation from the
same pubkey, etc
2018-07-08 12:05:04 +01:00
moneromooo-monero
cfea525ea3
simplewallet: reword "seed encryption" to "seed offset"
avoids people thinking it's somehow a generic AE system
2018-07-07 11:35:04 +01:00
Riccardo Spagni
40530b294e
Merge pull request #4102
424bfdc8 bump version to 12.3 (Riccardo Spagni)
2018-07-06 12:04:49 +02:00
Riccardo Spagni
424bfdc8d7
bump version to 12.3 2018-07-06 07:58:07 +02:00
Riccardo Spagni
1ce04b7574
Merge pull request #4092
3a1ad042 docker: update to new versions of dependencies (HomDx)
fc8726f1 fix sha256sum check, which requires two spaces. added set -ex to catch this, and other, errors in the future. (cornfeedhobo)
8c331a6d wallet2: fix double counting outs if the tx pubkey is duplicated (moneromooo-monero)
2daf54de abstract_tcp_server2: fix use after free (moneromooo-monero)
41662ebc device_ledger: fix buffer underflow on bad data from device (moneromooo-monero)
e389101c device: misc cleanup (moneromooo-monero)
076b7e10 device_ledger: fix potential buffer overflow from bad size calc (moneromooo-monero)
0429cabe simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
b323d90f wallet2: fix read buffer overflow in import_key_images (moneromooo-monero)
47b42f8b wallet-rpc.getaddress: throw if index is out of bound (stoffu)
223429f0 zmq_server: fix bind call when address and/or port are empty (moneromooo-monero)
280e1a64 Fix RPC crashes that didn't check for an open wallet (Howard Chu)
43a12497 wallet2: fix out of sync account tag cache (moneromooo-monero)
e5ac16b0 abstract_tcp_server2: restart async accept on error (moneromooo-monero)
bea06d1a epee.string_tools: add conversion between UTF-8 and UTF-16 (stoffu)
e93058b4 wallet_api: fixups to build on the branch (moneromooo-monero)
8fb50b73 Wallet API: add support for wallet creation from hardware device (stoffu)
9e9cd108 Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (stoffu)
fbdc3096 wallet2: lower default for subaddress lookahead when restoring with hardware (stoffu)
ed366efb add disclaimer about 3rd party packages (Jethro Grassie)
afa66965 wallet: allow unspendable unmixable outputs to be discarded (stoffu)
e70d80e8 wallet2: use decoded amount when reporting repeated output key (stoffu)
5e180c73 wallet2: use correct fee for split txes (stoffu)
d099dba9 epee: adaptive connection timeout system (moneromooo-monero)
04abe99f simplewallet: don't confirm missing payment ID when sending to only subaddresses (stoffu)
9c2f09df epee: fallback to a counter if gmtime fails when rotating logs (moneromooo-monero)
505fde2e Update readme to include pcslite dependency (Gingeropolous)
009feaca wallet2: fix get_approximate_blockchain_height for stagenet (stoffu)
7ce841cc wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
4e2b279a tx_pool: initialize bitflags padding since it gets written to storage (moneromooo-monero)
b85169a5 README: mention --untrusted-daemon (moneromooo-monero)
082e0a1b util: consider Tor/I2P addresses to be non local (moneromooo-monero)
85d2ae4a simplewallet: add optional trusted/untrusted argument to set_daemon (moneromooo-monero)
233a1ead blockchain: pop forked blocks only when DB is not read-only (stoffu)
1380b70e Fixes #3645: error on freebsd lambda return values forced to std::string (rockhouse@users.noreply.github.com)
8e64b616 blockchain: return error when requesting non existent output (moneromooo-monero)
1d3874da epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero)
74008527 daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
81e39263 disable file size sanity check when loading the wallet cache (moneromooo-monero)
e04ae088 fix build with GCC 8.1.0 (moneromooo-monero)
f6896d99 core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero)
f6dbb967 simplewallet: add --untrusted-daemon option (moneromooo-monero)
2018-07-05 21:05:44 +02:00
HomDx
3a1ad04234
docker: update to new versions of dependencies 2018-07-04 14:42:46 +01:00
cornfeedhobo
fc8726f1c3 fix sha256sum check, which requires two spaces. added set -ex to catch this, and other, errors in the future. 2018-07-04 14:42:45 +01:00
moneromooo-monero
8c331a6d26
wallet2: fix double counting outs if the tx pubkey is duplicated 2018-07-04 10:40:56 +01:00
moneromooo-monero
2daf54deeb
abstract_tcp_server2: fix use after free 2018-07-04 10:40:53 +01:00
moneromooo-monero
41662ebcc7
device_ledger: fix buffer underflow on bad data from device 2018-07-04 10:40:50 +01:00
moneromooo-monero
e389101cb2
device: misc cleanup
use snprintf "just in case" where appropriate
consistently use unsigned for temp values
pass std::string by const ref rather than by value
add length check (which can't happen in practice) for memcpy
2018-07-04 10:40:46 +01:00
moneromooo-monero
076b7e1076
device_ledger: fix potential buffer overflow from bad size calc 2018-07-04 10:40:42 +01:00
moneromooo-monero
0429cabefd
simplewallet: init trusted daemon flag to false when autodetecting 2018-07-04 10:40:39 +01:00
moneromooo-monero
b323d90f67
wallet2: fix read buffer overflow in import_key_images 2018-07-04 10:40:35 +01:00
stoffu
47b42f8b01
wallet-rpc.getaddress: throw if index is out of bound 2018-07-04 10:40:32 +01:00
moneromooo-monero
223429f0fd
zmq_server: fix bind call when address and/or port are empty 2018-07-04 10:40:29 +01:00
Howard Chu
280e1a64bd
Fix RPC crashes that didn't check for an open wallet 2018-07-04 10:40:26 +01:00
moneromooo-monero
43a124979a
wallet2: fix out of sync account tag cache
This would cause crashes when trying to tag an account that was
just created
2018-07-04 10:40:23 +01:00
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