Riccardo Spagni
e9fde8aa44
Merge pull request #4598
...
dae5fcaa update the version in readme (Riccardo Spagni)
5881bec7 bump version to 0.13.0.3 (Riccardo Spagni)
2018-10-15 17:09:08 +02:00
Riccardo Spagni
dae5fcaabc
update the version in readme
2018-10-15 16:38:39 +02:00
Riccardo Spagni
5881bec7d6
bump version to 0.13.0.3
2018-10-15 16:23:35 +02:00
Riccardo Spagni
b66c523046
Merge pull request #4596
...
e3e1f836 tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC (stoffu)
2018-10-15 13:56:18 +02:00
Riccardo Spagni
5f4e1fcc90
Merge pull request #4584
...
26e0cecb Dockerfile: init and update submodules (Tyler Baker)
2018-10-15 13:56:05 +02:00
Riccardo Spagni
5f1e62115c
Merge pull request #4590
...
82037f23 build: use ARCH 'native' by default, allow to configure and override it (xiphon)
2018-10-15 13:51:08 +02:00
Riccardo Spagni
6834ce6de2
Merge pull request #4574
...
a04d68f6 SOFTWARE is the default wallet device (m2049r)
2018-10-15 13:50:21 +02:00
Riccardo Spagni
8beb3cd2a1
Merge pull request #4569
...
e25d21a7 simplewallet: mark default-ring-size setting as obsolete (moneromooo-monero)
2018-10-15 13:49:58 +02:00
Riccardo Spagni
dc24639e64
Merge pull request #4579
...
d7f3805d Revert "p2p: connect via the bound ip, if any" (moneromooo-monero)
2018-10-15 13:49:32 +02:00
Riccardo Spagni
92f42b1e81
Merge pull request #4570
...
3b04e2e3 daemon: do not run complex code in a signal handler (moneromooo-monero)
2018-10-15 13:49:05 +02:00
Riccardo Spagni
29d7ef0fe0
Merge pull request #4568
...
2509717b simplewallet: fix view key parsing in --generate-from-view-key (moneromooo-monero)
2018-10-15 13:48:21 +02:00
Riccardo Spagni
a9504f7001
Merge pull request #4587
...
067e232b password: fix secure input with echo on windows (moneromooo-monero)
2018-10-15 13:47:54 +02:00
Riccardo Spagni
3c36a6a227
Merge pull request #4588
...
b215ea9f password: fix backspace outputting ^? on linux on echoing secure input (moneromooo-monero)
2018-10-15 13:47:27 +02:00
stoffu
e3e1f83694
tx_pool: store hex string instead of raw binary to tx_blob of get_transaction_pool RPC
...
Inspired by https://github.com/masari-project/masari/issues/93
2018-10-15 20:09:32 +09:00
xiphon
82037f2365
build: use ARCH 'native' by default, allow to configure and override it
2018-10-14 23:24:54 +03:00
Tyler Baker
26e0cecb95
Dockerfile: init and update submodules
...
The Docker image is failing to build, as the submodules are not being
explicitly initialized and updated.
Fixes: https://github.com/monero-project/monero/issues/4582
Signed-off-by: Tyler Baker <tyler@foundries.io >
2018-10-14 07:59:18 -07:00
moneromooo-monero
b215ea9f56
password: fix backspace outputting ^? on linux on echoing secure input
2018-10-14 10:39:40 +00:00
moneromooo-monero
067e232b19
password: fix secure input with echo on windows
...
Thanks to iDunk for the testing back and forth
2018-10-14 10:38:11 +00:00
moneromooo-monero
d7f3805d2e
Revert "p2p: connect via the bound ip, if any"
...
This reverts commit 909398efc7 .
It looks like it's causing trouble with tor on some setups
2018-10-13 10:20:15 +00:00
m2049r
a04d68f698
SOFTWARE is the default wallet device
2018-10-12 23:15:02 +02:00
moneromooo-monero
3b04e2e3d4
daemon: do not run complex code in a signal handler
...
instead, delegate the work to a one off thread
and notify it from the signal handler
2018-10-12 19:17:55 +00:00
moneromooo-monero
e25d21a788
simplewallet: mark default-ring-size setting as obsolete
2018-10-12 13:01:00 +00:00
moneromooo-monero
2509717b11
simplewallet: fix view key parsing in --generate-from-view-key
2018-10-12 12:55:57 +00:00
Riccardo Spagni
77ef8c1839
Merge pull request #4544
...
e0f4606a remove -release from the version string (Riccardo Spagni)
d7d6d238 update version for release (Riccardo Spagni)
2018-10-09 23:04:07 +02:00
Riccardo Spagni
e0f4606a72
remove -release from the version string
2018-10-09 22:57:15 +02:00
Riccardo Spagni
d7d6d23867
update version for release
2018-10-09 22:37:21 +02:00
Riccardo Spagni
1b9e6861b7
Merge pull request #4540
...
8833aec0 wallet2: fix cold signing using non padded bulletproofs (moneromooo-monero)
2018-10-09 16:44:51 +02:00
Riccardo Spagni
cc33d3b2de
Merge pull request #4517
...
02c2b43a Utils: Add Dockerfile for android 64-bit build (Gregory Lemercier)
2018-10-09 16:44:10 +02:00
Riccardo Spagni
d8f95843c4
Merge pull request #4535
...
c716a331 device: increase ledger timeout to 2 minutes (selsta)
2018-10-09 16:44:05 +02:00
Riccardo Spagni
e16982617b
Merge pull request #4538
...
bd7b800f device_io_hid: fix DEFAULT_* type (too short) and init time (moneromooo-monero)
2018-10-09 16:44:01 +02:00
Riccardo Spagni
eca27122df
Merge pull request #4532
...
8f22e808 device: destroy device objects on exit (moneromooo-monero)
2018-10-09 16:43:55 +02:00
Riccardo Spagni
4b609dede3
Merge pull request #4530
...
77471e23 blockchain_blackball: fix stray ! (moneromooo-monero)
2018-10-08 22:07:34 +02:00
Riccardo Spagni
5209bbd0c5
Merge pull request #4529
...
c95a1408 CMakeLists.txt: Fix typo (erciccione)
2018-10-08 22:07:30 +02:00
Riccardo Spagni
161fd13768
Merge pull request #4527
...
c5a97315 Remove last traces of libpcsc-lite (moneromooo-monero)
2018-10-08 22:07:27 +02:00
Riccardo Spagni
49c11b2248
Merge pull request #4519
...
17701864 Depends: build hidapi with -fPIC (iDunk5400)
2018-10-08 22:07:23 +02:00
Riccardo Spagni
f5df0e272e
Revert "Merge pull request #4472 "
...
This reverts commit b26ab0b580 .
2018-10-08 21:42:38 +02:00
Riccardo Spagni
34da7d852b
Merge pull request #4514
...
85e58cb2 blockchain_blackball: fix stats double counting (moneromooo-monero)
2018-10-08 13:03:11 +02:00
Riccardo Spagni
84cc3b916e
Merge pull request #4036
...
9acf42d3 Multisig M/N functionality core tests added (naughtyfox)
9f3963e8 Arbitrary M/N multisig schemes: * support in wallet2 * support in monero-wallet-cli * support in monero-wallet-rpc * support in wallet api * support in monero-gen-trusted-multisig * unit tests for multisig wallets creation (naughtyfox)
2018-10-07 20:04:10 +02:00
Riccardo Spagni
24e519b9b6
Merge pull request #4510
...
21a624af Consolidate HID depends makefiles into single recipe (TheCharlatan)
2018-10-07 20:04:10 +02:00
Riccardo Spagni
3512eb5e68
Merge pull request #4511
...
f9485a36 tests: update crypto tests data file after PRNG changes (moneromooo-monero)
2018-10-07 20:04:10 +02:00
Riccardo Spagni
42545e9adc
Merge pull request #4509
...
0656050f README: update MSYS2 dependencies for Ledger (Lafudoci)
2018-10-07 20:04:10 +02:00
Riccardo Spagni
9d97ffb804
Merge pull request #4508
...
3d722db4 wallet-cli: Update French translation (Guillaume LE VAILLANT)
2018-10-07 20:04:09 +02:00
Riccardo Spagni
71b9dd96ca
Merge pull request #4506
...
cbdd6b91 Linux: Fix building of static binaries with hw device support (iDunk5400)
2018-10-07 20:04:09 +02:00
Riccardo Spagni
b63f1ea637
Merge pull request #4505
...
977df631 Fix some calls to the translation function (Guillaume LE VAILLANT)
2018-10-07 20:04:09 +02:00
Riccardo Spagni
5f83ec59ca
Merge pull request #4501
...
fb3593c2 Add check if submodules need to be updated (TheCharlatan)
2018-10-07 20:04:09 +02:00
Riccardo Spagni
b26ab0b580
Merge pull request #4472
...
02d3ef7b blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
2018-10-06 11:15:43 +02:00
Riccardo Spagni
17ab6fdd5a
Merge pull request #4495
...
34a85e0c wallet2: disable height based segregation (moneromooo-monero)
2018-10-06 11:15:43 +02:00
Riccardo Spagni
a2cd4f2cc7
Merge pull request #4499
...
c5928bde wallet2_api: fix build with C++14 (moneromooo-monero)
2018-10-06 11:15:43 +02:00
Riccardo Spagni
9556ba0d66
Merge pull request #4390
...
a0613532 secure_pwd_reader: Add proper Unicode handling [Ryo contribution] (fireice-uk)
579383c2 simplewallet: Add Unicode input_line [Ryo backport] (fireice-uk)
2018-10-06 11:15:43 +02:00
Riccardo Spagni
b8cee6bf9e
Merge pull request #4492
...
7f2ad1a7 functional_tests: fix linking on Windows (iDunk5400)
2018-10-06 11:15:43 +02:00
Riccardo Spagni
5adbede27f
Merge pull request #4487
...
7c790f11 Fix rtxn usage in BlockchainLMDB::get_estimated_batch_size (Howard Chu)
2018-10-06 11:15:39 +02:00
Riccardo Spagni
735a33e8d8
Merge pull request #4485
...
5ec929fb daemon: do not display uptime when not known (moneromooo-monero)
2018-10-02 22:45:52 +02:00
Riccardo Spagni
e037534f44
Merge pull request #4490
...
bccd88dd wallet2: clear found out for every tx key (doy-lee)
2018-10-02 22:45:50 +02:00
Riccardo Spagni
9570081ae5
Merge pull request #4484
...
2c74b1a1 wallet_rpc_server: include all transfer records for a txid (moneromooo-monero)
2018-10-02 22:45:50 +02:00
Riccardo Spagni
e0fa7fa384
Merge pull request #4482
...
25e5890d wallet: fix --generate-from-json using wrong password (moneromooo-monero)
2018-10-02 22:45:50 +02:00
Riccardo Spagni
9c426a30f9
Merge pull request #4479
...
d5541e44 common: Windows 'spawn' support for tx and block notifications (xiphon)
2018-10-02 22:45:48 +02:00
Riccardo Spagni
ca9b2493ee
Merge pull request #4476
...
fa9e54b6 build: fix gcc false positive 'stringop-overflow' warning (xiphon)
2018-10-02 22:45:48 +02:00
Riccardo Spagni
cf436cde1a
Merge pull request #4475
...
6da36ea0 wallet2_api: blackball/unblackball now take two parameters (moneromooo-monero)
2018-10-02 22:45:48 +02:00
Riccardo Spagni
b99e670f84
Merge pull request #4471
...
31559e6a Update unbound submodule to 7f23967 (iDunk5400)
2018-10-02 22:45:45 +02:00
Riccardo Spagni
88a0985104
Merge pull request #4470
...
2fbf38ee Fix 32bit depends builds (TheCharlatan)
17142ec9 malloc scratchpad for all supported android archs (m2049r)
6a781408 Make depends use self built clang for darwin (TheCharlatan)
69da14e1 fixes make debug compilation on OSX (Dusan Klinec)
fe125647 Fixup RENAME_DB() macro (Howard Chu)
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec)
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
89288863 README: mention ASAN usage alongside valgrind (moneromooo-monero)
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)
a69271fa Fixed a typo (Piotr Kąkol)
92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox)
43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
6f5360b3 bump version to 0.13.0.1 (Riccardo Spagni)
cf470bf3 switch from master to rc (Riccardo Spagni)
2018-10-02 22:45:45 +02:00
Riccardo Spagni
4701a78ad1
Merge pull request #4467
...
fa942ef6 daemon: silence daemon update warnings on testnet (iDunk5400)
2018-10-02 22:45:45 +02:00
Riccardo Spagni
861895e92d
Merge pull request #4464
...
bef1750f unit_tests: fix longstanding DNS related unit test (moneromooo-monero)
2018-10-02 22:45:42 +02:00
Riccardo Spagni
5fc4d57ee5
Merge pull request #4463
...
8110bea3 dns_utils: refresh list of usable DNSSEC servers (moneromooo-monero)
2018-10-02 22:45:33 +02:00
Riccardo Spagni
efbd42f9d9
Merge pull request #4333
...
73403004 add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc} (moneromooo-monero)
2018-09-29 22:18:09 +02:00
Riccardo Spagni
4cbaa6e43d
Merge pull request #4461
...
7dd11711 wallet2: fix transfers between subaddresses hitting the sanity check (moneromooo-monero)
2018-09-29 22:17:21 +02:00
Riccardo Spagni
f0b3bbf808
Merge pull request #4459
...
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero)
3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero)
a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero)
1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero)
fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero)
2e2139ff epee: do not propagate exception through dtor (moneromooo-monero)
0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero)
1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero)
418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero)
ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero)
6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero)
53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero)
e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero)
661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero)
5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero)
7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero)
a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero)
d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero)
02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero)
c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
2018-09-29 22:17:00 +02:00
Riccardo Spagni
33aa05678f
Merge pull request #4458
...
921b0fb1 use default create_address_file argument (m2049r)
2018-09-29 22:16:40 +02:00
Riccardo Spagni
37252f6aec
Merge pull request #4457
...
85318e78 build: set ARCH_FLAG before compiler/linker flag checks (xiphon)
2018-09-29 22:16:19 +02:00
Riccardo Spagni
67e6c4370b
Merge pull request #4456
...
06d05c21 device: set device name correctly if key_on_device is set (Dusan Klinec)
2018-09-29 22:15:52 +02:00
Riccardo Spagni
a5476f82ca
Merge pull request #4449
...
17142ec9 malloc scratchpad for all supported android archs (m2049r)
2018-09-29 22:15:31 +02:00
Riccardo Spagni
50f9472911
Merge pull request #4448
...
6a781408 Make depends use self built clang for darwin (TheCharlatan)
2018-09-29 22:14:56 +02:00
Riccardo Spagni
bf6388e4d4
Merge pull request #4446
...
69da14e1 fixes make debug compilation on OSX (Dusan Klinec)
2018-09-29 22:14:28 +02:00
Riccardo Spagni
05c942aba8
Merge pull request #4445
...
fe125647 Fixup RENAME_DB() macro (Howard Chu)
2018-09-29 22:14:09 +02:00
Riccardo Spagni
735de189ab
Merge pull request #4443
...
b2972927 osx compilation fix: missing boost libs added (Dusan Klinec)
2018-09-29 22:13:34 +02:00
Riccardo Spagni
931e7faa0b
Merge pull request #4439
...
174f31bf simplewallet: don't complain about payment id on pool mined blocks (moneromooo-monero)
2018-09-29 22:13:17 +02:00
Riccardo Spagni
559a0cfc92
Merge pull request #4434
...
89288863 README: mention ASAN usage alongside valgrind (moneromooo-monero)
2018-09-29 22:12:56 +02:00
Riccardo Spagni
52b639bcd0
Merge pull request #4427
...
83debef9 wallet_rpc_server: remove verbose field in incoming_transfers query (moneromooo-monero)
2018-09-29 22:12:31 +02:00
Riccardo Spagni
1011142868
Merge pull request #4425
...
a69271fa Fixed a typo (Piotr Kąkol)
2018-09-29 22:12:14 +02:00
Riccardo Spagni
3d8f54daad
Merge pull request #4424
...
92d1da28 unit_tests: fix build with GCC 5.4.0 on ubuntu (moneromooo-monero)
2018-09-29 22:11:50 +02:00
Riccardo Spagni
86a137aff3
Merge pull request #4417
...
a21da905 Wallet: use unique_ptr for WalletImpl members (oneiric)
2018-09-29 22:11:32 +02:00
Riccardo Spagni
acc9b32749
Merge pull request #4409
...
7a056f44 WalletAPI: multisigSignData bug fixed (naughtyfox)
2018-09-29 22:11:13 +02:00
Riccardo Spagni
9d0b177720
Merge pull request #4407
...
43a06350 ringdb: use cursors to be a bit faster (moneromooo-monero)
2018-09-29 22:10:48 +02:00
Riccardo Spagni
0d062bacfb
Merge pull request #4406
...
7964d4f8 wallet2: handle corner case in picking fake outputs (moneromooo-monero)
2018-09-29 21:51:51 +02:00
moneromooo-monero
7340300460
add --block-notify to monerod and --tx-notify to monero-wallet-{cli,rpc}
...
Those take a command line of the form "A [B]", with A being the
name (and optional path, if not in the caller's CWD, but fully
qualified path is recommended, avoids possible security issues)
to a program, and optional arguments. Any occurence of the two
character string "%s" will be replaced by the hash of the block
or transaction which triggered the notification.
Tokenization is barebones. If you want things like pipes, calls
to paths with spaces, etc, then use a script (though exec time
will suffer).
block-notify is called when a new block is added onto the chain.
tx-notify is called when a new transaction happens with the
wallet as source and/or destination.
It is the notification program's responsibility to determine what
to do in those cases.
Note that this is asynchronous, so it is very possible that:
- the notification programs will be run out of order
- several events happen before the notification for the first one
A Windows port would be nice if someone wants to make one.
2018-09-29 08:44:18 +00:00
moneromooo-monero
83debef99e
wallet_rpc_server: remove verbose field in incoming_transfers query
...
The key image (which was only supplied if verbose was true) is
readily available, not a secret key, and it was only modelled
after the CLI command because it's a bit spammy for the CLI.
2018-09-28 17:06:56 +00:00
moneromooo-monero
7dd11711b0
wallet2: fix transfers between subaddresses hitting the sanity check
...
Transfers between subaddresses are accounted for differently
2018-09-28 10:41:17 +00:00
moneromooo-monero
bcf3f6afdd
fuzz_tests: catch unhandled exceptions
...
Coverity 175293, 175312, 175266
2018-09-27 18:23:24 +00:00
moneromooo-monero
3ebd05d4e5
miner: restore stream flags after changing them
...
Coverity 136462
2018-09-27 18:17:32 +00:00
moneromooo-monero
a093092ef7
levin_protocol_handler_async: do not propagate exception through dtor
...
Coverity 161856
2018-09-27 18:02:42 +00:00
moneromooo-monero
1eebb82bcc
net_helper: do not propagate exceptions through dtor
...
Coverity 161864
2018-09-27 17:43:49 +00:00
moneromooo-monero
fb6a363050
miner: do not propagate exceptions through dtor
...
Coverity 161862
2018-09-27 17:42:39 +00:00
moneromooo-monero
2e2139ffb7
epee: do not propagate exception through dtor
...
Coverity 161867
2018-09-27 17:40:56 +00:00
moneromooo-monero
0749a8bd3c
db_lmdb: do not propagate exceptions in dtor
...
Not much we can do here
Coverity 161875
2018-09-27 17:29:15 +00:00
moneromooo-monero
1b0afeeb1c
wallet_rpc_server: exit cleanly on unhandled exceptions
...
Coverity 161868
2018-09-27 17:29:12 +00:00
moneromooo-monero
418a993618
unit_tests: catch unhandled exceptions
...
Coverity 182560
2018-09-27 17:29:09 +00:00
moneromooo-monero
ea7f954381
threadpool: do not propagate exceptions through the dtor
...
This would call terminate.
We ignore exceptions in pthread_join instead, as this is not
a fatal problem here.
Coverity 182568
2018-09-27 17:29:02 +00:00
moneromooo-monero
6e8554221f
gen_multisig: nice exit on unhandled exception
...
Coverity 182569
2018-09-27 17:28:59 +00:00
moneromooo-monero
53df2deb36
db_lmdb: catch error in mdb_stat calls during migration
...
Coverity 188305
2018-09-27 17:28:53 +00:00
moneromooo-monero
e67016ddb4
blockchain_blackball: catch failure to commit db transaction
...
Coverity 188349
2018-09-27 17:28:50 +00:00
moneromooo-monero
661439f4e0
mlog: don't remove old logs if we failed to rename the current file
...
Coverity 188348
2018-09-27 17:28:47 +00:00
moneromooo-monero
5fdcda50ee
easylogging++: test for NULL before dereference
2018-09-27 17:28:42 +00:00
m2049r
921b0fb11b
use default create_address_file argument
2018-09-27 17:59:46 +02:00
moneromooo-monero
7ece1550e1
performance_test: fix bad last argument calling add_arg
...
Coverity 182572
2018-09-27 12:53:12 +00:00
xiphon
85318e7800
build: set ARCH_FLAG before compiler/linker flag checks
2018-09-27 12:05:36 +00:00
moneromooo-monero
a085da3247
unit_tests: add check for page size > 0 before dividing
...
Coverity 188426
2018-09-27 11:59:52 +00:00
moneromooo-monero
d8b1ec8b8b
unit_tests: use std::shared_ptr to shut coverity up about leaks
...
Coverity 188436, 188433, 188428, 188415, 188416, 188410, 188400,
188298, 188299, 188321, 188342, 188343, 188355, 188357, 188361,
188366, 188374
2018-09-27 11:59:49 +00:00
moneromooo-monero
02563bf4b9
simplewallet: top level exception catcher to print nicer messages
...
Coverity 188408
2018-09-27 10:56:54 +00:00
moneromooo-monero
c57a65b246
blockchain_blackball: fix shift range for 32 bit archs
...
Coverity 188406
2018-09-27 10:54:35 +00:00
Dusan Klinec
06d05c21eb
device: set device name correctly if key_on_device is set
2018-09-27 00:58:47 +02:00
Dusan Klinec
b2972927ea
osx compilation fix: missing boost libs added
2018-09-26 21:23:01 +02:00
m2049r
17142ec9bb
malloc scratchpad for all supported android archs
2018-09-26 00:59:12 +02:00
TheCharlatan
6a78140863
Make depends use self built clang for darwin
...
The configure script in hidapi and libsodium tried to find clang in /usr/bin,
even though the correct prefix was passed in. This sets the correct CC flag.
This was previously undetected, because clang and the sdk where
installed in the global environment.
This also fixes a subsequent error, where IOKIT and CoreFoundation are
not found, again for the reason stated above.
2018-09-25 23:05:16 +02:00
Dusan Klinec
69da14e105
fixes make debug compilation on OSX
2018-09-25 22:44:00 +02:00
Howard Chu
fe1256471a
Fixup RENAME_DB() macro
...
Make sure target DB's record is on a writable page
2018-09-25 21:01:03 +01:00
Riccardo Spagni
558da3684c
Merge pull request #4441
...
6f5360b3 bump version to 0.13.0.1 (Riccardo Spagni)
2018-09-25 15:54:01 +02:00
Riccardo Spagni
6f5360b3c6
bump version to 0.13.0.1
2018-09-25 15:48:56 +02:00
Riccardo Spagni
3882b30076
Merge pull request #4440
...
cf470bf3 switch from master to rc (Riccardo Spagni)
2018-09-25 15:26:24 +02:00
Riccardo Spagni
cf470bf3d6
switch from master to rc
2018-09-25 15:07:28 +02:00
moneromooo-monero
174f31bf7d
simplewallet: don't complain about payment id on pool mined blocks
...
Those use the extra nonce without a payment id
2018-09-25 12:34:42 +00:00
Riccardo Spagni
8bf5a00564
Merge pull request #4423
...
357441a2 add checkpoints for testnet and mainnet (Riccardo Spagni)
d9f666d7 update checkpoints.dat (Riccardo Spagni)
6b1b4e83 update version to 13.0 (Riccardo Spagni)
6f153533 update readme with v13.0 (Riccardo Spagni)
2018-09-25 13:33:52 +02:00
Riccardo Spagni
f2eee1eb8c
Merge pull request #4438
...
e350cc5a wallet2: fix duplicate output making it to the RPC (moneromooo-monero)
bf9a0f4c epee: fix stack overflow on crafted input (moneromooo-monero)
45683ee0 epee: fix invalid memory write reading an array entry (moneromooo-monero)
2018-09-25 13:33:37 +02:00
moneromooo-monero
e350cc5ad5
wallet2: fix duplicate output making it to the RPC
2018-09-25 11:28:39 +00:00
moneromooo-monero
bf9a0f4c65
epee: fix stack overflow on crafted input
2018-09-25 11:27:50 +00:00
moneromooo-monero
45683ee02c
epee: fix invalid memory write reading an array entry
...
Reported by Lilith Wyatt at Talos.
Since this is not needed in normal operation, I just let this
error out.
2018-09-25 11:27:48 +00:00
Riccardo Spagni
689758d691
Merge pull request #4435
...
c39ad0cd tx_pool: fix tx removal at startup keeping references (moneromooo-monero)
2018-09-25 13:11:05 +02:00
Riccardo Spagni
13d9bdb849
Merge pull request #4431
...
5c234cbd Add hidapi to depends (TheCharlatan)
2018-09-25 13:09:54 +02:00
TheCharlatan
5c234cbdcb
Add hidapi to depends
...
Clang needs to get its cctools path passed directly for the hid build to
succeed.
Make gperf a permanent external dependency.
Remove pcsc from depends.
2018-09-25 12:13:54 +02:00
Riccardo Spagni
295bae10ba
Merge pull request #4412
...
4d0a8db0 device: fix warnings about overridden functions (moneromooo-monero)
2018-09-25 12:13:51 +02:00
Riccardo Spagni
e67789d075
Merge pull request #4422
...
6e270fbd wallet2_api: fix for latest code changes (moneromooo-monero)
2018-09-25 12:13:34 +02:00
Riccardo Spagni
0d206dccda
Merge pull request #4430
...
50981c40 blockchain: add stagenet v8 and v9, two weeks before mainnet (moneromooo-monero)
2018-09-25 12:12:29 +02:00
Riccardo Spagni
cd8c7f6e78
Merge pull request #4433
...
b35beaa8 wallet_rpc_server: include account index in incoming_transfers RPC (moneromooo-monero)
2018-09-25 12:12:14 +02:00
Riccardo Spagni
d2f9a4c584
Merge pull request #4420
...
0f4f873b Fix Darwin Sodium build (TheCharlatan)
bf1e1d97 A Travis to monero (TheCharlatan)
2018-09-25 12:06:20 +02:00
Riccardo Spagni
c1182e433e
Merge pull request #4419
...
936e22a9 Dockerfile: use single build dir (MoroccanMalinois)
2018-09-25 12:05:23 +02:00
Riccardo Spagni
78fd2599c2
Merge pull request #4414
...
83907f88 wallet_rpc_server: fix --run-as-service on Windows (moneromooo-monero)
2018-09-25 12:04:52 +02:00
moneromooo-monero
c39ad0cd72
tx_pool: fix tx removal at startup keeping references
2018-09-25 09:58:37 +00:00
moneromooo-monero
89288863a4
README: mention ASAN usage alongside valgrind
2018-09-25 09:41:41 +00:00
Riccardo Spagni
357441a2fa
add checkpoints for testnet and mainnet
2018-09-25 10:02:05 +02:00
MoroccanMalinois
936e22a9b5
Dockerfile: use single build dir
2018-09-25 00:16:13 +02:00
moneromooo-monero
50981c40ce
blockchain: add stagenet v8 and v9, two weeks before mainnet
2018-09-24 20:43:39 +00:00
Riccardo Spagni
59024a9e88
Merge pull request #4203
...
bb6e3bbc Replace USB-CCID (smartcard) by USB-HID (cslashm)
2018-09-24 22:19:49 +02:00
cslashm
bb6e3bbc0f
Replace USB-CCID (smartcard) by USB-HID
...
Remove PCSC dependencies which is a bit hard (not user friendly) to install on linux and Mac
Split Ledger logic and device IO
2018-09-24 21:57:42 +02:00
moneromooo-monero
b35beaa8d6
wallet_rpc_server: include account index in incoming_transfers RPC
2018-09-24 19:42:26 +00:00
Riccardo Spagni
5c637c7910
Merge pull request #4429
...
1dd5c73f bulletproofs: multiply points by 8 first thing in verification (moneromooo-monero)
2018-09-24 16:15:49 +02:00
moneromooo-monero
1dd5c73f62
bulletproofs: multiply points by 8 first thing in verification
...
instead of merging that with other scalar multiplications
where possible for speed, since this is not actually safe
2018-09-24 14:02:51 +00:00
Piotr Kąkol
a69271faf7
Fixed a typo
2018-09-23 18:31:30 +02:00
moneromooo-monero
92d1da28ef
unit_tests: fix build with GCC 5.4.0 on ubuntu
2018-09-23 14:38:31 +00:00
Riccardo Spagni
d9f666d78c
update checkpoints.dat
2018-09-23 09:51:15 +02:00
moneromooo-monero
6e270fbd29
wallet2_api: fix for latest code changes
2018-09-22 23:00:34 +00:00
oneiric
a21da9058b
Wallet: use unique_ptr for WalletImpl members
...
Use unique_ptr to manage WalletImpl internals, rather than raw
pointers.
2018-09-22 22:03:36 +00:00
TheCharlatan
0f4f873bf3
Fix Darwin Sodium build
...
Clang needs to get its cctools path passed.
2018-09-22 21:50:08 +02:00
Riccardo Spagni
6b1b4e83dd
update version to 13.0
2018-09-22 21:36:11 +02:00
Riccardo Spagni
6f153533e2
update readme with v13.0
2018-09-22 21:31:06 +02:00
Riccardo Spagni
8a61f669a9
Merge pull request #4416
...
c05f98d4 README: remove overlooked conflict (moneromooo-monero)
2018-09-22 21:09:29 +02:00
moneromooo-monero
c05f98d4c3
README: remove overlooked conflict
2018-09-22 19:07:48 +00:00
Riccardo Spagni
fb47963e09
Merge pull request #4404
...
f3cd51a1 cryptonote tweak v2.2 (Lee Clagett)
2018-09-22 20:32:40 +02:00
moneromooo-monero
7964d4f8ea
wallet2: handle corner case in picking fake outputs
...
If we originally think we have enough outputs on the blockchain
to pick random fake outputs, we might end up with not enough of
them if enough are actually blackballed.
2018-09-22 15:57:47 +00:00
moneromooo-monero
83907f8829
wallet_rpc_server: fix --run-as-service on Windows
...
Thanks iDunk for the windows testing
2018-09-22 11:56:30 +00:00
Lee Clagett
f3cd51a12b
cryptonote tweak v2.2
2018-09-22 03:47:50 +00:00
TheCharlatan
bf1e1d979c
A Travis to monero
...
Add a Travis build script for Monero. This was blatantly copied from
Bitcoin. It spawns jobs in docker containers running an ubuntu bionic
image.
This commit also a fixes a problem where librt was still linked, even
when compiling statically.
2018-09-22 01:49:53 +02:00
moneromooo-monero
4d0a8db06d
device: fix warnings about overridden functions
2018-09-21 19:33:15 +00:00
Riccardo Spagni
7aa5112280
Merge pull request #4411
...
e03402b0 wallet_rpc_server: fix build for windows (moneromooo-monero)
2018-09-21 20:51:39 +02:00
moneromooo-monero
e03402b0c7
wallet_rpc_server: fix build for windows
...
Thanks iDunk for building patches on windows
2018-09-21 18:50:05 +00:00
Riccardo Spagni
b65e236fda
Merge pull request #4405
...
8db2d8d4 simplewallet: fix --generate-from-json setting wrong wallet filename (moneromooo-monero)
2018-09-21 20:46:54 +02:00
Riccardo Spagni
de5631c6be
Merge pull request #4402
...
a2505c2f gpg_keys: bump my key validity for two more years (moneromooo-monero)
2018-09-21 20:46:41 +02:00
Riccardo Spagni
85110b42ab
Merge pull request #4401
...
66901901 README: harmonize command formatting inside README.md (Andrea)
8cd98408 disable AES on s390x architecture (Tuan M. Hoang)
4ed30bab wallet: implement coin splitting for sweep_* 'outputs' option (whythat)
24f52396 wallet: add 'outputs' option for sweep_* commands (whythat)
52e19d69 README: Compile boost with cxxflags=-fPIC cflags=-fPIC (Italocoin Project)
0c77523d README: fill in libsodium package name for Arch (phloatingman)
2018-09-21 20:46:22 +02:00
Riccardo Spagni
fd74815f65
Merge pull request #4399
...
f77ce675 rpc: allow pruning of json encoded txs (cryptochangements34)
2018-09-21 20:46:00 +02:00
Riccardo Spagni
93f473e9f8
Merge pull request #4397
...
a4065bf2 Fixes Dockerfile build problem #4396 (OPSXCQ)
2018-09-21 20:45:48 +02:00
Riccardo Spagni
aa1d321e5f
Merge pull request #4395
...
9bf0105e Fixed Keccak implementation on big-endian platforms (Alexandro Sanchez)
2018-09-21 20:45:23 +02:00
Riccardo Spagni
63eeb9df80
Merge pull request #4394
...
b7660149 node_rpc_proxy: return a non empty error string on connection failure (moneromooo-monero)
2018-09-21 20:44:48 +02:00
Riccardo Spagni
37a306370d
Merge pull request #4388
...
05edc969 simplewallet: remove obsolete transfer_original command (moneromooo-monero)
2018-09-21 20:44:19 +02:00
Riccardo Spagni
bc208be63d
Merge pull request #4385
...
6dbbc690 unit_tests: sanity check on transaction weight (moneromooo-monero)
2018-09-21 20:44:00 +02:00
Riccardo Spagni
14ab2e4db1
Merge pull request #4384
...
27af46c9 tests: update test wallet keys file for encrypted keys (moneromooo-monero)
2018-09-21 20:43:32 +02:00
Riccardo Spagni
85d731c66d
Merge pull request #4382
...
ff72200d update readme fork table (Gingeropolous)
2018-09-21 20:43:16 +02:00
Riccardo Spagni
4a652d6b52
Merge pull request #4379
...
607301bf rct: avoid repeated unnecessary conversions when accummulating (moneromooo-monero)
2018-09-21 20:42:41 +02:00
Riccardo Spagni
0645dcdbdb
Merge pull request #4378
...
ac934663 rpc: add a "is an update available" flag in get_info (moneromooo-monero)
2018-09-21 20:41:53 +02:00
Riccardo Spagni
b88bbf59c3
Merge pull request #4377
...
4d52ec0c mlog: do not display http errors by default (moneromooo-monero)
2018-09-21 20:41:17 +02:00
Riccardo Spagni
dc9a69d980
Merge pull request #4376
...
2ace509a simplewallet: print reason why refresh+password is needed (moneromooo-monero)
2018-09-21 20:40:46 +02:00
Riccardo Spagni
629db71593
Merge pull request #4373
...
4f81cd3a rpc: add cumulative difficulty in block header data (moneromooo-monero)
2018-09-21 20:40:23 +02:00
Riccardo Spagni
a059bcd74e
Merge pull request #4371
...
55c7cd14 Adding expect<T> - a value-or-error implementation (Lee Clagett)
2018-09-21 20:31:47 +02:00
Riccardo Spagni
d6893aedf6
Merge pull request #4369
...
b2bb9312 blockchain: simplify output distribution code (moneromooo-monero)
befdcbf4 db_lmdb: do not use base for cumulative distribution (moneromooo-monero)
2018-09-21 20:31:21 +02:00
Riccardo Spagni
90d1a00c10
Merge pull request #4266
...
bce474be query backing device (m2049r)
2018-09-21 20:31:04 +02:00
Riccardo Spagni
bb3ff2bb36
Merge pull request #4209
...
26a42fe5 Added features to epee::span<T> : - Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span` (Lee Clagett)
2018-09-21 20:30:36 +02:00
naughtyfox
7a056f4425
WalletAPI: multisigSignData bug fixed
2018-09-21 14:40:37 +03:00
moneromooo-monero
43a06350cf
ringdb: use cursors to be a bit faster
2018-09-20 12:21:57 +00:00
moneromooo-monero
8db2d8d416
simplewallet: fix --generate-from-json setting wrong wallet filename
2018-09-19 20:22:46 +00:00
m2049r
bce474be7d
query backing device
2018-09-19 18:25:38 +02:00
moneromooo-monero
a2505c2fcc
gpg_keys: bump my key validity for two more years
2018-09-19 07:50:49 +00:00
Riccardo Spagni
bad2c7cf31
Merge pull request #4391
...
e9bce045 Fix missing std::runtime_error def in difficulty.cpp (Howard Chu)
2018-09-18 18:00:18 +02:00
Riccardo Spagni
2371a814cf
Merge pull request #4387
...
6e6ffc06 wallet2_api: bring up to latest wallet api (moneromooo-monero)
2018-09-18 17:59:44 +02:00
Riccardo Spagni
68dcf73de2
Merge pull request #4366
...
67a56a9f rctTypes: fix incorrect serialization (stoffu)
2018-09-18 17:59:20 +02:00
Riccardo Spagni
535bd0eb7e
Merge pull request #4361
...
26971d46 WalletAPI: 'hasMultisigPartialKeyImages' function added (naughtyfox)
2018-09-18 17:58:53 +02:00
Riccardo Spagni
08f0c60ffc
Merge pull request #4360
...
7a76354c wallet2: import_multisig forward refresh exception (naughtyfox)
2018-09-18 17:58:14 +02:00
Riccardo Spagni
df98bc50a6
Merge pull request #4357
...
8501b8df crypto_ops_builder: link to EdDSA/Ed25519 draft RFC (moneromooo-monero)
2018-09-18 17:57:45 +02:00
Riccardo Spagni
f9d97f3fec
Merge pull request #4356
...
89202ce4 Docker android: add libsodium (MoroccanMalinois)
e774f249 Docker android: use common prefix (MoroccanMalinois)
2018-09-18 17:57:17 +02:00
Riccardo Spagni
9d0565615c
Merge pull request #4354
...
03c07b16 rpc: return "already mining" in start_mining if already mining (moneromooo-monero)
2018-09-18 17:56:51 +02:00
Riccardo Spagni
7781675f22
Merge pull request #4349
...
7418aa60 README: bump cmake requirement to 3.5, as required by miniupnpc (moneromooo-monero)
2018-09-18 17:55:51 +02:00
Riccardo Spagni
0ff0850545
Merge pull request #4344
...
cd647612 rpc: don't include start time if restricted (moneromooo-monero)
2018-09-18 17:54:25 +02:00
Riccardo Spagni
7ab49f96ad
Merge pull request #4341
...
e6117282 daemon: request no PoW hashes we don't need when asking for blocks (moneromooo-monero)
2018-09-18 17:39:56 +02:00
Riccardo Spagni
22a6591a70
Merge pull request #4325
...
4e1e9a60 blockchain: add mainnet v8 height targetting 18 october (moneromooo-monero)
2018-09-18 17:39:16 +02:00
Riccardo Spagni
4a1744e93e
Merge pull request #4322
...
9a66d9f4 Docker: Updated dependencies cmake 3.12.1 and boost 1.68 (HomDx)
2018-09-18 17:37:50 +02:00
Riccardo Spagni
3cfa45cc7d
Merge pull request #4317
...
76f95f05 rpc: allow to pass RPC login via RPC_LOGIN env var (Dusan Klinec)
2018-09-18 17:36:43 +02:00
Riccardo Spagni
e468d541b4
Merge pull request #4311
...
f0bc684c mnemonics: fix outrageous compile time with CLANG in release (moneromooo-monero)
2018-09-18 17:36:13 +02:00
Riccardo Spagni
580497d5f9
Merge pull request #4306
...
56b50faa wallet: use wipeable_string in more places where a secret is used (moneromooo-monero)
07ec748c wipeable_string: add hex_to_pod function (moneromooo-monero)
2018-09-18 17:32:11 +02:00
Riccardo Spagni
b174527f1d
Merge pull request #4302
...
ba8dd347 api/wallet: properly disable key encryption (stoffu)
2018-09-18 17:31:35 +02:00
Riccardo Spagni
b4a9ebad6c
Merge pull request #4299
...
f9b22a7b hw_device: support for multiple devices added [for review] (Dusan Klinec)
2018-09-18 17:29:26 +02:00
Riccardo Spagni
728a947646
Merge pull request #4273
...
c336d0f2 add daemonizer to rpc wallet (jcktm)
2018-09-18 16:40:04 +02:00
Riccardo Spagni
9c40bc62fc
Merge pull request #3430
...
42397359 Fixup 32bit arm build (TheCharlatan)
a06d2581 Fix Windows build (TheCharlatan)
ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan)
cbbf4d24 Adapt translations to upstream changes (TheCharlatan)
db571546 Updated pcsc url (TheCharlatan)
f0ba19fd Add lrelease to the depends (TheCharlatan)
cfb30462 Add Miniupnp submodule (TheCharlatan)
5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan)
d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan)
56b6e41e Add support for apple and arm building (TheCharlatan)
29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan)
8db3d573 Modify depends for monero's dependencies (TheCharlatan)
0806a23a Initial depends addition (TheCharlatan)
2018-09-18 16:33:21 +02:00
Andrea
669019010e
README: harmonize command formatting inside README.md
...
rebased by moneromooo
2018-09-18 11:02:10 +00:00
Tuan M. Hoang
8cd9840859
disable AES on s390x architecture
...
rebased by moneromooo
2018-09-18 11:02:06 +00:00
whythat
4ed30bab50
wallet: implement coin splitting for sweep_* 'outputs' option
...
Implemented strategy splits total amount into N equal parts,
where N is a specified number of outputs. If N > 1, dummy
change output is NOT created.
rebased by moneromooo
2018-09-18 11:02:03 +00:00
whythat
24f5239693
wallet: add 'outputs' option for sweep_* commands
...
'outputs' option allows to specify the number of
separate outputs of smaller denomination that will
be created by sweep operation.
rebased by moneromooo
2018-09-18 11:01:59 +00:00
Italocoin Project
52e19d6955
README: Compile boost with cxxflags=-fPIC cflags=-fPIC
...
Rebased and squashed by moneromooo
2018-09-18 10:23:32 +00:00
phloatingman
0c77523d61
README: fill in libsodium package name for Arch
...
Rebased by moneromooo, with a sensible commit message
2018-09-18 10:16:50 +00:00
TheCharlatan
423973596b
Fixup 32bit arm build
...
Set the architecture in the toolchain file correctly
2018-09-18 02:52:57 +02:00
cryptochangements34
f77ce675cb
rpc: allow pruning of json encoded txs
2018-09-17 20:38:40 -04:00
TheCharlatan
a06d2581c3
Fix Windows build
...
icu tex support is not required, so just disable it.
Re-add mistakingly removed crypt32 lib.
2018-09-17 23:59:37 +02:00
Alexandro Sanchez
9bf0105e25
Fixed Keccak implementation on big-endian platforms
2018-09-17 18:24:20 +02:00
OPSXCQ
a4065bf267
Fixes Dockerfile build problem #4396
2018-09-17 14:36:33 +00:00
TheCharlatan
ecaf5b3feb
Add libsodium to the packages, the arm build was complaining about it.
...
Fixup arm toolchain file.
2018-09-17 16:09:50 +02:00
stoffu
ba8dd3479d
api/wallet: properly disable key encryption
2018-09-17 22:15:29 +09:00
moneromooo-monero
b766014933
node_rpc_proxy: return a non empty error string on connection failure
...
This makes it easier to avoid bugs on the caller side if errors are
represented by non empty strings.
This fixes the refresh height setting in new wallets when no daemon
is running.
2018-09-17 11:03:46 +00:00
Howard Chu
e9bce045a4
Fix missing std::runtime_error def in difficulty.cpp
2018-09-16 19:35:07 +00:00
moneromooo-monero
05edc969c0
simplewallet: remove obsolete transfer_original command
2018-09-16 14:29:41 +00:00
moneromooo-monero
6e6ffc0650
wallet2_api: bring up to latest wallet api
2018-09-16 13:24:48 +00:00
moneromooo-monero
6dbbc69055
unit_tests: sanity check on transaction weight
2018-09-15 16:14:38 +00:00
moneromooo-monero
27af46c930
tests: update test wallet keys file for encrypted keys
2018-09-15 09:34:11 +00:00
jcktm
c336d0f217
add daemonizer to rpc wallet
2018-09-15 06:24:27 +10:00
Riccardo Spagni
bb30a72367
Merge pull request #4381
...
4cb1d879 blockchain_blackball: s/return false;/return 0;/ (moneromooo-monero)
9bdc9109 blockchain_blackball: use %zu for size_t (moneromooo-monero)
db3db093 blockchain_blackball: use mdb_size_t where appropriate (moneromooo-monero)
b1f05f58 blockchain_blackball: error out on fgets error (moneromooo-monero)
2018-09-14 22:22:43 +02:00
moneromooo-monero
4cb1d879f6
blockchain_blackball: s/return false;/return 0;/
2018-09-14 20:08:52 +00:00
Gingeropolous
ff72200d0a
update readme fork table
...
with consensus rules and block heights
2018-09-14 15:59:27 -04:00
moneromooo-monero
9bdc9109fb
blockchain_blackball: use %zu for size_t
2018-09-14 17:16:08 +00:00
moneromooo-monero
db3db0930e
blockchain_blackball: use mdb_size_t where appropriate
2018-09-14 17:11:11 +00:00
moneromooo-monero
b1f05f589e
blockchain_blackball: error out on fgets error
2018-09-14 16:31:24 +00:00
Dusan Klinec
f9b22a7b01
hw_device: support for multiple devices added [for review]
...
- device name is a new wallet property
- full device name is now a bit more structured so we can address particular device vendor + device path. Example: 'Ledger', 'Trezor:udp', 'Trezor:udp:127.0.0.1:21324', 'Trezor:bridge:usb01'. The part before ':' identifies HW device implementation, the optional part after ':' is device path to look for.
- new --hw-device parameter added to the wallet, can name the hardware device
- device reconnect added
2018-09-14 16:02:00 +02:00
Riccardo Spagni
d743994086
Merge pull request #4324
...
44259e56 wallet: ask-password can now ask without encrypting the secret spend key (moneromooo-monero)
2018-09-14 13:15:41 +02:00
moneromooo-monero
44259e560e
wallet: ask-password can now ask without encrypting the secret spend key
2018-09-14 11:14:21 +00:00
Riccardo Spagni
fd194aaa4d
Merge pull request #4347
...
df0e7c2f wallet2: fix secondary partially signed multisig txes (moneromooo-monero)
2018-09-14 13:06:38 +02:00
Riccardo Spagni
7850541074
Merge pull request #4337
...
97764bae wallet_rpc_server: error out if wallet-file and wallet-dir are both used (moneromooo-monero)
2018-09-14 13:06:22 +02:00
Riccardo Spagni
b182dc8262
Merge pull request #4336
...
5f8f5631 wallet2.get_reserve_proof: throw when specified amount is zero (stoffu)
2018-09-14 13:06:06 +02:00
Riccardo Spagni
dd2fc3afe3
Merge pull request #4332
...
20171746 wallet2: factor the creation of a new wallet keys file (moneromooo-monero)
be6acfd5 wallet2: factor new blockchain setup (moneromooo-monero)
2018-09-14 13:05:43 +02:00
Riccardo Spagni
1396b65bbc
Merge pull request #4331
...
88fbc4a5 wallet2: fill in v2 height for stagenet (moneromooo-monero)
2018-09-14 13:05:02 +02:00
Riccardo Spagni
7addabce8f
Merge pull request #4330
...
93e7627d cryptonote_format_utils: do not early out on invalid tx pubkeys (moneromooo-monero)
2018-09-14 13:04:40 +02:00
Riccardo Spagni
5f9374c735
Merge pull request #4329
...
45c85c89 remove unused fields from relay_tx RPC (el00ruobuob)
2018-09-14 13:03:46 +02:00
Riccardo Spagni
9f24e57dc2
Merge pull request #4326
...
bcda7adc NetBSD support (thomasvaughan)
2018-09-14 13:02:58 +02:00
Riccardo Spagni
15570f9a8f
Merge pull request #4380
...
53a99ca1 cn_deserialize: comment out pruned tx case (moneromooo-monero)
2018-09-14 13:01:41 +02:00
Riccardo Spagni
3584a852a3
Merge pull request #4372
...
1660b0e7 tx_pool: make the max tx size a consensus rule from v8 (moneromooo-monero)
2018-09-14 12:56:01 +02:00
moneromooo-monero
53a99ca112
cn_deserialize: comment out pruned tx case
...
it's not merged yet
2018-09-14 10:55:50 +00:00
Riccardo Spagni
239a7e10ff
Merge pull request #4253
...
be001326 remove obsolete daemon selection of fake outs and old tx construction (moneromooo-monero)
2018-09-14 12:54:25 +02:00
moneromooo-monero
be001326d1
remove obsolete daemon selection of fake outs and old tx construction
2018-09-14 10:51:45 +00:00
Riccardo Spagni
1c36fcf886
Merge pull request #4309
...
5083614f dns_util: add new DNSSEC trust anchor for rollover (moneromooo-monero)
2018-09-14 12:46:56 +02:00
Riccardo Spagni
20087b3a9d
Merge pull request #4307
...
4469b0c4 abstract_tcp_server2: fix binding to the wrong IP (moneromooo-monero)
8eab6147 epee: use the socket::bind variant which does not throw (moneromooo-monero)
2018-09-14 12:46:08 +02:00
Riccardo Spagni
c6f57d9db4
Merge pull request #4286
...
b4679f37 One build directory per branch/arch. (cslashm)
2018-09-14 12:45:46 +02:00
Riccardo Spagni
c74d9057f8
Merge pull request #4260
...
a54dbaee blockchain_blackball: add --force-chain-reaction-pass flag (moneromooo-monero)
44439c32 record blackballs as amount/offset, and add export ability (moneromooo-monero)
4bce935b blockchain_blackball: more optimizations (moneromooo-monero)
b66ba783 blockchain_blackball: do not process duplicate blockchains parts (moneromooo-monero)
639a3c01 blockchain_blackball: make it clear secondary passes are not incremental (moneromooo-monero)
eb8a51be blockchain_blackball: detect spent outputs by partial ring reuse (moneromooo-monero)
d6d276c6 blockchain_blackball: fix chain reaction phase in incremental mode (moneromooo-monero)
2b2a681b blockchain_blackball: avoid false positives for different amounts (moneromooo-monero)
80e4fef3 blockchain_blackball: set transaction looping txn to read only (moneromooo-monero)
4801d6b5 blockchain_blackball: add stats (moneromooo-monero)
846190fd blockchain_blackball: support pre-v2 databases (moneromooo-monero)
daa6cc7d blockchain_blackball: use LMDB for the cache (moneromooo-monero)
50cb370d ringdb: allow blackballing many outputs at once (moneromooo-monero)
2018-09-14 12:45:18 +02:00
Riccardo Spagni
885d3d5a99
Merge pull request #4254
...
de905d4b fuzz_tests: use __AFL_INIT when available (moneromooo-monero)
2018-09-14 12:44:47 +02:00
Riccardo Spagni
fa53b76129
Merge pull request #4251
...
cd236aeb Add bulletproof support (cslashm)
2018-09-14 12:39:40 +02:00
Riccardo Spagni
466f079586
Merge pull request #4232
...
9e6c7784 CMakeLists.txt: add -mmitigate-rop to security flags if found (moneromooo-monero)
2018-09-14 12:39:17 +02:00
Riccardo Spagni
438781afc4
Merge pull request #4221
...
62511df6 wallet2: fix refresh retry when a block/tx fails to parse (moneromooo-monero)
b219c24c wallet2: trim hash chain after fast refresh of hashes (moneromooo-monero)
5b6bcca3 wallet2: fix checking the wrong vector when adding hashes (moneromooo-monero)
2018-09-14 12:38:36 +02:00
Riccardo Spagni
d794abb8c5
Merge pull request #4208
...
2c636e45 simplewallet: handle transfers using a monero: URI (moneromooo-monero)
2018-09-14 12:36:27 +02:00
Riccardo Spagni
e8049be955
Merge pull request #4178
...
347bba9d CMakeLists.txt: detect -fcf-protection=full and -fstack-clash-protection (moneromooo-monero)
2018-09-14 12:20:32 +02:00
Riccardo Spagni
5fe6aa19f6
Merge pull request #4154
...
5019852a cn_deserialize: extract payment ids from extra nonce (moneromooo-monero)
2af1ec3a cn_deserialize: support pruned transactions (moneromooo-monero)
2018-09-14 12:20:10 +02:00
Riccardo Spagni
249feda4e1
Merge pull request #4147
...
a4d2d842 blockchain_depth: add average min depth (moneromooo-monero)
289880d8 blockchain_depth: get the average min depth of a set of txes (moneromooo-monero)
628428a0 blockchain_ancestry: faster and uses less memory (moneromooo-monero)
2382484d blockchain_ancestry: add an incremental mode (moneromooo-monero)
888324fa blockchain_ancestry: finds all ancestors of a tx, block, or chain (moneromooo-monero)
2018-09-14 12:19:44 +02:00
moneromooo-monero
607301bf6d
rct: avoid repeated unnecessary conversions when accummulating
2018-09-14 10:18:01 +00:00
moneromooo-monero
ac9346637a
rpc: add a "is an update available" flag in get_info
...
Make it easier for a user to be told when to update
2018-09-14 09:28:03 +00:00
moneromooo-monero
4d52ec0ca4
mlog: do not display http errors by default
...
They're controllable by potential attackers and would just spam
2018-09-14 09:23:00 +00:00
moneromooo-monero
2ace509a78
simplewallet: print reason why refresh+password is needed
2018-09-14 08:26:36 +00:00
cslashm
b4679f37f4
One build directory per branch/arch.
...
This proposal allows to perform multiple compilation from different branch/arch in
separate directories.
Example:
build
├── GNU_Linux
│ ├── multi-compilation
│ │ └── release
│ └── NanoS-USBHID
│ └── release
└── Msys
└── NanoS-USBHID
└── release
Edit 1:
Try to handle special char as : / \ .
--data-dir in unit test not yet tested
Edit 2:
donot use param for uname. -o is not supported by MacOS.
2018-09-13 17:36:31 +02:00
moneromooo-monero
4f81cd3a3c
rpc: add cumulative difficulty in block header data
2018-09-13 12:41:59 +00:00
moneromooo-monero
1660b0e72c
tx_pool: make the max tx size a consensus rule from v8
2018-09-13 09:43:29 +00:00
cslashm
cd236aebca
Add bulletproof support
2018-09-13 09:50:43 +02:00
Lee Clagett
55c7cd1458
Adding expect<T> - a value-or-error implementation
2018-09-12 22:44:34 +00:00
moneromooo-monero
b2bb9312a7
blockchain: simplify output distribution code
2018-09-12 19:20:16 +00:00
moneromooo-monero
befdcbf4be
db_lmdb: do not use base for cumulative distribution
...
it's confusing and needlessly complicated
2018-09-12 19:20:13 +00:00
stoffu
67a56a9f8b
rctTypes: fix incorrect serialization
2018-09-12 20:33:10 +09:00
moneromooo-monero
56b50faab2
wallet: use wipeable_string in more places where a secret is used
2018-09-12 09:26:11 +00:00
moneromooo-monero
07ec748c82
wipeable_string: add hex_to_pod function
2018-09-12 09:26:09 +00:00
Riccardo Spagni
11dbfbc5b3
Merge pull request #4342
...
6929b524 Windows: don't preset CMAKE_SYSTEM_NAME (iDunk5400)
2018-09-11 21:27:13 +02:00
Riccardo Spagni
157690caaa
Merge pull request #4352
...
0664a984 wallet_rpc_server: remove some unused code (moneroexamples)
2018-09-11 21:26:50 +02:00
thomasvaughan
bcda7adcd4
NetBSD support
2018-09-11 14:32:33 +00:00
Riccardo Spagni
e6d36c1701
Merge pull request #4219
...
9137ad2c blockchain: add a testnet v9 a day after v8 (moneromooo-monero)
ac4f71c2 wallet2: bump testnet rollback to account for coming reorg (moneromooo-monero)
8f418a6d bulletproofs: #include <openssl/bn.h> (moneromooo-monero)
2bf63650 bulletproofs: speed up the latest changes a bit (moneromooo-monero)
044dff5a bulletproofs: scale points by 8 to ensure subgroup validity (moneromooo-monero)
c83012c4 bulletproofs: match aggregated verification to sarang's latest prototype (moneromooo-monero)
ce0c7432 performance_tests: add padded bulletproof construction (moneromooo-monero)
1224e53b core_tests: add a test for 4-aggregated BP verification (moneromooo-monero)
0e6ed559 fuzz_tests: add a bulletproof fuzz test (moneromooo-monero)
463434d1 more comprehensive test for ge_p3 comparison to identity/point at infinity (moneromooo-monero)
d0a0565f unit_tests: add a few more multiexp unit tests (moneromooo-monero)
6526d87f core_tests: add a test for a tx with empty bulletproof (moneromooo-monero)
a129bbd9 multiexp: fix maxscalar off by one (moneromooo-monero)
7ed496cc ringct: error out when hashToPoint* returns the point at infinity (moneromooo-monero)
d1591853 cryptonote_basic: check output type before using it (moneromooo-monero)
61632dc1 ringct: prevent a potential very large allocation (moneromooo-monero)
a4317e61 crypto: some paranoid checks in generate_signature/check_signature (moneromooo-monero)
7434df1c crypto: never return zero in random32_unbiased (moneromooo-monero)
0825e974 multiexp: fix wrong Bos-Coster result for 1 non trivial input (moneromooo-monero)
a1359ad4 Check inputs to addKeys are in range (moneromooo-monero)
fe0fa3b9 bulletproofs: reject x, y, z, or w[i] being zero (moneromooo-monero)
5ffb2ff9 v8: per byte fee, pad bulletproofs, fixed 11 ring size (moneromooo-monero)
869b3bf8 bulletproofs: a few fixes from the Kudelski review (moneromooo-monero)
c4291762 bulletproofs: reject points not in the main subgroup (moneromooo-monero)
15697177 bulletproofs: speed up a few multiplies using existing Hi cache (moneromooo-monero)
0b05a0fa Add Pippenger cache and limit Straus cache size (moneromooo-monero)
51eb3bdc add pippenger unit tests (moneromooo-monero)
b17b8db3 performance_tests: add stats and loop count multiplier options (moneromooo-monero)
7314d919 perf_timer: split timer class into a base one and a logging one (moneromooo-monero)
d126a02b performance_tests: add aggregated bulletproof tx verification (moneromooo-monero)
263431c4 Pippenger multiexp (moneromooo-monero)
1ed0ed4d multiexp: cut down on memory allocations (moneromooo-monero)
1b867e7f precalc the ge_p3 representation of H (moneromooo-monero)
ef56529f performance_tests: document the tested bulletproof layouts (moneromooo-monero)
30111780 unit_tests: a couple more bulletproof unit tests for gamma (moneromooo-monero)
c444b1b2 require canonical multi output bulletproof layout (moneromooo-monero)
7e67c52f Add a define for the max number of bulletproof multi-outputs (moneromooo-monero)
2a8fcb42 Bulletproof aggregated verification and tests (moneromooo-monero)
126196b0 multiexp: some speedups (moneromooo-monero)
71d67bda aligned: aligned memory alloc/realloc/free (moneromooo-monero)
cb9ecab1 performance_tests: add signature generation/verification (moneromooo-monero)
bacf0a1e bulletproofs: add aggregated verification (moneromooo-monero)
e895c3de make straus cached mode thread safe, and add tests for it (moneromooo-monero)
7f48bf05 multiexp: bos coster now works for just one point (moneromooo-monero)
9ce9f8ca bulletproofs: add multi output bulletproofs to rct (moneromooo-monero)
f34e2e20 performance_tests: add tx checking tests with more than 2 outputs (moneromooo-monero)
0793184b performance_tests: add a --verbose flag, and default to terse (moneromooo-monero)
939bc223 add Straus multiexp (moneromooo-monero)
9ff6e6a0 ringct: add bos coster multiexp (moneromooo-monero)
e9164bb3 bulletproofs: misc optimizations (moneromooo-monero)
112f32f0 performance_tests: add crypto ops (moneromooo-monero)
f5d7b993 performance_tests: add bulletproofs (moneromooo-monero)
8f4ce989 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
1aa10c43 performance_tests: add (Borromean) range proofs (moneromooo-monero)
aacfd6e3 bulletproofs: multi-output bulletproofs (moneromooo-monero)
cb1cc757 performance_tests: don't override log level to 0 (moneromooo-monero)
2018-09-11 15:45:56 +02:00
moneromooo-monero
9137ad2c63
blockchain: add a testnet v9 a day after v8
...
So that bulletproofs become mandatory
2018-09-11 13:38:36 +00:00
moneromooo-monero
ac4f71c200
wallet2: bump testnet rollback to account for coming reorg
2018-09-11 13:38:35 +00:00
moneromooo-monero
8f418a6db0
bulletproofs: #include <openssl/bn.h>
...
Apparently needed for openssl 1.1.x
2018-09-11 13:38:34 +00:00
moneromooo-monero
2bf636503f
bulletproofs: speed up the latest changes a bit
2018-09-11 13:38:32 +00:00
moneromooo-monero
044dff5a30
bulletproofs: scale points by 8 to ensure subgroup validity
2018-09-11 13:38:31 +00:00
moneromooo-monero
c83012c476
bulletproofs: match aggregated verification to sarang's latest prototype
2018-09-11 13:38:30 +00:00
moneromooo-monero
ce0c743205
performance_tests: add padded bulletproof construction
2018-09-11 13:38:24 +00:00
moneromooo-monero
1224e53b74
core_tests: add a test for 4-aggregated BP verification
2018-09-11 13:38:22 +00:00
moneromooo-monero
0e6ed559c6
fuzz_tests: add a bulletproof fuzz test
2018-09-11 13:38:21 +00:00
moneromooo-monero
463434d1f7
more comprehensive test for ge_p3 comparison to identity/point at infinity
...
Reported by QuarksLab.
2018-09-11 13:38:20 +00:00
moneromooo-monero
d0a0565f7d
unit_tests: add a few more multiexp unit tests
2018-09-11 13:38:19 +00:00
moneromooo-monero
6526d87f17
core_tests: add a test for a tx with empty bulletproof
2018-09-11 13:38:18 +00:00
moneromooo-monero
a129bbd944
multiexp: fix maxscalar off by one
...
Reported by QuarksLab.
2018-09-11 13:38:17 +00:00
moneromooo-monero
7ed496cc78
ringct: error out when hashToPoint* returns the point at infinity
...
Reported by QuarksLab.
2018-09-11 13:38:16 +00:00
moneromooo-monero
d1591853bf
cryptonote_basic: check output type before using it
...
Reported by QuarksLab.
2018-09-11 13:38:15 +00:00
moneromooo-monero
61632dc166
ringct: prevent a potential very large allocation
...
Reported by QuarksLab.
2018-09-11 13:38:14 +00:00
moneromooo-monero
a4317e61b5
crypto: some paranoid checks in generate_signature/check_signature
...
Reported by QuarksLab.
2018-09-11 13:38:12 +00:00
moneromooo-monero
7434df1cc6
crypto: never return zero in random32_unbiased
...
This avoids problems when the caller can't deal with a zero
walue, which happens often enough that it's worth nipping the
problem in the bud.
2018-09-11 13:38:12 +00:00
moneromooo-monero
0825e97436
multiexp: fix wrong Bos-Coster result for 1 non trivial input
...
Reported by QuarksLab.
2018-09-11 13:38:10 +00:00
moneromooo-monero
a1359ad43c
Check inputs to addKeys are in range
...
Reported by QuarksLab.
2018-09-11 13:38:09 +00:00
moneromooo-monero
fe0fa3b9c5
bulletproofs: reject x, y, z, or w[i] being zero
...
Also try again when we're generate a proof with those characteristics
Reported by QuarksLab.
2018-09-11 13:38:08 +00:00
moneromooo-monero
5ffb2ff9b7
v8: per byte fee, pad bulletproofs, fixed 11 ring size
2018-09-11 13:38:07 +00:00
moneromooo-monero
869b3bf824
bulletproofs: a few fixes from the Kudelski review
...
- fix integer overflow in n_bulletproof_amounts
- check input scalars are in range
- remove use of environment variable to tweak straus performance
- do not use implementation defined signed shift for signum
2018-09-11 13:38:05 +00:00
moneromooo-monero
c429176248
bulletproofs: reject points not in the main subgroup
2018-09-11 13:38:04 +00:00
moneromooo-monero
1569717718
bulletproofs: speed up a few multiplies using existing Hi cache
2018-09-11 13:38:03 +00:00
moneromooo-monero
0b05a0fa74
Add Pippenger cache and limit Straus cache size
2018-09-11 13:38:02 +00:00
moneromooo-monero
51eb3bdcd6
add pippenger unit tests
2018-09-11 13:37:49 +00:00
moneromooo-monero
b17b8db3f5
performance_tests: add stats and loop count multiplier options
...
Stats are: min, median, standard deviation
2018-09-11 13:37:48 +00:00
moneromooo-monero
7314d919e7
perf_timer: split timer class into a base one and a logging one
2018-09-11 13:37:47 +00:00
moneromooo-monero
d126a02b5d
performance_tests: add aggregated bulletproof tx verification
2018-09-11 13:37:46 +00:00
moneromooo-monero
263431c486
Pippenger multiexp
...
Based on sarang's python code
2018-09-11 13:37:45 +00:00
moneromooo-monero
1ed0ed4de4
multiexp: cut down on memory allocations
2018-09-11 13:37:44 +00:00
moneromooo-monero
1b867e7f40
precalc the ge_p3 representation of H
2018-09-11 13:37:42 +00:00
moneromooo-monero
ef56529f93
performance_tests: document the tested bulletproof layouts
2018-09-11 13:37:41 +00:00
moneromooo-monero
3011178021
unit_tests: a couple more bulletproof unit tests for gamma
2018-09-11 13:37:40 +00:00
moneromooo-monero
c444b1b229
require canonical multi output bulletproof layout
2018-09-11 13:37:39 +00:00
moneromooo-monero
7e67c52fa2
Add a define for the max number of bulletproof multi-outputs
2018-09-11 13:37:38 +00:00
moneromooo-monero
2a8fcb421b
Bulletproof aggregated verification and tests
...
Also constrains bulletproofs to simple rct, for simplicity
2018-09-11 13:37:37 +00:00
moneromooo-monero
126196b017
multiexp: some speedups
...
- use a raw memory block to store cache
- use aligned memory
- use doubling API where appropriate
- calculate straus in bands
2018-09-11 13:37:35 +00:00
moneromooo-monero
71d67bda74
aligned: aligned memory alloc/realloc/free
2018-09-11 13:37:34 +00:00
moneromooo-monero
cb9ecab197
performance_tests: add signature generation/verification
2018-09-11 13:37:33 +00:00
moneromooo-monero
bacf0a1e2f
bulletproofs: add aggregated verification
...
Ported from sarang's java code
2018-09-11 13:37:32 +00:00
moneromooo-monero
e895c3def1
make straus cached mode thread safe, and add tests for it
2018-09-11 13:37:31 +00:00
moneromooo-monero
7f48bf05d7
multiexp: bos coster now works for just one point
2018-09-11 13:37:30 +00:00
moneromooo-monero
9ce9f8caf6
bulletproofs: add multi output bulletproofs to rct
2018-09-11 13:37:28 +00:00
moneromooo-monero
f34e2e20bd
performance_tests: add tx checking tests with more than 2 outputs
2018-09-11 13:37:27 +00:00
moneromooo-monero
0793184bd0
performance_tests: add a --verbose flag, and default to terse
2018-09-11 13:37:26 +00:00
moneromooo-monero
939bc22332
add Straus multiexp
2018-09-11 13:37:25 +00:00
moneromooo-monero
9ff6e6a0a7
ringct: add bos coster multiexp
2018-09-11 13:37:24 +00:00
moneromooo-monero
e9164bb38b
bulletproofs: misc optimizations
...
Use double mults where possible, avoid conversions, simplify
2018-09-11 13:37:23 +00:00
moneromooo-monero
112f32f068
performance_tests: add crypto ops
2018-09-11 13:37:22 +00:00
moneromooo-monero
f5d7b9933a
performance_tests: add bulletproofs
2018-09-11 13:37:21 +00:00
moneromooo-monero
8f4ce989c2
performance_tests: add RingCT MLSAG gen/ver tests
2018-09-11 13:37:19 +00:00
moneromooo-monero
1aa10c4364
performance_tests: add (Borromean) range proofs
2018-09-11 13:37:18 +00:00
moneromooo-monero
aacfd6e370
bulletproofs: multi-output bulletproofs
2018-09-11 13:37:17 +00:00
moneromooo-monero
cb1cc757ba
performance_tests: don't override log level to 0
2018-09-11 13:37:16 +00:00
Riccardo Spagni
f0ab4dc7b2
Merge pull request #4218
...
5fd83c13 Cryptonight variant 2 (SChernykh)
2018-09-11 15:22:25 +02:00
TheCharlatan
cbbf4d241b
Adapt translations to upstream changes
2018-09-10 22:18:18 +02:00
TheCharlatan
db5715468a
Updated pcsc url
2018-09-10 22:08:06 +02:00
TheCharlatan
f0ba19fde5
Add lrelease to the depends
...
This includes a minimal qt build without gui
2018-09-10 22:08:05 +02:00
luigi1111
ab85b924c9
Merge pull request #4293
...
9d65399 is_hdd update (p8p)
2018-09-10 15:07:02 -05:00
TheCharlatan
cfb3046222
Add Miniupnp submodule
...
Drop miniupnp and unbound depends builds. Make sure that build variables are propageted properly to unbound and miniupnp.
Rebase to after the v0.12 release
2018-09-10 22:05:37 +02:00
TheCharlatan
5f7da005a3
Unbound is now a submodule. Adapt depends for this.
...
Fix builds for native linux and windows
The architecture flag was set incorrectly.
It needs to be set only when compiling arm6.
2018-09-10 22:05:37 +02:00
TheCharlatan
d6b9bdd322
Update readmes to reflect the usage of depends
...
Explain the role of the SDK in the darwin build.
Add instructions to compile depends to the basic readme.
2018-09-10 22:05:37 +02:00
TheCharlatan
56b6e41ea7
Add support for apple and arm building
...
Add pcsc-lite to linux builds
Fixup windows icu4c linking with depends, the static libraries have an 's' appended to them
Compiling depends arm-linux-gnueabihf will allow you to compile armv6zk monero binaries
2018-09-10 22:05:36 +02:00
luigi1111
46bcd91db4
Merge pull request #4256
...
d6fc870 db_lmdb: resize blockchain database when 90% filled (moneromooo-monero)
2018-09-10 15:04:50 -05:00
TheCharlatan
29311fd140
Disable stack unwinding for mingw32 depends build.
2018-09-10 22:03:42 +02:00
TheCharlatan
8db3d5731b
Modify depends for monero's dependencies
...
Add readline, ldns, graphviz, unbound to depends packages
Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake
This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake
Add the boost locale package to depends
In the depends cmake toolchain file, a DEPENDS flag is added
to exclude, or change cmake checks done that are required for depends
Link miniupnpc and unwind from depends and not external
Add libiconv and icu4c to depends, required for mingw32 builds.
Headers (winsock) need to be lower case in order to compile on unix systems.
This should not affect building on windows.
2018-09-10 22:03:42 +02:00
TheCharlatan
0806a23a6e
Initial depends addition
...
Depends cross compiles project dependencies for linux, mac and windows and multiple architectures.
Depends is original work by Cory Fields and used in bitcoin and a wide range of bitcoin related projects.
2018-09-10 22:03:42 +02:00
luigi1111
36d7b1b67c
Merge pull request #4230
...
96c1de9 fixed cncrypto tests not passing after the change in random_scalar (msgmaxim)
2018-09-10 15:03:01 -05:00
luigi1111
55b9acfce5
Merge pull request #4007
...
54b859b wallet rpc: Add close_wallet RPC (glv2)
2018-09-10 15:00:21 -05:00
naughtyfox
26971d46fc
WalletAPI: 'hasMultisigPartialKeyImages' function added
2018-09-10 19:33:08 +03:00
naughtyfox
7a76354c8b
wallet2: import_multisig forward refresh exception
2018-09-10 18:45:37 +03:00
MoroccanMalinois
89202ce462
Docker android: add libsodium
2018-09-10 10:12:43 -04:00
MoroccanMalinois
e774f2498a
Docker android: use common prefix
2018-09-10 10:11:58 -04:00
moneromooo-monero
a54dbaee08
blockchain_blackball: add --force-chain-reaction-pass flag
2018-09-10 09:04:21 +00:00
moneromooo-monero
44439c3208
record blackballs as amount/offset, and add export ability
2018-09-10 09:04:18 +00:00
SChernykh
5fd83c13fb
Cryptonight variant 2
...
Contains two modifications to improve ASIC resistance: shuffle and integer math.
Shuffle makes use of the whole 64-byte cache line instead of 16 bytes only, making Cryptonight 4 times more demanding for memory bandwidth.
Integer math adds 64:32 bit integer division followed by 64 bit integer square root, adding large and unavoidable computational latency to the main loop.
More details and performance numbers: https://github.com/SChernykh/xmr-stak-cpu/blob/master/README.md
2018-09-09 20:43:01 +02:00
moneromooo-monero
8501b8dffb
crypto_ops_builder: link to EdDSA/Ed25519 draft RFC
...
instead of including the text, as it's not fully free to redistribute
2018-09-09 16:18:49 +00:00
moneromooo-monero
03c07b167d
rpc: return "already mining" in start_mining if already mining
2018-09-09 15:27:30 +00:00
moneroexamples
0664a98421
wallet_rpc_server: remove some unused code
2018-09-09 12:37:01 +00:00
moneromooo-monero
4bce935b40
blockchain_blackball: more optimizations
2018-09-09 12:03:02 +00:00
moneromooo-monero
b66ba78306
blockchain_blackball: do not process duplicate blockchains parts
2018-09-09 12:02:48 +00:00
moneromooo-monero
639a3c019c
blockchain_blackball: make it clear secondary passes are not incremental
...
yet
2018-09-09 12:02:42 +00:00
moneromooo-monero
eb8a51be68
blockchain_blackball: detect spent outputs by partial ring reuse
2018-09-09 12:02:39 +00:00
moneromooo-monero
d6d276c604
blockchain_blackball: fix chain reaction phase in incremental mode
...
It makes it a lot slower, unfortunately
2018-09-09 12:02:36 +00:00
moneromooo-monero
2b2a681b01
blockchain_blackball: avoid false positives for different amounts
...
Identical offset based rings may not actually be identical rings
since they represent different outputs
2018-09-09 12:02:32 +00:00
moneromooo-monero
80e4fef3c6
blockchain_blackball: set transaction looping txn to read only
2018-09-09 12:02:25 +00:00
moneromooo-monero
4801d6b514
blockchain_blackball: add stats
2018-09-09 12:02:02 +00:00
moneromooo-monero
846190fd18
blockchain_blackball: support pre-v2 databases
2018-09-09 12:01:59 +00:00
moneromooo-monero
daa6cc7d73
blockchain_blackball: use LMDB for the cache
...
This uses less memory and makes it faster to load/save, though
makes it slower to run (which is actually faster since it would
previously start swapping anyway).
2018-09-09 12:01:49 +00:00
moneromooo-monero
50cb370d5b
ringdb: allow blackballing many outputs at once
...
It cuts down on txn commits, and speeds up blackballing substantially
2018-09-09 12:01:43 +00:00
moneromooo-monero
347bba9dd1
CMakeLists.txt: detect -fcf-protection=full and -fstack-clash-protection
...
Introduced with GCC 8.2
2018-09-09 11:53:42 +00:00
moneromooo-monero
7418aa6005
README: bump cmake requirement to 3.5, as required by miniupnpc
2018-09-09 10:50:34 +00:00
moneromooo-monero
4469b0c41e
abstract_tcp_server2: fix binding to the wrong IP
2018-09-09 10:48:21 +00:00
moneromooo-monero
df0e7c2feb
wallet2: fix secondary partially signed multisig txes
2018-09-08 23:12:06 +00:00
moneromooo-monero
97764bae3a
wallet_rpc_server: error out if wallet-file and wallet-dir are both used
2018-09-08 20:54:14 +00:00
moneromooo-monero
cd647612b0
rpc: don't include start time if restricted
2018-09-07 13:28:40 +00:00
iDunk5400
6929b52426
Windows: don't preset CMAKE_SYSTEM_NAME
...
Let it be autodiscovered instead to avoid cmake thinking it's crosscompiling builds where host = target. This resolves a cmake configure error in MSYS2 caused by CMAKE_CROSSCOMPILING checks in #4294 .
2018-09-06 12:56:21 +02:00
Guillaume LE VAILLANT
54b859bea5
wallet rpc: Add close_wallet RPC
...
And close the current wallet automatically if necessary when opening another
wallet.
2018-09-05 16:52:16 +02:00
moneromooo-monero
e611728228
daemon: request no PoW hashes we don't need when asking for blocks
...
This fixes the horrendous slowdown in bc_dyn_stats
2018-09-05 09:43:44 +00:00
luigi1111
fad88e18a9
Merge pull request #4290
...
2bc977b CMakeLists.txt: disable -fstack-protector* on windows
2018-09-04 18:12:52 -05:00
luigi1111
e98e03566a
Merge pull request #4271
...
7c8f95d ringct: make conversion functions return const refs (moneromooo-monero)
2018-09-04 13:35:36 -05:00
luigi1111
ca4e477dc2
Merge pull request #4298
...
67666b1 unit_tests: disable mlocker tests on windows (no implementation) (moneromooo-monero)
2018-09-04 13:30:13 -05:00
luigi1111
6cc1ed8dc1
Merge pull request #4295
...
ce63d56 Windows: fix undefined references after unbound submodule update (iDunk5400)
2018-09-04 13:28:52 -05:00
moneromooo-monero
7c8f95d3e2
ringct: make conversion functions return const refs
...
This might avoid unnecessary copies.
Reported by stoffu
2018-09-04 18:28:20 +00:00
luigi1111
39bcb974c4
Merge pull request #4294
...
620105e Translations: handle cross compiling (MoroccanMalinois)
fa814af Build: Fix target release-static-android (MoroccanMalinois)
339a23a Docker: Fix android build (MorrocanMalinois)
2018-09-04 13:27:33 -05:00
luigi1111
03738fdde1
Merge pull request #4276
...
48a7bc4 tx_pool: fix infinite loop when failing to find a meta record (moneromooo-monero)
2018-09-04 13:25:44 -05:00
luigi1111
0722287774
Merge pull request #4275
...
2a100fd unit_tests: add tests for incremental keccak (moneromooo-monero)
2018-09-04 13:23:10 -05:00
luigi1111
b2038e24f0
Merge pull request #4274
...
11c6718 util: remove unused <ustat.h> (moneromooo-monero)
2018-09-04 13:21:53 -05:00
luigi1111
77ed11e627
Merge pull request #4270
...
29dea03 epee: resize vectors where possible in serialization (moneromooo-monero)
76affd9 epee: some speedup in parsing (moneromooo-monero)
dc6c069 db_lmdb: speedup the get_output_distribution common case (moneromooo-monero)
76ac5a8 wallet2: ask for a binary output distribution, for speed (moneromooo-monero)
2018-09-04 13:19:58 -05:00
luigi1111
59e6fb06f9
Merge pull request #4269
...
3d5abbe [#4027 ] add change_wallet_password wallet rpc command (artyomsol)
2018-09-04 13:17:40 -05:00
luigi1111
5f1bbe3bce
Merge pull request #4268
...
1f2409e Do memwipe for critical secret keys copied to rct::key (stoffu)
2018-09-04 13:16:04 -05:00
luigi1111
ad5aabc85a
Merge pull request #4264
...
0c8d8f6 unit_tests: remove std::move in return statement (moneromooo-monero)
2018-09-04 13:14:08 -05:00
luigi1111
085b6ba98e
Merge pull request #4263
...
5ed6669 wallet_rpc_server: remove unused amount_keys field in transfer RPC (moneromooo-monero)
2018-09-04 13:12:48 -05:00
luigi1111
8bbae77134
Merge pull request #4262
...
c3c14f3 simplewallet: allow named priority levels for default-priority (moneromooo-monero)
2018-09-04 13:11:18 -05:00
luigi1111
e4378ed8aa
Merge pull request #4259
...
4e08100 Incremental Keccak API added (pr4r05)
2018-09-04 13:09:48 -05:00
luigi1111
59dc37a1b0
Merge pull request #4257
...
b21fdaa fuzz: set address properly (stoffu)
2018-09-04 13:07:11 -05:00
luigi1111
6d4d4ddb68
Merge pull request #4252
...
ac09cfa wallet2: remove obsolete pruned/unpruned case (moneromooo-monero)
2018-09-04 13:05:12 -05:00
luigi1111
88e5ed0072
Merge pull request #4245
...
8ca1215 wallet: store trusted-daemon flag in wallet2 (stoffu)
2018-09-04 13:03:37 -05:00
luigi1111
46d8bc2a33
Merge pull request #4160
...
704b60c block_queue: faster check whether a block was requested (moneromooo-monero)
2018-09-04 13:02:09 -05:00
stoffu
5f8f56315c
wallet2.get_reserve_proof: throw when specified amount is zero
2018-09-04 13:00:38 +09:00
moneromooo-monero
20171746de
wallet2: factor the creation of a new wallet keys file
2018-09-03 11:27:46 +00:00
moneromooo-monero
be6acfd5be
wallet2: factor new blockchain setup
2018-09-03 11:27:43 +00:00
moneromooo-monero
88fbc4a567
wallet2: fill in v2 height for stagenet
2018-09-03 11:26:28 +00:00
moneromooo-monero
93e7627d5a
cryptonote_format_utils: do not early out on invalid tx pubkeys
...
Another such pubkey might be valid
2018-09-02 23:00:44 +00:00
el00ruobuob
45c85c89de
remove unused fields from relay_tx RPC
2018-09-02 23:50:31 +02:00
moneromooo-monero
4e1e9a607e
blockchain: add mainnet v8 height targetting 18 october
...
and v9 a day later
2018-09-02 16:02:17 +00:00
HomDx
9a66d9f48b
Docker: Updated dependencies cmake 3.12.1 and boost 1.68
2018-09-01 22:20:12 +03:00
Dusan Klinec
76f95f052e
rpc: allow to pass RPC login via RPC_LOGIN env var
...
- passing by parameter is insecure as it is shown in the process list
2018-08-31 15:51:59 +02:00
moneromooo-monero
f0bc684ccd
mnemonics: fix outrageous compile time with CLANG in release
...
from several minutes to 10-15 seconds
2018-08-29 09:53:48 +00:00
moneromooo-monero
2c636e45f2
simplewallet: handle transfers using a monero: URI
2018-08-28 19:55:49 +00:00
moneromooo-monero
5083614ffa
dns_util: add new DNSSEC trust anchor for rollover
...
It should be useful from the 11th of october 2018.
The old key is still trusted for now.
https://www.icann.org/resources/pages/ksk-rollover
2018-08-28 11:29:51 +00:00
moneromooo-monero
8eab6147f4
epee: use the socket::bind variant which does not throw
...
When this throws in a loop, stack trace generation can take
a significant amount of CPU
2018-08-27 17:02:07 +00:00
moneromooo-monero
5019852adc
cn_deserialize: extract payment ids from extra nonce
2018-08-25 18:39:48 +00:00
moneromooo-monero
2af1ec3af7
cn_deserialize: support pruned transactions
2018-08-25 18:39:45 +00:00
p8p
9d6539923e
is_hdd update
2018-08-25 04:31:22 -07:00
moneromooo-monero
67666b14ba
unit_tests: disable mlocker tests on windows (no implementation)
2018-08-23 21:59:33 +00:00
luigi1111
91c7d68b2d
Merge pull request #4223
...
c955257 electrum-words: fix bytes_to_words on big endian (moneromooo-monero)
2018-08-23 14:04:26 -05:00
luigi1111
fa7cdd6420
Merge pull request #3999
...
d2e26c2 add and use constant time 32 byte equality function (moneromooo-monero)
2018-08-23 14:03:09 -05:00
iDunk5400
ce63d5634e
Windows: fix undefined references after unbound submodule update
2018-08-23 11:17:42 +02:00
moneromooo-monero
c955257c4a
electrum-words: fix bytes_to_words on big endian
...
Reported by cslashm
2018-08-23 07:58:23 +00:00
moneromooo-monero
d2e26c23f3
add and use constant time 32 byte equality function
2018-08-23 07:56:51 +00:00
stoffu
8ca1215f25
wallet: store trusted-daemon flag in wallet2
2018-08-23 14:55:09 +09:00
luigi1111
510dbf3329
Merge pull request #4249
...
77655b0 simplewallet: Simplify LOCK_IDLE_SCOPE macro (rbrunner7)
2018-08-22 21:07:00 -05:00
luigi1111
1db7a29e12
Merge pull request #4247
...
10475ab node_rpc_proxy: fix fork earliest height caching [RYO backport] (fireice-uk)
2018-08-22 21:04:34 -05:00
luigi1111
04845b1868
Merge pull request #4243
...
95766fe README: add dependency on libpgm-dev (stoffu)
2018-08-22 21:01:25 -05:00
luigi1111
2e7bfd0de5
Merge pull request #4242
...
6fcdc9e rpc-wallet: refresh command added (ph4r05)
2018-08-22 21:00:10 -05:00
luigi1111
ec6982f8eb
Merge pull request #4240
...
83f5587 blockchain: use uint64_t for height, not size_t (moneromooo-monero)
2018-08-22 20:58:55 -05:00
luigi1111
e07ace0896
Merge pull request #4235
...
3411326 Docker: updated cmake version (homdx)
13a43fc Added Codefresh.yml pipeline (homdx)
2018-08-22 20:57:45 -05:00
luigi1111
1eed62c618
Merge pull request #4234
...
5dd0384 Updating Qt download link (Jkat)
2018-08-22 20:55:56 -05:00
luigi1111
b0c00b0752
Merge pull request #4231
...
3e914ad simplewallet: add a warning and prompt on rescan_blockchain (moneromooo-monero)
2018-08-22 20:55:00 -05:00
luigi1111
3f662876e6
Merge pull request #4225
...
2fd9be1 simplewallet: correct number of human-readable months (rbrunner7)
2018-08-22 20:52:43 -05:00
luigi1111
4e6187faf3
Merge pull request #4224
...
c5e2aee updates: fix hash sanity checking (moneromooo-monero)
2018-08-22 20:51:32 -05:00
luigi1111
17eefe7928
Merge pull request #4215
...
b0b6959 update README to change all 0.12.2 to 0.12.3 (Gingeropolous)
2018-08-22 20:50:08 -05:00
luigi1111
89645ec86e
Merge pull request #4214
...
3411326 Docker: updated cmake version (homdx)
2018-08-22 20:48:35 -05:00
luigi1111
a5d21be843
Merge pull request #4210
...
4616cf2 Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST (vtnerd)
2018-08-22 20:47:28 -05:00
luigi1111
0d415ff638
Merge pull request #4207
...
ce9457a cryptonote_protocol: don't serialize an unneeded new block message (moneromooo-monero)
2018-08-22 20:45:09 -05:00
luigi1111
4a4ea78ecd
Merge pull request #4204
...
b278b83 core: sync database based on bytes added, not blocks added (moneromooo-monero)
2018-08-22 20:43:51 -05:00
luigi1111
6e8e4fb3b7
Merge pull request #4202
...
8439306 wallet2: do not divide by 0 on invalid daemon response (moneromooo-monero)
2018-08-22 20:42:20 -05:00
luigi1111
7e4507a048
Merge pull request #4200
...
43f7110 blockchain_db: remove unused get_output_key variant (moneromooo-monero)
2018-08-22 20:40:37 -05:00
luigi1111
140eb78231
Merge pull request #4179
...
262e391 mlog: handle filenames without parent directories (moneromooo-monero)
2018-08-22 20:39:09 -05:00
luigi1111
1eebb3d8fc
Merge pull request #4146
...
82d1b74 core: cache block template where possible (moneromooo-monero)
2018-08-22 20:37:06 -05:00
luigi1111
13a34faeb0
Merge pull request #4131
...
ea37614 wallet: wipe seed from memory where appropriate (moneromooo-monero)
e9ffa91 store secret keys encrypted where possible (moneromooo-monero)
70271fa common: add a class to safely wrap mlock/munlock (moneromooo-monero)
ab74dc2 crypto: make secret_key automatically mlock (moneromooo-monero)
2018-08-22 20:32:55 -05:00
luigi1111
68813d2694
Merge pull request #4105
...
e2311db Build: bump rapidjson to 129d19b
78a6690 Build: bump unbound to 1.7.3
4e409be Build: bump miniupnp to 2.1
2018-08-22 20:27:43 -05:00
MoroccanMalinois
339a23a85e
Docker: Fix android build
2018-08-22 21:21:34 +00:00
Dusan Klinec
6fcdc9e0b2
rpc-wallet: refresh command added
2018-08-22 16:57:55 +02:00
moneromooo-monero
62511df622
wallet2: fix refresh retry when a block/tx fails to parse
...
It would switch to a new set of blocks and fail, getting out of sync
with the hash chain in the process
2018-08-22 09:57:46 +00:00
moneromooo-monero
b219c24c3a
wallet2: trim hash chain after fast refresh of hashes
...
This ensures it can't end up filled with the actual placeholders
2018-08-22 09:57:42 +00:00
moneromooo-monero
5b6bcca32a
wallet2: fix checking the wrong vector when adding hashes
...
The two vectors should be the same size anyway, so add an assert
to catch any case where they aren't
2018-08-22 09:57:39 +00:00
MoroccanMalinois
fa814af969
Build: Fix target release-static-android
2018-08-21 23:25:14 +00:00
MoroccanMalinois
620105ecaf
Translations: handle cross compiling
2018-08-21 23:22:33 +00:00
iDunk5400
2bc977bab9
CMakeLists.txt: disable -fstack-protector* on windows
...
Current GCC produces broken binaries with these options
2018-08-21 22:41:35 +00:00
moneromooo-monero
2a100fd81f
unit_tests: add tests for incremental keccak
2018-08-20 08:47:31 +00:00
moneromooo-monero
48a7bc4280
tx_pool: fix infinite loop when failing to find a meta record
2018-08-19 17:47:05 +00:00
moneromooo-monero
76ac5a8fbe
wallet2: ask for a binary output distribution, for speed
2018-08-19 15:58:25 +00:00
moneromooo-monero
dc6c0696fd
db_lmdb: speedup the get_output_distribution common case
2018-08-19 15:58:21 +00:00
moneromooo-monero
76affd941b
epee: some speedup in parsing
2018-08-19 15:29:01 +00:00
moneromooo-monero
11c6718865
util: remove unused <ustat.h>
...
It's obsolete and removed from at least Arch Linux 8.2
Reported by moneroexamples
2018-08-17 13:06:38 +00:00
artyomsol
3d5abbe86b
[ #4027 ] add change_wallet_password wallet rpc command
2018-08-17 09:54:26 +03:00
moneromooo-monero
29dea03091
epee: resize vectors where possible in serialization
...
to avoid unnecessary repeated reallocation
2018-08-17 01:08:52 +00:00
stoffu
1f2409e9e2
Do memwipe for critical secret keys copied to rct::key
2018-08-16 22:26:30 +09:00
moneromooo-monero
82d1b74500
core: cache block template where possible
...
This avoids constant rechecking of the same things each time
a miner asks for the block template. The tx pool maintains
a cookie to allow users to detect when the pool state changed,
which means the block template needs rebuilding.
2018-08-16 12:44:33 +00:00
moneromooo-monero
ab74dc277a
crypto: make secret_key automatically mlock
2018-08-16 11:57:49 +00:00
moneromooo-monero
70271fa788
common: add a class to safely wrap mlock/munlock
...
This class will allow mlocking small objects, of which there
may be several per page. It adds refcounting so pages are only
munlocked when the last object on that page munlocks.
2018-08-16 11:57:46 +00:00
moneromooo-monero
e9ffa91257
store secret keys encrypted where possible
...
The secret spend key is kept encrypted in memory, and
decrypted on the fly when needed.
Both spend and view secret keys are kept encrypted in a JSON
field in the keys file. This avoids leaving the keys in
memory due to being manipulated by the JSON I/O API.
2018-08-16 11:57:43 +00:00
moneromooo-monero
ea37614efe
wallet: wipe seed from memory where appropriate
2018-08-16 09:17:52 +00:00
luigi1111
b780cf4db1
Merge pull request #4191
...
a64f57f wallet2: make --restricted-rpc available for wallet RPC only (stoffu)
2018-08-15 20:11:54 -05:00
stoffu
a64f57fe42
wallet2: make --restricted-rpc available for wallet RPC only
2018-08-16 09:54:23 +09:00
luigi1111
4d66939791
Merge pull request #4196
...
361513a blockchain_blackball: use a bit less memory (moneromooo-monero)
2018-08-15 18:13:08 -05:00
luigi1111
41e583b0a2
Merge pull request #4195
...
f13c7a8 simplewallet: make sure wallet config is stored right after creation (stoffu)
2018-08-15 17:58:24 -05:00
luigi1111
e69e0e9e34
Merge pull request #4194
...
0f75717 wallet2: avoid using arbitrary random values when unknown (moneromooo-monero)
2018-08-15 17:56:23 -05:00
luigi1111
1c55a3756b
Merge pull request #4193
...
4520cfd wallet2: guard against bad outputs in import_outputs (moneromooo-monero)
2018-08-15 17:54:49 -05:00
luigi1111
05485bd1c5
Merge pull request #4192
...
5860611 blockchain_blackball: allow resumable interrupt with ^C (moneromooo-monero)
2018-08-15 17:53:42 -05:00
luigi1111
8d2e454929
Merge pull request #4188
...
a3fe1c5 simplewallet: add set_tx_key for importing tx keys from 3rd party wallets (stoffu)
2018-08-15 17:47:05 -05:00
luigi1111
b82bcdea2d
Merge pull request #4186
...
c8226ad unit_tests: use valid key images, pub keys, etc (moneromooo-monero)
2018-08-15 17:44:34 -05:00
luigi1111
0415863747
Merge pull request #4177
...
e7c0fcd epee: set jsonrpc to '2.0' in parse error return data (moneromooo-monero)
2018-08-15 17:42:09 -05:00
luigi1111
7aa2030cee
Merge pull request #4174
...
ff37bd0 wallet2: fix O(n^2) behaviour in import_key_images (moneromooo-monero)
2018-08-15 17:40:55 -05:00
luigi1111
b531858c02
Merge pull request #4173
...
3940e12 daemon.print_bc: don't print difficulty twice (stoffu)
2018-08-15 17:39:35 -05:00
luigi1111
2102e6c738
Merge pull request #4172
...
3a4c3ac simplewallet.unspent_outputs: fix wrong logic for parsing (stoffu)
2018-08-15 17:38:36 -05:00
luigi1111
a68143bc52
Merge pull request #4171
...
9127a8b wallet-rpc: filter getbalance response by address index (stoffu)
2018-08-15 17:37:23 -05:00
luigi1111
564e9c3b5f
Merge pull request #4170
...
1c6cfd3 wallet-rpc: add get_address_index command (stoffu)
2018-08-15 17:35:49 -05:00
luigi1111
8c4b3f3736
Merge pull request #4166
...
5e675de simplewallet: fix language detection when using --use-english-language-names (moneromooo-monero)
2018-08-15 17:34:29 -05:00
luigi1111
01475c36c0
Merge pull request #4165
...
68b1197 tests: ringdb: use system's temporary dir path (radfish)
2018-08-15 17:33:06 -05:00
luigi1111
fd3b71129b
Merge pull request #4164
...
8e24533 blockchain: some batch tx scanning speedup (moneromooo-monero)
2018-08-15 17:31:24 -05:00
luigi1111
2530dc6710
Merge pull request #4161
...
be02eb9 db_lmdb: demote the 'batch already enabled' log, it's harmless (moneromooo-monero)
2018-08-15 17:27:48 -05:00
luigi1111
e7328ed5b7
Merge pull request #4158
...
7db7ec8 wallet rpc: support making integrated address of given standard address (stoffu)
2018-08-15 17:25:19 -05:00
luigi1111
5e795ee7af
Merge pull request #4153
...
37f0799 wallet: distinguish coinbase from other txes in show_transfers (moneromooo-monero)
2018-08-15 17:23:56 -05:00
luigi1111
2a44c2defd
Merge pull request #4150
...
f2e65c6 wallet2: consider minimum fee when testing if balance is sufficient (stoffu)
2018-08-15 17:22:36 -05:00
luigi1111
dc7dd56867
Merge pull request #4148
...
fead7eb Clarification of boolean options in config file (jonathancross)
2018-08-15 17:21:10 -05:00
luigi1111
88369c6685
Merge pull request #4138
...
7f8bdeb easylogging++: make the logger handle early/late logging (moneromooo-monero)
bc8cbdb stack_trace: print stack traces on stdout if the logger isn't live (moneromooo-monero)
2018-08-15 17:19:04 -05:00
luigi1111
5295e4eb82
Merge pull request #4137
...
63e342b crypto: move null_pkey/null_skey to the cpp file (moneromooo-monero)
0496c7c crypto: do not use boost::value_initialized to init null skey/pkey (moneromooo-monero)
2018-08-15 17:17:34 -05:00
luigi1111
1d2c08610b
Merge pull request #4136
...
4307489 wallet: disable core dumps on startup in release mode (moneromooo-monero)
2018-08-15 17:15:49 -05:00
luigi1111
3b409a3b8a
Merge pull request #4130
...
979105b abstract_tcp_server2: fix race on shutdown (moneromooo-monero)
2018-08-15 17:13:35 -05:00
luigi1111
ad13b6d25a
Merge pull request #4106
...
20eb192 simplewallet: reword 'seed encryption' to 'seed offset' (moneromooo-monero)
2018-08-15 17:12:12 -05:00
luigi1111
017e07a035
Merge pull request #4103
...
bcab579 wallet: allow adjusting number of rounds for the key derivation function (stoffu)
2018-08-15 17:09:52 -05:00
luigi1111
dd966c8a3a
Merge pull request #4090
...
42f3b7c http_protocol_handler: catch invalid numbers when parsing (moneromooo-monero)
0a4a7da http_protocol_handler: fix HTTP/x.y parsing (moneromooo-monero)
2018-08-15 17:08:10 -05:00
luigi1111
b586ae1310
Merge pull request #4089
...
909398e p2p: connect via the bound ip, if any (moneromooo-monero)
2018-08-15 17:06:17 -05:00
luigi1111
dd8354aa08
Merge pull request #4024
...
5a2864c simplewallet: fix delay when setting auto-refresh off (moneromooo-monero)
2018-08-15 17:05:14 -05:00
luigi1111
4745e3be22
Merge pull request #4020
...
c24a0af [monerod] Added blocks remaining count during syncronisation. (Jorropo)
2018-08-15 17:03:35 -05:00
luigi1111
4cde4cb946
Merge pull request #3528
...
34d4b79 wallet2: use a gamma distribution to pick fake outs (moneromooo-monero)
2018-08-15 17:00:32 -05:00
Dusan Klinec
4e081001c0
Incremental Keccak API added
...
- needed for TREZOR integration
2018-08-15 18:20:22 +02:00
moneromooo-monero
0c8d8f6b2e
unit_tests: remove std::move in return statement
...
This actually prevents copy elision
2018-08-15 13:38:47 +00:00
moneromooo-monero
5ed6669130
wallet_rpc_server: remove unused amount_keys field in transfer RPC
2018-08-15 12:47:33 +00:00
moneromooo-monero
c3c14f3083
simplewallet: allow named priority levels for default-priority
...
to match those used by the various transfer functions
2018-08-15 12:16:17 +00:00
stoffu
b21fdaa874
fuzz: set address properly
2018-08-14 20:17:51 +09:00
moneromooo-monero
d6fc870d04
db_lmdb: resize blockchain database when 90% filled
...
instead of a random ratio from 60% to 90%.
2018-08-14 08:55:49 +00:00
moneromooo-monero
de905d4b48
fuzz_tests: use __AFL_INIT when available
...
alleged to speed things up
2018-08-13 22:13:56 +00:00
fireice-uk
10475ab23f
node_rpc_proxy: fix fork earliest height caching [RYO backport]
...
xref https://github.com/ryo-currency/ryo-currency/pull/86
2018-08-13 22:16:17 +02:00
rbrunner7
77655b0a0e
simplewallet: Simplify LOCK_IDLE_SCOPE macro
2018-08-13 21:21:24 +02:00
moneromooo-monero
ac09cfa6be
wallet2: remove obsolete pruned/unpruned case
...
All daemons will not support pruned blocks
2018-08-13 13:17:27 +00:00
moneromooo-monero
4307489147
wallet: disable core dumps on startup in release mode
2018-08-12 16:28:10 +00:00
moneromooo-monero
bc8cbdb25d
stack_trace: print stack traces on stdout if the logger isn't live
2018-08-12 16:18:07 +00:00
moneromooo-monero
b278b83860
core: sync database based on bytes added, not blocks added
...
Blocks have a very wide range, whereas actual size is the relevant
quantity to consider when syncing
2018-08-12 16:13:46 +00:00
stoffu
95766fe878
README: add dependency on libpgm-dev
2018-08-12 20:12:41 +09:00
moneromooo-monero
83f5587167
blockchain: use uint64_t for height, not size_t
2018-08-09 17:09:26 +00:00
moneromooo-monero
361513ac81
blockchain_blackball: use a bit less memory
2018-08-09 14:50:20 +00:00
moneromooo-monero
ce9457a379
cryptonote_protocol: don't serialize an unneeded new block message
...
Non fluffy block nodes should now be very rare
2018-08-09 14:45:31 +00:00
HomDx
13a43fcf0b
Added Codefresh.yml pipeline
2018-08-08 20:11:04 +03:00
moneromooo-monero
a4d2d84209
blockchain_depth: add average min depth
2018-08-07 21:20:54 +00:00
moneromooo-monero
289880d82d
blockchain_depth: get the average min depth of a set of txes
2018-08-07 21:20:49 +00:00
Jkat
5dd03846b6
Updating Qt download link
2018-08-07 17:07:58 -04:00
stoffu
bcab579864
wallet: allow adjusting number of rounds for the key derivation function
2018-08-08 01:56:54 +09:00
moneromooo-monero
9e6c7784ea
CMakeLists.txt: add -mmitigate-rop to security flags if found
...
This is GCC/x86/x86_64 only
2018-08-07 13:05:52 +00:00
moneromooo-monero
3e914ad831
simplewallet: add a warning and prompt on rescan_blockchain
...
Many people are using this as a "let's see what this does" command
when something doesn't work as they thought it should, and thus
destroying info that they might still need.
2018-08-07 12:49:23 +00:00
Maxim Shishmarev
96c1de979a
fixed cncrypto tests not passing after the change in random_scalar
2018-08-07 15:58:40 +10:00
rbrunner7
2fd9be1646
simplewallet: correct number of human-readable months
2018-08-05 09:58:33 +02:00
moneromooo-monero
c5e2aee961
updates: fix hash sanity checking
2018-08-05 00:19:45 +00:00
Lee Clagett
26a42fe54a
Added features to epee::span<T> :
...
- Support for classes
- Added `remove_prefix` function
- Added `to_mut_span` and `as_mut_byte_span`
2018-08-03 20:33:07 -04:00
moneromooo-monero
37f0799284
wallet: distinguish coinbase from other txes in show_transfers
2018-08-03 12:48:16 +00:00
Gingeropolous
b0b6959c1d
update README to change all 0.12.2 to 0.12.3
...
I didn't change the minimum version in the table though, because 0.12.0 will work for this block version
2018-08-02 23:25:03 -04:00
HomDx
3411326a04
Docker: updated cmake version
2018-08-02 23:29:01 +03:00
Lee Clagett
4616cf2641
Fixed ZMQ-RPC for transactions and GET_BLOCKS_FAST
2018-08-02 07:30:20 +00:00
moneromooo-monero
8439306212
wallet2: do not divide by 0 on invalid daemon response
2018-07-31 14:26:00 +00:00
stoffu
1c6cfd34f4
wallet-rpc: add get_address_index command
2018-07-31 21:36:12 +09:00
stoffu
9127a8b79f
wallet-rpc: filter getbalance response by address index
2018-07-31 20:45:41 +09:00
moneromooo-monero
43f71100bc
blockchain_db: remove unused get_output_key variant
...
It was actually incorrect, as it would not return commitment
2018-07-30 21:57:47 +00:00
moneromooo-monero
628428a0df
blockchain_ancestry: faster and uses less memory
2018-07-30 21:39:25 +01:00
moneromooo-monero
2382484dcd
blockchain_ancestry: add an incremental mode
2018-07-30 21:39:22 +01:00
moneromooo-monero
888324fa57
blockchain_ancestry: finds all ancestors of a tx, block, or chain
2018-07-30 21:39:18 +01:00
moneromooo-monero
0f757177fe
wallet2: avoid using arbitrary random values when unknown
2018-07-30 13:34:15 +01:00
moneromooo-monero
4520cfd978
wallet2: guard against bad outputs in import_outputs
...
also some minor speedup
2018-07-30 13:21:58 +01:00
stoffu
a3fe1c56ee
simplewallet: add set_tx_key for importing tx keys from 3rd party wallets
2018-07-30 20:50:05 +09:00
stoffu
f13c7a8263
simplewallet: make sure wallet config is stored right after creation
2018-07-30 20:39:05 +09:00
moneromooo-monero
5860611afa
blockchain_blackball: allow resumable interrupt with ^C
2018-07-30 11:14:45 +01:00
moneromooo-monero
c8226ad1f7
unit_tests: use valid key images, pub keys, etc
2018-07-28 19:39:59 +01:00
luigi1111
0dddfeacc9
Merge pull request #4129
...
ee31383 db_lmdb: don't sync a read only DB (moneromooo-monero)
2018-07-27 14:30:57 -05:00
luigi1111
21b1fa1c35
Merge pull request #4126
...
8d578f1 memwipe: don't call the workhorse for 0 bytes (moneromooo-monero)
2018-07-27 14:29:55 -05:00
luigi1111
ff01c3ade4
Merge pull request #4110
...
639ca3b core_tests: add --filter to select which tests to run (moneromooo-monero)
2018-07-27 14:28:49 -05:00
luigi1111
f739a3cbb8
Merge pull request #4109
...
2951436 wallet: warn when payment IDs are used (moneromooo-monero)
2018-07-27 14:27:47 -05:00
luigi1111
dda05f357a
Merge pull request #4108
...
8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero)
2018-07-27 14:26:01 -05:00
luigi1111
8eb5b0be36
Merge pull request #4098
...
96f8c62 README: remove mentions of external miniupnpc dependency (moneromooo-monero)
2018-07-27 14:25:02 -05:00
luigi1111
3fde902394
Merge pull request #4097
...
61caab8 crypto: remove slight bias in key generation due to modulo (moneromooo-monero)
2018-07-27 14:23:54 -05:00
luigi1111
92b5d6c204
Merge pull request #4091
...
a4272de wallet2: unlock keys file before calling verify_password (needed for Windows) (stoffu)
2018-07-27 14:22:34 -05:00
luigi1111
b293c487fb
Merge pull request #3629
...
ed7825d monero-wallet-cli: added locked_sweep_all command (jcktm)
2018-07-27 14:20:23 -05:00
moneromooo-monero
262e391fb1
mlog: handle filenames without parent directories
...
eg, --log-file=foo.log
This would otherwise throw and crash with a stack overflow
2018-07-26 22:49:54 +01:00
moneromooo-monero
e7c0fcd8f3
epee: set jsonrpc to "2.0" in parse error return data
2018-07-25 23:00:19 +01:00
Jorropo
c24a0af9f1
[monerod] Added blocks remaining count during syncronisation.
...
And percent if usefull (% < 99)
2018-07-25 10:16:01 +02:00
moneromooo-monero
ff37bd00bc
wallet2: fix O(n^2) behaviour in import_key_images
...
That takes a lot of time for even not so large wallets
2018-07-24 14:34:19 +01:00
stoffu
3940e12933
daemon.print_bc: don't print difficulty twice
2018-07-24 16:17:49 +09:00
stoffu
3a4c3ac891
simplewallet.unspent_outputs: fix wrong logic for parsing
2018-07-24 13:32:58 +09:00
jcktm
ed7825dc0c
monero-wallet-cli: added locked_sweep_all command
2018-07-23 10:35:58 +10:00
redfish
68b1197f5d
tests: ringdb: use system's temporary dir path
...
Fixes failing test during Arch package build (due to attempt to write to
~/.bitmonero/...).
Prefix temp dir path with "monero-" because we are not putting it on the
system, so good to identify ourselves in case the dir gets left over due
to crash, etc.
2018-07-22 14:14:54 -04:00
moneromooo-monero
5e675de7c2
simplewallet: fix language detection when using --use-english-language-names
2018-07-22 14:26:38 +01:00
moneromooo-monero
8e24533a7f
blockchain: some batch tx scanning speedup
2018-07-21 12:05:12 +01:00
moneromooo-monero
be02eb9389
db_lmdb: demote the "batch already enabled" log, it's harmless
2018-07-20 23:41:40 +01:00
moneromooo-monero
0496c7c91a
crypto: do not use boost::value_initialized to init null skey/pkey
2018-07-20 23:06:22 +01:00
moneromooo-monero
704b60caf0
block_queue: faster check whether a block was requested
2018-07-20 16:05:56 +01:00
stoffu
7db7ec8591
wallet rpc: support making integrated address of given standard address
2018-07-20 21:33:36 +09:00
luigi1111
702a41034d
Merge pull request #4088
...
8c4db68 node_rpc_proxy: factor a few RPC calls using get_info (moneromooo-monero)
2018-07-19 14:15:16 -05:00
luigi1111
5c102c60dc
Merge pull request #4087
...
d6440ab wallet2: recover from index out of hashchain bounds error (moneromooo-monero)
2018-07-19 14:14:10 -05:00
luigi1111
61eea83978
Merge pull request #4081
...
d95bc44 blockchain: fix getting invalid block data on failure (moneromooo-monero)
2018-07-19 14:12:30 -05:00
luigi1111
9474567d76
Merge pull request #4076
...
aa0ea0a blockchain: set the m_verifivation_failed flag in a couple more places (moneromooo-monero)
2018-07-19 14:11:24 -05:00
luigi1111
f6d7e87b67
Merge pull request #4075
...
438d52d remove epee from link lines where it's redundant (moneromooo-monero)
2018-07-19 14:10:20 -05:00
luigi1111
326437c5ff
Merge pull request #4074
...
ef649f9 crypto: remove unused unsafe random scalar generator (moneromooo-monero)
2018-07-19 14:08:56 -05:00
luigi1111
5fad1c505a
Merge pull request #4073
...
3474154 gtest: use -fPIC with CLANG too (moneromooo-monero)
2018-07-19 14:07:49 -05:00
luigi1111
be81a27fa4
Merge pull request #4071
...
d6d78f1 Allow fractional outputs to be ignored (stoffu)
2018-07-19 14:06:54 -05:00
luigi1111
173f7b8f42
Merge pull request #4064
...
80d7c6c blockchain_utilities: report file offset where a read error occurs (moneromooo-monero)
2018-07-19 14:05:51 -05:00
luigi1111
69502c4040
Merge pull request #4062
...
13851b2 simplewallet.sweep_all: show usage when parsing fails (stoffu)
2018-07-19 14:04:42 -05:00
luigi1111
007b835daa
Merge pull request #4061
...
e6f4d4a unit_tests: do not recreate the same base rct sig all the time (moneromooo-monero)
2018-07-19 14:03:38 -05:00
luigi1111
5cade94189
Merge pull request #4047
...
41b4bf9 tx_pool: cache check_tx_inputs results (moneromooo-monero)
2018-07-19 14:02:20 -05:00
luigi1111
94ed562148
Merge pull request #4045
...
7cdd147 Changed URLs to HTTPS (einsteinsfool)
2018-07-19 13:56:38 -05:00
luigi1111
9315e12d34
Merge pull request #4033
...
3e46db9 rpc: add a non binary get_transaction_pool_hashes RPC (moneromooo-monero)
2018-07-19 13:55:37 -05:00
luigi1111
cff15e4123
Merge pull request #4032
...
87e158b device_ledger: factor the prologue code (moneromooo-monero)
2018-07-19 13:54:39 -05:00
luigi1111
3235abc184
Merge pull request #4030
...
0c41488 miner: show id and height when a block is found (stoffu)
2018-07-19 13:53:36 -05:00
luigi1111
138aefd0e7
Merge pull request #4029
...
bd9e4e3 daemon: show a bit more info with print_block (stoffu)
2018-07-19 13:52:41 -05:00
luigi1111
2e4653c077
Merge pull request #4023
...
6cb9707 simplewallet: remove leftover global debug trace (moneromooo-monero)
2018-07-19 13:51:44 -05:00
luigi1111
d14a074055
Merge pull request #4021
...
09f43b9 crypto: add a README pointing to the SUPERCOP licence (moneromooo-monero)
2018-07-19 13:50:37 -05:00
luigi1111
3e026ff6ed
Merge pull request #4013
...
e5592c4 rpc: add blockchain disk size to getinfo (moneromooo-monero)
2018-07-19 13:40:42 -05:00
luigi1111
21afa71ba6
Merge pull request #3981
...
45e419b db: store cumulative rct output distribution in the db for speed (moneromooo-monero)
2018-07-19 13:39:24 -05:00
luigi1111
d518dae4bf
Merge pull request #3973
...
50af357 alt_chain_info can now give more info about a particular alt chain (moneromooo-monero)
2018-07-19 13:37:10 -05:00
luigi1111
025187e6c9
Merge pull request #3854
...
149da42 db_lmdb: enable batch transactions by default (stoffu)
34cb6b4 add --regtest and --fixed-difficulty for regression testing (vicsn)
9e1403e update get_info RPC and bump RPC version (vicsn)
207b66e first new functional tests (vicsn)
2018-07-19 13:35:25 -05:00
luigi1111
33122ab8a6
Merge pull request #3617
...
4c00a4d unit_tests: add device unit tests (moneromooo-monero)
2018-07-19 13:32:36 -05:00
stoffu
f2e65c6e50
wallet2: consider minimum fee when testing if balance is sufficient
2018-07-19 20:31:07 +09:00
Jonathan Cross
fead7ebab0
Clarification of boolean options in config file
2018-07-18 20:07:05 +02:00
moneromooo-monero
d6440ab319
wallet2: recover from index out of hashchain bounds error
...
This can happen when there's a very large reorg on the daemon
(ie, on testnet)
2018-07-16 23:13:56 +01:00
moneromooo-monero
7f8bdeb35c
easylogging++: make the logger handle early/late logging
2018-07-15 19:10:44 +01:00
moneromooo-monero
63e342be84
crypto: move null_pkey/null_skey to the cpp file
2018-07-15 19:09:36 +01:00
moneromooo-monero
979105b298
abstract_tcp_server2: fix race on shutdown
2018-07-15 19:08:49 +01:00
moneromooo-monero
45e419bd5c
db: store cumulative rct output distribution in the db for speed
...
This gets rid of the temporary precalc cache.
Also make the RPC able to send data back in binary or JSON,
since there can be a lot of data
This bumps the LMDB database format to v3, with migration.
2018-07-13 11:37:04 +01:00
moneromooo-monero
2951436704
wallet: warn when payment IDs are used
...
Subaddresses are better for privacy
2018-07-12 19:37:29 +01:00
moneromooo-monero
ee31383a52
db_lmdb: don't sync a read only DB
...
This would only throw
2018-07-11 18:14:22 +01:00
moneromooo-monero
8d578f1f2d
memwipe: don't call the workhorse for 0 bytes
...
Some of them don't like it
2018-07-10 15:37:22 +01:00
Riccardo Spagni
7d2d8055ac
Merge pull request #4117
...
fc39d3b2 wallet2: ensure outputs are processed only once (moneromooo-monero)
2018-07-10 12:59:01 +02:00
Riccardo Spagni
2790ebc9f0
Merge pull request #4060
...
22411149 blockchain_import: make sleep compile on Windows (iDunk5400)
2018-07-10 09:34:41 +02:00
moneromooo-monero
fc39d3b23c
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:56:51 +01:00
moneromooo-monero
8c0523771f
blockchain: cache next block difficulty after adding a block
...
It's not 100% certain it'll be needed, but it avoids getinfo
needing the blockchain lock and potentially blocking
2018-07-07 19:34:21 +01:00
moneromooo-monero
639ca3b1fa
core_tests: add --filter to select which tests to run
2018-07-07 19:33:35 +01:00
moneromooo-monero
20eb192162
simplewallet: reword "seed encryption" to "seed offset"
...
avoids people thinking it's somehow a generic AE system
2018-07-07 11:35:41 +01:00
anonimal
4e409be887
Build: bump miniupnp to 2.1
2018-07-06 21:38:52 +00:00
anonimal
78a6690a6f
Build: bump unbound to 1.7.3
2018-07-06 21:37:37 +00:00
anonimal
e2311db717
Build: bump rapidjson to 129d19b
...
Includes various rapidjson fixes.
2018-07-06 21:35:39 +00:00
Riccardo Spagni
ebf2818ab5
Merge pull request #4101
...
e6479220 bump version to 12.3 (Riccardo Spagni)
2018-07-06 12:11:08 +02:00
Riccardo Spagni
e647922080
bump version to 12.3
2018-07-06 07:57:00 +02:00
moneromooo-monero
61caab8a8c
crypto: remove slight bias in key generation due to modulo
2018-07-05 09:18:01 +01:00
moneromooo-monero
96f8c62dc4
README: remove mentions of external miniupnpc dependency
2018-07-04 23:59:06 +01:00
Riccardo Spagni
eed4dba880
Merge pull request #4094
...
9c211b50 docker: update to new versions of dependencies (HomDx)
2018-07-04 15:29:39 +02:00
moneromooo-monero
0a4a7da35c
http_protocol_handler: fix HTTP/x.y parsing
...
It was accepting any character for the dot (yeah, massive big I know)
2018-07-03 23:16:48 +01:00
moneromooo-monero
42f3b7cbca
http_protocol_handler: catch invalid numbers when parsing
2018-07-03 23:16:44 +01:00
HomDx
9c211b50de
docker: update to new versions of dependencies
2018-07-03 21:52:07 +03:00
iDunk5400
2241114965
blockchain_import: make sleep compile on Windows
2018-07-03 20:33:18 +02:00
moneromooo-monero
34d4b798d4
wallet2: use a gamma distribution to pick fake outs
...
as per "An Empirical Analysis of Linkability in the Monero
Blockchain", by Miller et al.
2018-07-03 18:10:48 +01:00
Riccardo Spagni
40f85f478e
Merge pull request #3985
...
58cceaad wallet2: fix double counting outs if the tx pubkey is duplicated (moneromooo-monero)
2018-07-03 15:51:41 +02:00
Riccardo Spagni
c58758a016
Merge pull request #4080
...
dead780f abstract_tcp_server2: fix use after free (moneromooo-monero)
2018-07-03 15:24:01 +02:00
Riccardo Spagni
d1f102626c
Merge pull request #4043
...
34de7bc2 device_ledger: fix buffer underflow on bad data from device (moneromooo-monero)
41e9cab4 device: misc cleanup (moneromooo-monero)
3b4dec2d device_ledger: fix potential buffer overflow from bad size calc (moneromooo-monero)
2018-07-03 15:21:56 +02:00
Riccardo Spagni
82c39355ac
Merge pull request #4042
...
9d7f6e60 simplewallet: init trusted daemon flag to false when autodetecting (moneromooo-monero)
2018-07-03 15:21:27 +02:00
Riccardo Spagni
f449dbe8eb
Merge pull request #4041
...
df9d50a8 wallet2: fix read buffer overflow in import_key_images (moneromooo-monero)
2018-07-03 15:20:42 +02:00
Riccardo Spagni
94803bad01
Merge pull request #4035
...
66df13a5 wallet-rpc.getaddress: throw if index is out of bound (stoffu)
2018-07-03 15:19:54 +02:00
Riccardo Spagni
97f5a130d6
Merge pull request #4028
...
2a19697b wallet2: fix double header in unsigned transfer file (moneromooo-monero)
2018-07-03 15:19:24 +02:00
Riccardo Spagni
21807217e2
Merge pull request #4012
...
5b5828fc zmq_server: fix bind call when address and/or port are empty (moneromooo-monero)
2018-07-03 15:18:40 +02:00
Riccardo Spagni
e451c76181
Merge pull request #4005
...
b85acb4c Fix RPC crashes that didn't check for an open wallet (Howard Chu)
2018-07-03 15:18:05 +02:00
Riccardo Spagni
27ca6ca594
Merge pull request #4004
...
bc443494 wallet2: fix out of sync account tag cache (moneromooo-monero)
2018-07-03 15:16:37 +02:00
moneromooo-monero
58cceaad71
wallet2: fix double counting outs if the tx pubkey is duplicated
2018-07-03 14:16:30 +01:00
Riccardo Spagni
318fb23d7a
Merge pull request #3997
...
1a526ed5 abstract_tcp_server2: restart async accept on error (moneromooo-monero)
2018-07-03 15:16:04 +02:00
stoffu
a4272de797
wallet2: unlock keys file before calling verify_password (needed for Windows)
...
Also added notes to WalletManager::verifyWalletPassword (which afaik seems unused
by anyone at the moment) regarding the need to unlock the keys file beforehand.
2018-07-03 18:07:20 +09:00
stoffu
d6d78f157b
Allow fractional outputs to be ignored
2018-07-03 18:04:31 +09:00
moneromooo-monero
909398efc7
p2p: connect via the bound ip, if any
2018-07-02 18:06:04 +01:00
moneromooo-monero
8c4db68ff7
node_rpc_proxy: factor a few RPC calls using get_info
...
Takes advantage of caching
2018-07-02 17:59:44 +01:00
moneromooo-monero
d95bc44c6b
blockchain: fix getting invalid block data on failure
2018-06-29 15:50:34 +01:00
moneromooo-monero
dead780f8a
abstract_tcp_server2: fix use after free
2018-06-29 15:40:48 +01:00
victorsintnicolaas
207b66ecc2
first new functional tests
2018-06-29 10:06:22 +02:00
victorsintnicolaas
9e1403e155
update get_info RPC and bump RPC version
2018-06-29 10:06:18 +02:00
victorsintnicolaas
34cb6b4b70
add --regtest and --fixed-difficulty for regression testing
...
on_generateblocks RPC call combines functionality from the on_getblocktemplate and on_submitblock RPC calls to allow rapid block creation. Difficulty is set permanently to 1 for regtest.
Makes use of FAKECHAIN network type, but takes hard fork heights from mainchain
Default reserve_size in generate_blocks RPC call is now 1. If it is 0, the following error occurs 'Failed to calculate offset for'.
Queries hard fork heights info of other network types
2018-06-29 10:06:11 +02:00
moneromooo-monero
aa0ea0aafc
blockchain: set the m_verifivation_failed flag in a couple more places
...
when a block being added to the main chain is invalid.
This ensures the peer is banned after a number of these.
2018-06-28 16:57:22 +01:00
moneromooo-monero
438d52deaf
remove epee from link lines where it's redundant
...
For some reason, this confuses and kills ASAN on startup
as it thinks const uint8_t ipv4_network_address::ID is
defined multiple times.
2018-06-28 16:45:22 +01:00
moneromooo-monero
ef649f998d
crypto: remove unused unsafe random scalar generator
2018-06-28 16:44:13 +01:00
moneromooo-monero
3474154b75
gtest: use -fPIC with CLANG too
2018-06-28 16:42:52 +01:00
luigi1111
a9b83f5a6e
Merge pull request #4067
...
9a39b7d wallet2: fix build for windows (std::max again) (moneromooo-monero)
2018-06-27 21:28:34 -05:00
luigi1111
65c09beaf7
Merge pull request #4069
...
49dc78d util: fix mistakes made in #3994 (stoffu)
2018-06-27 21:25:00 -05:00
luigi1111
8b18401ea0
Merge pull request #4068
...
29254fc api/wallet: add missing arg to wallet2::refresh() (stoffu)
2018-06-27 21:23:50 -05:00
stoffu
49dc78d99b
util: fix mistakes made in #3994
2018-06-28 10:39:04 +09:00
stoffu
29254fc06e
api/wallet: add missing arg to wallet2::refresh()
2018-06-28 10:24:05 +09:00
luigi1111
ba0a7294d0
Merge pull request #4000
...
4510f41 Wallet API: add some missing override keyword (stoffu)
2018-06-27 20:18:41 -05:00
luigi1111
4c6de54ee2
Merge pull request #3994
...
1d17647 epee.string_tools: add conversion between UTF-8 and UTF-16 (stoffu)
59de6f8 util: add file_locker class (stoffu)
3d623a8 wallet: prevent the same wallet file from being opened by multiple processes (stoffu)
2018-06-27 20:17:25 -05:00
luigi1111
008b9036a3
Merge pull request #4066
...
84d9e7f blockchain: fix build after waiter::wait prototype change (moneromooo-monero)
2018-06-27 20:15:10 -05:00
luigi1111
0c76dbdd00
Merge pull request #4065
...
9b38551 wallet_rpc_server: fix build - forgot to build rpc version (moneromooo-monero)
2018-06-27 20:13:38 -05:00
stoffu
4510f417f9
Wallet API: add some missing override keyword
...
Also remove dust() from UnsignedTransactionImpl (already in PendingTransactionImpl)
2018-06-28 09:59:09 +09:00
stoffu
3d623a86d1
wallet: prevent the same wallet file from being opened by multiple processes
2018-06-28 09:41:43 +09:00
stoffu
59de6f8d99
util: add file_locker class
2018-06-28 09:40:31 +09:00
stoffu
1d176473e9
epee.string_tools: add conversion between UTF-8 and UTF-16
2018-06-28 09:40:26 +09:00
moneromooo-monero
9a39b7dd7f
wallet2: fix build for windows (std::max again)
2018-06-28 00:47:48 +01:00
moneromooo-monero
84d9e7faec
blockchain: fix build after waiter::wait prototype change
2018-06-28 00:24:39 +01:00
moneromooo-monero
9b38551c3c
wallet_rpc_server: fix build - forgot to build rpc version
2018-06-27 23:34:02 +01:00
luigi1111
2329d2f4c8
Merge pull request #3907
...
dcbc17e wallet: include a suggested number of confirmations based on amount (moneromooo-monero)
2018-06-27 16:32:33 -05:00
luigi1111
8a27caeb22
Merge pull request #3998
...
8db23df wallet: on first refresh, start off with a quantized height (moneromooo-monero)
2018-06-27 16:30:38 -05:00
luigi1111
9453573581
Merge pull request #3995
...
0a5292c wallet2: use decoded amount when reporting repeated output key (stoffu)
2018-06-27 16:28:57 -05:00
luigi1111
c28a2b0d7d
Merge pull request #3992
...
25c15dc wallet2: use correct fee for split txes (stoffu)
2018-06-27 16:26:23 -05:00
luigi1111
5eb2e01216
Merge pull request #3991
...
798dfcf wallet: allow unspendable unmixable outputs to be discarded (stoffu)
2018-06-27 16:25:03 -05:00
luigi1111
cbfa0a2a7e
Merge pull request #3987
...
2d10830 db_ldmb: print db version when complaining about incompatibility (moneromooo-monero)
2018-06-27 16:23:17 -05:00
luigi1111
87d7612311
Merge pull request #3986
...
b628503 Remove old logic saved in comments. (jeandudey)
2018-06-27 16:22:03 -05:00
luigi1111
3ad4ecd4ff
Merge pull request #3982
...
08b85a8 cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X (stoffu)
0cf80ba net_node: resolve host for node addresses given via command line flags (stoffu)
2018-06-27 15:38:23 -05:00
moneromooo-monero
dcbc17e97e
wallet: include a suggested number of confirmations based on amount
...
This is based on how much an attacking miner stands to lose in block
rewardy by mining a private chain which double spends a payment.
This is not foolproof, since mining is based on luck, and breaks
down as the attacking miner nears 50% of the network hash rate,
and the estimation is based on a constant block reward.
2018-06-27 21:38:21 +01:00
luigi1111
2d92fa5d69
Merge pull request #3979
...
362f5e6 simplewallet: don't confirm missing payment ID when sending to only subaddresses (stoffu)
2018-06-27 15:36:54 -05:00
luigi1111
a844844cda
Merge pull request #3716
...
a2b557f 6795bd0 209ec96 ed2c81e a830db2 57ea902 31a895e ba8331c f7f1917 41be339 f025ae9 ef2cb63 dcfd299 5d3e702 2704624 2771a18 0e4c7d0 (moneromooo-monero)
2018-06-27 15:33:01 -05:00
stoffu
13851b28c7
simplewallet.sweep_all: show usage when parsing fails
2018-06-27 22:54:10 +09:00
moneromooo-monero
80d7c6c730
blockchain_utilities: report file offset where a read error occurs
2018-06-27 14:11:35 +01:00
moneromooo-monero
e6f4d4acf0
unit_tests: do not recreate the same base rct sig all the time
...
Helps a bit when running with valgrind
2018-06-27 11:11:14 +01:00
moneromooo-monero
0e4c7d0fae
wallet2: cache ringdb key while refreshing
...
Speeds up syncing with a lot of outgoing outputs as key generation
runs Cryptonight.
2018-06-26 22:15:38 +01:00
moneromooo-monero
2771a18e85
threadpool: allow leaf functions to run concurrently
...
Decrease the number of worker threads by one to account
for the fact the calling thread acts as a worker thread now
2018-06-26 22:15:22 +01:00
moneromooo-monero
2704624eae
wallet2: remove unneeded divisions
2018-06-26 22:15:20 +01:00
moneromooo-monero
5d3e70229e
wallet2: remove old blockchain size cache hack
2018-06-26 22:15:18 +01:00
moneromooo-monero
dcfd299239
wallet2: speedup refresh
...
key derivation and checking for incoming outputs are threaded
in batch before adding blocks to the local blockchain. Other
minor bits and bobs are also cached.
2018-06-26 22:15:16 +01:00
moneromooo-monero
ef2cb63287
blockchain: simplify/speedup handle_get_objects
2018-06-26 22:15:14 +01:00
moneromooo-monero
f025ae9760
wallet2: avoid re-parsing blocks when refreshing in a loop
2018-06-26 22:15:12 +01:00
moneromooo-monero
41be339655
wallet2: avoid duplicate parsing of tx extra
2018-06-26 22:15:10 +01:00
moneromooo-monero
f7f1917ed4
wallet2: remove useless device locking
2018-06-26 22:14:35 +01:00
moneromooo-monero
ba8331ce41
wallet2: parse blocks in the RPC thread, not the processing thread
...
Processing typically is the bottleneck
2018-06-26 22:14:33 +01:00
moneromooo-monero
31a895e876
wallet2: simplify/speedup process_blocks
2018-06-26 22:14:31 +01:00
moneromooo-monero
57ea90285c
wallet: don't process miner tx if we're refreshing with no-coinbase
2018-06-26 22:14:26 +01:00
moneromooo-monero
a830db2577
rpc: rework to avoid repeated calculations in get_blocks.bin
2018-06-26 22:14:23 +01:00
moneromooo-monero
ed2c81ed95
replace std::list with std::vector on some hot paths
...
also use reserve where appropriate
2018-06-26 22:14:21 +01:00
moneromooo-monero
209ec963b5
rpc: sanity check on number of txes in a block
2018-06-26 22:14:18 +01:00
moneromooo-monero
6795bd0d4e
rpc: add option to skip coinbase info in get_blocks.bin
2018-06-26 22:14:16 +01:00
moneromooo-monero
a2b557fe5c
wallet2: use std::move on containers where appropriate
2018-06-26 22:14:14 +01:00
moneromooo-monero
50af3579ee
alt_chain_info can now give more info about a particular alt chain
2018-06-26 08:19:51 +01:00
luigi1111
31f47d72fe
Merge pull request #3977
...
0309615 device_ledger: fix bad memory access on connect error (moneromooo-monero)
2018-06-25 15:26:23 -05:00
luigi1111
14372ca95a
Merge pull request #3975
...
2d5921e blockchain: avoid duplicate db query for height (moneromooo-monero)
2018-06-25 15:24:45 -05:00
luigi1111
ab7ab29fc0
Merge pull request #3974
...
1789b76 cryptonote_protocol_handler: log when dropping a peer (moneromooo-monero)
2018-06-25 15:23:31 -05:00
luigi1111
c0c6102260
Merge pull request #3972
...
8766528 epee: fallback to a counter if gmtime fails when rotating logs (moneromooo-monero)
2018-06-25 15:21:25 -05:00
luigi1111
a2b08db9c9
Merge pull request #3971
...
4ecf714 epee: fix include for ofstream (moneromooo-monero)
2018-06-25 15:20:12 -05:00
luigi1111
b1be364f08
Merge pull request #3966
...
948c482 simplewallet: grammar fix in warning message (moneromooo-monero)
2018-06-25 15:16:38 -05:00
luigi1111
3afaedf365
Merge pull request #3964
...
9ddb07f update readme to include debian one liner for deps (Gingeropolous)
2018-06-25 15:15:32 -05:00
luigi1111
89b99ef2d8
Merge pull request #3963
...
f61fe2e Update readme to include pcslite dependency (Gingeropolous)
2018-06-25 15:13:57 -05:00
luigi1111
8fad35f8e2
Merge pull request #3962
...
55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
2018-06-25 15:12:37 -05:00
luigi1111
66212837ab
Merge pull request #3957
...
2bb2c1b password: flush cout when prompting for password without newline (moneromooo-monero)
2018-06-25 15:10:54 -05:00
luigi1111
506be80601
Merge pull request #3955
...
d7a6b72 wallet2: fix bulletproof cold signing (moneromooo-monero)
2018-06-25 15:09:48 -05:00
luigi1111
741a773025
Merge pull request #3948
...
c367609 blockchain_import: warn+delay about using --dangerous-unverified-import (moneromooo-monero)
2018-06-25 14:58:19 -05:00
luigi1111
ea1d54aeb7
Merge pull request #3947
...
8cc4606 snap: strip metadata from icon.png (moneromooo-monero)
2018-06-25 14:56:07 -05:00
luigi1111
26562e9f3c
Merge pull request #3941
...
bf26920 wallet2: fix get_approximate_blockchain_height for stagenet (stoffu)
2018-06-25 14:54:54 -05:00
luigi1111
c3ec5373b3
Merge pull request #3936
...
d81e042 tx_pool: initialize bitflags padding since it gets written to storage (moneromooo-monero)
2018-06-25 14:53:27 -05:00
luigi1111
473d984d88
Merge pull request #3921
...
8fc0cdb wallet2: lower default for subaddress lookahead when restoring with hardware (stoffu)
248310d Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp (stoffu)
46e90b7 Wallet API: add support for wallet creation from hardware device (stoffu)
2018-06-25 14:49:30 -05:00
luigi1111
1eddabf0a4
Merge pull request #3677
...
d45cd37 fix typos in language files and rpc_args.cpp (ordtrogen)
2018-06-25 14:41:48 -05:00
luigi1111
ff7dc087ae
Merge pull request #3407
...
7bf99a2 fix string handling for donation message (cryptochangements34)
2018-06-25 14:39:01 -05:00
moneromooo-monero
87e158b5b9
device_ledger: factor the prologue code
2018-06-25 12:35:10 +01:00
moneromooo-monero
41b4bf9d6d
tx_pool: cache check_tx_inputs results
...
This is called a lot when creating a block template, and
does not change until the blockchain changes.
This also avoids tx parsing when cached.
2018-06-24 11:22:26 +01:00
einsteinsfool
7cdd147da5
Changed URLs to HTTPS
2018-06-23 21:15:29 +02:00
moneromooo-monero
34de7bc267
device_ledger: fix buffer underflow on bad data from device
2018-06-23 15:43:31 +01:00
moneromooo-monero
41e9cab4e1
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-06-23 15:28:48 +01:00
moneromooo-monero
3b4dec2d12
device_ledger: fix potential buffer overflow from bad size calc
2018-06-23 15:28:45 +01:00
moneromooo-monero
9d7f6e6089
simplewallet: init trusted daemon flag to false when autodetecting
2018-06-23 09:53:50 +01:00
moneromooo-monero
df9d50a8a4
wallet2: fix read buffer overflow in import_key_images
2018-06-23 09:22:20 +01:00
ordtrogen
d45cd37c53
fix typos in language files and rpc_args.cpp
2018-06-21 19:14:14 +02:00
moneromooo-monero
3e46db97e5
rpc: add a non binary get_transaction_pool_hashes RPC
2018-06-21 09:02:42 +01:00
stoffu
46e90b7780
Wallet API: add support for wallet creation from hardware device
2018-06-21 12:36:27 +09:00
stoffu
248310de06
Move parse_subaddress_lookahead() from simplewallet.cpp to util.cpp
2018-06-21 12:36:17 +09:00
stoffu
8fc0cdb96f
wallet2: lower default for subaddress lookahead when restoring with hardware
2018-06-21 12:35:23 +09:00
stoffu
66df13a58b
wallet-rpc.getaddress: throw if index is out of bound
2018-06-21 10:49:03 +09:00
moneromooo-monero
e5592c4bab
rpc: add blockchain disk size to getinfo
...
This should help new nodes predict how much disk space will be
needed for a full sync
2018-06-20 23:48:37 +01:00
luigi1111
ffab67004c
Merge pull request #3784
...
261ee56 don't limit miner threads in wallet (cryptochangements34)
2018-06-20 15:15:19 -05:00
cryptochangements34
7bf99a2376
fix string handling for donation message
2018-06-20 15:57:23 -04:00
luigi1111
9a3712541e
Merge pull request #3939
...
62c8c07 wallet: do not log by default if we're not asked to log to console (moneromooo-monero)
2018-06-20 14:52:55 -05:00
luigi1111
34c57d071f
Merge pull request #3938
...
01cc978 ringct: remove an unnecessary scalarmultBase in zeroCommit (moneromooo-monero)
2018-06-20 14:51:31 -05:00
luigi1111
0a24673fef
Merge pull request #3933
...
2861289 readme - explain building master vs. release (Gingeropolous)
2018-06-20 14:46:04 -05:00
luigi1111
3721298cf6
Merge pull request #3932
...
8962f00 simplewallet: add optional trusted/untrusted argument to set_daemon (moneromooo-monero)
941a608 util: consider Tor/I2P addresses to be non local (moneromooo-monero)
2b3357e README: mention --untrusted-daemon (moneromooo-monero)
2018-06-20 14:44:54 -05:00
luigi1111
306365d4e6
Merge pull request #3927
...
5f00df3 Update Readme to indicate recommended version (Gingeropolous)
2018-06-20 14:42:38 -05:00
luigi1111
7935bc5f6b
Merge pull request #3924
...
afed978 Fixes #3645 : error on freebsd lambda return values forced to std::string (rockhouse)
2018-06-20 14:41:05 -05:00
luigi1111
9eb51887b0
Merge pull request #3919
...
ace2eda blockchain: pop forked blocks only when DB is not read-only (stoffu)
2018-06-20 14:39:09 -05:00
luigi1111
5a221c0e48
Merge pull request #3904
...
4f3a4fb blockchain: return error when requesting non existent output (moneromooo-monero)
2018-06-20 14:33:08 -05:00
luigi1111
81a2ff768b
Merge pull request #3903
...
2b0c632 tx_pool: hold off parsing a tx blob till we actually need it (moneromooo-monero)
2018-06-20 14:31:33 -05:00
luigi1111
c678413a89
Merge pull request #3902
...
f8dd433 epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero)
5db9e3c unit_tests: add tests for local IP range detection (moneromooo-monero)
2018-06-20 14:22:44 -05:00
luigi1111
51cdd76bbd
Merge pull request #3897
...
63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)
2018-06-20 14:19:30 -05:00
luigi1111
034b0c7adb
Merge pull request #3896
...
6b8568e simplewallet.sign_transfer: rename export to export_raw, add help message (stoffu)
2018-06-20 14:13:59 -05:00
luigi1111
17fd575fe4
Merge pull request #3888
...
1aae39d daemon: fix readline interfering with std::cerr usage (moneromooo-monero)
2018-06-20 14:12:18 -05:00
luigi1111
36aeaa7545
Merge pull request #3757
...
6f9260e handle optional miner params better (cryptochangements34)
2018-06-20 14:09:42 -05:00
luigi1111
70f932fe0a
Merge pull request #3880
...
91663fc adding win building details. (k1nghat)
2018-06-20 14:08:19 -05:00
luigi1111
4aa832e534
Merge pull request #3702
...
099bb83 easylogging++: cached allowed categories (moneromooo-monero)
2018-06-20 14:02:12 -05:00
stoffu
0c4148845b
miner: show id and height when a block is found
2018-06-20 12:08:40 +09:00
stoffu
bd9e4e3149
daemon: show a bit more info with print_block
2018-06-20 12:04:03 +09:00
moneromooo-monero
2a19697bd4
wallet2: fix double header in unsigned transfer file
2018-06-19 22:30:02 +01:00
luigi1111
896512b2b6
Merge pull request #3878
...
5a412b7 disable file size sanity check when loading the wallet cache (moneromooo-monero)
2018-06-19 12:57:59 -05:00
luigi1111
cb130c7590
Merge pull request #3861
...
de1ffe0 p2p: warn when no incoming connections are seen for a while (moneromooo-monero)
2018-06-19 12:56:31 -05:00
luigi1111
26dd216c67
Merge pull request #3852
...
26c569d add disclaimer about 3rd party packages (jtgrassie)
2018-06-19 12:55:17 -05:00
luigi1111
9a3bd88b9f
Merge pull request #3851
...
a87980f fix build with GCC 8.1.0 (moneromooo-monero)
2018-06-19 12:51:13 -05:00
luigi1111
61f3916b4a
Merge pull request #3844
...
bdf5a3a Fix PCSC compilation under windows (cslashm)
f17383a Fix CMAKE config for PCSC in order to avoid msys DLL dependencies (cslashm)
2018-06-19 12:49:30 -05:00
luigi1111
1db8cf0db9
Merge pull request #3835
...
d44d19c Fixed for compilation in big endian PPC. (nioroso-x3)
2018-06-19 12:46:39 -05:00
luigi1111
d841339b09
Merge pull request #3829
...
4764929 use deterministic viewkey if not supplied (cryptochangements34)
2018-06-19 12:43:10 -05:00
luigi1111
50bc95519e
Merge pull request #3828
...
16e209e core: lock incoming tx lock when checking the txpool and chain (moneromooo-monero)
2018-06-19 12:41:07 -05:00
luigi1111
f62399b88d
Merge pull request #3821
...
558d05b epee: log type name when a container size check fails (moneromooo-monero)
a2566db object_sizes: add a few useful types (moneromooo-monero)
2018-06-19 12:39:12 -05:00
moneromooo-monero
1a526ed571
abstract_tcp_server2: restart async accept on error
2018-06-18 23:34:01 +01:00
moneromooo-monero
09f43b9a6b
crypto: add a README pointing to the SUPERCOP licence
2018-06-18 21:28:08 +01:00
moneromooo-monero
5a2864c1fb
simplewallet: fix delay when setting auto-refresh off
2018-06-18 21:05:42 +01:00
moneromooo-monero
6cb97076ce
simplewallet: remove leftover global debug trace
2018-06-18 21:05:13 +01:00
luigi1111
cfd66dae4b
Merge pull request #3691
...
db55263 threadpool: allow constructing an object, and misc tweaks (moneromooo-monero)
ce173cb core: remove threadpool dependency from header (moneromooo-monero)
3147468 unit_tests: add threadpool unit test (moneromooo-monero)
2018-06-17 22:04:39 -05:00
moneromooo-monero
5b5828fcec
zmq_server: fix bind call when address and/or port are empty
2018-06-17 21:25:11 +01:00
luigi1111
9226acca4b
Merge pull request #3804
...
89e51ec simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet (jcktm)
2018-06-16 14:15:52 -05:00
luigi1111
fceb774344
Merge pull request #3798
...
f357210 Fix Typo (Rafficer)
2018-06-16 14:14:19 -05:00
luigi1111
4e7897e57c
Merge pull request #3780
...
9c2a7b4 wallet-rpc: watch-only and cold wallet features added (ph4r05)
2018-06-16 14:12:57 -05:00
luigi1111
e3012444fb
Merge pull request #3762
...
eb9f3a3 check_spend_proof (itssteven)
2018-06-16 14:10:11 -05:00
luigi1111
7af0b7fffc
Merge pull request #3735
...
4812c06 add .load() to make Boost 1.67 happy with its new is_integral check (Teutone)
2018-06-16 14:07:25 -05:00
luigi1111
fb2b16f10a
Merge pull request #3732
...
fa0839f Ensure m_timestamps has the correct number for computing difficulty. (thaerkh)
2018-06-16 14:05:53 -05:00
luigi1111
abfff766e5
Merge pull request #3737
...
1590183 p2p: fix fallback seed node usage (moneromooo-monero)
2018-06-16 14:04:01 -05:00
luigi1111
b3363e8e0a
Merge pull request #3726
...
b5cb1bc blockchain: avoid exception if asked for a block we do not have (moneromooo-monero)
2018-06-16 14:02:56 -05:00
luigi1111
42e7f31613
Merge pull request #3725
...
9cc0d42 connection_context: remove state_ prefix from state names (moneromooo-monero)
d9d002c daemon: print peer state in sync_info (moneromooo-monero)
2018-06-16 14:01:12 -05:00
luigi1111
53b5d03b82
Merge pull request #3708
...
a7ce392 Updating the FindReadline CMake hint to search in homebrew's default directory (gene-telligent)
2018-06-16 13:57:54 -05:00
luigi1111
6447dc72e9
Merge pull request #3652
...
b43b9a1 wallet-rpc: added IPs to error logging in simple_http_connection_handler (jcktm)
2018-06-16 13:54:10 -05:00
luigi1111
aada0670ba
Merge pull request #3538
...
f4e3295 simplewallet: set_ring can now take a file with rings (moneromooo-monero)
2018-06-16 13:51:57 -05:00
Jethro Grassie
26c569d6f6
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-06-16 09:39:28 -04:00
Howard Chu
b85acb4cb8
Fix RPC crashes that didn't check for an open wallet
2018-06-15 20:18:41 +01:00
moneromooo-monero
bc443494f3
wallet2: fix out of sync account tag cache
...
This would cause crashes when trying to tag an account that was
just created
2018-06-15 20:18:12 +01:00
stoffu
149da420e9
db_lmdb: enable batch transactions by default
2018-06-14 20:56:11 +02:00
moneromooo-monero
8db23df581
wallet: on first refresh, start off with a quantized height
...
for privacy reasons, so an untrusted node can't easily track
wallets from IP address to IP address, etc. The granularity
is 1024 blocks, which is about a day and a half.
2018-06-13 22:44:27 +01:00
jcktm
b43b9a1304
wallet-rpc: added IPs to error logging in simple_http_connection_handler
2018-06-13 15:41:51 +10:00
stoffu
63d0ab09b5
mlog: --max-log-files to set the max number of rotated log files
2018-06-13 12:44:27 +09:00
stoffu
798dfcfe79
wallet: allow unspendable unmixable outputs to be discarded
2018-06-13 11:56:40 +09:00
luigi1111
62f3f0480a
Merge pull request #3701
...
3ca267b cn_deserialize: dump additional tx pubkeys (moneromooo-monero)
2018-06-12 12:24:20 -05:00
luigi1111
a915d49307
Merge pull request #3700
...
efcecb4 mnemonics: add some logs to help debug failures (moneromooo-monero)
2018-06-12 12:23:12 -05:00
luigi1111
6be2516140
Merge pull request #3687
...
6b13976 blockchain: log in DEBUG when a block is found, and where (moneromooo-monero)
2018-06-12 12:22:12 -05:00
luigi1111
41d04a87b2
Merge pull request #3648
...
6f36cf0 Improve 'show_transfers' date formatting (ryan-ronnander)
2018-06-12 12:18:17 -05:00
luigi1111
ed139efc5d
Merge pull request #3643
...
e2b7558 handle improper log levels (cryptochangements34)
2018-06-12 12:13:07 -05:00
stoffu
0a5292c339
wallet2: use decoded amount when reporting repeated output key
2018-06-13 01:06:44 +09:00
stoffu
25c15dca5c
wallet2: use correct fee for split txes
2018-06-12 12:06:51 +09:00
moneromooo-monero
2d10830cfb
db_ldmb: print db version when complaining about incompatibility
2018-06-11 17:57:02 +01:00
Jean Pierre Dudey
b628503bad
Remove old logic saved in comments.
...
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com >
2018-06-11 09:36:05 -04:00
stoffu
0cf80baea4
net_node: resolve host for node addresses given via command line flags
2018-06-11 20:17:13 +09:00
stoffu
08b85a8e00
cryptonote_config: add get_config to refactor x = testnet ? config::testnet::X : stagenet ? config::stagenet::X : config::X
2018-06-11 20:17:02 +09:00
moneromooo-monero
55c7fb87a9
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-06-10 19:39:38 +01:00
stoffu
362f5e6eb8
simplewallet: don't confirm missing payment ID when sending to only subaddresses
2018-06-10 20:00:59 +09:00
moneromooo-monero
03096150c6
device_ledger: fix bad memory access on connect error
2018-06-09 20:52:34 +01:00
moneromooo-monero
2d5921eefa
blockchain: avoid duplicate db query for height
2018-06-09 19:51:27 +01:00
moneromooo-monero
1789b76b5d
cryptonote_protocol_handler: log when dropping a peer
2018-06-09 19:27:21 +01:00
moneromooo-monero
87665281ea
epee: fallback to a counter if gmtime fails when rotating logs
2018-06-09 19:23:48 +01:00
moneromooo-monero
4ecf71405f
epee: fix include for ofstream
2018-06-09 19:19:27 +01:00
moneromooo-monero
f4e329583e
simplewallet: set_ring can now take a file with rings
2018-06-09 00:28:31 +01:00
moneromooo-monero
948c48271a
simplewallet: grammar fix in warning message
2018-06-08 21:28:11 +01:00
luigi1111
25e7a7d96f
Merge pull request #3340
...
284fe64 db_lmdb: warn about slowness when running off a spinning disk (moneromooo-monero)
2018-06-08 15:16:59 -05:00
Gingeropolous
9ddb07fcc4
update readme to include debian one liner for deps
...
update readme to include debian one liner for deps , because who wants to select all of those individually
2018-06-08 16:13:51 -04:00
Gingeropolous
f61fe2ef28
Update readme to include pcslite dependency
...
Update readme to include pcslite dependency
2018-06-08 16:05:50 -04:00
moneromooo-monero
284fe6438d
db_lmdb: warn about slowness when running off a spinning disk
2018-06-08 20:59:02 +01:00
luigi1111
2619d966c6
Merge pull request #3908
...
827ca3f bump version for 0.12.2 point release (fluffypony)
95ccf50 update checkpoints.dat for point release (fluffypony)
2018-06-08 14:53:54 -05:00
luigi1111
13d73d9ed6
Merge pull request #3604
...
54d9fff gtest: Fix compilation on MinGW with pthread /googletest#621 (stoffu)
2018-06-08 14:51:32 -05:00
luigi1111
6884db7b31
Merge pull request #3599
...
8787fd8 WalletApi: publicMultisigSignerKey method (naughtyfox)
2018-06-08 14:45:46 -05:00
luigi1111
00635bd68b
Merge pull request #3598
...
b21bc00 Wallet: added methods to sign and verify arbitrary message with multisig public signer's key (libwallet & wallet api) (naughtyfox)
2018-06-08 14:40:06 -05:00
luigi1111
112f3678bc
Merge pull request #3887
...
14f0d38 Incorporate Window debug build targets (philkode)
2018-06-08 14:34:01 -05:00
luigi1111
22c8730261
Merge pull request #3450
...
3b941be core: add get_earliest_ideal_height_for_version() (stoffu)
2018-06-08 14:31:49 -05:00
luigi1111
5321769b65
Merge pull request #3444
...
a79fc21 hardfork: fix get_earliest_ideal_height_for_version() to support non-existent versions (stoffu)
7e30ead unit_tests/hardfork: add tests for check_for_height() (stoffu)
98cf62c hardfork: fix get_next_version() (stoffu)
0321d1a unit_tests/hardfork: add tests for get_voting_info() (stoffu)
2018-06-08 14:29:38 -05:00
luigi1111
9e5f2738fd
Merge pull request #3428
...
b26cd26 blockchain_utilities: do not link against unneeded p2p lib (moneromooo-monero)
66f4700 blockchain_blackball: add incremental mode (moneromooo-monero)
e09710f blockchain_blackball: also blackball N N-sized duplicate rings (moneromooo-monero)
2018-06-08 14:26:38 -05:00
luigi1111
03b4cca6c2
Merge pull request #3910
...
f2cb56a protocol: drop (and increase fails) if most blocks hashes are invalid (moneromooo-monero)
2018-06-07 12:24:02 -05:00
luigi1111
5bfe03804c
Merge pull request #3892
...
d344736 rpc: convert distribution to cumulative after caching (moneromooo-monero)
2018-06-07 12:22:04 -05:00
luigi1111
8a1f0d7d13
Merge pull request #3940
...
f24cbc5 blockchain: fix deadlock with the difficulty cache (moneromooo-monero)
2018-06-07 12:19:43 -05:00
luigi1111
48fcf76be9
Merge pull request #3911
...
f0322a0 blockchain: demote a hash-of-hashes validation warning to debug (moneromooo-monero)
2018-06-07 12:17:06 -05:00
luigi1111
e1a940806a
Merge pull request #3899
...
ab87e7f rpc: the cache is still for non cumulative on that branch (moneromooo-monero)
2018-06-07 12:15:13 -05:00
luigi1111
1af890287b
Merge pull request #3890
...
f80b157 wallet2: don't ask for pruned txes yet, we still parse the entire tx (moneromooo-monero)
2018-06-07 12:12:28 -05:00
luigi1111
e69849e979
Merge pull request #3857
...
8a6c081 rapidjson: remove outdated in-tree, use submodule (anonimal)
2018-06-07 12:07:13 -05:00
moneromooo-monero
2bb2c1b9d7
password: flush cout when prompting for password without newline
2018-06-07 13:48:30 +01:00
moneromooo-monero
d7a6b72c15
wallet2: fix bulletproof cold signing
...
Cold signing was always using Borromean range proofs, causing
a larger tx, and an incorrect fee
2018-06-07 12:29:30 +01:00
moneromooo-monero
c367609447
blockchain_import: warn+delay about using --dangerous-unverified-import
...
This is the new name for --guard-against-pwnage 0
2018-06-07 06:47:00 +01:00
moneromooo-monero
8cc46069ac
snap: strip metadata from icon.png
...
Reported to "contain[s] an embedded color calibration (ICC) profile
which is copyright Hewlett Packard but lack license"
2018-06-06 15:29:18 +01:00
stoffu
bf26920f27
wallet2: fix get_approximate_blockchain_height for stagenet
2018-06-06 20:33:01 +09:00
moneromooo-monero
f24cbc5245
blockchain: fix deadlock with the difficulty cache
2018-06-06 10:37:51 +01:00
moneromooo-monero
62c8c07c47
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-06-06 10:15:13 +01:00
moneromooo-monero
01cc978722
ringct: remove an unnecessary scalarmultBase in zeroCommit
2018-06-06 10:14:36 +01:00
cryptochangements34
4764929ecb
use deterministic viewkey if not supplied
2018-06-05 19:32:03 -04:00
moneromooo-monero
d81e042306
tx_pool: initialize bitflags padding since it gets written to storage
...
Avoids valgrind reporting uninitialized data usage
2018-06-05 20:26:44 +01:00
moneromooo-monero
2b3357ee98
README: mention --untrusted-daemon
...
when connecting the wallet to a daemon on a tor hidden service
2018-06-05 16:55:27 +01:00
moneromooo-monero
941a608d52
util: consider Tor/I2P addresses to be non local
2018-06-05 16:55:23 +01:00
moneromooo-monero
8962f0032f
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-06-05 16:55:20 +01:00
Gingeropolous
2861289efd
readme - explain building master vs. release
...
Update readme to explain and warn about building master, and encourage (via example) to build release branches.
Also updated instance where example build instructions had 0.11.0 as the most recent release.
2018-06-05 08:31:55 -04:00
Gingeropolous
5f00df3cf9
Update Readme to indicate recommended version
...
... is v0.12.2.0
2018-06-04 22:32:43 -04:00
stoffu
ace2edacb6
blockchain: pop forked blocks only when DB is not read-only
2018-06-04 20:59:50 +09:00
S
afed9787cd
Fixes #3645 : error on freebsd lambda return values forced to std::string
2018-06-04 13:44:17 +02:00
moneromooo-monero
f2cb56a2eb
protocol: drop (and increase fails) if most blocks hashes are invalid
2018-06-03 17:34:08 +01:00
Dusan Klinec
9c2a7b4638
wallet-rpc: watch-only and cold wallet features added
...
- unsigned_txset, signed_txset in transfer / submit_transfer / sign_transfer
- export_outputs, import_outputs
Squashed commits:
[f4d9f3d4] wallet-rpc: do_not_relay removed from submit_transfer
[5b16a86f] wallet-rpc: review-fix - method signature changes, renaming
[b7fbb10a] wallet-rpc: naming fixes (unsigned vs signed), consts renamed
[8c7d2727] wallet-rpc: sign_transfer added
[481d024a] wallet2: sign_tx splitted to work with strings and structs, more granular
[2a474db9] wallet-rpc: wallet2::load_unsigned_tx split to load from str, file
[b1e3a018] wallet-rpc: review fix, load_tx_from_str variable rename
[1f6373be] wallet-rpc: review fix: save_tx_to_{str,file}
[2a08eafc] wallet-rpc: review comments fixes
- redundant this removed from wallet2.cpp
- load_tx_from_str, load_tx_from_file
[43498052] wallet-rpc: submit_transfer added
[9c45d1ad] wallet-rpc: watch_only check, return unsigned_txset
[62831396] wallet2: added string variants to load_tx, save_tx
- analogously to save_multisig_tx
- required for monero-wallet-rpc to support watch-only wallet
2018-06-03 13:21:00 +02:00
moneromooo-monero
f0322a083a
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:48:12 +01:00
Riccardo Spagni
95ccf508cd
update checkpoints.dat for point release
2018-06-02 14:31:37 +02:00
Riccardo Spagni
827ca3fd3b
bump version for 0.12.2 point release
2018-06-02 14:31:33 +02:00
moneromooo-monero
2b0c632f32
tx_pool: hold off parsing a tx blob till we actually need it
2018-06-02 09:17:41 +01:00
moneromooo-monero
4f3a4fb701
blockchain: return error when requesting non existent output
...
avoids RPC thread dying, causing the wallet to timeout
2018-06-01 21:52:04 +01:00
moneromooo-monero
5db9e3c28e
unit_tests: add tests for local IP range detection
2018-06-01 21:47:25 +01:00
moneromooo-monero
f8dd433110
epee: fix detection of 172.16.0.0/172.31.255.255 local IP range
2018-06-01 21:47:21 +01:00
moneromooo-monero
ab87e7fdae
rpc: the cache is still for non cumulative on that branch
2018-06-01 09:05:47 +01:00
stoffu
6b8568e9a1
simplewallet.sign_transfer: rename export to export_raw, add help message
2018-06-01 09:38:14 +09:00
luigi1111
8a7b3ff138
Merge pull request #3866
...
6a58c88 console_handler: fix start_default_console use of prompt parameter (moneromooo-monero)
885a117 http_protocol_handler: speedup newline discarding (moneromooo-monero)
4d15864 abstract_tcp_server2: timeout on RPC connections (moneromooo-monero)
dfd36bb http_protocol_handler: limit the number of starting newlines (moneromooo-monero)
2018-05-31 14:54:55 -05:00
luigi1111
503d2693fd
Merge pull request #3640
...
f36132a wallet cli/rpc: terminate execution with code 0 when --help or --version is given (stoffu)
2018-05-31 14:44:54 -05:00
luigi1111
3ee6a1b706
Merge pull request #3635
...
c1bda09 wallet_rpc_server: add a get_version RPC (moneromooo-monero)
2018-05-31 14:43:18 -05:00
luigi1111
b6eb7484d1
Merge pull request #3592
...
90a16b1 crypto: fix initialization order issue with random mutex (moneromooo-monero)
6a61f52 unit_tests: add ringdb unit tests (moneromooo-monero)
2018-05-31 14:41:17 -05:00
luigi1111
40dd59fb8e
Merge pull request #3583
...
372ffeb Add a space in mining to testnet/stagenet string (cryptochangements34)
2018-05-31 14:39:28 -05:00
luigi1111
737712c0c6
Merge pull request #3561
...
353e9c0 Core RPC: optionally add POW hash to block_header_response (stoffu)
2018-05-31 14:38:01 -05:00
luigi1111
c8378933ae
Merge pull request #3543
...
6fc97c9 blockchain_usage: don't divide by 0 when there is nothing to process (moneromooo-monero)
2018-05-31 14:36:33 -05:00
luigi1111
3a373c3d3a
Merge pull request #3489
...
47fdb74 WalletApi: getMultisigInfo entry for gui wallets... (naughtyfox)
47fdb74 Refactored: work with wallet api statuses to make setting and getting operations atomic along with error strings (naughtyfox)
2018-05-31 14:34:34 -05:00
luigi1111
64adb566e5
Merge pull request #3499
...
0da5d37 wallet: fix shared ring db path (stoffu)
2018-05-31 14:27:13 -05:00
luigi1111
9fde7aafe8
Merge pull request #3882
...
b665bab rpc: fix get_output_distribution cache for the cumulative case (moneromooo-monero)
2018-05-31 14:25:57 -05:00
moneromooo-monero
d3447364d0
rpc: convert distribution to cumulative after caching
...
This avoids double conversion on a later cache hit
2018-05-31 16:54:57 +01:00
moneromooo-monero
f80b1571c6
wallet2: don't ask for pruned txes yet, we still parse the entire tx
2018-05-31 16:46:58 +01:00
cslashm
f17383afc2
Fix CMAKE config for PCSC in order to avoid msys DLL dependencies
...
merge of PR #3886
2018-05-31 15:30:16 +02:00
moneromooo-monero
1aae39dff2
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-05-31 12:15:06 +01:00
philkode
14f0d38cd6
Incorporate Window debug build targets
2018-05-31 10:49:24 +01:00
stoffu
0da5d37bf3
wallet: fix shared ring db path
2018-05-31 08:16:45 +09:00
luigi1111
9bc8f76924
Merge pull request #3525
...
66a659b blockchain: add scope guard to waiter for threaded txv1 verification (stoffu)
2018-05-30 16:08:50 -05:00
luigi1111
882ce8f7b1
Merge pull request #3522
...
52a4b70 Add key for Sarang Noether (SarangNoether)
2018-05-30 16:03:53 -05:00
luigi1111
f0f3157183
Merge pull request #3504
...
a0a810c performance_tests: fix subaddress expansion test not expanding (moneromooo-monero)
2018-05-30 15:57:42 -05:00
luigi1111
f03bf36c85
Merge pull request #3491
...
c8cb5fc exit if specified wallet file doesn't exist (cryptochangements34)
2018-05-30 15:55:37 -05:00
luigi1111
d735f9b24a
Merge pull request #3442
...
8df202e Updates italian localizations. (hrumag)
2018-05-30 15:51:32 -05:00
luigi1111
daeb3a974c
Merge pull request #3433
...
b55c14c fix sha256sum check, which requires two spaces. added set -ex to catch this, and other, errors in the future. (cornfeedhobo)
2018-05-30 15:49:33 -05:00
luigi1111
a7ea14dc6a
Merge pull request #3876
...
740da1b core: fix automatic safe db sync mode switching (moneromooo-monero)
e942d34 protocol: do not switch to unsafe sync mode for just a few blocks (moneromooo-monero)
2018-05-30 15:46:13 -05:00
luigi1111
4267a0bb51
Merge pull request #3731
...
a66f152 Use median timestamp if current time renders a block invalid. (thaerkh)
2018-05-30 15:44:25 -05:00
moneromooo-monero
b665bab1d6
rpc: fix get_output_distribution cache for the cumulative case
...
The distribution was not converted to cumulative after a cache hit
2018-05-30 15:03:36 +01:00
moneromooo-monero
e09710f76e
blockchain_blackball: also blackball N N-sized duplicate rings
...
These are unlikely to happen at random, but Wijaya et al made
a paper about it, so people might try it on purpose now (and it
turns out it's easy to add anyway)
2018-05-30 11:45:20 +01:00
moneromooo-monero
66f4700f57
blockchain_blackball: add incremental mode
2018-05-30 11:45:16 +01:00
moneromooo-monero
b26cd26333
blockchain_utilities: do not link against unneeded p2p lib
2018-05-30 11:45:13 +01:00
stoffu
0321d1ac79
unit_tests/hardfork: add tests for get_voting_info()
2018-05-30 09:49:58 +09:00
stoffu
98cf62cc45
hardfork: fix get_next_version()
2018-05-30 09:49:57 +09:00
stoffu
7e30eadb32
unit_tests/hardfork: add tests for check_for_height()
2018-05-30 09:49:55 +09:00
stoffu
a79fc219b7
hardfork: fix get_earliest_ideal_height_for_version() to support non-existent versions
2018-05-30 09:49:52 +09:00
luigi1111
c534fe8d19
Merge pull request #3251
...
b9389e5 db_lmdb: save pruned and prunable tx data separately (moneromooo-monero)
2018-05-29 17:56:26 -05:00
luigi1111
c4907d24cb
Merge pull request #3477
...
3f5fb6f simplewallet: add --untrusted-daemon option (moneromooo-monero)
2018-05-29 13:01:50 -05:00
luigi1111
8e1b322a15
Merge pull request #3470
...
ad19f86 don't show error twice when starting simplewallet (cryptochangements34)
2018-05-29 12:59:58 -05:00
luigi1111
ed72f35e9a
Merge pull request #3446
...
a6b8d3f tx_pool: remove old comment from fill_block_template() (stoffu)
2018-05-29 12:57:43 -05:00
luigi1111
764340d112
Merge pull request #3420
...
a6a54fa blockchain: cache difficulty for next block (moneromooo-monero)
2018-05-29 12:55:19 -05:00
luigi1111
5b189ce2a8
Merge pull request #3405
...
80d2f80 wallet2: Update function parameter documentation (leonklingele)
2018-05-29 12:52:43 -05:00
luigi1111
08819705fc
Merge pull request #3847
...
49f4645 bump version for point release (fluffypony)
6715c90 update checkpoints for point release (fluffypony)
45975fd update checkpoints (fluffypony)
2018-05-29 12:48:35 -05:00
k1nghat
91663fcc00
adding win building details.
...
cloning and extra build details included.
2018-05-29 12:20:35 -05:00
moneromooo-monero
5a412b7a3f
disable file size sanity check when loading the wallet cache
2018-05-28 14:58:22 +01:00
moneromooo-monero
e942d34d54
protocol: do not switch to unsafe sync mode for just a few blocks
2018-05-28 14:36:12 +01:00
moneromooo-monero
740da1ba95
core: fix automatic safe db sync mode switching
2018-05-28 12:14:04 +01:00
stoffu
a6b8d3fee1
tx_pool: remove old comment from fill_block_template()
2018-05-28 13:41:39 +09:00
moneromooo-monero
dfd36bbebb
http_protocol_handler: limit the number of starting newlines
2018-05-27 09:43:54 +01:00
moneromooo-monero
4d15864728
abstract_tcp_server2: timeout on RPC connections
2018-05-26 20:18:36 +01:00
moneromooo-monero
885a117ddb
http_protocol_handler: speedup newline discarding
2018-05-26 20:18:33 +01:00
moneromooo-monero
6a58c88e2d
console_handler: fix start_default_console use of prompt parameter
...
It had not been updated to the function type change
2018-05-26 20:18:30 +01:00
moneromooo-monero
a87980f6c2
fix build with GCC 8.1.0
2018-05-26 14:54:10 +01:00
moneromooo-monero
de1ffe07b1
p2p: warn when no incoming connections are seen for a while
2018-05-26 14:37:07 +01:00
anonimal
8a6c081df7
rapidjson: remove outdated in-tree, use submodule
...
Includes ~2 years worth of fixes including security and build.
Note: this pulls directly from master, not a release branch/tag. See
https://github.com/Tencent/rapidjson/issues/1265
2018-05-25 04:50:20 +00:00
moneromooo-monero
b9389e582e
db_lmdb: save pruned and prunable tx data separately
...
This bumps DB version to 2, migration code will run for v1 DBs
2018-05-23 22:48:12 +01:00
Riccardo Spagni
45975fd8eb
update checkpoints
2018-05-23 21:20:15 +02:00
Riccardo Spagni
6715c90667
update checkpoints for point release
2018-05-23 21:20:10 +02:00
Riccardo Spagni
49f4645f1d
bump version for point release
2018-05-23 21:20:05 +02:00
cslashm
bdf5a3ad3f
Fix PCSC compilation under windows
...
PR3843 based on release-v0.12 => rebased on master
2018-05-23 10:22:55 +02:00
Riccardo Spagni
a2cef8cba4
Merge pull request #3800
...
9317bce9 crypto: more places needing fixing for GCC 8.1 (moneroexamples)
4a72d595 chacha: fix build with GCC 8.1 (moneromooo-monero)
2018-05-21 21:58:49 +02:00
Riccardo Spagni
0889d2f85e
Merge pull request #3842
...
64f82e04 unit_tests: fix build after get_output_didstribution signature change (moneromooo-monero)
2018-05-21 21:57:30 +02:00
moneromooo-monero
64f82e0481
unit_tests: fix build after get_output_didstribution signature change
2018-05-21 20:49:02 +01:00
Riccardo Spagni
f794d3b3df
Merge pull request #3787
...
ce63ab09 blockchain: invalidate misc caches when popping blocks (moneromooo-monero)
2018-05-21 21:36:38 +02:00
Riccardo Spagni
e6d45d2db6
Merge pull request #3782
...
18cd6837 Fix mdb_load append option (hyc)
97050326 ITS#8831 move flag init into readhdr (hyc)
2018-05-21 21:36:02 +02:00
Riccardo Spagni
709658d166
Merge pull request #3832
...
cb9c7972 Fix output shuffling for multisig (stoffu)
2018-05-21 20:57:52 +02:00
Riccardo Spagni
4dae04dde2
Merge pull request #3837
...
18761b37 simplewallet: use correct unit for fee command (stoffu)
2018-05-21 20:57:07 +02:00
Riccardo Spagni
d6cefbd1b8
Merge pull request #3745
...
b13bddc3 Wallet API: allow log path to be non-default & console output to be configurable (stoffu)
2018-05-21 20:56:20 +02:00
Riccardo Spagni
2a1e23e087
Merge pull request #3814
...
5f8ffca3 speed up get_output_distribution (and precalc common case) (moneromooo-monero)
2018-05-21 20:55:02 +02:00
moneromooo-monero
5f8ffca34d
speed up get_output_distribution (and precalc common case)
2018-05-21 19:51:58 +01:00
Riccardo Spagni
2f5506daf8
Merge pull request #3830
...
29fbaeaa daemon: request unpruned transactions for print_tx (moneromooo-monero)
2018-05-21 20:46:57 +02:00
Riccardo Spagni
73a45e98ad
Merge pull request #3765
...
b6a76f76 Update readme to include link to announcement list (Gingeropolous)
2018-05-21 20:46:13 +02:00
Riccardo Spagni
791da4343c
Merge pull request #3749
...
872cb4ef blockchain: pop top if block version disagrees with the ideal fork version (stoffu)
2018-05-21 20:45:35 +02:00
Riccardo Spagni
2906a24179
Merge pull request #3809
...
b88c9a00 unit_tests: set default data dir to the source tree at build time (moneromooo-monero)
2018-05-21 20:44:07 +02:00
Riccardo Spagni
ed22abb798
Merge pull request #3807
...
a5c98609 version.cmake: fix configuring version.cpp without git (moneromooo-monero)
2018-05-21 20:43:11 +02:00
Riccardo Spagni
81db197383
Merge pull request #3841
...
ff31611a Revert "Merge pull request #3775 " (Riccardo Spagni)
2018-05-21 20:41:44 +02:00
Riccardo Spagni
ff31611a32
Revert "Merge pull request #3775 "
...
This reverts commit 20ef37bbca , reversing
changes made to 40070a661f .
2018-05-21 20:30:31 +02:00
stoffu
18761b372f
simplewallet: use correct unit for fee command
2018-05-20 23:16:31 +09:00
moneromooo-monero
3147468d35
unit_tests: add threadpool unit test
2018-05-20 12:06:10 +01:00
moneromooo-monero
ce173cbb5b
core: remove threadpool dependency from header
2018-05-20 12:06:07 +01:00
moneromooo-monero
db55263b4c
threadpool: allow constructing an object, and misc tweaks
...
use unsigned int to avoid having to range check negative numbers,
use const where possible, don't needlessly create empty objects,
use std::move where possible
2018-05-20 12:06:03 +01:00
stoffu
cb9c7972b6
Fix output shuffling for multisig
2018-05-20 09:38:41 +09:00
Judemir Ribeiro
d44d19ca79
Fixed for compilation in big endian PPC. "Everything is broken thought due to little endian logic."
2018-05-19 18:03:59 -04:00
moneromooo-monero
29fbaeaae5
daemon: request unpruned transactions for print_tx
...
instead of uninitialized
2018-05-19 00:04:46 +01:00
moneromooo-monero
16e209e08d
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-05-18 09:39:56 +01:00
moneromooo-monero
a2566db09e
object_sizes: add a few useful types
2018-05-17 10:40:11 +01:00
moneromooo-monero
558d05b47e
epee: log type name when a container size check fails
2018-05-17 10:40:08 +01:00
moneromooo-monero
b88c9a003e
unit_tests: set default data dir to the source tree at build time
2018-05-15 21:45:34 +01:00
moneromooo-monero
a5c98609a1
version.cmake: fix configuring version.cpp without git
2018-05-15 18:40:16 +01:00
jcktm
89e51ecd38
simple-wallet-cli: Add warnings about inaccurate balances to to watch-only wallet
2018-05-15 15:28:42 +10:00
moneroexamples
9317bce9ca
crypto: more places needing fixing for GCC 8.1
2018-05-13 18:17:13 +01:00
moneromooo-monero
4a72d595a6
chacha: fix build with GCC 8.1
2018-05-13 18:17:11 +01:00
Rafficer
f357210c00
Fix Typo
2018-05-12 20:18:21 +02:00
Riccardo Spagni
4b728d7dd4
Merge pull request #3794
...
a58d9738 wallet2: consider 6 outputs or less to be unmixable from v7 (moneromooo-monero)
2018-05-10 17:22:58 -07:00
moneromooo-monero
a58d9738c9
wallet2: consider 6 outputs or less to be unmixable from v7
2018-05-10 21:19:33 +01:00
moneromooo-monero
b5cb1bc403
blockchain: avoid exception if asked for a block we do not have
...
This can happen if a peer tries to obtain the next span from other
peers if that span is needed for not downloaded yet. Also if the
peer maliciously requests a non existent block hash.
2018-05-09 14:03:07 +01:00
moneromooo-monero
ce63ab09db
blockchain: invalidate misc caches when popping blocks
...
Might be a bit heavy handed, but conservative.
2018-05-09 09:10:56 +01:00
cryptochangements34
261ee5628b
don't limit miner threads in wallet
2018-05-08 19:09:14 -04:00
Riccardo Spagni
52f6b33890
Merge pull request #3775
...
6f859e43 cryptonote: make sure outPk setup always happens (moneromooo-monero)
2018-05-08 09:59:28 +02:00
hyc
18cd6837b6
Fix mdb_load append option
...
Use MDB_CURRENT to avoid seeking to new key when appending DUPs.
Reinit cursor on new batch, if appending DUPs.
2018-05-08 06:29:13 +01:00
hyc
9705032618
ITS#8831 move flag init into readhdr
...
Avoid stomping on flags from 1st readhdr invocation
2018-05-08 06:13:21 +01:00
Gene Peters
a7ce392eef
Updating the FindReadline CMake hint to search in homebrew's default directory
2018-05-07 14:44:38 -07:00
Gingeropolous
b6a76f76e7
Update readme to include link to announcement list
...
Added link to readme for https://lists.getmonero.org
2018-05-06 14:23:53 -04:00
itssteven
eb9f3a3294
check_spend_proof
...
My intention is to mitigate #3761 by returning "bad signature", rather than throwing an error, as the error is triggered inappropriately in the case of checking a different txid than the one used to create the signature, which causes issues for monerophp: https://github.com/monero-integrations/monerophp/issues/72 & my temp fix: https://github.com/monero-integrations/monerophp/pull/74
2018-05-06 17:42:27 +01:00
cryptochangements34
6f9260e38e
handle optional miner params better
2018-05-06 12:28:57 -04:00
stoffu
872cb4efd8
blockchain: pop top if block version disagrees with the ideal fork version
2018-05-06 20:50:46 +09:00
Teutone
4812c062c5
add .load() to make Boost 1.67 happy with its new is_integral check
2018-05-05 21:44:28 +02:00
Riccardo Spagni
7ed94d3122
Merge pull request #3752
...
5f193847 ringct: do not show verification errors with default settings (moneromooo-monero)
2018-05-05 08:58:31 +02:00
moneromooo-monero
5f19384729
ringct: do not show verification errors with default settings
2018-05-04 08:27:55 +01:00
stoffu
b13bddc3c9
Wallet API: allow log path to be non-default & console output to be configurable
2018-05-04 10:21:25 +09:00
Thaer Khawaja
fa0839f2f5
Ensure m_timestamps has the correct number for computing difficulty.
2018-04-29 19:50:55 -07:00
moneromooo-monero
1590183965
p2p: fix fallback seed node usage
...
Those were added to the seed nodes list even when they had already
been added. Moreover, the current index was not reset after they
were added, typically causing previous seeds to be used, and some
of those fallback seeds to not be tried.
2018-04-29 14:58:42 +01:00
moneromooo-monero
d9d002c3c1
daemon: print peer state in sync_info
...
It's often relevant
2018-04-28 19:56:39 +01:00
moneromooo-monero
9cc0d4220f
connection_context: remove "state_" prefix from state names
...
It's redundant and makes it easier to print them in columns
2018-04-28 19:56:28 +01:00
moneromooo-monero
099bb830cf
easylogging++: cached allowed categories
...
It turns out this can be fairly heavy when logging a lot
2018-04-25 20:39:46 +01:00
naughtyfox
b21bc00704
Wallet: added methods to sign and verify arbitrary message with multisig public signer's key (libwallet & wallet api)
2018-04-25 17:55:54 +03:00
moneromooo-monero
3ca267b546
cn_deserialize: dump additional tx pubkeys
2018-04-25 14:28:39 +01:00
moneromooo-monero
efcecb42f3
mnemonics: add some logs to help debug failures
2018-04-25 14:27:24 +01:00
moneromooo-monero
6b13976330
blockchain: log in DEBUG when a block is found, and where
...
Eases up debugging
2018-04-23 11:43:12 +01:00
stoffu
f36132a837
wallet cli/rpc: terminate execution with code 0 when --help or --version is given
2018-04-22 11:48:44 +09:00
Ryan Ronnander
6f36cf02e7
Improve 'show_transfers' date formatting
...
Change the wallet's 'show_transfers' command to always output the transaction date with timestamp (24 hour UTC).
2018-04-15 19:23:15 -07:00
cryptochangements34
e2b75586fb
handle improper log levels
2018-04-15 11:33:22 -04:00
moneromooo-monero
c1bda097c1
wallet_rpc_server: add a get_version RPC
2018-04-14 13:34:05 +01:00
naughtyfox
8787fd899b
WalletApi: publicMultisigSignerKey method
2018-04-13 13:15:20 +03:00
moneromooo-monero
4c00a4d31e
unit_tests: add device unit tests
...
Annoyingly, its locking semantics are borked since it does not
do any locking
2018-04-12 13:49:05 +01:00
moneromooo-monero
6a61f520e2
unit_tests: add ringdb unit tests
2018-04-11 11:43:39 +01:00
stoffu
54d9fffa10
gtest: Fix compilation on MinGW with pthread /googletest#621
2018-04-11 11:35:45 +09:00
moneromooo-monero
90a16b119f
crypto: fix initialization order issue with random mutex
2018-04-10 12:30:48 +01:00
cryptochangements34
372ffeba21
Add a space in mining to testnet/stagenet string
2018-04-08 00:23:59 -04:00
stoffu
353e9c0c90
Core RPC: optionally add POW hash to block_header_response
2018-04-05 23:15:15 +09:00
moneromooo-monero
6fc97c97eb
blockchain_usage: don't divide by 0 when there is nothing to process
...
Coverity 184942
2018-04-03 11:16:38 +01:00
stoffu
66a659bb03
blockchain: add scope guard to waiter for threaded txv1 verification
2018-03-30 19:22:32 +09:00
Sarang Noether
52a4b70afd
Add key for Sarang Noether
2018-03-29 19:54:16 -04:00
naughtyfox
5a96056600
WalletApi: getMultisigInfo entry for gui wallets
...
WalletApi: makeMultisig call introduced
WalletApi: finalizeMultisig call introduced
WalletApi: new calls exportMultisigImages and importMultisigImages
WalletApi: method to return multisig wallet creation state
WalletApi: create multisig transaction, sign multisig transaction, commit transaction and get multisig data are added
WalletApi: identation and style fixes
2018-03-28 18:22:13 +03:00
naughtyfox
47fdb74273
Refactored: work with wallet api statuses to make setting and getting operations atomic along with error strings
...
WalletApi: added method statusWithErrorString to atomically retrieve error with error string
2018-03-28 16:11:16 +03:00
moneromooo-monero
a0a810ccd4
performance_tests: fix subaddress expansion test not expanding
2018-03-27 15:06:19 +01:00
cryptochangements34
c8cb5fca5e
exit if specified wallet file doesn't exist
2018-03-24 11:13:21 -04:00
hrumag
8df202ec79
Updates italian localizations.
2018-03-22 22:31:41 +01:00
moneromooo-monero
3f5fb6fe6d
simplewallet: add --untrusted-daemon option
2018-03-22 14:20:55 +00:00
cryptochangements34
ad19f8679e
don't show error twice when starting simplewallet
2018-03-21 22:56:04 -04:00
stoffu
3b941befae
core: add get_earliest_ideal_height_for_version()
2018-03-21 01:53:24 +09:00
moneromooo-monero
a6a54fa883
blockchain: cache difficulty for next block
...
Takes about 10 ms, which takes pretty much all of the get_info
RPC, which is called pretty often from wallets.
Also add a new lock so we don't need to lock the blockchain lock,
which will avoid blocking for a long time when calling the getinfo
RPC while syncing. Users of get_difficulty_for_next_block who need
the lock will have locked it already.
2018-03-19 09:05:40 +00:00
cornfeedhobo
b55c14cd1f
fix sha256sum check, which requires two spaces. added set -ex to catch this, and other, errors in the future.
2018-03-18 18:07:10 -05:00
Leon Klingele
80d2f8007c
wallet2: Update function parameter documentation
...
This completes and fixes various parameters docs
2018-03-14 16:41:24 +01:00