Commit graph

7552 commits

Author SHA1 Message Date
fuwa
d52f27f568 allow system libminiupnp, revert #6b8539 2019-01-22 20:24:54 +08:00
jw
111e25f10d
Merge pull request #156 from wowario/upstream
Upstream
2019-01-18 06:38:25 -08:00
selsta
dd2eca2126
simplewallet: improve punctuation in user visible string 2019-01-18 12:40:16 +03:00
stoffu
4c5812b899
simplewallet: remove extra colon in a few calls to input_secure_line 2019-01-18 12:37:41 +03:00
stoffu
6ef6d5aa8b
simplewallet: factor yesno hint into input_line 2019-01-18 12:37:24 +03:00
TheCharlatan
0b29a3e2c4
Optimize the depends builds for faster compilation
This includes more fine grained configure options and skipping the
openssl and zlib dependencies when compiling qt. The zlib and libevent
packages are removed.
2019-01-18 12:32:27 +03:00
moneromooo-monero
1f79072d19
blockchain_ancestry: allow getting ancestry of a single output
This involved a reorg of the code, to factor and speedup some bits,
as well as using the cache for all modes, and making both modes
usable in the same run.
2019-01-18 12:32:12 +03:00
moneromooo-monero
c5d00f4e29
blockchain_db: allow getting output keys without commitment
Since the commitment has to be calculated for non rct outputs,
it slows down a lot unnecessarily if we don't need it
2019-01-18 12:31:34 +03:00
moneromooo-monero
76a61ab006
epee: speedup word/number matching
Number matching semantics are slightly changed: since this is used
as a filter to check whether a number is signed and/or floating
point, we can speed this up further. strto* functions are called
afterwards and will error out where necessary. We now also accept
numbers like .4 which were not accepted before.

The strto* calls on a boost::string_ref will not access unallocated
memory since the parsers always stop at the first bad character,
and the original string is zero terminated.

in arbitrary time measurement units for some arbitrary test case:

match_number2: 235 -> 70
match_word2: 330 -> 108
2019-01-18 12:31:11 +03:00
moneromooo-monero
9f9653cbc0
wallet2: remember which output keys map to which key images
This allows filling in transfer_details when a cold signed tx
gets seen in a block next
2019-01-18 12:30:47 +03:00
jw
65940b75f7
Merge pull request #155 from wowario/upstream
Upstream
2019-01-17 21:41:39 -08:00
moneromooo-monero
0138a9a2b9
blockchain: fix wrong hf version when popping multiple blocks
Since we keep track of the hf version in the db, we pick it up
from there instead of doing the full reorg call, which is quite
expensive
2019-01-17 00:22:33 +03:00
moneromooo-monero
b0fda7c551
blockchain: use the version passed as parameter, not a new one 2019-01-17 00:21:54 +03:00
moneromooo-monero
d50f2f5ac1
hardfork: remove batch transactions setup
This is now default, so it spares us the warnings
2019-01-17 00:21:29 +03:00
moneromooo-monero
9a82e73e5d
p2p: don't stop the idle thread when no gray peers are found 2019-01-17 00:19:11 +03:00
moneromooo-monero
816c223a05
wallet: do not display daemon controlled text if untrusted 2019-01-17 00:18:48 +03:00
TheCharlatan
3c561f3bfc
Remove visibility settings from boost.mk
Clang gave a visibility error when compiling boost with visibility
hidden.
2019-01-17 00:18:09 +03:00
moneromooo-monero
8cafa0bc1c
daemon: add a +hex option to print_block 2019-01-17 00:17:32 +03:00
moneromooo-monero
dd280789cd
wallet_rpc_server: add all field to export_key_images
To use if you want all key images, not just the ones for
recently imported outputs
2019-01-17 00:15:03 +03:00
Dusan Klinec
fef9c01bb7
device/trezor: store tx_prefix_hash in tx key aux
- tx_prefix_hash is required in the key derivation for decryption of the tx keys
2019-01-17 00:12:41 +03:00
moneromooo-monero
935831a7f9
wallet2: fix accessing unwound stack on exception 2019-01-17 00:11:37 +03:00
moneromooo-monero
d81e9178b8
daemon: print human friendly timestamp too 2019-01-17 00:10:50 +03:00
Howard Chu
d140d13603
Add --restore-date param
Estimate restore height from given date
Check date format early, error out early if invalid
2019-01-17 00:07:03 +03:00
Tadeas Moravec
87300a2f6a
Wallet: Initialize members without default ctor.
Found by Coverity (188336 in Anonimal's Coverity account).
2019-01-17 00:01:24 +03:00
moneromooo-monero
d41415ec48
epee: better network buffer data structure
avoids pointless allocs and memcpy
2019-01-17 00:00:38 +03:00
doy-lee
4f8c3b771f
Remove unused hash in export_key_images 2019-01-16 11:58:44 +03:00
selsta
7e339ea873
wallet api/device: set estimated restore height if none is provided 2019-01-16 11:48:47 +03:00
naughtyfox
0acdc0fe0c
Sync hashchain bug fixed 2019-01-16 01:19:09 +03:00
selsta
35d09f896b
wallet api: don't truncate address in subaddress_account
Same behaviour as subaddress.cpp now.
2019-01-16 01:09:25 +03:00
binaryFate
64c7ced3ed
Update 2019 copyright 2019-01-16 00:31:13 +03:00
rbrunner7
e543d779d8
simplewallet: Show new address after going multisig 2019-01-16 00:31:12 +03:00
Lee Clagett
99533d4592
Remove boost::lexical_cast for uuid and unused uuid function 2019-01-16 00:31:12 +03:00
stoffu
79d614652a
simplewallet: fix help text of rescan_bc to mention the "hard" option 2019-01-16 00:31:12 +03:00
stoffu
59614f874a
blockchain_blackball: make log file name consistent with executable 2019-01-16 00:31:12 +03:00
stoffu
7ea53abfdf
ringct: remove duplicate rv.mixRing = mixRing; in genRctSimple 2019-01-16 00:31:08 +03:00
moneromooo-monero
e3718d7c03
ringct: avoid repeated point conversion 2019-01-15 23:45:14 +03:00
moneromooo-monero
314e24d0ff
blockchain_db: speedup tx output gathering
We know all the data we'll want for getblocks.bin is contiguous
2019-01-15 23:44:32 +03:00
moneromooo-monero
fb3f6e723d
wallet2: cut down on the number of useless derivation threads 2019-01-15 23:44:10 +03:00
moneromooo-monero
ccaffcfbb5
blockchain: fix block rate check for empty blockchains 2019-01-15 23:43:06 +03:00
moneromooo-monero
6f53b0f14e
wallet2: finalize_multisig now rejects non N-1/N multisig wallets 2019-01-15 23:42:31 +03:00
moneromooo-monero
b925e9417c
core_tests: rename invalid multisig tests to read "invalid" 2019-01-15 23:41:52 +03:00
moneromooo-monero
b2cb640b11
simplewallet: fix show_transfers colouring, and add red for failed
Also add the type back, as it was somehow weirdly split into
two different fields, one being a union...
2019-01-15 23:41:13 +03:00
moneromooo-monero
3f4fc508ff
cryptonote_core: revert extra_tx_map
While the lookups are faster, the zeroCommit calls have to be
done again when storing the new outputs in the db, which ends
up making the whole thing slower after all, and the ways this
can be cached aren't very nice code wise, so let's forget it
since the gains aren't very large anyway.
2019-01-15 23:40:06 +03:00
moneromooo-monero
c0691dfc25
epee: speed up json parsing 2019-01-15 23:38:35 +03:00
moneromooo-monero
1151ce6e6b
simplewallet: don't subtract 1 to estimate blockchain height
in case it returns 0, and other uses don't, plus it's a estimation anyway.
2019-01-15 23:37:11 +03:00
moneromooo-monero
880d14db91
i18n: filter LANG/LC_LANG for valid characters, and handle @
If there are more valid characters, add them in, I did not find
an actual list.
2019-01-15 23:35:51 +03:00
moneromooo-monero
d0953fb2b7
common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawn 2019-01-15 23:33:56 +03:00
moneromooo-monero
a9ef699472
notify: warn if the spec contains one of '"\
These aren't processed as a shell does, so this may surprise users
2019-01-15 23:33:46 +03:00
moneromooo-monero
bfd24d58c6
notify: handle arbitrary tags 2019-01-15 23:33:28 +03:00
moneromooo-monero
267e656d8b
blockchain: add --reorg-notify
This will trigger if a reorg is seen. This may be used to do things
like stop automated withdrawals on large reorgs.

%s is replaced by the height at the split point
%h is replaced by the height of the new chain
%n is replaced by the number of new blocks after the reorg
2019-01-15 23:33:19 +03:00