Commit Graph

4284 Commits

Author SHA1 Message Date
moneromooo-monero
1f8bfe7ffa
wallet2: fix transfers between subaddresses hitting the sanity check
Transfers between subaddresses are accounted for differently
2018-09-28 17:51:42 +00:00
moneromooo-monero
3caa403893
wallet2: fix duplicate output making it to the RPC 2018-09-25 11:30:52 +00:00
luigi1111
84a6e81de0
Merge pull request #4107
cfea525 simplewallet: reword 'seed encryption' to 'seed offset'
2018-08-22 20:29:20 -05: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
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
424bfdc8d7
bump version to 12.3 2018-07-06 07:58:07 +02: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
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
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
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
stoffu
04abe99f81
simplewallet: don't confirm missing payment ID when sending to only subaddresses 2018-07-03 11:19:28 +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
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
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
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
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
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
moneromooo-monero
bcddce70e6
rpc: the cache is still for non cumulative on that branch 2018-06-01 09:03:31 +01:00