tobtoht
09a597ba28
wallet2: don't use DNS to obtain segregation heights
2022-06-28 23:12:03 +02:00
tobtoht
04c0da2986
Chunk /gettransactions to avoid hitting restricted RPC limit
2022-06-27 21:23:56 +02:00
tobtoht
db8181adf8
wallet2: force using output distribution for ringct outs
...
Co-authored-by: j-berman <justinberman@protonmail.com>
2022-06-25 13:06:11 +02:00
tobtoht
50ccc7e726
wallet2: remove obsolete rpc version check
2022-06-24 21:58:07 +02:00
TheCharlatan
6f3abbead5
Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26)
2022-06-22 23:39:03 +02:00
moneromooo-monero
4278a3a7e3
cryptonote_basic: catch crypto api errors
2022-06-20 22:17:57 +00:00
hinto.janaiyo
41b1a6b0dd
simplewallet: print usage when given no args
2022-06-20 08:15:07 -04:00
j-berman
8460fcc32b
Revert "Merge pull request #7937 "
...
This reverts commit 50410d1f7d
, reversing
changes made to d054def63f
.
2022-06-13 18:44:09 +01:00
mj-xmr
61d0712ed5
Gitian: refresh the stale Monero dir via --setup switch
2022-06-06 15:52:36 +02:00
Kris Zyp
ade464a5a0
ITS#9385 fix using MDB_NOSUBDIR with nonexistent file
2022-06-03 16:46:59 +01:00
Howard Chu
033a32a20b
Remove check is_directory check on lmdb path
...
The check interferes with raw device/partition support.
2022-06-03 16:46:47 +01:00
Howard Chu
b096e16699
Revert "db_lmdb: test for mmap support at init time"
...
This reverts commit bd96536637
.
The check interferes with raw device/partition support.
2022-06-03 16:46:35 +01:00
Howard Chu
493577a6cd
Silence spurious fallthru warning
2022-06-03 16:46:18 +01:00
Howard Chu
b46a60e390
Fix rawpart flag collision
2022-06-03 16:46:04 +01:00
Howard Chu
4e7586c9e4
More RAWPART support
...
Use mmap to read and initialize the meta pages, raw device
may not support read/write syscalls.
2022-06-03 16:45:49 +01:00
Howard Chu
747f5d3594
Preliminary raw partition support
...
Autodetects that a block device is being used.
2022-06-03 16:45:39 +01:00
Luke Parker
16f8e042b5
Remove erraneous commas
2022-06-01 19:38:42 -04:00
Luke Parker
da0715e503
Improve consistency between on_money_received and on_money_received_unconfirmed
...
unconfirmed solely uses a - b, and received now accepts b so it can
provide more detailed logs on what occurred (printing a - b, yet with a
and b).
2022-06-01 18:20:11 -04:00
Jeffrey Ryan
fb3f7cebbf
clang warning fix for #8338
...
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-27 20:27:46 -05:00
luigi1111
9750e1fa10
Merge pull request #8340
...
08080df
unit_tests: add more sha256sum test cases (Jeffrey Ryan)
a66a52d
common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26 21:26:42 -05:00
luigi1111
72cba50458
Merge pull request #8338
...
5858f05
GCC: Fix -Wstringop-overflow= warnings (Jeffrey Ryan)
2022-05-26 21:25:30 -05:00
luigi1111
e8252ef99b
Merge pull request #8337
...
1164874
src, epee: fix a couple compiler warnings (selsta)
2022-05-26 21:25:06 -05:00
luigi1111
1ff2b02064
Merge pull request #8331
...
fde7c96
wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
2022-05-26 21:24:38 -05:00
luigi1111
f9d789d68c
Merge pull request #8330
...
2dab31f
Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-26 21:23:38 -05:00
luigi1111
f96cf86532
Merge pull request #8328
...
2979474
disable multisig by default (moneromooo-monero)
2022-05-26 21:22:52 -05:00
luigi1111
d52b7d0e99
Merge pull request #8326
...
b9d2c78
fix backoff delay logic when re-relaying txs (j-berman)
2022-05-26 21:21:18 -05:00
luigi1111
7b0b06af84
Merge pull request #8325
...
62914e7
Ignore gitian build files (Jeffrey Ryan)
2022-05-26 21:20:49 -05:00
luigi1111
7f2f7ce404
Merge pull request #8324
...
bae4a1a
Don't send peerlist larger than max allowed (j-berman)
2022-05-26 21:20:23 -05:00
luigi1111
6d0df2f041
Merge pull request #8318
...
af08c83
utils: delete outdated windows build script (selsta)
2022-05-26 21:19:40 -05:00
garth-xmr
bc05d2dfa8
README.md: Add v15/v16 network upgrade
...
Remade #8270 (includes edits from UkoeHB)
2022-05-26 19:20:51 +00:00
selsta
de2f0d0102
wallet_api: add scanTransactions function
2022-05-26 03:51:31 +02:00
luigi1111
97271b7d20
Merge pull request #8349
...
026dbc8
Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
2022-05-23 14:37:42 -05:00
Jeffrey Ryan
026dbc89bf
Windows build: fix narrowing error for WaitForSingleObject
...
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-23 02:07:56 -05:00
j-berman
2dab31f62f
Don't exclusively drop tor/i2p outgoing cxns in idle loop
2022-05-18 09:54:21 -07:00
Jeffrey Ryan
08080df2d9
unit_tests: add more sha256sum test cases
2022-05-18 01:34:20 +02:00
Jeffrey Ryan
a66a52d144
common: update sha256sum to use OpenSSL 3.0 API
...
As of OpenSSL 3.0, `SHA256_Init`, `SHA256_Update`, and `SHA256_Final`
are deprectaed in favor of the higher-level `EVP_*` class of functions.
This causes compiler warnings, and sooner or later, will cause build
errors as these functions are excluded from distro headers.
Also add some documentation.
2022-05-18 01:34:16 +02:00
moneromooo-monero
2979474221
disable multisig by default
...
There are vulnerabilities in multisig protocol if the parties do not
trust each other, and while there is a patch for it, it has not been
throroughly reviewed yet, so it is felt safer to disable multisig by
default for now.
If all parties in a multisig setup trust each other, then it is safe
to enable multisig.
2022-05-17 19:52:03 +00:00
Jeffrey Ryan
5858f05f9b
GCC: Fix -Wstringop-overflow= warnings
...
Resolves #8320
2022-05-16 19:13:02 -05:00
selsta
1164874afc
src, epee: fix a couple compiler warnings
2022-05-17 00:33:10 +02:00
luigi1111
6e60919e6d
Merge pull request #8315
...
1ddb1ee
Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16 13:53:16 -05:00
luigi1111
44c0470e1e
Merge pull request #8312
...
5c27fd8
depends: Package cleanup (Howard Chu)
c1d47eb
Update randomx: fix Mac linking error (Howard Chu)
02e6af2
Update CI for aarch64 mac build (selsta)
7ea1e21
Make Mac SDK into a regular depends package (Howard Chu)
e81ab9b
Silence some protobuf link warnings (Howard Chu)
fe5c2ae
Fix arm64 darwin package defs (Howard Chu)
fb68465
Boost 1.64 doesn't recognize arm64 darwin (Howard Chu)
617f908
more... update to clang 9.0.0 (Howard Chu)
83ae3ad
Split native_clang out of native_cctools (Howard Chu)
1008318
Update native_cctools for newer SDK support (Howard Chu)
a86c4cb
Update to MacOSX SDK 11.1, add Mac M1 (Howard Chu)
2022-05-16 13:52:33 -05:00
luigi1111
5b9724b03d
Merge pull request #8308
...
f63f7dc
wallet2: fix a couple unused variable warnings (selsta)
2022-05-16 13:51:18 -05:00
luigi1111
3d1e5db44d
Merge pull request #8307
...
b7978cf
Remove src/serialization/list.h (Jeffrey)
2022-05-16 13:50:52 -05:00
luigi1111
f555e3855b
Merge pull request #8266
...
ab9766e
depends: update unbound to 1.15.0 (selsta)
2022-05-16 13:50:27 -05:00
luigi1111
f4669bfa2b
Merge pull request #8046
...
df2e680
wallet2: speedup large tx construction: reserve vector memory (moneromooo-monero)
38cdf01
wallet2: speedup large tx construction: batch ringdb lookups (Crypto City)
353cd53
wallet2: speedup large tx construction: no pointless clsag generation (Crypto City)
2b95178
wallet2: speedup large tx construction: batch ringdb updates (Crypto City)
c9cf0b7
wallet2: speedup large tx construction: cache public key validity (moneromooo-monero)
2022-05-16 13:48:23 -05:00
moneromooo-monero
fde7c96b5c
wallet2: fix spurious reorg detection with untrusted nodes
...
When forced to deal with an untrusted node, a wallet will quantize
its current height to disguise the real height to the adversary, to
try and minimize the daemon's ability to distinguish returning
wallets.
Daemons will thus return more blocks than the wallet needs, starting
from earlier in the chain. These extra blocks will be disregarded
by the wallet, which had already scanned them.
However, for the purposes of reorg size detection, the wallet assumes
all blocks the daemon sends are different, which is only correct if
the wallet hasn't been coy, which is only the case for trusted
daemons (which you should use). This causes an issue when the size
of this "fake reorg" is above the sanity check threshold at which
the wallet refuses a reorg.
To fix this, the reorg size check is moved later on, when the reorg
is about to actually happen, after the wallet has checked which
blocks are actually different from the ones it expects.
2022-05-15 11:57:37 +00:00
moneromooo-monero
df2e680825
wallet2: speedup large tx construction: reserve vector memory
...
2.8 seconds -> 2.6 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
38cdf01c64
wallet2: speedup large tx construction: batch ringdb lookups
...
3.3 seconds -> 2.8 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
353cd5355e
wallet2: speedup large tx construction: no pointless clsag generation
...
4.1 seconds -> 3.3 seconds on a test case
2022-05-13 17:43:21 +00:00
Crypto City
2b95178897
wallet2: speedup large tx construction: batch ringdb updates
...
5.2 seconds -> 4.1 seconds on a test case
2022-05-13 17:43:20 +00:00