luigi1111
ef3e18b51b
Merge pull request #9226
...
b5b72ae Fixed mempool pruning (SChernykh)
2024-03-08 20:23:52 -05:00
SChernykh
b5b72ae05c
Fixed mempool pruning
...
- Fixed undefined behavior after a call to `remove_tx_from_transient_lists` (it used an invalid iterator)
- Fixed `txCompare` (it wasn't strictly weak ordered)
2024-03-08 21:03:41 +01:00
luigi1111
5eb3fc29bb
Merge pull request #9223
...
36ee12b get_block_template_backlog: better sorting logic (SChernykh)
2024-03-08 13:46:09 -05:00
luigi1111
c225a1f25b
Merge pull request #9224
...
eeb7c7c tx_memory_pool: make double spends a no-drop offense (jeffro256)
2024-03-08 10:49:17 -05:00
luigi1111
ff15cb2f04
Merge pull request #9220
...
32b3a56 wallet2: adjust fee during backlog, fix set priority (selsta)
2024-03-08 10:44:12 -05:00
jeffro256
eeb7c7c546
tx_memory_pool: make double spends a no-drop offense
...
Nodes who see different txs in a double spend attack will drop each other, splitting the network.
Issue found by @boog900.
2024-03-08 08:14:06 -06:00
SChernykh
36ee12bd8d
get_block_template_backlog: better sorting logic
...
std::sort is unstable, so it can return random sets of transactions when mempool has many transactions with the same fee/byte. It can result in p2pool mining empty blocks sometimes because it doesn't pick up "new" transactions immediately.
2024-03-08 14:51:33 +01:00
selsta
32b3a56313
wallet2: adjust fee during backlog, fix set priority
2024-03-08 14:12:17 +01:00
luigi1111
b23116424d
Merge pull request #9217
...
7807f56 unit_tests: fix strtoul unit test (jeffro256)
2024-03-07 21:38:04 -05:00
jeffro256
7807f569e4
unit_tests: fix strtoul unit test
2024-03-07 16:10:01 +01:00
luigi1111
68e40ea2a7
Merge pull request #9158
...
33e3f72 serialization: fix infinite loops and clean up dispatching (jeffro256)
2024-02-24 10:19:58 -05:00
luigi1111
c6ff0d3820
Merge pull request #9136
...
f2360a7 build: prepare v0.18.3.2 (selsta)
2024-02-24 10:18:40 -05:00
luigi1111
0d2f515ecc
Merge pull request #9190
...
c97c2ec docs: omit i2p port number from ANONYMITY_NETWORKS (selsta)
2024-02-24 10:17:25 -05:00
luigi1111
522d82276e
Merge pull request #9188
...
0cc8f7a cryptonote_core: early out on out of bounds scaling parameter (selsta)
2024-02-24 10:16:13 -05:00
luigi1111
4f6f6d9e27
Merge pull request #9178
...
b987870 depends: openssl: update to 3.0.13 (tobtoht)
3aabfcf depends: unbound: update to 1.19.1 (tobtoht)
8322f9c depends: expat: update to 2.6.0 (tobtoht)
2024-02-24 10:14:25 -05:00
luigi1111
3872753202
Merge pull request #9159
...
fbd0b19 remove ARCH=x86-64 from release-static (woodser)
2024-02-24 10:09:28 -05:00
luigi1111
13ed9d501b
Merge pull request #9156
...
052df1b Zero initialize rctSigBase elements (Lee *!* Clagett)
2024-02-24 10:08:33 -05:00
luigi1111
b335433204
Merge pull request #9145
...
f5b8634 Add <cstdint> to aligned test (Lee *!* Clagett)
2024-02-24 10:07:23 -05:00
luigi1111
8a1e49664e
Merge pull request #9142
...
98ee46f Disable/fix ports with I2P (Lee Clagett)
2024-02-24 10:06:26 -05:00
luigi1111
2f912f8a58
Merge pull request #9130
...
dfb990e wallet: mitigate statistical dependence for decoy selection within rings (jeffro256)
2024-02-24 10:01:09 -05:00
luigi1111
81f113dd8c
Merge pull request #9008
...
9a89e2d wallet2: call on_reorg callback in handle_reorg (j-berman)
1df5630 wallet2: add on_reorg callback (Crypto City)
2024-02-24 09:58:30 -05:00
luigi1111
f9a7f2a136
Merge pull request #8945
...
51d7a69 wallet: feature: transfer amount with fee included (jeffro256)
2024-02-24 09:56:28 -05:00
selsta
c97c2ec01c
docs: omit i2p port number from ANONYMITY_NETWORKS
2024-02-21 01:03:11 +01:00
jeffro256
51d7a6921c
wallet: feature: transfer amount with fee included
...
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example:
transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all
If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly
less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index.
For example:
transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2
This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses
`75sr8AAr...` and `7AbWqDZ6...`, respectively.
Disclaimer: This feature was paid for by @LocalMonero.
2024-02-20 17:08:42 -06:00
selsta
f2360a725e
build: prepare v0.18.3.2
2024-02-20 15:37:47 +01:00
selsta
0cc8f7aaa3
cryptonote_core: early out on out of bounds scaling parameter
2024-02-20 15:21:27 +01:00
tobtoht
b987870553
depends: openssl: update to 3.0.13
2024-02-18 23:17:05 +01:00
tobtoht
3aabfcfce5
depends: unbound: update to 1.19.1
2024-02-18 23:16:41 +01:00
tobtoht
8322f9c4f5
depends: expat: update to 2.6.0
2024-02-18 23:16:05 +01:00
woodser
fbd0b19fc8
remove ARCH=x86-64 from release-static
2024-02-10 08:37:35 -05:00
jeffro256
33e3f72d24
serialization: fix infinite loops and clean up dispatching
...
Resolves #8687
2024-02-08 13:22:33 -06:00
Lee *!* Clagett
052df1b28c
Zero initialize rctSigBase elements
2024-02-06 13:23:10 -05:00
Lee Clagett
98ee46f249
Disable/fix ports with I2P
2024-01-30 13:36:21 -05:00
Lee *!* Clagett
f5b86342e8
Add <cstdint> to aligned test
2024-01-29 21:40:50 -05:00
jeffro256
dfb990e8bb
wallet: mitigate statistical dependence for decoy selection within rings
...
Since we are required to check for uniqueness of decoy picks within any given
ring, and since some decoy picks may fail due to unlock time or malformed EC points,
the wallet2 decoy selection code was building up a larger than needed *unique* set of
decoys for each ring according to a certain distribution *without replacement*. After
filtering out the outputs that it couldn't use, it chooses from the remaining decoys
uniformly random *without replacement*.
The problem with this is that the picks later in the picking process are not independent
from the picks earlier in the picking process, and the later picks do not follow the
intended decoy distribution as closely as the earlier picks. To understand this
intuitively, imagine that you have 1023 marbles. You label 512 marbles with the letter A,
label 256 with the letter B, so on and so forth, finally labelling one marble with the
letter J. You put them all into a bag, shake it well, and pick 8 marbles from the bag,
but everytime you pick a marble of a certain letter, you remove all the other marbles
from that bag with the same letter. That very first pick, the odds of picking a certain
marble are exactly how you would expect: you are twice as likely to pick A as you are B,
twice as likely to pick B as you are C, etc. However, on the second pick, the odds of
getting the first pick are 0%, and the chances for everything else is higher. As you go
down the line, your picked marbles will have letters that are increasingly more unlikely
to pick if you hadn't remove the other marbles. In other words, the distribution of the
later marbles will be more "skewed" in comparison to your original distribution of marbles.
In Monero's decoy selection, this same statistical effect applies. It is not as dramatic
since the distribution is not so steep, and we have more unique values to choose from,
but the effect *is* measureable. Because of the protocol rules, we cannot have duplicate
ring members, so unless that restriction is removed, we will never have perfectly
independent picking. However, since the earlier picks are less affected by this
statistical effect, the workaround that this commit offers is to store the order that
the outputs were picked and commit to this order after fetching output information over RPC.
2024-01-19 13:31:15 -06:00
luigi1111
8eab181fe1
Merge pull request #9080
...
47d8899 Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
2024-01-18 18:03:43 -05:00
luigi1111
9a70f43440
Merge pull request #9053
...
fe746dc Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB (Lee *!* Clagett)
2024-01-18 17:57:54 -05:00
Lee Clagett
47d8899c90
Fix missing checks for IsObject in ZMQ jsonrpc reading
2023-11-28 18:05:15 -05:00
luigi1111
c09062087e
Merge pull request #9051
...
fe47806 wallet: fix multisig key memory leak (jeffro256)
2023-11-06 09:39:19 -05:00
luigi1111
9a5f8431b4
Merge pull request #9047
...
6c38c21 heed NO_COLOR environment variable (moneromooo-monero)
2023-11-06 09:36:08 -05:00
luigi1111
79107ff68f
Merge pull request #9046
...
5435202 readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
2023-11-06 09:35:37 -05:00
luigi1111
646c3fb0d9
Merge pull request #9043
...
e7d51e5 JH hash compiler workarounds (SChernykh)
2023-11-06 09:34:13 -05:00
luigi1111
c193c5e85d
Merge pull request #9039
...
0f75585 multisig: better errors for small malformed kex msgs (jeffro256)
2023-11-06 09:32:18 -05:00
luigi1111
d5c667a5ad
Merge pull request #9036
...
eae62a0 ringct: make
ctSigBase serialization follow strict aliasing rule (jeffro256)
2023-11-06 09:29:03 -05:00
luigi1111
2fe5a5e073
Merge pull request #9034
...
14ae812 cryptonote_config: include cstdint (jeffro256)
2023-11-06 09:27:51 -05:00
luigi1111
95e4fc3602
Merge pull request #9029
...
5b0c274 gitian: add riscv64 support (selsta)
2023-11-06 09:25:51 -05:00
SChernykh
e7d51e5583
JH hash compiler workarounds
...
- Fixed uninitialized `state->x` warning
- Fixed broken code with `-O3` or `-Ofast`
The old code is known to break GCC 10.1 and GCC 11.4
2023-11-04 21:01:47 +01:00
Lee *!* Clagett
fe746dca4e
Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB
2023-11-04 13:57:28 -04:00
jeffro256
fe47806afb
wallet: fix multisig key memory leak
...
Multisig keys per-transfer were being wiped, but not erased, which lead to a ginormous
quadratic bloat the more transfers and exports you performed with the wallet.
2023-11-03 11:58:28 -05:00
moneromooo-monero
6c38c21dfd
heed NO_COLOR environment variable
2023-10-31 09:09:55 +01:00
Jeffrey Ryan
5435202450
readline_buffer: disable bracketed paste escape sequences
2023-10-31 02:31:55 -05:00
luigi1111
d9b765a3af
Merge pull request #9027
...
09a88cc Update RandomX to 1.2.1 (tevador)
2023-10-25 21:41:27 -04:00
luigi1111
72d2a610cd
Merge pull request #9022
...
bdebf68 wallet2: ensure transfers and sweeps use same fee calc logic (j-berman)
2023-10-25 21:40:36 -04:00
luigi1111
2e9542d01a
Merge pull request #9020
...
e0b2123 http_client: reduce number of packets sent for small bodies (jeffro256)
2023-10-25 21:40:12 -04:00
jeffro256
0f75585f64
multisig: better errors for small malformed kex msgs
...
Resolves https://github.com/monero-project/monero/issues/8493
2023-10-25 20:38:22 -05:00
luigi1111
eb4df0aa1c
Merge pull request #8992
...
0c04018 depends: openssl: update to 3.0.11 (tobtoht)
2023-10-25 21:38:01 -04:00
jeffro256
eae62a07e0
ringct: make rctSigBase serialization follow strict aliasing rule
...
Accessing an object of type `char` thru an lvalue of type `crypto::hash8` is undefined behavior.
https://developers.redhat.com/blog/2020/06/03/the-joys-and-perils-of-aliasing-in-c-and-c-part-2
2023-10-24 13:00:45 -05:00
jeffro256
14ae81246d
cryptonote_config: include cstdint
...
Header was using `uint64_t` without including `<cstdint>` which caused some issues downstream for windows builds
2023-10-23 14:53:58 -05:00
selsta
5b0c27430f
gitian: add riscv64 support
2023-10-21 16:04:04 +02:00
tevador
09a88cc00e
Update RandomX to 1.2.1
2023-10-20 20:54:26 +02:00
j-berman
bdebf680bd
wallet2: ensure transfers and sweeps use same fee calc logic
...
Ensures both transfers and sweeps use a fee that's calculated
from the tx's weight. Using different logic could theoretically
enable distinguishability between the two types of txs. We don't
want that.
2023-10-16 01:10:05 -07:00
jeffro256
e0b2123c32
http_client: reduce number of packets sent for small bodies
2023-10-15 01:33:38 -05:00
luigi1111
2656cdf505
Merge pull request #9014
...
69de381 add a test for the long term weight cache (Boog900)
810f6a6 Fix: long term block weight cache The long term block weight cache was doing a wrong calculation when adding a new block to the cache. (Boog900)
2023-10-02 15:28:11 -04:00
luigi1111
1c12d305d6
Merge pull request #9012
...
fbcd8da build: prepare v0.18.3.1 (selsta)
2023-10-02 15:26:18 -04:00
luigi1111
83d0d2338f
Merge pull request #9011
...
03d51b7 wallet2: fix refresh function parameters (selsta)
2023-10-02 15:25:24 -04:00
Boog900
69de381526
add a test for the long term weight cache
2023-10-02 15:28:50 +01:00
Boog900
810f6a6cd2
Fix: long term block weight cache
...
The long term block weight cache was doing a wrong calculation when
adding a new block to the cache.
2023-10-02 15:27:31 +01:00
selsta
fbcd8da082
build: prepare v0.18.3.1
2023-10-02 12:59:37 +02:00
selsta
03d51b7cc4
wallet2: fix refresh function parameters
...
max_blocks is last on master branch
2023-10-01 20:56:31 +02:00
luigi1111
f9b81a589e
Merge pull request #9001
...
3f9140e storages: change error log category to serialization (selsta)
It's over 9000!!!
2023-09-30 14:45:43 -04:00
luigi1111
41157dbc82
Merge pull request #8999
...
205c804 wallet: store watch-only wallet correctly when change_password() is called (jeff)
2023-09-30 14:44:32 -04:00
j-berman
9a89e2d9e4
wallet2: call on_reorg callback in handle_reorg
2023-09-27 12:51:52 -07:00
Crypto City
1df5630f23
wallet2: add on_reorg callback
2023-09-27 12:50:34 -07:00
selsta
3f9140e754
storages: change error log category to serialization
2023-09-22 19:09:27 +02:00
jeff
205c80427b
wallet: store watch-only wallet correctly when change_password() is called
...
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason,
and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets.
This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0,
and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out.
This never got brought up before this because you would have to change the file location of the watch-only
wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the
new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-22 09:20:56 -05:00
tobtoht
0c04018718
depends: openssl: update to 3.0.11
2023-09-19 15:51:28 +02:00
luigi1111
533bbc3208
Merge pull request #8988
...
64ed938 build: prepare v0.18.3.0 (selsta)
2023-09-14 22:21:06 -05:00
luigi1111
6e7bd68b18
Merge pull request #8977
...
7dbb14b functional_tests: fix multisig tests noutputs assertion (jeffro256)
2023-09-14 22:20:38 -05:00
luigi1111
031d318ca2
Merge pull request #8941
...
356e687 wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing (moneromooo-monero) 633e1b7 wallet_rpc_server: add --no-initial-sync flag for quicker network binding (moneromooo-monero)
2023-09-14 22:19:27 -05:00
luigi1111
61e664a258
Merge pull request #8938
...
ba98269 wallet2: fix store_to() and change_password() (jeffro256)
2023-09-14 22:18:22 -05:00
selsta
64ed9385a2
build: prepare v0.18.3.0
2023-09-10 18:30:34 +02:00
jeffro256
ba98269ca5
wallet2: fix store_to() and change_password()
...
Resolves #8932 and:
2. Not storing cache when new path is different from old in `store_to()` and
3. Detecting same path when new path contains entire string of old path in `store_to()` and
4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and
5. Changing your password and storing to a new file
2023-08-23 11:52:31 -05:00
jeffro256
7dbb14b02a
functional_tests: fix multisig tests noutputs assertion
...
The changes to the multisig tests in #8914 and #8904 affected each other, this PR cleans up the code and fixes that issue.
2023-08-19 22:21:36 -05:00
moneromooo-monero
356e6877dc
wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing
2023-08-17 15:35:00 +00:00
moneromooo-monero
633e1b7359
wallet_rpc_server: add --no-initial-sync flag for quicker network binding
2023-08-17 15:34:57 +00:00
luigi1111
eac1b86bb2
Merge pull request #8957
...
b51f4a9 scan_tx: fix custom comparator for == case; fixes #8951 (j-berman)
2023-08-17 10:26:52 -05:00
luigi1111
3bebcc4a7d
Merge pull request #8953
...
ed05ac6 wallet2: when checking frozen multisig tx set, don't assume order (jeffro256)
2023-08-17 10:25:27 -05:00
luigi1111
9d5c5b5634
Merge pull request #8942
...
78348bc wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17 10:24:16 -05:00
luigi1111
894adef295
Merge pull request #8891
...
842478c core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17 10:18:12 -05:00
luigi1111
6c7640eb74
Merge pull request #8800
...
f137a35 Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18] (j-berman)
23f782b wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call [release-v0.18] (rbrunner7)
2023-08-17 10:09:28 -05:00
jeffro256
78348bcddd
wallet-rpc: restore from multisig seed
2023-08-10 10:13:07 -05:00
j-berman
b51f4a9244
scan_tx: fix custom comparator for == case; fixes #8951
...
Co-authored-by: woodser <woodser@protonmail.com >
2023-07-19 07:45:33 -07:00
jeffro256
ed05ac6872
wallet2: when checking frozen multisig tx set, don't assume order
2023-07-17 22:53:55 -05:00
j-berman
f137a35984
Enforce restricted # pool txs served via RPC + optimize chunked reqs [release-v0.18]
...
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when
returning pool txs via a restricted RPC daemon.
- A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs
in the `added_pool_txs` field, and returns any remaining pool hashes
in the `remaining_added_pool_txids` field. The client then requests
the remaining txs via `/gettransactions` in chunks.
- `/gettransactions` no longer does expensive no-ops for ALL pool txs
if the client requests a subset of pool txs. Instead it searches for
the txs the client explicitly requests.
- Reset `m_pool_info_query_time` when a user:
(1) rescans the chain (so the wallet re-requests the whole pool)
(2) changes the daemon their wallets points to (a new daemon would
have a different view of the pool)
- `/getblocks.bin` respects the `req.prune` field when returning
pool txs.
- Pool extension fields in response to `/getblocks.bin` are optional
with default 0'd values.
2023-07-09 08:38:18 +02:00
rbrunner7
23f782b211
wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call [release-v0.18]
2023-07-09 08:30:53 +02:00
luigi1111
ab826008d6
Merge pull request #8917
...
835896e wallet2: do not lose exception in current thread on refresh (Crypto City)
62bb95b wallet2: fix missing exceptions from failing wallet refresh (Crypto City)
2023-07-06 21:40:45 -05:00
luigi1111
4dc727b3f6
Merge pull request #8916
...
1924c17 protocol: drop peers sending duplicate txes (moneromooo-monero)
2023-07-06 21:40:12 -05:00
luigi1111
1eb1162923
Merge pull request #8909
...
aed36a2 Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06 21:39:47 -05:00
luigi1111
3be6c1389e
Merge pull request #8908
...
c6530d2 Add CLSAG serialization to ZMQ code (Lee Clagett)
2023-07-06 21:39:19 -05:00
luigi1111
5a99b2dfbe
Merge pull request #8905
...
dc24312 wallet: respect frozen key images in multisig wallets [RELEASE] (jeffro256)
2023-07-06 21:38:34 -05:00
luigi1111
bd962882d1
Merge pull request #8900
...
438554e properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-07-06 21:34:41 -05:00
luigi1111
f173bf6e72
Merge pull request #8895
...
26025cb Speed up perf_timer init on x86 (SChernykh)
2023-07-06 21:33:25 -05:00
luigi1111
a41453c256
Merge pull request #8892
...
aa139f0 wallet_rpc_server: dedup transfer RPC responses [RELEASE] (jeffro256)
2023-07-06 21:31:09 -05:00
jeffro256
842478c5a9
core_rpc_server: return ID of submitted block
2023-06-30 15:32:49 -05:00
luigi1111
17ea7665d7
Merge pull request #8883
...
a4a58eb depends: update openssl to 1.1.1u (tobtoht)
2023-06-27 11:47:23 -05:00
luigi1111
9f8ae9649a
Merge pull request #8878
...
8dc4abd common: do not use DNS to determine if address is local (tobtoht)
2023-06-27 11:46:19 -05:00
luigi1111
11b5139506
Merge pull request #8851
...
1fad8cc blockchain: ensure base fee cannot reach 0 (Crypto City)
2023-06-27 11:40:06 -05:00
luigi1111
54f0f9eb96
Merge pull request #8845
...
cfc6227 cryptonote_basic: fix amount overflow detection on 32-bit systems [RELEASE] (jeffro256)
2023-06-27 11:38:42 -05:00
luigi1111
5c900bb69f
Merge pull request #8831
...
1d1d5fb Fixed RandomX initialization when mining from scratch (SChernykh)
2023-06-27 11:34:53 -05:00
luigi1111
60e9426ef2
Merge pull request #8566
...
65e13db wallet2: fix rescanning tx via scan_tx (j-berman)
2023-06-27 11:20:25 -05:00
Crypto City
835896ea24
wallet2: do not lose exception in current thread on refresh
2023-06-27 11:08:45 +00:00
Crypto City
62bb95b25f
wallet2: fix missing exceptions from failing wallet refresh
2023-06-27 11:08:45 +00:00
moneromooo-monero
1924c170d4
protocol: drop peers sending duplicate txes
2023-06-27 11:06:14 +00:00
Lee *!* Clagett
aed36a25d6
Set SSL SNI even when server verification is disabled
2023-06-16 19:16:30 -04:00
Lee Clagett
c6530d2f5d
Add CLSAG serialization to ZMQ code
2023-06-16 19:00:12 -04:00
jeffro256
dc24312bc3
wallet: respect frozen key images in multisig wallets [RELEASE]
...
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it
so that wallets will refuse to sign multisig transactions with frozen enotes.
Disclaimer: This PR was generously funded by @LocalMonero.
2023-06-12 16:49:33 -05:00
j-berman
438554e1ab
properly terminate interrupted TCP connection. fixes #8685
2023-06-09 21:11:13 +02:00
SChernykh
26025cb294
Speed up perf_timer init on x86
...
All Monero binaries have 1 second startup delay because of this code. This is especially noticeable and affects UX in Monero GUI wallet with local node where it often starts another monerod instance to run commands and query node status.
2023-06-08 07:55:47 +02:00
jeffro256
cfc62277c0
cryptonote_basic: fix amount overflow detection on 32-bit systems [RELEASE]
2023-06-02 22:15:02 -05:00
jeffro256
aa139f0334
wallet_rpc_server: dedup transfer RPC responses [RELEASE]
2023-06-02 22:06:49 -05:00
tobtoht
a4a58eb886
depends: update openssl to 1.1.1u
2023-05-30 16:23:55 +02:00
tobtoht
8dc4abdafe
common: do not use DNS to determine if address is local
...
Co-authored-by: j-berman <justinberman@protonmail.com >
2023-05-25 18:06:34 +02:00
luigi1111
1ce32d8536
Merge pull request #8846
...
f983ac7 fix missing <cstdint> includes (tobtoht)
2023-05-12 14:31:26 -05:00
Crypto City
1fad8cc919
blockchain: ensure base fee cannot reach 0
...
reported by sech1
2023-05-11 13:59:41 +00:00
tobtoht
f983ac7780
fix missing <cstdint> includes
2023-05-08 19:29:54 +02:00
SChernykh
1d1d5fb74c
Fixed RandomX initialization when mining from scratch
2023-04-27 16:24:15 +02:00
luigi1111
2f45d5c615
Merge pull request #8766
...
ad80f1b Handle case where a command line flag is not allowed in the config file (almalh)
2023-04-25 11:20:55 -04:00
luigi1111
e06129bb4d
Merge pull request #8805
...
4f1262b build: prepare v0.18.2.2 (selsta)
2023-04-02 20:53:20 -04:00
luigi1111
a371e60a30
Merge pull request #8813
...
059b975 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02 20:46:21 -04:00
luigi1111
2f62dd5b78
Merge pull request #8811
...
c742fa4 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-04-02 20:45:47 -04:00
jeffro256
059b975388
cryptonote core/protocol: don't drop peers for soft offenses
...
Also: txs with tx_extra which is too large will not get published to ZMQ
Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com >
2023-03-29 02:07:15 -05:00
SChernykh
c742fa4c6e
Fixed deadlock and crash when syncing with full dataset on Windows
...
It's not allowed to use WaitForSingleObject with _beginthread, because the thread closes its own handle before exiting.
So the wait function will either wait on an invalid handle, or on a different handle used by something else.
Or, if it starts waiting before the thread exits, the behavior is undefined according to MS: "If this handle is closed while the wait is still pending, the function's behavior is undefined."
In my test sync I observed threads getting stuck infinitely on WaitForSingleObject, and then rx_set_main_seedhash spamming new threads when RandomX seed changes again. Eventually the system ran out of resources, and monerod aborted with "Couldn't start RandomX seed thread" message.
This PR fixes it by using `_beginthreadex` instead and explicitly closing the handle when it's safe.
2023-03-29 08:44:20 +02:00
selsta
4f1262bae9
build: prepare v0.18.2.2
2023-03-27 18:52:04 +02:00
luigi1111
4f47fd2626
Merge pull request #8801
...
1328048 wallet2: fix infinite loop in fake out selection (Crypto City)
2023-03-27 09:17:55 -04:00
Crypto City
132804811d
wallet2: fix infinite loop in fake out selection
...
The gamma picker and the caller code did not quite agree on the
number of rct outputs available for use - by one block - which
caused an infinite loop if the picker could never pick outputs
from that block but already had picked all other outputs from
previous blocks.
Also change the range to select from using code from UkoeHB.
2023-03-25 19:26:43 +00:00
luigi1111
25645e5d23
Merge pull request #8785
...
cdeb286 build: prepare v0.18.2.1 (selsta)
2023-03-24 22:55:49 -04:00
luigi1111
0e2c2ddd9c
Merge pull request #8787
...
c4cfaa4 p2p: do not log to global when re-blocking a subnet (moneromooo-monero)
f0e326b p2p: avoid spam blocking ipv4 addresses in a blocked subnet (moneromooo-monero)
2023-03-24 22:55:29 -04:00
moneromooo-monero
c4cfaa4567
p2p: do not log to global when re-blocking a subnet
2023-03-19 02:58:38 +01:00
moneromooo-monero
f0e326be58
p2p: avoid spam blocking ipv4 addresses in a blocked subnet
2023-03-19 02:58:38 +01:00
luigi1111
225e5ba571
Merge pull request #8784
...
5900ed3 Add a size limit for tx_extra in tx pool (tevador)
2023-03-18 18:23:14 -04:00
luigi1111
66f57299a2
Merge pull request #8781
...
c59e009 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
2023-03-18 18:22:01 -04:00
luigi1111
d7821a02c4
Merge pull request #8779
...
14de562 device: Add ledger Stax device id to device detection (Francois Beutin)
2023-03-18 18:21:25 -04:00
luigi1111
b4519c6bbd
Merge pull request #8746
...
77d883e workflows: update dependencies to fix warnings (selsta)
2023-03-18 18:20:17 -04:00
selsta
cdeb286359
build: prepare v0.18.2.1
2023-03-18 21:23:42 +01:00
tevador
5900ed3706
Add a size limit for tx_extra in tx pool
2023-03-18 20:01:58 +01:00
Jeffrey Ryan
c59e0096b6
verRctNonSemanticsSimpleCached: fix fragility
2023-03-17 18:46:34 -05:00
Francois Beutin
14de562a6f
device: Add ledger Stax device id to device detection
2023-03-17 21:27:51 +01:00
j-berman
65e13dbef1
wallet2: fix rescanning tx via scan_tx
...
- Detach & re-process txs >= lowest scan height
- ensures that if a user calls scan_tx(tx1) after scanning tx2,
the wallet correctly processes tx1 and tx2
- if a user provides a tx with a height higher than the wallet's
last scanned height, the wallet will scan starting from that tx's
height
- scan_tx requires trusted daemon iff need to re-process existing
txs: in addition to querying a daemon for txids, if a user
provides a txid of a tx with height *lower* than any *already*
scanned txs in the wallet, then the wallet will also query the
daemon for all the *higher* txs as well. This is likely
unexpected behavior to a caller, and so to protect a caller from
revealing txid's to an untrusted daemon in an unexpected way,
require the daemon be trusted.
2023-03-13 12:57:43 -07:00
almalh
ad80f1b357
Handle case where a command line flag is not allowed in the config file
2023-03-06 17:41:24 -05:00
selsta
77d883e507
workflows: update dependencies to fix warnings
2023-02-20 04:11:35 +01:00
luigi1111
99be9a044f
Merge pull request #8739
...
dc18efa build: prepare v0.18.2.0 (selsta)
2023-02-15 10:47:13 -05:00
luigi1111
75bec6336a
Merge pull request #8738
...
d8e39bd depends: bump openssl to 1.1.1t (tobtoht)
2023-02-15 10:46:47 -05:00
luigi1111
68a73a2b4d
Merge pull request #8721
...
988056d p2p: add plowsof seed nodes (selsta)
ce4ef6d p2p: remove offline seed nodes (selsta)
2023-02-15 10:44:56 -05:00
selsta
dc18efa3d7
build: prepare v0.18.2.0
2023-02-08 22:18:30 +01:00
tobtoht
d8e39bd381
depends: bump openssl to 1.1.1t
...
https://www.openssl.org/news/secadv/20230207.txt
Patch can be removed, it was included upstream.
2023-02-07 20:56:20 +01:00
luigi1111
0f15707077
Merge pull request #8723
...
573a369 blockchain-stats: print any remaining data at end of loop (Howard Chu)
2023-02-06 12:38:11 -05:00
luigi1111
f38b07335a
Merge pull request #8714
...
15384cc depends: bump hidapi/libusb (tobtoht)
2023-02-06 12:37:48 -05:00
luigi1111
057a77a09f
Merge pull request #8706
...
f456b3f Demote large pages warning to mdebug (SChernykh)
480b050 RandomX: print VM allocation warnings only once (SChernykh)
2023-02-06 12:36:10 -05:00
Howard Chu
573a369a8a
blockchain-stats: print any remaining data at end of loop
...
Fix #8711
2023-01-29 11:09:02 +00:00
selsta
988056dc09
p2p: add plowsof seed nodes
2023-01-27 14:17:54 +01:00
selsta
ce4ef6da96
p2p: remove offline seed nodes
2023-01-27 14:17:54 +01:00
tobtoht
15384cc135
depends: bump hidapi/libusb
...
fixes Trezor connectivity issues on Windows 10/11
Co-authored-by: selsta <selsta@sent.at >
2023-01-25 21:52:42 +01:00
SChernykh
f456b3f023
Demote large pages warning to mdebug
2023-01-17 18:16:47 +01:00
SChernykh
480b050cc3
RandomX: print VM allocation warnings only once
2023-01-11 19:18:41 +01:00
luigi1111
c48f572e46
Merge pull request #8676
...
29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11 12:28:08 -05:00
luigi1111
f73a2b1587
Merge pull request #8683
...
cbc297a common: add missing includes (selsta)
2023-01-11 12:13:23 -05:00
luigi1111
1d20b8171d
Merge pull request #8678
...
f698f2b Refactored rx-slow-hash.c (SChernykh)
2023-01-11 12:12:28 -05:00
luigi1111
b0ea7cb528
Merge pull request #8654
...
5973985 workflows: set a public DNS when doing tests (selsta)
2023-01-11 11:43:59 -05:00
luigi1111
153819fc4c
Merge pull request #8649
...
2c24322 DNSResolver: fix not handling hostnames without dot characters [release] (Jeffrey Ryan)
2023-01-11 11:41:56 -05:00
luigi1111
cbc5cf43f2
Merge pull request #8644
...
38d4811 p2p: fix exclusive node DNS resolution for certain hosts [release] (Jeffrey Ryan)
2023-01-11 11:40:13 -05:00
luigi1111
1976c9afa0
Merge pull request #8641
...
146cac0 p2p: fix back ping to discover healthy peers to connect to (j-berman)
2023-01-11 11:39:15 -05:00
SChernykh
29208a33cb
Cache successful verRctNonSemanticsSimple calls
2022-12-20 22:19:00 +01:00
selsta
cbc297acfb
common: add missing includes
2022-12-18 19:47:01 +01:00
SChernykh
f698f2b708
Refactored rx-slow-hash.c
...
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2022-12-14 07:21:00 +01:00
luigi1111
8cb10345d6
Merge pull request #8642
...
8c53995 Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
2022-12-01 01:13:30 -06:00
luigi1111
47b41eabfe
Merge pull request #8636
...
02b24cb workflows: ubuntu 18.04 is deprecated (selsta)
2022-12-01 01:12:53 -06:00
luigi1111
abd37fcf5b
Merge pull request #8628
...
1bb5d25 Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01 01:11:14 -06:00
luigi1111
cce309512c
Merge pull request #8615
...
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01 01:06:16 -06:00
luigi1111
f5d701c550
Merge pull request #8611
...
401dda5 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01 01:05:40 -06:00
luigi1111
d05298358c
Merge pull request #8604
...
cbf636c workflows: build gitian on tag (selsta)
2022-12-01 01:04:09 -06:00
selsta
5973985148
workflows: set a public DNS when doing tests
2022-11-29 00:09:44 +01:00
Jeffrey Ryan
2c2432245f
DNSResolver: fix not handling hostnames without dot characters [release]
...
Unrelated, but similar code-wise to #8643 . There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
2022-11-21 21:16:16 -06:00
Jeffrey Ryan
38d4811c89
p2p: fix exclusive node DNS resolution for certain hosts [release]
...
Fixes #8633 . The function `append_net_address` did not parse hostname + port addresses (e.g. `bar:29080`) correctly if the hostname did not contain a `'.'` character.
@vtnerd comments 1
clear up 2nd conditional statement
2022-11-17 18:57:04 -06:00
selsta
cbf636c7a9
workflows: build gitian on tag
2022-11-17 02:48:22 +01:00
AgoraDesk / LocalMonero
8c53995a88
Fix static builds for Ubuntu 22.04
...
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-11-16 12:08:04 -05:00
j-berman
146cac02ca
p2p: fix back ping to discover healthy peers to connect to
2022-11-15 18:02:25 -08:00
selsta
02b24cb353
workflows: ubuntu 18.04 is deprecated
2022-11-14 02:16:31 +01:00
luigi1111
e6f9c0013b
Merge pull request #8594
...
d7445b5 workflows: ubuntu 18.04 is deprecated (selsta)
2022-10-28 00:53:08 -04:00
luigi1111
5d4ace8cae
Merge pull request #8578
...
07f8e9e epee: dont shrink slice when storing to binary [release] (Jeffrey Ryan)
2022-10-28 00:51:18 -04:00
Lee Clagett
1bb5d25e31
Fix dandelion++ fluff/stem bug with local txes
2022-10-25 16:01:09 -04:00
j-berman
85c9fe515d
wallet2: fix create view-only wallet from existing wallet
2022-10-18 13:47:50 -05:00
selsta
401dda5f10
wallet_api: take priority into account when estimating fee
2022-10-13 03:36:51 +02:00
luigi1111
66184f3085
Merge pull request #8597
...
853171b build: prepare v0.18.1.2 (selsta)
2022-09-27 17:31:52 -05:00
selsta
853171bbf0
build: prepare v0.18.1.2
2022-09-26 22:41:36 +02:00
luigi1111
1f27fdf6a5
Merge pull request #8588
...
802c4bb Move update_checkpoints() to a later stage (SChernykh)
2022-09-26 15:00:59 -05:00
luigi1111
0bef4265ac
Merge pull request #8585
...
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26 14:57:58 -05:00
luigi1111
a7b0c93c7d
Merge pull request #8582
...
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-26 14:55:28 -05:00
luigi1111
9885b8b0f2
Merge pull request #8579
...
7d358cd repo: remove ldns leftovers (selsta)
09402d0 depends: remove unused Qt package (selsta)
2022-09-26 14:54:58 -05:00
luigi1111
fdb31856dd
Merge pull request #8577
...
6adf03c Second thread pool for IO (SChernykh)
2022-09-26 14:51:54 -05:00
selsta
d7445b576f
workflows: ubuntu 18.04 is deprecated
...
And will soon be removed.
2022-09-24 21:04:28 +02:00
SChernykh
802c4bb0e4
Move update_checkpoints() to a later stage
...
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-22 13:06:39 +02:00
j-berman
5ffa31c48e
wallet2: fail to establish daemon cxn == "Disconnected" cxn status
2022-09-21 20:12:16 -06:00
koe
1cd21bfba5
add an option to force-update multisig key exchange under some circumstances
2022-09-21 12:51:19 -05:00
selsta
7d358cdb1f
repo: remove ldns leftovers
2022-09-20 20:22:31 +02:00
selsta
09402d0edb
depends: remove unused Qt package
2022-09-20 20:21:48 +02:00
Jeffrey Ryan
07f8e9e891
epee: dont shrink slice when storing to binary [release]
2022-09-20 12:04:14 -05:00
SChernykh
6adf03cdc5
Second thread pool for IO
2022-09-20 10:22:12 +02:00
luigi1111
7cbae6ca98
Merge pull request #8545
...
12e7c41 Merge pull request #5 from j-berman/restore-msig-encrypted-seed (Justin Berman)
848a0c0 Fix segfault restoring encrypted multisig seed (j-berman)
401f5d9 Require user ack multisig is experimental to restore (j-berman)
fc8a5d6 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
2022-09-15 16:25:22 -05:00
luigi1111
0be63cffa8
Merge pull request #8544
...
864a78e wallet2: check wallet compatibility with daemon's hard fork version (j-berman)
2022-09-15 16:23:56 -05:00
j-berman
864a78ee5f
wallet2: check wallet compatibility with daemon's hard fork version
2022-09-12 21:23:08 -06:00
luigi1111
af4f97bf66
Merge pull request #8555
...
e29b2e9 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero)
1d3657a wallet2: better test on whether to allow output import (moneromooo-monero)
0cbf557 allow exporting outputs in chunks (moneromooo-monero)
b03d709 wallet2: fixes for export/import output flow (j-berman)
4b7eb57 wallet2: do not assume imported outputs must be non empty (moneromooo-monero)
5b98beb wallet2: prevent importing outputs in a hot wallet (moneromooo-monero)
0de1571 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
2022-09-09 12:57:51 -05:00
luigi1111
89f3d46120
Merge pull request #8553
...
625147e Fix missing semi-colon in error message (j-berman)
2022-09-09 12:56:07 -05:00
luigi1111
3178bbe083
Merge pull request #8552
...
93db74a rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
2022-09-09 12:55:40 -05:00
luigi1111
4b6a3fbaa0
Merge pull request #8548
...
3679925 Windows: fix unicode file path support (tobtoht)
2022-09-09 12:54:58 -05:00
luigi1111
6b9bbadd6b
Merge pull request #8534
...
09ee781 build: prepare v0.18.1.1 (selsta)
2022-09-09 12:50:40 -05:00
Justin Berman
12e7c4188e
Merge pull request #5 from j-berman/restore-msig-encrypted-seed
...
multisig: fix segfault restoring encrypted multisig seed
2022-09-08 00:20:18 +01:00
moneromooo-monero
e29b2e9997
wallet2: ensure imported outputs subaddresses are created
...
reported by j-berman
2022-09-07 06:22:31 +00:00
moneromooo-monero
1d3657afb5
wallet2: better test on whether to allow output import
...
Being offline is not a good enough heuristic, so we keep track
of whether the wallet ever refreshed from a daemon, which is a
lot better, and probably the best we can do without manual user
designation (which would break existing cold wallet setups till
the user designates those wallets)
2022-09-07 06:22:31 +00:00
moneromooo-monero
0cbf5571d3
allow exporting outputs in chunks
...
this will make it easier huge wallets to do so without hitting
random limits (eg, max string size in node).
2022-09-07 06:22:07 +00:00
j-berman
848a0c05b0
Fix segfault restoring encrypted multisig seed
2022-09-06 23:21:25 -06:00
j-berman
625147e577
Fix missing semi-colon in error message
...
Co-authored-by: woodser <woodser@protonmail.com >
2022-09-06 18:37:25 -06:00
j-berman
b03d7091f7
wallet2: fixes for export/import output flow
...
- only allow offline wallets to import outputs
- don't import empty outputs
- export subaddress indexes when exporting outputs
2022-09-06 17:20:23 -06:00
selsta
93db74a91e
rpc: skip bootstrap nodes that are lower than last checkpoint
2022-09-06 22:09:39 +02:00
moneromooo-monero
4b7eb573b2
wallet2: do not assume imported outputs must be non empty
2022-09-06 18:25:48 +00:00
moneromooo-monero
5b98bebad1
wallet2: prevent importing outputs in a hot wallet
2022-09-06 18:25:48 +00:00
moneromooo-monero
0de1571abd
wallet2: fix missing subaddress indices in "light" exported outputs
2022-09-06 18:25:45 +00:00
selsta
09ee78197c
build: prepare v0.18.1.1
2022-09-06 20:22:29 +02:00
j-berman
401f5d967b
Require user ack multisig is experimental to restore
2022-09-06 10:33:33 -06:00
tobtoht
3679925331
Windows: fix unicode file path support
2022-09-02 12:28:57 +02:00
j-berman
fc8a5d68f1
multisig: fix #8537 seed restore (suggestions by @UkoeHB)
...
- spend secret key is no longer the sum of multisig key shares;
no need to check that is the case upon restore.
- restoring a multisig wallet from multisig info means that the
wallet must have already completed all setup rounds. Upon restore,
set the number of rounds completed accordingly.
2022-09-01 16:25:28 -07:00
luigi1111
57e57c239b
Merge pull request #8491
...
876c08d Bump Gitian build instructions to v0.18.1.0 [Release Branch] (Seth For Privacy)
2022-08-22 22:51:26 -05:00
Seth For Privacy
876c08db53
Bump Gitian build instructions to v0.18.1.0 [Release Branch]
2022-08-10 09:41:16 -04:00
luigi1111
727bc5b687
Merge pull request #8492
...
1287074 randomx: update submodule (selsta)
2022-08-09 22:34:23 -05:00
luigi1111
b9e8504cfb
Merge pull request #8467
...
fac7c43 continue pool pruning even if a tx can't be found (j-berman)
2022-08-09 17:43:32 -05:00
luigi1111
68537fa27a
Merge pull request #8463
...
265d6ca device: set ledger min app version (selsta)
2022-08-09 17:42:25 -05:00
luigi1111
dc2f548a68
Merge pull request #8470
...
309f6ba build: prepare v0.18.1.0 (selsta)
2022-08-09 15:00:16 -05:00
luigi1111
5c33f40cd8
Merge pull request #8455
...
099fc1f Fixed get_block_template_backlog performance (SChernykh)
2022-08-08 20:29:56 -05:00
luigi1111
72490ca04f
Merge pull request #8483
...
6075be9 feat(trezor): add HF15 support, BP+ (Dusan Klinec)
2022-08-07 21:35:01 -05:00
luigi1111
a50cceb8d0
Merge pull request #8466
...
2b83d00 ledger support for hf 15 (BP+, view tags) (j-berman)
2022-08-07 21:34:10 -05:00
luigi1111
3b6eb11a88
Merge pull request #8454
...
c0f3c5b Fix use of rtxn without a mdb_txn_safe wrapper (Howard Chu)
2022-08-07 21:33:25 -05:00
luigi1111
90125931ad
Merge pull request #8451
...
8cc3c9a Publish submitted txs via zmq (j-berman)
2022-08-07 21:32:45 -05:00
j-berman
2b83d00a9b
ledger support for hf 15 (BP+, view tags)
2022-08-06 15:04:16 -07:00
Dusan Klinec
6075be9cc8
feat(trezor): add HF15 support, BP+
...
- BP+ support added for Trezor
- old Trezor firmware version support removed, code cleanup
2022-08-05 14:27:16 +02:00
selsta
309f6ba3f5
build: prepare v0.18.1.0
2022-07-28 23:14:02 +02:00
j-berman
fac7c43644
continue pool pruning even if a tx can't be found
2022-07-26 17:28:02 -07:00
selsta
265d6ca7aa
device: set ledger min app version
2022-07-26 18:23:08 +02:00
selsta
1287074d0f
randomx: update submodule
2022-07-26 18:22:45 +02:00
SChernykh
099fc1f8a9
Fixed get_block_template_backlog performance
...
Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load.
After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).
2022-07-22 13:50:21 +02:00
Howard Chu
c0f3c5b577
Fix use of rtxn without a mdb_txn_safe wrapper
2022-07-22 12:30:14 +01:00
j-berman
8cc3c9af4d
Publish submitted txs via zmq
2022-07-21 11:53:31 -07:00
luigi1111
b6a029f222
Merge pull request #8435
...
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15 11:43:15 -04:00
luigi1111
9df069f4ce
Merge pull request #8426
...
a82fba4 address PR comments (j-berman)
3be1dbd connection: fix implementation (anon)
724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-15 11:25:11 -04:00
luigi1111
f982163fc9
Merge pull request #8425
...
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15 11:23:54 -04:00
luigi1111
4792ceefb1
Merge pull request #8414
...
2ba391f hardforks: set mainnet and stagenet v15/16 fork height (selsta)
2022-07-15 11:22:01 -04:00
luigi1111
070c3d6b0f
Merge pull request #8433
...
db8181a wallet2: force using output distribution for ringct outs (tobtoht)
2022-07-14 22:15:27 -04:00
luigi1111
02cbccc529
Merge pull request #8432
...
edcc094 derive multisig tx secret keys from an entropy source plus the tx inputs' key images (koe)
2022-07-14 22:14:41 -04:00
luigi1111
d912444a4a
Merge pull request #7986
...
5770265 wallet2: keep around transaction prefix for confirmed transfers (tobtoht)
2022-07-14 12:54:39 -04:00
j-berman
cf3be9926f
Template hash func to fix compiler error on < gcc-6
2022-07-13 22:44:43 -07:00
selsta
fe5d1bef56
build: prepare v0.18.0.0
2022-07-13 22:07:31 +02:00
koe
edcc094558
derive multisig tx secret keys from an entropy source plus the tx inputs' key images
2022-07-13 12:40:34 -05:00
luigi1111
cfdee9ba69
Merge pull request #8421
...
bd1e7c5 wallet2: prevent crash when reading tx w/fewer outputs than expected (j-berman)
2022-07-13 00:39:54 -04:00
luigi1111
6fed8c2d9f
Merge pull request #8149
...
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
2022-07-13 00:38:29 -04:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon
3be1dbd096
connection: fix implementation
2022-07-05 22:33:34 -07:00
anon
724ff21447
connection: add segfault and deadlocks demo
2022-07-05 22:31:26 -07:00
luigi1111
8f48f46495
Merge pull request #8413
...
8e9c60a README: depends has only been tested on ubuntu 18.04 and 20.04 (selsta)
2022-07-06 00:02:59 -05:00
luigi1111
e32b7a5598
Merge pull request #8412
...
83aa817 (fix): Confusingly named CI-Job (Klaus Frank)
2022-07-06 00:02:30 -05:00
luigi1111
4476c35fc8
Merge pull request #8408
...
09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
2022-07-06 00:01:59 -05:00
luigi1111
cea2498e95
Merge pull request #8404
...
50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
2022-07-06 00:01:29 -05:00
luigi1111
0f91416ab6
Merge pull request #8400
...
6f3abbe Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) (TheCharlatan)
2022-07-06 00:00:56 -05:00
luigi1111
7a118f08f4
Merge pull request #8394
...
4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
2022-07-06 00:00:24 -05:00
luigi1111
5a3c77be18
Merge pull request #8391
...
41b1a6b simplewallet: print usage when given no args (hinto.janaiyo)
2022-07-05 23:59:59 -05:00
luigi1111
6e89d35541
Merge pull request #8390
...
d486c03 utils: add fish shell completions (Leo Nerone)
2022-07-05 23:59:25 -05:00
luigi1111
45a44aa45f
Merge pull request #8388
...
04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
2022-07-05 23:58:46 -05:00
luigi1111
969316685b
Merge pull request #8371
...
16f8e04 Remove erraneous commas (Luke Parker)
da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
2022-07-05 23:58:06 -05:00
j-berman
bd1e7c5635
wallet2: prevent crash when reading tx w/fewer outputs than expected
2022-07-05 21:39:59 -07:00
luigi1111
b54d5ae383
Merge pull request #8384
...
8460fcc Revert 'Merge pull request #7937 ' (j-berman)
2022-07-03 17:29:46 -05:00
luigi1111
aa0b4fc7cc
Merge pull request #8358
...
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03 17:28:13 -05:00
luigi1111
e2e5fbf6a6
Merge pull request #8357
...
bc05d2d README.md: Add v15/v16 network upgrade (garth-xmr)
2022-07-03 17:27:31 -05:00
luigi1111
82cde936c3
Merge pull request #8356
...
de2f0d0 wallet_api: add scanTransactions function (selsta)
2022-07-03 17:26:35 -05:00
luigi1111
622f251fa1
Merge pull request #8296
...
61d0712 Gitian: refresh the stale Monero dir via --setup switch (mj-xmr)
2022-07-03 17:26:04 -05:00
luigi1111
30a9183091
Merge pull request #7774
...
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp)
033a32a Remove check is_directory check on lmdb path (Howard Chu)
b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu)
493577a Silence spurious fallthru warning (Howard Chu)
b46a60e Fix rawpart flag collision (Howard Chu)
4e7586c More RAWPART support (Howard Chu)
747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-03 17:24:47 -05:00
selsta
2ba391f02c
hardforks: set mainnet and stagenet v15/16 fork height
2022-07-01 01:49:59 +02:00
Leo Nerone
d486c0322f
utils: add fish shell completions
...
Fish shell completions for monerod, monero-wallet-cli, and monero-wallet-rpc.
2022-06-30 19:38:49 -03:00
anon
c7b2944f89
multisig: fix critical vulnerabilities in signing
2022-06-30 12:56:40 -05:00
selsta
8e9c60a682
README: depends has only been tested on ubuntu 18.04 and 20.04
2022-06-29 05:19:04 +02:00
Klaus Frank
83aa817b63
(fix): Confusingly named CI-Job
...
Rename the "build-macos" job within "depends", as it is not building on macOS as the similarly named job within build.yml does. Also, both names overlap which is confusing when looking for step-by-step build instruction examples or when looking at the logfile.
2022-06-29 04:51:43 +02:00
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
moneromooo-monero
c9cf0b78f8
wallet2: speedup large tx construction: cache public key validity
...
5.9 second -> 5.2 seconds on a test case
2022-05-13 17:43:16 +00:00
Jeffrey Ryan
62914e7e3d
Ignore gitian build files
2022-05-12 15:42:48 -05:00
j-berman
b9d2c788bc
fix backoff delay logic when re-relaying txs
2022-05-12 08:39:51 -07:00
j-berman
bae4a1ad8f
Don't send peerlist larger than max allowed
2022-05-11 18:41:24 -07:00
luigi1111
8349cfe4a6
Merge pull request #8321
...
7d6c748 Set hf v15 testnet fork heights (j-berman)
2022-05-10 16:57:53 -05:00
luigi1111
c76e33bc44
Merge pull request #8304
...
0226df9 More tests for view tags (SChernykh)
2022-05-10 16:57:23 -05:00
luigi1111
d58ea37a8d
Merge pull request #8302
...
41da2fe Update copyright to 2022 for Hardfork files (Akrit)
2022-05-10 16:56:39 -05:00
luigi1111
9e71901346
Merge pull request #8301
...
6ef945d Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10 16:55:36 -05:00
luigi1111
8480575cec
Merge pull request #8300
...
070e41d Change Github to GitHub (Abdullah)
2022-05-10 16:53:48 -05:00
luigi1111
fbd1f1e476
Merge pull request #8293
...
4f08bcd refactor(bp+): save one inversion, use sc_muladd (Dusan Klinec)
2022-05-10 16:51:59 -05:00
luigi1111
ae377a7b23
Merge pull request #8281
...
ca5921d readme: arch/fedora deps + small fixes (hinto.janaiyo)
2022-05-10 16:51:18 -05:00
luigi1111
638b325202
Merge pull request #8280
...
fc9b77d Changes to PORTABLE_STORAGE.md (Jeffrey)
34941ac Docs: Add documentation for EPEE Portable Storage (Jeffrey)
2022-05-10 16:50:48 -05:00
luigi1111
7cdbd25042
Merge pull request #8279
...
f7d50cb EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10 16:50:17 -05:00
luigi1111
3f58b8938a
Merge pull request #8278
...
63c7f8b EPEE: Remove hmac-md5 (Jeffrey)
2022-05-10 16:49:47 -05:00
luigi1111
436ca13722
Merge pull request #8277
...
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
2022-05-10 16:49:13 -05:00
luigi1111
156151396e
Merge pull request #8262
...
268a039 Optimized keccak implementation (SChernykh)
2022-05-10 16:47:13 -05:00
luigi1111
7bdda14b8d
Merge pull request #8235
...
9c42b72 CMake: Add missing BUILD_SHARED_LIBS option (mj-xmr)
2022-05-10 16:45:05 -05:00
luigi1111
5e46ab53e7
Merge pull request #8226
...
002bf9c Fix typo: SERIALIZE_TYPE_DUOBLE (Jeffrey)
2022-05-10 16:43:26 -05:00
luigi1111
c1625a8928
Merge pull request #8220
...
0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
2022-05-10 16:41:02 -05:00
Howard Chu
5c27fd853f
depends: Package cleanup
...
All patching should be in _preprocess_cmd. config_cmd should just run
configure and nothing else before it, otherwise $PATH is broken when it runs.
Also remove redundant settings to configure, _autoconf already sets them.
We leave explicit AR_FLAGS settings because the builtin rule uses ARFLAGS,
and so would leave AR_FLAGS unset otherwise.
2022-05-10 21:06:03 +01:00
Howard Chu
c1d47eb476
Update randomx: fix Mac linking error
...
Also silence randomx malloc exceptions
2022-05-10 21:05:55 +01:00
j-berman
7d6c7489a7
Set hf v15 testnet fork heights
2022-05-09 14:38:54 -07:00
selsta
02e6af2fda
Update CI for aarch64 mac build
2022-05-09 17:38:48 +01:00
Howard Chu
7ea1e214c5
Make Mac SDK into a regular depends package
2022-05-09 17:38:48 +01:00
Howard Chu
e81ab9bc2c
Silence some protobuf link warnings
...
4 warnings remain but it's better than before
2022-05-09 17:38:48 +01:00
selsta
af08c83e25
utils: delete outdated windows build script
2022-05-07 21:49:02 +02:00
hinto.janaiyo
ca5921d75b
readme: arch/fedora deps + small fixes
2022-05-07 10:26:27 -04:00
Howard Chu
fe5c2aec35
Fix arm64 darwin package defs
2022-05-06 16:45:45 +01:00
Howard Chu
fb68465c61
Boost 1.64 doesn't recognize arm64 darwin
2022-05-06 16:45:45 +01:00
Howard Chu
617f9082fe
more... update to clang 9.0.0
2022-05-06 16:45:45 +01:00
Howard Chu
83ae3ad178
Split native_clang out of native_cctools
...
Needed for compiling native_libtapi
2022-05-06 16:45:45 +01:00
Howard Chu
1008318715
Update native_cctools for newer SDK support
2022-05-06 16:45:45 +01:00
Jeffrey Ryan
1ddb1ee819
Give better error messages when missing SSL files
...
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
2022-05-05 21:48:19 -05:00
Howard Chu
a86c4cb75f
Update to MacOSX SDK 11.1, add Mac M1
2022-05-04 22:33:40 +01:00
Jeffrey
fc9b77d855
Changes to PORTABLE_STORAGE.md
...
* More information about array entries (especially nesting)
* Varint encoding examples
* Expanded string and integer encoding information
2022-05-04 11:08:48 -05:00
selsta
f63f7dc7e2
wallet2: fix a couple unused variable warnings
2022-05-02 21:28:40 +02:00
Jeffrey
b7978cfd4e
Remove src/serialization/list.h
...
Unused ;)
Also a comment from serialization.h
2022-05-02 12:08:05 -05:00
SChernykh
0226df9fae
More tests for view tags
...
P2Pool can create transactions with more than 128 outputs, which make output_index's varint larger than 1 byte. Added this test case.
2022-04-29 22:53:59 +02:00
koe
0d6ecb1136
multisig: add post-kex verification round to check that all participants have completed the multisig address
2022-04-29 14:04:59 -05:00
Akrit
41da2fe6f3
Update copyright to 2022 for Hardfork files
...
Update Makefile and LICENSE
2022-04-29 11:12:36 +02:00
Jeffrey
6ef945d9a5
Doxygen: Hide anonymous namespaces from documentation by default
...
Bonus: little doc fix for net_ssl.h
2022-04-28 19:35:49 -05:00
Abdullah
070e41d88b
Change "Github" to "GitHub"
2022-04-27 18:53:03 +01:00
Dusan Klinec
4f08bcd800
refactor(bp+): save one inversion, use sc_muladd
2022-04-26 13:37:11 +02:00
luigi1111
67e5ca9ad6
Merge pull request #8275
...
9209880 add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25 10:22:03 -05:00
luigi1111
92b3b34464
Merge pull request #8260
...
50ae6ba Tiny: add .vscode/ to .gitignore (mj-xmr)
2022-04-25 10:20:44 -05:00
luigi1111
a092b943d5
Merge pull request #8249
...
a14fdf8 Remove /include (Jeffrey)
2022-04-25 10:20:10 -05:00
luigi1111
4541384075
Merge pull request #8248
...
d1cb9c3 Remove serialization/enableable (Jeffrey)
2022-04-25 10:19:39 -05:00
luigi1111
e13244ea9c
Merge pull request #8178
...
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
2022-04-25 10:18:26 -05:00
Jeffrey
34941ac3e1
Docs: Add documentation for EPEE Portable Storage
...
Ripped directly from @jtgrassie 's monero-binary-rpc repo. It's a very helpful little document and I think it deserves a place in the main repo.
2022-04-23 14:14:36 -05:00
Jeffrey
f7d50cbaa8
EPEE: Remove gzip_encoding.h
2022-04-22 14:32:56 -05:00
Jeffrey
63c7f8ba6e
EPEE: Remove hmac-md5
2022-04-22 12:28:17 -05:00
Luke Parker
baee2c06ec
Preserve commitment format inside transactions
2022-04-21 18:58:47 -04:00
moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
...
reported by m31007
2022-04-21 22:22:56 +00:00
luigi1111
9f814edbd7
Merge pull request #8254
...
9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
2022-04-19 22:21:21 -05:00
luigi1111
d8f73133b1
Merge pull request #8247
...
b99242f readme: small fixes (hinto.janaiyo)
2022-04-19 22:20:53 -05:00
luigi1111
17dad03870
Merge pull request #8246
...
6491700 Makefile: fix spelling of CMAKE_BUILD_TYPE value (selsta)
2022-04-19 22:19:47 -05:00
luigi1111
4abbf442b4
Merge pull request #8245
...
3593a98 simplewallet: fix integrated_address output string (selsta)
2022-04-19 22:18:42 -05:00
luigi1111
5c471005eb
Merge pull request #8240
...
c68d78d randomx: update submodule (selsta)
2022-04-19 22:16:34 -05:00
luigi1111
8ddbe18277
Merge pull request #8232
...
0f7b20a Added support for Ledger Nano S Plus (Mathias Herberts)
2022-04-19 22:15:10 -05:00
luigi1111
96758a7d05
Merge pull request #8061
...
ea87b30 Add view tags to outputs to reduce wallet scanning time (j-berman)
2022-04-19 22:14:03 -05:00
hinto.janaiyo
b99242f310
readme: small fixes
2022-04-19 09:00:37 -04:00
selsta
ab9766ef17
depends: update unbound to 1.15.0
2022-04-19 00:31:03 +02:00
j-berman
5d388eb74d
Bump ring size to 16 for v15 & remove set default in wallet cli
2022-04-18 14:36:28 -07:00
luigi1111
53bf62d114
Merge pull request #8211
...
1137142 Change C-cast to static_cast in net_peerlist.h (Jeffrey)
175b411 Change C-style-casts to static_cast in time_helper.h (Jeffrey)
b49ed59 Remove the only 4 non-UTF8 characters in codebase (Jeffrey)
1f25aa2 Factor out move_it_backward from misc_language.h (Jeffrey)
7764d69 Move copyable_atomic into connection_context (Jeffrey)
801568d Refactor out to_nonconst_iterator.h (Jeffrey)
87ec36c Refactor out pragma_comp_defs (Jeffrey)
441c860 Merge functionality of misc_os_dependent into time_helper.h (Jeffrey)
40f02f9 Add Include statements (Jeffrey)
12b1b74 Trimming Fat (Jeffrey
690ce56 Boring Old Deletes (Jeffrey)
2022-04-18 12:13:32 -05:00
Jeffrey
11371425f5
"Change C-cast to static_cast in net_peerlist.h"
...
Thanks @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r823870855
2022-04-18 09:55:21 -05:00
Jeffrey
175b4117a9
Change C-style-casts to static_cast in time_helper.h
...
At the request of @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r822868321
2022-04-18 09:55:21 -05:00
Jeffrey
b49ed59166
Remove the only 4 non-UTF8 characters in codebase
...
Relevant commit in old PR:
1b798a7042
2022-04-18 09:55:21 -05:00
Jeffrey
1f25aa27c5
Factor out move_it_backward from misc_language.h
...
Relevant commit from old PR:
330df2952c
2022-04-18 09:55:21 -05:00
Jeffrey
7764d69782
Move copyable_atomic into connection_context
...
Relevant commit from old PR:
bd0a511995
2022-04-18 09:55:21 -05:00
Jeffrey
801568d0c6
Refactor out to_nonconst_iterator.h
...
Relevant commit on old PR:
2499269696
2022-04-18 09:55:21 -05:00
Jeffrey
87ec36cacf
Refactor out pragma_comp_defs
...
Relevant commits on the old cleanup PR:
36933c7f5c
21e43de0f3
3c678bb1ce
2022-04-18 09:55:21 -05:00
Jeffrey
441c860738
Merge functionality of misc_os_dependent into time_helper.h
...
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed
Relevant commits on the old PR:
a9fbe52b02
9a59b131c4
7fa9e2817d
2022-04-18 09:55:21 -05:00
Jeffrey
40f02f9d73
Add Include statements
2022-04-18 09:55:20 -05:00
Jeffrey
12b1b74d32
Trimming Fat
...
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0
Boring Old Deletes
...
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00
SChernykh
268a0393e9
Optimized keccak implementation
...
All tests were conducted on the same PC (Ryzen 5 5600X running at fixed 4.65 GHz).
Before:
test_cn_fast_hash<32> (100000 calls) - OK: 1 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 164 us/call
After:
test_cn_fast_hash<32> (100000 calls) - OK: 0 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 31 us/call
More than 5 times speedup for cn_fast_hash.
Also noticed consistent 1-2% improvement in test_construct_tx results.
2022-04-18 10:01:13 +02:00
j-berman
ea87b30f89
Add view tags to outputs to reduce wallet scanning time
...
Implements view tags as proposed by @UkoeHB in MRL issue
https://github.com/monero-project/research-lab/issues/73
At tx construction, the sender adds a 1-byte view tag to each
output. The view tag is derived from the sender-receiver
shared secret. When scanning for outputs, the receiver can
check the view tag for a match, in order to reduce scanning
time. When the view tag does not match, the wallet avoids the
more expensive EC operations when deriving the output public
key using the shared secret.
2022-04-18 00:49:53 -07:00
luigi1111
6694597974
Merge pull request #8207
...
4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
2022-04-18 02:14:04 -05:00
luigi1111
2b999f5398
Merge pull request #7819
...
b030f20 Fee changes from ArticMine (moneromooo-monero)
9f786f0 epee: allow copying a rolling_median_t object (moneromooo-monero)
2022-04-18 02:12:55 -05:00
mj-xmr
50ae6bafe9
Tiny: add .vscode/ to .gitignore
2022-04-15 09:59:33 +02:00
moneromooo-monero
9df7179aaf
wallet2: use BP+ for cold signing
...
reported by ukoehb
2022-04-10 21:03:09 +00:00
mj-xmr
9c42b728ba
CMake: Add missing BUILD_SHARED_LIBS option
2022-04-10 21:25:45 +02:00
moneromooo-monero
b030f20751
Fee changes from ArticMine
...
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf
with a change to use 1.7 instead of 2.0 for the max long term increase rate
2022-04-10 18:13:34 +00:00
moneromooo-monero
9f786f0550
epee: allow copying a rolling_median_t object
2022-04-10 18:13:31 +00:00
Jeffrey
a14fdf8d5a
Remove /include
...
* `IWallet.h` hasn't been touched since 2014, and has been replaced by `src/wallet/api/wallet2_api.h`
* `INode.h` is in a similar situation with `src/p2p/net_node.h`
2022-04-09 23:47:02 -05:00
Jeffrey
d1cb9c393e
Remove serialization/enableable
...
Currently working on an EPEE [ser/de]ialization library for Rust and at first glance, EPEE seemed to have support for optional wrappers. However, after looking into it, this feature appears to be half-baked and unused. Furthermore, adding support for optional values would be better suited to implement at the storage level, in my opinion. That would make parsing DOMs easier and less error-prone. If anyone is currently using this code, please comment. Thanks!
At the time of writing, this PR has no merge conflicts with #8211
2022-04-09 22:53:46 -05:00
selsta
649170053f
Makefile: fix spelling of CMAKE_BUILD_TYPE value
2022-04-08 18:22:48 +02:00
selsta
3593a986d8
simplewallet: fix integrated_address output string
2022-04-08 16:20:37 +02:00
luigi1111
f49fc9b487
Merge pull request #8242
...
6abe3fe tests: integrated_address: remove missing payment id assertion (reemuru)
2022-04-06 15:13:36 -04:00
reemuru
6abe3fee19
tests: integrated_address: remove missing payment id assertion
...
The integrated address functional test fails in the workflows due
to an assertion for missing payment id that is no longer needed.
Remove the assertion and update the assertion count.
Fixes 7dcfccb : ("wallet_rpc_server: fix make_integrated_address with no payment id")
2022-04-06 06:49:01 -05:00
mj-xmr
4db6aed98c
CMake: Add missing headers via monero_find_all_headers macro
2022-04-06 08:12:44 +02:00
selsta
c68d78dde0
randomx: update submodule
2022-04-06 07:22:14 +02:00
luigi1111
c11385591e
Merge pull request #8228
...
1ce9e9c Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
2022-04-06 00:22:23 -04:00
luigi1111
bb093ec9a8
Merge pull request #8223
...
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06 00:19:59 -04:00
luigi1111
f096ac1349
Merge pull request #8215
...
d1f1947 wallet_rpc_server: support regex for get_accounts tag (reemuru)
2022-04-06 00:16:20 -04:00
luigi1111
9a124f6811
Merge pull request #8213
...
7dcfccb wallet_rpc_server: fix make_integrated_address with no payment id (moneromooo-monero)
2022-04-06 00:15:40 -04:00
luigi1111
627f04c19a
Merge pull request #8212
...
591c174 Remove footgun doc comment in miner TX validation (Luke Parker)
2022-04-06 00:14:44 -04:00
luigi1111
04e490c8da
Merge pull request #8205
...
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06 00:11:14 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
luigi1111
88a5606795
Merge pull request #8195
...
3c82958 wallet2: update stagenet rollback blocks (selsta)
2022-04-06 00:07:36 -04:00
luigi1111
ffe439d38a
Merge pull request #8180
...
3f88fdd simplewallet: add option for exporting tx keys (reemuru)
2022-04-06 00:06:58 -04:00
luigi1111
0285c07d7d
Merge pull request #8179
...
ae0a840 wallet2: decrease the amount of data exchanged for output export (moneromooo-monero)
2022-04-06 00:06:20 -04:00
luigi1111
922acb05fd
Merge pull request #8053
...
cf44349 account info text alignment (im)
2022-04-06 00:03:41 -04:00
luigi1111
50410d1f7d
Merge pull request #7937
...
83bb027 Make RPC server functions that read db thread safe (j-berman)
2022-04-06 00:02:47 -04:00
luigi1111
d054def63f
Merge pull request #7170
...
bd27deb Bulletproofs+ (SarangNoether)
b7713cc Precompute initial transcript hash (SarangNoether)
b535d66 Updates from security audit (SarangNoether)
a0d80b1 plug bulletproofs plus into consensus (moneromooo-monero)
75bd004 ringct: a few minor optimizations from review (moneromooo-monero)
a345060 ringct: port some of vtnerd's review changes from BP+ to BP (moneromooo-monero)
4c94cfe store outPk/8 in the tx for speed (moneromooo-monero)
5acdd0e bulletproofs+: some minor cleanup from vtnerd's review (moneromooo-monero)
2022-04-05 23:56:09 -04:00
luigi1111
fb2f822c52
Merge pull request #7153
...
354e1d9 Make the wallet name optional when locked. (Norman Moeschter)
2022-04-05 23:48:18 -04:00
j-berman
83bb02745a
Make RPC server functions that read db thread safe
...
- grab an lmdb db_rtxn_guard to ensure consistent data from the db
- fixed on_getblockhash error resp when requested height >= blockchain height
- left functions that read shared memory untouched for now
2022-04-05 20:20:12 -07:00
moneromooo-monero
5acdd0e2cb
bulletproofs+: some minor cleanup from vtnerd's review
2022-04-05 18:50:23 +00:00
moneromooo-monero
4c94cfecfc
store outPk/8 in the tx for speed
...
It avoids dividing by 8 when deserializing a tx, which is a slow
operation, and multiplies by 8 when verifying and extracing the
amount, which is much faster as well as less frequent
2022-04-05 18:50:22 +00:00
moneromooo-monero
a345060ace
ringct: port some of vtnerd's review changes from BP+ to BP
2022-04-05 18:50:21 +00:00
moneromooo-monero
75bd004f4e
ringct: a few minor optimizations from review
2022-04-05 18:50:21 +00:00
moneromooo-monero
a0d80b1f95
plug bulletproofs plus into consensus
2022-04-05 18:50:17 +00:00
Sarang Noether
b535d662b9
Updates from security audit
...
https://suyash67.github.io/homepage/assets/pdfs/bulletproofs_plus_audit_report_v1.1.pdf
2022-04-04 08:23:21 +00:00
Sarang Noether
b7713cce26
Precompute initial transcript hash
2022-04-04 08:23:21 +00:00
Sarang Noether
bd27debb2d
Bulletproofs+
2022-04-04 08:23:21 +00:00
Mathias Herberts
0f7b20a1ce
Added support for Ledger Nano S Plus
2022-03-31 18:25:09 +02:00
Jeffrey
1ce9e9cda4
Remove dead code from parserse_base_utils and fix unit tests
...
* Remove `match_string()`, `match_number()`, and `match_word()`
* Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()`
* Adapt unit test for `match_number()` to `match_number2()`
* Adapt unit test for `match_string()` to `match_string2()`
Note: the unit tests were testing for the old version of the functions, and
the interfaces for these functions changed slightly, so I had to also edit
the tests.
As of writing, this PR has no merge conflicts with #8211
Additional changes during review:
* Explicitly set up is_[float/signed]_val to be changed before each call
* Structify the tests and fix uninitialized variables
2022-03-30 13:29:32 -05:00
Jeffrey
17772ef53e
Eliminate dependence on boost::interprocess #8223
...
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of
`boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example,
when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so
I replaced it with `std::atomic<bool>`.
You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211.
Additional changes from review:
* Make some local variables const
* Change postfix operators to prefix operators where value was not need
2022-03-30 13:18:32 -05:00
moneromooo-monero
ae0a840fda
wallet2: decrease the amount of data exchanged for output export
2022-03-29 08:40:32 +00:00
Jeffrey
002bf9c4fd
Fix typo: SERIALIZE_TYPE_DUOBLE
2022-03-25 12:11:08 -05:00
luigi1111
70ceab6c10
Merge pull request #8216
...
f22051d replace erciccione's seednode with one on haveno's infrastructure (erciccione)
2022-03-18 16:34:16 -05:00
luigi1111
427bd85893
Merge pull request #8187
...
9bde2db Fixes: Don't require --rpc-login with --rpc-access-control-origins #8168 (Jeffrey)
2022-03-18 16:32:25 -05:00
luigi1111
6a0d973dc9
Merge pull request #8186
...
f68f927 Undefined behaviour fixes (SChernykh)
2022-03-18 16:31:18 -05:00
luigi1111
4cb3b422e1
Merge pull request #8170
...
14eb42d systemd: remove outdated torsocks example (selsta)
2022-03-18 16:30:25 -05:00
luigi1111
0ea8519895
Merge pull request #8169
...
5e201fe rpc: add explicit restricted flag to /get_info (tobtoht)
2022-03-18 16:30:00 -05:00
luigi1111
d9e6baac42
Merge pull request #8158
...
e5000a9 Balance includes unconfirmed transfers to self (woodser)
2022-03-18 16:28:16 -05:00
luigi1111
f4d99dcca7
Merge pull request #7675
...
de4413b workflows: don't build PRs if only docs and READMEs are being changed (erciccione)
2022-03-18 16:26:52 -05:00
reemuru
d1f1947995
wallet_rpc_server: support regex for get_accounts tag
...
This commit adds a 'regexp' boolean field to the get_accounts
request. The flag is set to false by default and maintains backwards
compatibility. When set to true the user can search tags by regular
expression filters. An additional error message was added for failed
regular expression searches. Bump minor version to 25.
2022-03-13 11:30:48 -04:00
erciccione
f22051d382
replace erciccione's seednode with one on haveno's infrastructure
2022-03-13 13:15:01 +01:00
moneromooo-monero
7dcfccbaaf
wallet_rpc_server: fix make_integrated_address with no payment id
2022-03-11 17:23:19 +00:00
Luke Parker
591c174235
Remove footgun doc comment in miner TX validation
...
This comment suggests this check is unnecessary, when it is completely necessary as miner TXs can have multiple outputs *which is a statement directly, and incorrectly, contradicted by this comment*. While I don't ever see someone removing this code and getting their edits merged into Monero, someone inexperienced who thinks they're cleaning old code may break their own work, and then there's really just zero benefit to keeping this around.
2022-03-10 14:08:30 -06:00
Norman Moeschter
354e1d9c65
Make the wallet name optional when locked.
2022-03-10 08:16:14 +00:00
mj-xmr
0d6fce8995
Compil. time: cryptonote_core minus portable_storage header
2022-03-04 12:48:35 +01:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
luigi1111
d562deaaa9
Merge pull request #8161
...
b8beac3 Fix typos in docs (Robert Theis)
2022-03-02 18:54:06 -05:00
luigi1111
27f1d43547
Merge pull request #8145
...
fb5b2b3 support authentication in monero-wallet-rpc set_daemon (woodser)
2022-03-02 18:53:34 -05:00
luigi1111
abae63c37d
Merge pull request #8052
...
c36ea26 fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order (koe)
2022-03-02 18:52:51 -05:00
luigi1111
5eaa4434e8
Merge pull request #7877
...
e08abaa multisig key exchange update and refactor (koe)
2022-03-02 18:51:54 -05:00
luigi1111
5a1c060632
Merge pull request #7084
...
06e6c8b crypto: fix constant randomx exceptions in large page allocator (moneromooo-monero)
2022-03-02 18:50:37 -05:00
selsta
3c829586be
wallet2: update stagenet rollback blocks
2022-03-01 00:25:41 +01:00
reemuru
3f88fddbfa
simplewallet: add option for exporting tx keys
...
This commit adds an option to export transaction
keys when performing export_transfers all. By passing
option=with_keys a new column 'tx key' will be
populated with respective keys.
2022-02-24 22:22:35 -05:00
koe
e08abaa43f
multisig key exchange update and refactor
2022-02-22 16:37:42 -06:00
Jeffrey
9bde2dbfed
Fixes: Don't require --rpc-login with --rpc-access-control-origins #8168
...
This PR removes the requirement for --rpc-login to be specified if --rpc-access-control-origins is.
This will allow public nodes to serve cross-origin requests. You can still use --rpc-login with
--rpc-access-control-origins, but it is no longer mandatory.
Original Issue: #8168
2022-02-19 13:49:38 -06:00
moneromooo-monero
06e6c8bf4a
crypto: fix constant randomx exceptions in large page allocator
...
If allocating large pages fails, we don't try again.
This has the obvious drawback of not being able to use large pages
if they fail once.
2022-02-19 13:15:10 +00:00
SChernykh
f68f92776b
Undefined behaviour fixes
...
Fixes issues reported in #8120
2022-02-19 10:17:53 +01:00
selsta
14eb42d12d
systemd: remove outdated torsocks example
2022-02-08 19:49:00 +01:00
tobtoht
5e201fedc5
rpc: add explicit restricted flag to /get_info
2022-02-07 17:59:22 +01:00
woodser
e5000a9f0c
Balance includes unconfirmed transfers to self
2022-01-31 07:52:38 -05:00
Robert Theis
b8beac3ecc
Fix typos in docs
2022-01-28 07:07:22 -06:00
koe
c36ea26e5c
fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order
2022-01-25 07:14:46 -06:00
luigi1111
9aab19f349
Merge pull request #8135
...
2d0a518 Update Copyright year in README.md (IceCruelStuff)
2022-01-24 15:18:13 -05:00
luigi1111
357dbd2032
Merge pull request #8130
...
1051276 Update net_node.inl (Gingeropolous)
2022-01-24 15:16:52 -05:00
luigi1111
459a48352d
Merge pull request #8126
...
e73e1e7 Use CMD in Dockerfile (Kevin Thomas)
2022-01-24 15:16:27 -05:00
luigi1111
d94715fd71
Merge pull request #8123
...
4446cc8 wallet inits cache if file and blob missing (woodser)
2022-01-24 15:15:11 -05:00
luigi1111
c1e7e97cea
Merge pull request #8117
...
505b382 cmake: enable build on riscv{64, 32} (Xeonacid)
2022-01-24 15:14:38 -05:00
luigi1111
cb24b85bde
Merge pull request #8116
...
6366187 Fixed warnings for Clang (used as CMAKE_CXX compiler) (SerHack)
2022-01-24 15:14:08 -05:00
luigi1111
0f9fae5a96
Merge pull request #8112
...
fef0280 Fix docker instructions to account for non-root user (Kevin Thomas)
2022-01-24 15:13:37 -05:00
luigi1111
166c278057
Merge pull request #8101
...
6a46f8c Add copy commands for compiled binaries (Seth For Privacy)
52612e7 Add archive details to post-build section (Seth For Privacy)
03a256e Add git clone and cd commands for initial prep (Seth For Privacy)
cd76011 Add note on adding SSH keys for Github (Seth For Privacy)
9d02531 Update DOCKRUN.md (Seth For Privacy)
eeb0be4 Bump versions in DOCKRUN.md and add log commands (Seth For Privacy)
2022-01-24 15:11:51 -05:00
luigi1111
5283cf51ef
Merge pull request #8044
...
a02b342 Avoid unnecessary 'Invalid hashing blob' error message (rbrunner7)
2022-01-24 15:10:55 -05:00
luigi1111
e9d90de9e1
Merge pull request #8041
...
361f621 Fix typos (Dimitris Apostolou)
2022-01-24 15:09:30 -05:00
woodser
fb5b2b352a
support authentication in monero-wallet-rpc set_daemon
2022-01-17 17:03:56 -05:00
IceCruelStuff
2d0a5189d2
Update Copyright year in README.md
2022-01-07 20:27:24 -08:00
Gingeropolous
1051276425
Update net_node.inl
2022-01-04 16:31:59 -05:00
Kevin Thomas
e73e1e7e6f
Use CMD in Dockerfile
...
According to Dockerfile best practices
(https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint )
the best use for ENTRYPOINT is to set the image’s main command and then
use CMD as the default flags. This makes it easier to change the flags
passed to monerod when running the Docker image.
2021-12-31 01:05:22 -08:00
woodser
4446cc88c3
wallet inits cache if file and blob missing
2021-12-24 09:22:57 -05:00
Xeonacid
505b38260c
cmake: enable build on riscv{64, 32}
...
tested on Arch Linux RISC-V.
2021-12-22 15:43:44 +08:00
SerHack
6366187cf3
Fixed warnings for Clang (used as CMAKE_CXX compiler)
2021-12-19 03:16:53 -08:00
luigi1111
319b831e65
Merge pull request #8103
...
e9156d7 functional_tests: update uri test with external pid (selsta)
2021-12-15 20:24:37 -06:00
selsta
e9156d78a3
functional_tests: update uri test with external pid
2021-12-14 23:35:48 +01:00
Kevin Thomas
fef02800c7
Fix docker instructions to account for non-root user
...
Since the non-root user 'monero' is specified in the Dockerfile, the
bind mount when running the container should be set to this user's home
directory be default, not the root user's home directory.
2021-12-13 18:53:06 -08:00
Seth For Privacy
6a46f8c40a
Add copy commands for compiled binaries
2021-12-02 16:54:04 +00:00
Seth For Privacy
52612e7a12
Add archive details to post-build section
...
Also moved the tail of in-progress logs to two distinct and precise tail commands, was a good recommendation by @hyc.
2021-12-02 16:52:32 +00:00
Seth For Privacy
03a256e076
Add git clone and cd commands for initial prep
2021-12-02 15:41:45 +00:00
Seth For Privacy
cd76011e6c
Add note on adding SSH keys for Github
2021-12-02 13:55:18 +00:00
Seth For Privacy
9d02531f0d
Update DOCKRUN.md
2021-12-01 17:44:58 +00:00
Seth For Privacy
eeb0be4905
Bump versions in DOCKRUN.md and add log commands
2021-12-01 15:33:08 +00:00
luigi1111
cc9ca953a9
Merge pull request #8097
...
6e6ad80 Fix Android OpenSSL build (Howard Chu)
2021-11-30 17:07:58 -05:00
luigi1111
3ed0cc6e20
Merge pull request #8067
...
53be72c make_uri disallows standalone payment ids (woodser)
2021-11-30 17:05:48 -05:00
luigi1111
e6e333adc9
Merge pull request #8066
...
7bc261b cmake: find readline on macOS ARM (selsta)
2021-11-30 17:04:38 -05:00
luigi1111
c0cf5bb339
Merge pull request #8057
...
1efe624 device_ledger: fix incorrect macro (selsta)
2021-11-30 17:03:46 -05:00
luigi1111
a723f25041
Merge pull request #8054
...
a491175 cmake: fix incorrect else syntax (selsta)
2021-11-30 17:03:23 -05:00
luigi1111
155c5ecb8e
Merge pull request #8027
...
94dc19a cmake: remove including non-existent directory (selsta)
2021-11-30 17:02:08 -05:00
luigi1111
55fc2335a4
Merge pull request #7943
...
3a90be4 rpc: don't set error code as status string (selsta)
2021-11-30 17:00:20 -05:00
woodser
53be72c08a
make_uri disallows standalone payment ids
2021-11-30 09:28:45 -05:00
Howard Chu
6e6ad80dc4
Fix Android OpenSSL build
...
depends didn't have target-specific overrides for _build_env
so ANDROID_NDK_HOME wasn't being set at build time.
This fix supersedes the manual edit of Configuration/15-android.conf.
Resolves #8095
2021-11-30 04:15:48 +00:00
luigi1111
aeae337c0b
Merge pull request #7910
...
4571d36 Add simple script for running gitian-build (Howard Chu)
2021-11-29 00:50:01 -06:00
luigi1111
105e2304a2
Merge pull request #8083
...
e8e507f rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
2021-11-26 23:05:31 -06:00
luigi1111
7fc93a12d4
Merge pull request #8071
...
22b891c Update RandomX (Jethro Grassie)
2021-11-26 23:01:57 -06:00
luigi1111
9a17f53489
Merge pull request #8070
...
a4ebec9 Add python method (Howard Chu)
0221b01 Add calcpow RPC (Howard Chu)
2021-11-26 23:01:08 -06:00
luigi1111
9c4c28e4f6
Merge pull request #8065
...
82828bf cryptonote_core: fix unused lambda warning (selsta)
2021-11-26 23:00:31 -06:00
luigi1111
41d6db105d
Merge pull request #8055
...
a30928f depends: bump hidapi to 0.11.0 (selsta)
2021-11-26 22:59:27 -06:00
Howard Chu
a4ebec9afb
Add python method
2021-11-21 01:24:10 +00:00
Howard Chu
0221b01519
Add calcpow RPC
...
Calculate PoW hash for a block candidate
2021-11-20 18:52:05 +00:00
Jethro Grassie
22b891c80e
Update RandomX
2021-11-20 00:01:30 -05:00
selsta
7bc261b506
cmake: find readline on macOS ARM
2021-11-17 02:09:58 +01:00
selsta
82828bfcb6
cryptonote_core: fix unused lambda warning
2021-11-16 05:21:56 +01:00
selsta
1efe624e30
device_ledger: fix incorrect macro
...
The current code does work by accident, but it might break if
someone uses ASSERT_SW in a different place, or if variables
get renamed.
2021-11-12 02:56:20 +01:00
luigi1111
6d94953be2
Merge pull request #8048
...
e0a5dce Update RandomX to v1.1.10 (tevador)
2021-11-09 22:55:30 -06:00
luigi1111
97ff1938a3
Merge pull request #8038
...
fbe8358 device: fix ledger error strings, add human friendly messages (selsta)
2021-11-09 22:53:47 -06:00
luigi1111
2844b5b8db
Merge pull request #8031
...
187633c slow_hash: don't blow out Mac stack on ARM64 (Howard Chu)
2021-11-09 22:50:36 -06:00
luigi1111
c3b1b94453
Merge pull request #7169
...
bbe3b27 tx_pool: full tx revalidation on fork boundaries (moneromooo-monero)
2021-11-09 22:44:39 -06:00
selsta
a30928fe1a
depends: bump hidapi to 0.11.0
2021-11-10 03:17:52 +01:00
selsta
a491175f7d
cmake: fix incorrect else syntax
2021-11-10 00:33:16 +01:00
im
cf44349a86
account info text alignment
2021-11-10 02:27:14 +08:00
tevador
e0a5dce14f
Update RandomX to v1.1.10
2021-11-08 20:51:50 +01:00
rbrunner7
a02b342347
Avoid unnecessary 'Invalid hashing blob' error message
2021-11-05 14:19:21 +01:00
luigi1111
eec3a6014c
Merge pull request #8021
...
8f21001 depends: openssl 1.1.1k -> 1.1.1l (selsta)
2021-11-04 14:02:59 -05:00
Dimitris Apostolou
361f621c3c
Fix typos
2021-11-03 19:38:53 +02:00
selsta
fbe8358c9f
device: fix ledger error strings, add human friendly messages
2021-11-03 00:10:12 +01:00
moneromooo-monero
bbe3b276b8
tx_pool: full tx revalidation on fork boundaries
...
avoids mining txes after a fork that are invalid by this fork's
rules, but were valid by the previous fork rules at the time
they were verified and added to the txpool.
2021-11-01 20:56:38 +00:00
luigi1111
e22ec26be4
Merge pull request #8029
...
548cfc8 crypto: fix typo in ifdef (selsta)
2021-11-01 12:32:24 -05:00
luigi1111
d573b3d76c
Merge pull request #8020
...
47e7a43 wallet_api: enable set_strict_default_file_permissions (tobtoht)
2021-11-01 12:31:32 -05:00
luigi1111
ff4ede9356
Merge pull request #8017
...
a15466d wallet2: remove 2 unused variables (selsta)
2021-11-01 12:29:22 -05:00
luigi1111
14e94c6918
Merge pull request #8016
...
b0ec9f8 epee: avoid ADL selecting C++14 std::quoted (selsta)
2021-11-01 12:28:28 -05:00
luigi1111
f405bf3d58
Merge pull request #8013
...
2cad563 wallet2: fix key encryption when changing ask-password from 0/1 to 2 (moneromooo-monero)
2021-11-01 12:25:20 -05:00
Howard Chu
187633c0ca
slow_hash: don't blow out Mac stack on ARM64
2021-10-30 22:24:55 +01:00
selsta
548cfc8d68
crypto: fix typo in ifdef
2021-10-29 17:55:51 +02:00
selsta
94dc19a8b3
cmake: remove including non-existent directory
2021-10-28 14:30:35 +02:00
luigi1111
b328fbecc2
Merge pull request #8019
...
e106bdc epee: add missing header (selsta)
2021-10-25 19:02:49 -05:00
luigi1111
ff96482e38
Merge pull request #8018
...
1f81f5f protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
2021-10-25 19:02:22 -05:00
luigi1111
919e06bbfd
Merge pull request #8011
...
9c61110 cmake: use CMAKE_CURRENT_LIST_DIR for git version (selsta)
2021-10-25 19:01:59 -05:00
luigi1111
0bd892788d
Merge pull request #8006
...
69c09ad Add README to release archives (Howard Chu)
4881154 README v12 fork occurred on 2019-11-30 as expected (Howard Chu)
2021-10-25 19:00:40 -05:00
luigi1111
e5710b1898
Merge pull request #8004
...
ace4669 simplewallet: fix incoming_transfers index error (selsta)
2021-10-25 18:59:54 -05:00
luigi1111
e7d571c526
Merge pull request #8003
...
75d05b9 download: fix leak (moneromooo-monero)
2021-10-25 18:59:18 -05:00
luigi1111
e161b75201
Merge pull request #8002
...
49441d4 depends: update zeromq package to 4.3.4 (selsta)
2021-10-25 18:58:48 -05:00
luigi1111
00ac048958
Merge pull request #7995
...
797ca97 socks: ignore any exceptions in shutdown/close (selsta)
2021-10-25 18:53:34 -05:00
moneromooo-monero
e8e507f36f
rpc: fix DoS vector in get_output_distribution
...
This will prevent people spending old pre-rct outputs using a
stranger's node, which may be a good thing
2021-10-24 17:17:12 +00:00
selsta
8f210011be
depends: openssl 1.1.1k -> 1.1.1l
2021-10-22 23:17:53 +02:00
selsta
797ca974ab
socks: ignore any exceptions in shutdown/close
2021-10-22 22:00:29 +02:00
tobtoht
47e7a43270
wallet_api: enable set_strict_default_file_permissions
2021-10-22 05:40:23 +02:00
selsta
e106bdc1fc
epee: add missing header
2021-10-22 04:14:25 +02:00
moneromooo-monero
1f81f5f5c1
protocol: fix spurious rejection of downloaded blocks
...
when kicking a peer for inactivity, clear the set of requested blocks,
or next time we requests blocks from it, we'll probably reject the
incoming blocks due to missing the previous requested blocks
2021-10-21 20:34:06 +00:00
selsta
a15466d850
wallet2: remove 2 unused variables
2021-10-20 22:19:15 +02:00
selsta
b0ec9f85a1
epee: avoid ADL selecting C++14 std::quoted
2021-10-20 19:30:21 +02:00
moneromooo-monero
2cad563060
wallet2: fix key encryption when changing ask-password from 0/1 to 2
...
we reuse the wallet_keys_unlocker object, which does the right thing
in conjunction with other users of decrypt/encrypt (ie, refresh).
2021-10-19 22:01:45 +00:00
selsta
9c6111017b
cmake: use CMAKE_CURRENT_LIST_DIR for git version
2021-10-19 17:27:16 +02:00
luigi1111
753dc901a1
Merge pull request #8001
...
9973edd ARMv8: detect AES support dynamically (Howard Chu)
2021-10-17 23:39:50 -05:00
luigi1111
99507da993
Merge pull request #7994
...
84c5257 Decrease the 'recent spend window' in gamma re-select to 15 blocks (j-berman)
2021-10-17 23:38:47 -05:00
luigi1111
7f1a44679c
Merge pull request #7971
...
b00e21d cmake: set cpp14 standard (selsta)
2021-10-17 23:33:33 -05:00
luigi1111
adb2542a6c
Merge pull request #7876
...
5e63f6c Ledger: member 'mode' was shadowing that of base class (mj-xmr)
2021-10-17 23:29:17 -05:00
luigi1111
ebc655c6ad
Merge pull request #7869
...
ad9fde4 UB: virtual methods in destructor at Trezor (mj-xmr)
2021-10-17 23:28:04 -05:00
luigi1111
19a6cc26fc
Merge pull request #7867
...
eed7e79 UB: Not calling virtual method in destructor of WalletImpl (mj-xmr)
2021-10-17 23:26:50 -05:00
luigi1111
e165fdb27c
Merge pull request #7859
...
514f8fa LMDB: protection against UB, by not calling virtual methods from destructor (mj-xmr)
2021-10-17 23:25:34 -05:00
luigi1111
e7974926d5
Merge pull request #7808
...
7caab8d utils/health: separate Clang Tidy tests for C & C++ (mj-xmr)
2021-10-17 23:24:50 -05:00
luigi1111
f8abf3dd61
Merge pull request #7804
...
852f319 Doxygen: Exclude build directories (mj-xmr)
2021-10-17 23:24:22 -05:00
luigi1111
308e601966
Merge pull request #7799
...
76542ea Fix precision of average_output_time (j-berman)
2021-10-17 23:23:15 -05:00
Howard Chu
69c09ad204
Add README to release archives
...
Also add docs/ANONYMITY_NETWORKS.md
Even though there is no "docs" dir in the archive...
2021-10-14 15:30:43 +01:00
Howard Chu
4881154e69
README v12 fork occurred on 2019-11-30 as expected
...
Not just an estimated date.
Also fix whitespace alignment.
Note for future: always use backslash-asterisk if adding this
notation, otherwise it screws up rendering on some MD formatters
2021-10-14 15:26:22 +01:00
luigi1111
c458d5fe40
Merge pull request #7989
...
9cd7aa6 cmake: don't optimize debug build (selsta)
2021-10-11 13:05:25 -05:00
luigi1111
3d9c805e23
Merge pull request #7975
...
48a0997 blockchain: fix pedantic assert (selsta)
2021-10-11 13:00:27 -05:00
luigi1111
260f1d39f2
Merge pull request #7972
...
bc167a1 cmake: fix copy/paste typo (selsta)
2021-10-11 13:00:00 -05:00
luigi1111
a6367693c7
Merge pull request #7960
...
2e8936f rpc: Fix get_transactions failing when not found (Nathan Dorfman)
2021-10-11 12:59:32 -05:00
luigi1111
872d6f86bc
Merge pull request #7958
...
5f54dea LMDB: fix deadlock in resized detection (Howard Chu)
2021-10-11 12:57:53 -05:00
luigi1111
d0a3eb1e7e
Merge pull request #7954
...
313edb2 Doc: building gtest on Debian and Ubuntu (ralphmapper)
2021-10-11 12:57:27 -05:00
luigi1111
8fa21beba1
Merge pull request #7912
...
ae41178 gitian: cleanup more unused packages (Howard Chu)
4ea7832 gitian: omit ccache from gitian builds (Howard Chu)
2021-10-11 12:56:53 -05:00
luigi1111
45920c36f1
Merge pull request #7874
...
9154883 node_server: fix race condition (anon)
8922f96 node_server: add race condition demo (anon)
2021-10-11 12:56:14 -05:00
luigi1111
7f477c1902
Merge pull request #7793
...
13a8a57 trezor: try empty passphrase first (Dusan Klinec)
2021-10-11 12:54:17 -05:00
selsta
48a0997d8c
blockchain: fix pedantic assert
2021-10-11 19:09:45 +02:00
selsta
ace4669543
simplewallet: fix incoming_transfers index error
2021-10-10 23:17:16 +02:00
moneromooo-monero
75d05b9448
download: fix leak
...
A shared_ptr as by value capture will keep the object alive
2021-10-10 19:14:17 +00:00
Howard Chu
9973edd4c3
ARMv8: detect AES support dynamically
2021-10-10 16:52:30 +01:00
selsta
49441d4a2a
depends: update zeromq package to 4.3.4
2021-10-10 12:11:01 +02:00
mj-xmr
5e63f6c292
Ledger: member 'mode' was shadowing that of base class
2021-10-07 12:03:17 +02:00
luigi1111
b58a9fb12e
Merge pull request #7984
...
1346516 workflows: add missing dependency, fix mac build (selsta)
2021-10-05 21:44:39 -05:00
j-berman
84c52571ed
Decrease the "recent spend window" in gamma re-select to 15 blocks
...
- combined with patching integer truncation (#7798 ), this gets the algorithm marginally closer to mirroring empirically observed output ages
- 50 was originally chosen assuming integer truncation would remain in the client for that client release version. But patching integer truncation causes the client to select more outputs in the 10-100 block range, and therefore the benefit of choosing a larger recent spend window of 50 has less merit
- 15 seems well-suited to cover the somewhat sizable observable gap in the early window of blocks
2021-10-04 20:12:42 -07:00
selsta
9cd7aa60f0
cmake: don't optimize debug build
2021-10-04 02:30:34 +02:00
tobtoht
5770265a16
wallet2: keep around transaction prefix for confirmed transfers
2021-10-01 12:42:48 +02:00
selsta
1346516d09
workflows: add missing dependency, fix mac build
2021-09-30 22:09:34 +02:00
Howard Chu
ae41178c8b
gitian: cleanup more unused packages
...
These appear to be leftovers inherited from Bitcoin's builder
2021-09-27 17:14:03 +01:00
Howard Chu
4ea7832ea7
gitian: omit ccache from gitian builds
...
It's just wasted overhead since the build VMs are always deleted
and recreated fresh for each run.
2021-09-27 17:14:03 +01:00
selsta
bc167a1738
cmake: fix copy/paste typo
2021-09-25 06:28:41 +02:00
selsta
b00e21dccc
cmake: set cpp14 standard
...
It's 2021, we can easily switch to C++14 without any troubles.
2021-09-25 06:22:12 +02:00
luigi1111
6b824c9ed0
Merge pull request #7945
...
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
2021-09-23 22:22:42 -05:00
luigi1111
4120098e09
Merge pull request #7942
...
5617a29 unbound: remove leftovers (selsta)
2021-09-23 22:22:00 -05:00
luigi1111
df0408bd37
Merge pull request #7934
...
a95e6e0 Dockerfile: use depends (selsta)
2021-09-23 22:21:26 -05:00
luigi1111
415e290675
Merge pull request #7933
...
43a7279 depends: update unwind, fix build with ubuntu 21.04 (selsta)
2021-09-23 22:19:50 -05:00
luigi1111
4f5e8ccace
Merge pull request #7930
...
807cbcd easylogging++: fix missing logs (moneromooo-monero)
2021-09-23 22:19:16 -05:00
luigi1111
9b5268a27d
Merge pull request #7928
...
e7e28bc CI: ccache common settings variable and apt settings tidying (mj-xmr)
2021-09-23 22:18:06 -05:00
luigi1111
fd48e0af61
Merge pull request #7925
...
ce38f23 update readme research section contacts (Gingeropolous)
2021-09-23 22:17:15 -05:00
luigi1111
e7a1a095ac
Merge pull request #7923
...
5eaedb5 unit_tests: fix use after free in serialization test (moneromooo-monero)
2021-09-23 22:16:38 -05:00
luigi1111
60eddc566e
Merge pull request #7917
...
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
2021-09-23 22:15:55 -05:00
luigi1111
29e3d0aa87
Merge pull request #7911
...
acef6c9 Fix parallel make of OpenSSL (Howard Chu)
2021-09-23 22:14:41 -05:00
luigi1111
298c9a357f
Merge pull request #7891
...
dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
2021-09-23 22:10:03 -05:00
luigi1111
237acd120e
Merge pull request #7890
...
2a8a511 Quicker resource cleanup on p2p socks timeout (Lee *!* Clagett)
2021-09-23 22:06:35 -05:00
luigi1111
75ee729a3a
Merge pull request #7886
...
1b7a708 Mac: UT node server fix IP localhost by aliasing (mj-xmr)
2021-09-23 22:04:20 -05:00
moneromooo-monero
807cbcdbf8
easylogging++: fix missing logs
2021-09-23 20:29:22 +00:00
Howard Chu
5f54dea4ec
LMDB: fix deadlock in resized detection
2021-09-22 15:47:04 +01:00
Nathan Dorfman
2e8936f614
rpc: Fix get_transactions failing when not found
2021-09-20 17:32:01 -06:00
anon
9154883f3e
node_server: fix race condition
2021-09-20 20:58:23 +00:00
anon
8922f96e61
node_server: add race condition demo
2021-09-20 20:58:23 +00:00
ralphmapper
313edb2504
Doc: building gtest on Debian and Ubuntu
2021-09-18 20:16:12 +02:00
selsta
4afd9a7a9e
cmake: set required C/C++ standard to 11
...
Co-authored-by: Jason Rhinelander <jason@imaginary.ca >
2021-09-16 10:44:25 +02:00
mj-xmr
e7e28bcd68
CI: ccache common settings variable and apt settings tidying
2021-09-15 20:51:41 +02:00
selsta
3a90be4bd6
rpc: don't set error code as status string
2021-09-15 08:57:41 +02:00
selsta
5617a292ee
unbound: remove leftovers
2021-09-15 07:32:19 +02:00
mj-xmr
1b7a708fa3
Mac: UT node server fix IP localhost by aliasing
2021-09-12 15:51:14 +02:00
j-berman
76542ea709
Fix precision of average_output_time
...
The fix as suggested by <jberman> on IRC. Before the fix, it would truncate 1.9 to 1 skewing the output selection.
2021-09-12 10:07:31 +02:00
selsta
a95e6e0d43
Dockerfile: use depends
2021-09-12 01:35:14 +02:00
selsta
43a72790ab
depends: update unwind, fix build with ubuntu 21.04
2021-09-11 20:25:43 +02:00
SChernykh
dfee15eee1
RPC and ZeroMQ APIs to support p2pool
...
Adds the following:
- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts
Both provide the necessary data to create a custom block template. They are used by p2pool.
Data provided:
- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
2021-09-11 15:15:07 +02:00
luigi1111
a39b1d56c8
Merge pull request #7899
...
cd76eb7 wallet: fix unused lambda capture warning (selsta)
2021-09-09 15:21:10 -04:00
luigi1111
9273530bff
Merge pull request #7898
...
f353c29 wallet_rpc_server: fix help text remaining bold (selsta)
2021-09-09 15:20:43 -04:00
luigi1111
c278c97f1f
Merge pull request #7884
...
ec6b4cf support cors wildcard (woodser)
2021-09-09 15:20:09 -04:00
luigi1111
e72eedd1ce
Merge pull request #7883
...
d749e0d ringct: silence unused variable warning (selsta)
2021-09-09 15:18:42 -04:00
luigi1111
e48e909911
Merge pull request #7880
...
573a025 core_tests: remove unused typedef, fix warning (selsta)
2021-09-09 15:18:17 -04:00
luigi1111
be94a2fb06
Merge pull request #7875
...
15936bf Device: remove unused and incorrect non-default constructor (mj-xmr)
2021-09-09 15:17:41 -04:00
luigi1111
aa8320671c
Merge pull request #7858
...
426dbf4 fix median overflow bug (koe)
2021-09-09 15:17:06 -04:00
luigi1111
b13110b7b8
Merge pull request #7855
...
ce0a2ce CI: use runner.os instead of OS labels (mj-xmr)
2021-09-09 15:16:31 -04:00
luigi1111
acfe3f8ded
Merge pull request #7828
...
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-09 15:16:06 -04:00
luigi1111
dfa6b58d4d
Merge pull request #7823
...
24d3d65 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (Kermit Alexander II)
2021-09-09 15:14:17 -04:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
...
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
luigi1111
7848a467c5
Merge pull request #7616
...
4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
2021-09-09 15:09:51 -04:00
luigi1111
b7315efc1c
Merge pull request #7342
...
520ce1c Attempt to carve the fee from a partial payment early (lxop)
2021-09-09 15:06:46 -04:00
Gingeropolous
ce38f2399d
update readme research section contacts
...
with edits from @UkoeHB from PR #7922 because I can't sqash because i use the github web gui like a plebe
2021-09-08 14:03:21 -04:00
mj-xmr
ad9fde46a3
UB: virtual methods in destructor at Trezor
2021-09-08 14:44:35 +02:00
mj-xmr
514f8fab14
LMDB: protection against UB, by not calling virtual methods from destructor
2021-09-08 14:08:40 +02:00
moneromooo-monero
5eaedb51b9
unit_tests: fix use after free in serialization test
2021-09-08 01:03:34 +00:00
mj-xmr
eed7e79c04
UB: Not calling virtual method in destructor of WalletImpl
2021-09-07 14:24:53 +02:00
Howard Chu
4571d3686d
Add simple script for running gitian-build
...
This shell script creates a docker image for running the gitian-build.py
script, to avoid version incompatibilities. The builds may be signed
automatically after manually reviewing the build hashes.
Only docker.io and apt-cacher-ng are required to be installed on the
host. The MacOSX SDK should also be present in this directory if Mac
builds are desired. A container named "gitrun" is used to launch
the builds, and all output will reside in this container as well.
2021-09-04 17:20:29 +01:00
selsta
ae85ec0285
external: remove unbound submodule
2021-09-03 07:47:35 +02:00
mj-xmr
167cbdf870
CMake: Add missing SANITIZE option
2021-09-02 16:28:19 +02:00
Howard Chu
acef6c955b
Fix parallel make of OpenSSL
2021-08-31 04:38:38 +01:00
selsta
cd76eb7b8c
wallet: fix unused lambda capture warning
2021-08-28 15:18:32 +02:00
luigi1111
8fde011dbe
Merge pull request #7893
...
e52802b Wallet2: fix optimize-coinbase for p2pool payouts (SChernykh)
2021-08-26 21:13:44 -04:00
luigi1111
3673a679e4
Merge pull request #7850
...
0ac9a04 epee: tidying post-incrementation -> pre-incrementation (mj-xmr)
2021-08-26 21:12:25 -04:00
luigi1111
4ada08ad9a
Merge pull request #7847
...
0a021c3 CMake: document -Werror for add_c_flag_if_supported() from #7718 (mj-xmr)
2021-08-26 21:11:37 -04:00
selsta
f353c295f9
wallet_rpc_server: fix help text remaining bold
2021-08-27 02:59:36 +02:00
SChernykh
e52802baef
Wallet2: fix optimize-coinbase for p2pool payouts
...
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.
When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now.
With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction.
Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:50:15 +02:00
luigi1111
2d3ce2d64a
Merge pull request #7881
...
301355f epee: link with Boost_SYSTEM_LIBRARY (selsta)
2021-08-20 16:51:18 -04:00
luigi1111
0061da9e63
Merge pull request #7878
...
a9aaa47 wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:24 -04:00
luigi1111
8b9eea92f1
Merge pull request #7849
...
6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:59 -04:00
luigi1111
1b079e5195
Merge pull request #7845
...
e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:45:15 -04:00
luigi1111
294d58c58d
Merge pull request #7832
...
d8e71c8 CMake: ccache fix for FreeBSD at 'depends' (mj-xmr)
2021-08-20 16:40:04 -04:00
luigi1111
5812b757e0
Merge pull request #7821
...
da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-20 16:33:53 -04:00
luigi1111
a8dc9490b5
Merge pull request #7780
...
bb633d3 Workflows: depends cache (static) separated from ccache (volatile) (mj-xmr)
2021-08-20 16:31:22 -04:00
anon
4ced092aae
daemon: allow proxy configuration
...
Co-authored-by: selsta <selsta@sent.at >
Co-authored-by: tobtoht <thotbot@protonmail.com >
2021-08-20 21:24:29 +02:00
woodser
ec6b4cf9e1
support cors wildcard
2021-08-20 14:17:51 -04:00
Kermit Alexander II
24d3d65d42
monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir
2021-08-20 08:54:41 -05:00
j-berman
e1af8dc02c
Protect client from divide by 0 caused by integer truncation
2021-08-19 14:56:36 -07:00
j-berman
da2955feae
Apply gamma distr from chain tip when selecting decoys
...
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:51:20 -07:00
selsta
d749e0d97c
ringct: silence unused variable warning
2021-08-19 22:00:44 +02:00
mj-xmr
15936bfa0f
Device: remove unused and incorrect non-default constructor
2021-08-19 21:56:12 +02:00
selsta
301355f88d
epee: link with Boost_SYSTEM_LIBRARY
2021-08-19 19:05:40 +02:00
selsta
573a0255a8
core_tests: remove unused typedef, fix warning
2021-08-19 15:57:13 +02:00
tobtoht
a9aaa47abb
wallet_api: add make_uri
2021-08-19 15:35:37 +02:00
koe
426dbf434b
fix median overflow bug
2021-08-13 06:57:27 -05:00
mj-xmr
ce0a2ce479
CI: use runner.os instead of OS labels
2021-08-12 15:48:55 +02:00
luigi1111
82149bfe44
Merge pull request #7818
...
9c8e3e8 unit_tests: fix broken tests (anon)
2021-08-11 22:40:13 -04:00
luigi1111
460fd4c80a
Merge pull request #7816
...
29296d5 cmake: fix double build (selsta)
2021-08-11 22:39:06 -04:00
luigi1111
0b4e922159
Merge pull request #7812
...
bf96055 Make SSL key/cert storage backward-compatible (Nathan Dorfman)
2021-08-11 22:38:24 -04:00
luigi1111
89664fcee5
Merge pull request #7811
...
3d3a671 Daemon: Update average block size table (rbrunner7)
2021-08-11 22:37:56 -04:00
luigi1111
521b4d9ded
Merge pull request #7809
...
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:35:15 -04:00
luigi1111
cb08466394
Merge pull request #7802
...
a3d2b71 wallet_api: expose offline mode status (rating89us)
2021-08-11 22:33:38 -04:00
luigi1111
5cebb8edc0
Merge pull request #7800
...
b48074f Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:32:39 -04:00
luigi1111
1bb8ec1b97
Merge pull request #7795
...
87a0928 rpc: source file extensions must be explicit (cmake warning) (selsta)
2021-08-11 22:31:34 -04:00
luigi1111
62844a776d
Merge pull request #7786
...
9c6e094 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:11 -04:00
mj-xmr
0a021c3bd1
CMake: document -Werror for add_c_flag_if_supported() from #7718
2021-08-11 19:53:20 +02:00
mj-xmr
0ac9a04b4c
epee: tidying post-incrementation -> pre-incrementation
2021-08-11 16:47:32 +02:00
j-berman
6f15a0c8d3
Make sure node returns to wallet that real output is unlocked
2021-08-11 07:28:10 -07:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 17:29:25 +00:00
mj-xmr
d8e71c8dbe
CMake: ccache fix for FreeBSD at 'depends'
2021-08-04 20:05:42 +02:00
mj-xmr
b2c59af84d
EasyLogging++: new anti-UB test and propagating exception
2021-08-03 17:10:21 +02:00
Dusan Klinec
13a8a576ed
trezor: try empty passphrase first
...
- Try empty passphrase first when opening a wallet, as all Trezors will have passphrase enabled by default by Trezor Suite by default.
This feature enables easier access to all users using disabled passphrase (or empty passhprase)
- If wallet address differs from device address with empty passphrase, another opening attempt is made, without passphrase suppression,
so user can enter his passhprase if using some. In this scenario, nothing changes to user, wallet opening just consumes one more call
to Trezor (get wallet address with empty passphrase)
- also change how m_passphrase is used. Previous version did not work well with recent passphrase entry mechanism change (made in Trezor),
thus this commit fixes the behaviour).
2021-08-03 13:54:04 +02:00
luigi1111
ed506006d2
Merge pull request #7796
...
0c6e1d3 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
2021-08-02 18:54:46 -04:00
luigi1111
e3b3fb577a
Merge pull request #7794
...
4414ed4 cmake: test is a reserved keyword (selsta)
2021-08-02 18:54:15 -04:00
luigi1111
eeda76570c
Merge pull request #7790
...
bc8d764 wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:05 -04:00
luigi1111
8c41d14ad5
Merge pull request #7788
...
f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
2021-08-02 18:50:25 -04:00
luigi1111
a32da4bc3e
Merge pull request #7787
...
1b80347 CI: Ubuntu-Test reuses Ubuntu-Build cache and building static libs (mj-xmr)
2021-08-02 18:49:49 -04:00
luigi1111
0878207e8d
Merge the coolest pull request #7777
...
30c15a6 Remove obsolete android dockerfiles (malinero)
2021-08-02 18:49:08 -04:00
luigi1111
894e5b2794
Merge pull request #7767
...
5fa1c90 Fix describe_transfer for multiple txes in a txset (Alex Opie)
2021-08-02 18:47:05 -04:00
luigi1111
0cdb8d02e8
Merge pull request #7757
...
d689b94 protocol: fix delayed 'you are now synchronized...' message (moneromooo-monero)
2021-08-02 18:43:44 -04:00
luigi1111
9aa2d4c16e
Merge pull request #7747
...
8cf95c8 wallet2: refresh: check error and throw before potentially breaking out of loop (tobtoht)
2021-08-02 18:42:32 -04:00
Alex Opie
5fa1c90102
Fix describe_transfer for multiple txes in a txset
...
This ensures each list of recipients is only the recipients
for one transaction. It also adds a new field "summary"
that describes the txset as a whole.
Fixes #7344
2021-08-02 20:39:49 +02:00
luigi1111
0b72f46bf2
Merge pull request #7824
...
90d6bed cmake: bodge cmake failure on OSS-Fuzz (moneromooo-monero)
2021-07-31 18:28:38 -04:00
moneromooo-monero
90d6bed804
cmake: bodge cmake failure on OSS-Fuzz
2021-07-31 19:22:57 +00:00
mj-xmr
1b80347513
CI: Ubuntu-Test reuses Ubuntu-Build cache and building static libs
2021-07-30 17:26:02 +02:00
Lee *!* Clagett
2a8a51129f
Quicker resource cleanup on p2p socks timeout
2021-07-29 08:54:13 +00:00
luigi1111
56f7609643
Merge pull request #7814
...
0556572 cmake: don't forbid undefined symbols on openbsd (selsta)
2021-07-28 14:02:20 -04:00
luigi1111
a89c78528a
Merge pull request #7813
...
979d121 blocks: fix cmake syntax (selsta)
2021-07-28 14:01:43 -04:00
anon
9c8e3e832e
unit_tests: fix broken tests
...
boosted_tcp_server: check condition before sleep too
cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
2021-07-28 13:38:24 +00:00
selsta
29296d5d52
cmake: fix double build
...
Co-authored-by: perfect-daemon
2021-07-28 15:02:12 +02:00
selsta
055657241d
cmake: don't forbid undefined symbols on openbsd
2021-07-28 01:18:10 +02:00
selsta
979d121ed7
blocks: fix cmake syntax
2021-07-28 00:39:48 +02:00
luigi1111
960376b960
Merge pull request #7782
...
a48db50 device_trezor_base: fix typo (anon)
2021-07-27 17:04:14 -04:00
luigi1111
0073513a05
Merge pull request #7776
...
c26e3ee workflows: fix libwallet ci test (selsta)
2021-07-27 17:02:54 -04:00
luigi1111
d9c9a11c54
Merge pull request #7772
...
eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
2021-07-27 17:01:42 -04:00
luigi1111
2f6d5fa8c2
Merge pull request #7771
...
5e6762d EasyLogging++: Add UTests, that protect against regressions (mj-xmr)
2021-07-27 17:01:00 -04:00
luigi1111
ef659f8b52
Merge pull request #7769
...
9a24e46 CI: add Ubuntu 18.04 for back. compat. test (mj-xmr)
2021-07-27 16:59:05 -04:00
luigi1111
11cc473d97
Merge pull request #7765
...
0977963 depends: add getmonero package mirror (selsta)
2021-07-27 16:57:53 -04:00
luigi1111
e91e2c4a2b
Merge pull request #7758
...
42b74a3 Include Libusb and hidapi on android (malinero)
2021-07-27 16:57:06 -04:00
luigi1111
69e714c749
Merge pull request #7745
...
d52d21b ledger: don't lock for software device (tobtoht)
2021-07-27 16:56:37 -04:00
luigi1111
62bcdc1d3c
Merge pull request #7744
...
ce40c33 ledger: use software device if we have view key (tobtoht)
2021-07-27 16:56:09 -04:00
luigi1111
2d5b8a6ff7
Merge pull request #7740
...
8cea9d8 wallet: Reset RPC Pay ID on node switch (tobtoht)
2021-07-27 16:55:14 -04:00
luigi1111
8a845f5dc8
Merge pull request #7718
...
9c0e681 cmake: treat warnings as error in compiler flag tests (selsta)
2021-07-27 16:54:36 -04:00
luigi1111
ca4de5f96d
Merge pull request #7698
...
7359d51 cmake: fix non portable code (selsta)
2021-07-27 16:53:55 -04:00
luigi1111
a9cb4c082f
Merge pull request #7692
...
df40d1d cmake: export all symbols (anon)
fe76d7d cmake: fix undefined symbols and multiple definitions (anon)
14be80f cmake: forbid undefined symbols (anon)
2021-07-27 16:51:52 -04:00
Nathan Dorfman
bf96055211
Make SSL key/cert storage backward-compatible
...
This is required to build on OpenBSD (which uses LibreSSL). It also allows building against versions of OpenSSL before 1.0.2.
2021-07-27 13:49:21 -06:00
rbrunner7
3d3a67142c
Daemon: Update average block size table
2021-07-27 13:45:55 +02:00
mj-xmr
7caab8dd74
utils/health: separate Clang Tidy tests for C & C++
2021-07-27 11:17:27 +02:00
mj-xmr
852f319d86
Doxygen: Exclude build directories
2021-07-26 14:05:34 +02:00
rating89us
a3d2b71ee9
wallet_api: expose offline mode status
2021-07-19 00:30:36 +02:00
SChernykh
b48074fb8d
Fixed json serialization of rct::RCTTypeNull
...
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 10:52:14 +02:00
moneromooo-monero
0c6e1d343e
wallet2: chunk get_outs.bin calls to avoid sanity limits
2021-07-15 17:25:07 +00:00
selsta
4414ed401d
cmake: test is a reserved keyword
2021-07-15 15:35:03 +02:00
selsta
87a092811d
rpc: source file extensions must be explicit (cmake warning)
2021-07-15 09:42:57 +02:00
tobtoht
f5eb2ce968
wallet2: Don't auto lock device on process parsed blocks
2021-07-14 13:02:54 +02:00
Dusan Klinec
bc8d7644d2
wallet: rephrase error message on invalid device address
2021-07-14 11:02:29 +02:00
Dusan Klinec
9c6e0941cb
fix #7784 - deinit wallet in wallet dtor
2021-07-14 10:46:16 +02:00
anon
df40d1dc73
cmake: export all symbols
2021-07-13 08:00:22 +02:00
anon
fe76d7dee7
cmake: fix undefined symbols and multiple definitions
2021-07-13 08:00:20 +02:00
anon
14be80f992
cmake: forbid undefined symbols
2021-07-13 07:59:49 +02:00
mj-xmr
9a24e464ba
CI: add Ubuntu 18.04 for back. compat. test
2021-07-12 08:06:08 +02:00
anon
a48db50b1c
device_trezor_base: fix typo
2021-07-10 23:52:15 +00:00
luigi1111
de3456e127
Merge pull request #7764
...
e24875e simplewallet: don't truncate integ. address in export_transfers (selsta)
2021-07-10 18:01:35 -04:00
luigi1111
1e8cbc995f
Merge pull request #7762
...
8ae6c85 trezor: add #if for ByteSizeLong (selsta)
2021-07-10 18:00:45 -04:00
luigi1111
3c8c8e5a5b
Merge pull request #7761
...
8ef51dc wallet_api: fix typo in exportKeyImages (selsta)
2021-07-10 17:59:56 -04:00
luigi1111
9903b35345
Merge pull request #7754
...
8ff21e1 doc: update IRC references to Libera (fdov)
2021-07-10 17:59:23 -04:00
luigi1111
6043c85afe
Merge pull request #7753
...
f0df726 add singapore.node.xmr.pm to seed nodes (lza_menace)
2021-07-10 17:58:22 -04:00
luigi1111
c53e22c40a
Merge pull request #7748
...
bbeb555 wallet_api: getPassword (tobtoht)
2021-07-10 17:57:39 -04:00
mj-xmr
bb633d3a8e
Workflows: depends cache (static) separated from ccache (volatile)
2021-07-10 17:25:50 +02:00
malinero
30c15a6ca8
Remove obsolete android dockerfiles
2021-07-09 01:05:18 +02:00
selsta
c26e3ee029
workflows: fix libwallet ci test
2021-07-08 05:00:01 +02:00
mj-xmr
eda5c303cd
Doc: Update blockchain stats with review comments
2021-07-06 07:12:33 +02:00
mj-xmr
5e6762d459
EasyLogging++: Add UTests, that protect against regressions
2021-07-06 06:50:52 +02:00
tobtoht
bbeb555f00
wallet_api: getPassword
2021-07-05 02:49:27 +02:00
selsta
09779631f3
depends: add getmonero package mirror
2021-07-01 01:09:00 +02:00
selsta
8ae6c85efd
trezor: add #if for ByteSizeLong
...
Turns out Ubuntu 18.04 ships with an old protobuf version.
2021-06-27 23:43:36 +02:00
luigi1111
9c18f2767b
Merge pull request #7743
...
8a67724 wallet_api: get bytes sent/received (tobtoht)
2021-06-24 14:35:30 -05:00
tobtoht
8a67724218
wallet_api: get bytes sent/received
2021-06-24 21:32:03 +02:00
selsta
e24875e572
simplewallet: don't truncate integ. address in export_transfers
2021-06-24 21:21:26 +02:00
luigi1111
14a1b89122
Merge pull request #7752
...
4251cc0 unit_tests: check for ge_frombytes_vartime failure (moneromooo-monero)
67b97a5 easylogging++: do not delete uninitialized objects (moneromooo-monero)
7b6d959 trezor: fix potential use of uninitialized memory (moneromooo-monero)
2021-06-24 14:13:19 -05:00
luigi1111
4f08d52dfa
Merge pull request #7750
...
8e0b8dd wallet/api: remove Bitmonero namespace alias (selsta)
2021-06-24 14:12:37 -05:00
luigi1111
0a9d218044
Merge pull request #7749
...
e63c110 wallet_api: address_book: don't lose pid on setDescription (tobtoht)
2021-06-24 14:11:45 -05:00
luigi1111
99aa45fd34
Merge pull request #7746
...
1aa1850 wallet_api: signMessage: add sign with subaddress (tobtoht)
2021-06-24 14:06:13 -05:00
luigi1111
7c3629a5ee
Merge pull request #7742
...
f174a8f wallet_api: reconnectDevice (tobtoht)
2021-06-24 14:05:35 -05:00
luigi1111
ce129599d0
Merge pull request #7739
...
6914d5b wallet_api: move adjust_mixin call within try block (tobtoht)
2021-06-24 14:04:42 -05:00
luigi1111
48e59b8064
Merge pull request #7672
...
5bf91fc add documentation for monero-blockchain-stats (donkeydonkey)
2021-06-24 14:03:03 -05:00
luigi1111
ad9956d987
Merge pull request #7634
...
5a2edea db_lmdb: catch exceptions testing for mmap support (moneromooo-monero)
2021-06-24 14:01:42 -05:00
luigi1111
f8abb225fc
Merge pull request #7633
...
f6e2636 blockchain_db: harden code against invalid input types (moneromooo-monero)
2021-06-24 14:00:59 -05:00
luigi1111
3366bd81eb
Merge pull request #7612
...
254a133 core: speed up print_coinbase_tx_sum (moneromooo-monero)
2021-06-24 13:59:44 -05:00
luigi1111
1796b44c67
Merge pull request #7611
...
71741a1 blockchain_import: fix wrong reported block/tx hashes on error (moneromooo-monero)
2021-06-24 13:59:12 -05:00
luigi1111
e028591336
Merge pull request #7380
...
8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
2021-06-24 13:57:53 -05:00
selsta
8ef51dc546
wallet_api: fix typo in exportKeyImages
2021-06-23 20:44:13 +02:00
malinero
42b74a37d3
Include Libusb and hidapi on android
2021-06-21 19:52:56 +02:00
moneromooo-monero
d689b946f9
protocol: fix delayed "you are now synchronized..." message
2021-06-21 15:37:40 +00:00
erciccione
de4413b076
workflows: don't build PRs if only docs and READMEs are being changed
2021-06-21 10:18:09 +02:00
fdov
8ff21e1e84
doc: update IRC references to Libera
2021-06-20 21:44:45 +02:00
lza_menace
f0df72688f
add singapore.node.xmr.pm to seed nodes
2021-06-18 11:14:03 -07:00
luigi1111
282e2ef058
Merge pull request #7738
...
a240453 README: freenode -> libera (selsta)
2021-06-16 14:41:40 -05:00
luigi1111
4e07c8cbbc
Merge pull request #7733
...
cd8901c randomx: bump submodule to v1.1.9 (selsta)
2021-06-16 14:39:51 -05:00
luigi1111
b63442da21
Merge pull request #7730
...
e761577 provide key images of spent outputs in wallet rpc (woodser)
2021-06-16 14:38:06 -05:00
luigi1111
ab0bb31518
Merge pull request #7683
...
41297c1 CMake: strip targets (optional) with -D STRIP_TARGETS=ON (mj-xmr)
2021-06-16 14:37:39 -05:00
luigi1111
f8f1c78984
Merge pull request #7676
...
c19f0cb Compil time: move epee storages/parserse_base_utils.h to parserse_base_utils.cpp (mj-xmr)
2021-06-16 14:36:42 -05:00
woodser
e7615772fa
provide key images of spent outputs in wallet rpc
2021-06-15 15:54:39 -04:00
mj-xmr
c19f0cbdea
Compil time: move epee storages/parserse_base_utils.h to parserse_base_utils.cpp
2021-06-11 21:20:51 +02:00
mj-xmr
41297c10f0
CMake: strip targets (optional) with -D STRIP_TARGETS=ON
2021-06-11 21:19:37 +02:00
luigi1111
ab7df49331
Merge pull request #7751
...
b8b054c python-rpc: add missing python api for new freeze/thaw/frozen RPC (moneromooo-monero)
2021-06-11 12:28:01 -05:00
moneromooo-monero
4251cc0b4d
unit_tests: check for ge_frombytes_vartime failure
...
CID 1446559
2021-06-11 07:51:45 +00:00
moneromooo-monero
67b97a5f16
easylogging++: do not delete uninitialized objects
...
CID 1446562
2021-06-11 07:51:29 +00:00
moneromooo-monero
7b6d959596
trezor: fix potential use of uninitialized memory
...
CID 1446575
2021-06-11 07:11:23 +00:00
moneromooo-monero
b8b054c0f1
python-rpc: add missing python api for new freeze/thaw/frozen RPC
2021-06-11 07:00:27 +00:00
luigi1111
7499837a6f
Merge pull request #7661
...
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-10 12:00:54 -05:00
luigi1111
ca73284951
Merge pull request #7729
...
b2e1558 support freeze, thaw, and frozen in wallet rpc (woodser)
2021-06-10 11:47:05 -05:00
luigi1111
667d3dd4c2
Merge pull request #7684
...
ed6f053 blockchain: speed up repeated pops (mostly in tests) (moneromooo-monero)
2021-06-10 11:46:27 -05:00
luigi1111
a1a3e970f7
Merge pull request #7662
...
4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
2021-06-10 11:34:20 -05:00
luigi1111
f85cab6750
Merge pull request #7481
...
430b758 Warnings: add warnings as errors: 'switch' & 'return-type' (mj-xmr)
2021-06-10 11:19:11 -05:00
luigi1111
25bbb26f63
Merge pull request #7416
...
b4fe7c2 epee linkage dynamic; move monero_add_library to main CMakeLists.txt (mj-xmr)
2021-06-10 11:18:26 -05:00
selsta
8e0b8ddb96
wallet/api: remove Bitmonero namespace alias
2021-06-08 23:29:41 +02:00
tobtoht
e63c1107c0
wallet_api: address_book: don't lose pid on setDescription
2021-06-08 15:20:48 +02:00
tobtoht
8cf95c8f29
wallet2: refresh: check error and throw before potentially breaking out of loop
2021-06-04 18:37:06 +02:00
tobtoht
1aa1850ba5
wallet_api: signMessage: add sign with subaddress
2021-06-04 18:16:10 +02:00
tobtoht
d52d21bd46
ledger: don't lock for software device
2021-06-04 17:41:42 +02:00
tobtoht
f174a8f05f
wallet_api: reconnectDevice
2021-06-04 15:24:53 +02:00
tobtoht
ce40c33a33
ledger: use software device if we have view key
2021-06-04 15:02:06 +02:00
tobtoht
8cea9d8605
wallet: Reset RPC Pay ID on node switch
...
RPC pay client ID is sent with each RPC request, set a new secret every time we switch nodes to mitigate trivial correlation
2021-06-04 13:58:09 +02:00
tobtoht
6914d5b914
wallet_api: move adjust_mixin call within try block
2021-06-04 13:41:10 +02:00
luigi1111
1c8e598172
Merge pull request #7735
...
44cc6d6 Fix boost 1.76.0 compatibility (loqs)
2021-06-01 22:12:12 -05:00
luigi1111
e8bf9003dd
Merge pull request #7726
...
0f45211 CMake: add *.inl to monero_find_all_headers() glob, along *.h* (mj-xmr)
2021-06-01 22:11:04 -05:00
luigi1111
51171d2ca3
Merge pull request #7725
...
a4a154b CMake: glob missing headers for easylogging (mj-xmr)
2021-06-01 22:10:42 -05:00
luigi1111
e31182918c
Merge pull request #7724
...
44e8395 CMake: glob missing headers for wallet2 (mj-xmr)
2021-06-01 22:10:19 -05:00
luigi1111
08726ff0f3
Merge pull request #7723
...
3450f4b Doc: funtional_tests add new mining env vars and how to use them (mj-xmr)
2021-06-01 22:09:54 -05:00
luigi1111
97436399eb
Merge pull request #7719
...
da45d3f trezor: deprecated ByteSize -> ByteSizeLong (selsta)
2021-06-01 22:09:26 -05:00
luigi1111
21c6376f33
Merge pull request #7715
...
0c13623 cmake: fix check_linker_flag (selsta)
2021-06-01 22:09:01 -05:00
luigi1111
fcb347820d
Merge pull request #7713
...
b40129e Warnings: unused var in core_tests:chaingen.h (mj-xmr)
2021-06-01 22:08:40 -05:00
luigi1111
d51e0c38f9
Merge pull request #7712
...
d772f13 epee: include public openssl header in cmake (selsta)
2021-06-01 22:08:15 -05:00
luigi1111
126ff6b0ee
Merge pull request #7711
...
4969f39 cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB (selsta)
2021-06-01 22:07:47 -05:00
luigi1111
39cd392ac3
Merge pull request #7710
...
9165344 CI: depends downloads relax retries (mj-xmr)
2021-06-01 22:07:21 -05:00
luigi1111
381f8f5e24
Merge pull request #7709
...
a1c4307 Warnings: unused variable in core/blockchain.cpp (mj-xmr)
2021-06-01 22:06:54 -05:00
luigi1111
d845a5a0c3
Merge pull request #7705
...
581c3af Warnings: unused var at cryptonote_tx_utils.cpp (mj-xmr)
2021-06-01 22:06:27 -05:00
luigi1111
45007f35cf
Merge pull request #7689
...
f93db0d clang: fix -pie flag (selsta)
2021-06-01 22:05:45 -05:00
selsta
a24045340c
README: freenode -> libera
2021-06-01 03:07:58 +02:00
loqs
44cc6d6762
Fix boost 1.76.0 compatibility
...
Add missing header boost/mpl/contains.hpp
monero-project/monero/issues/7728
2021-05-24 05:31:14 +02:00
selsta
cd8901cc01
randomx: bump submodule to v1.1.9
2021-05-22 23:12:23 +02:00
woodser
b2e1558bde
support freeze, thaw, and frozen in wallet rpc
2021-05-18 20:35:48 -04:00
mj-xmr
0f45211c6b
CMake: add *.inl to monero_find_all_headers() glob, along *.h*
2021-05-14 15:29:57 +02:00
mj-xmr
44e8395d2a
CMake: glob missing headers for wallet2
2021-05-14 14:22:29 +02:00
mj-xmr
a4a154b0e2
CMake: glob missing headers for easylogging
2021-05-14 14:18:16 +02:00
mj-xmr
3450f4bc04
Doc: funtional_tests add new mining env vars and how to use them
2021-05-14 11:27:56 +02:00
selsta
da45d3f5b3
trezor: deprecated ByteSize -> ByteSizeLong
2021-05-13 03:51:31 +02:00
luigi1111
b1873af519
Merge pull request #7697
...
881d81c translations: use full path in cmake (selsta)
2021-05-12 17:03:17 -05:00
luigi1111
fadc112aee
Merge pull request #7696
...
0794811 cmake: set xcode file type (selsta)
2021-05-12 17:02:34 -05:00
luigi1111
4fcbc584f0
Merge pull request #7694
...
004b167 cmake: wallet_api doesn't need wallet_merged (selsta)
2021-05-12 17:00:04 -05:00
luigi1111
b7ee587ddb
Merge pull request #7691
...
cbd54ea cmake: set 3.5 as minimum version (selsta)
2021-05-12 16:59:17 -05:00
luigi1111
342f8c8b97
Merge pull request #7690
...
3cc4428 clang: fix -Wpessimizing-move warning (selsta)
2021-05-12 16:58:34 -05:00
luigi1111
c1a1f2a6ea
Merge pull request #7688
...
451b5a5 clang: fix -Wrange-loop-analysis warnings (selsta)
2021-05-12 16:57:32 -05:00
luigi1111
8da33d2e46
Merge pull request #7686
...
6799e21 Tests: Mining test uses a parametric path for finding the calculation app (mj-xmr)
2021-05-12 16:56:28 -05:00
luigi1111
e505ffef5f
Merge pull request #7677
...
445a9d8 wallet_api: import / export output function (tobtoht)
2021-05-12 16:53:27 -05:00
luigi1111
c91bd17f90
Merge pull request #7670
...
2dfb111 workflows: upload source archive artifact (selsta)
2021-05-12 16:52:50 -05:00
luigi1111
ea5c99f142
Merge pull request #7685
...
8c3c7b8 depends, docker: fix bintray links (selsta)
2021-05-12 15:32:16 -05:00
luigi1111
628c04499b
Merge pull request #7682
...
bbdb612 Wallet2: Update 'approximate_testnet_rolled_back_blocks' (rbrunner7)
2021-05-12 15:30:34 -05:00
luigi1111
7d0927f8ad
Merge pull request #7681
...
c57ef7f wallet2: Fix rescan_bc keep_ki option (Nathan Dorfman)
2021-05-12 15:30:05 -05:00
luigi1111
a88e115c09
Merge pull request #7668
...
2b91806 protocol: remove unreachable code (moneromooo-monero)
2021-05-12 15:21:27 -05:00
selsta
9c0e681dc9
cmake: treat warnings as error in compiler flag tests
2021-05-12 21:55:32 +02:00
luigi1111
661c8f93cf
Merge pull request #7667
...
eb272b1 Add mj-xmr GPG key (mj-xmr)
2021-05-12 14:50:22 -05:00
luigi1111
cf69419316
Merge pull request #7666
...
bd74c6b Doc: Compiling, debugging and testing efficiently see docs/COMPILING_DEBUGGING_TESTING.md (mj-xmr)
2021-05-12 14:49:26 -05:00
luigi1111
ac87ac19b2
Merge pull request #7665
...
15e6275 CMake: new macro - finding all headers (extract from epee) (mj-xmr)
2021-05-12 14:39:39 -05:00
selsta
0c13623411
cmake: fix check_linker_flag
2021-05-12 02:09:55 +02:00
luigi1111
066309cddb
Merge pull request #7664
...
5871e7a net_node: add seed node (selsta)
2021-05-11 18:04:49 -05:00
luigi1111
41b4c4991f
Merge pull request #7663
...
8953f19 CI: Actions' build.yaml uses variables instead of repetitions (mj-xmr)
2021-05-11 17:43:47 -05:00
mj-xmr
b40129e253
Warnings: unused var in core_tests:chaingen.h
2021-05-11 10:22:06 +02:00
selsta
4969f39c09
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB
2021-05-11 01:29:44 +02:00
selsta
d772f1378b
epee: include public openssl header in cmake
2021-05-09 22:22:17 +02:00
mj-xmr
9165344d8e
CI: depends downloads relax retries
2021-05-08 18:00:53 +02:00
mj-xmr
a1c4307128
Warnings: unused variable in core/blockchain.cpp
2021-05-08 12:04:19 +02:00
mj-xmr
581c3af03a
Warnings: unused var at cryptonote_tx_utils.cpp
2021-05-02 18:00:29 +02:00
selsta
881d81cce4
translations: use full path in cmake
2021-04-28 17:06:59 +02:00
selsta
7359d51d56
cmake: fix non portable code
2021-04-28 17:05:59 +02:00
selsta
0794811b40
cmake: set xcode file type
2021-04-28 14:49:13 +02:00
selsta
3cc4428d45
clang: fix -Wpessimizing-move warning
2021-04-28 11:33:37 +02:00
selsta
004b167095
cmake: wallet_api doesn't need wallet_merged
2021-04-27 14:36:56 +02:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version
2021-04-27 11:02:05 +02:00
selsta
8c3c7b8109
depends, docker: fix bintray links
2021-04-27 09:55:32 +02:00
selsta
f93db0d46a
clang: fix -pie flag
2021-04-27 09:52:34 +02:00
mj-xmr
6799e212cc
Tests: Mining test uses a parametric path for finding the calculation app
...
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27 06:21:02 +02:00
selsta
451b5a510e
clang: fix -Wrange-loop-analysis warnings
2021-04-27 05:30:27 +02:00
moneromooo-monero
ed6f05357c
blockchain: speed up repeated pops (mostly in tests)
...
The heavy rolling median reset only has to be performed after
all blocks are popped
2021-04-26 14:07:35 +00:00
rbrunner7
bbdb612b51
Wallet2: Update 'approximate_testnet_rolled_back_blocks'
2021-04-25 10:20:39 +02:00
mj-xmr
b4fe7c2401
epee linkage dynamic; move monero_add_library to main CMakeLists.txt
2021-04-24 09:45:51 +02:00
Nathan Dorfman
c57ef7f807
wallet2: Fix rescan_bc keep_ki option
2021-04-23 09:11:45 -06:00
luigi1111
0a1ddc2eff
Merge pull request #7669
...
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
luigi1111
b6a8cfc41b
Merge pull request #7658
...
834e23b Doc: Update Gitian (Reproducible Builds) with small code snippets and fixes (mj-xmr)
2021-04-22 01:46:57 -04:00
luigi1111
215976beba
Merge pull request #7656
...
5fe22ac ITS#9496 fix mdb_env_open bug from #8704 (hyc)
2021-04-22 01:43:18 -04:00
luigi1111
9bba3f4767
Merge pull request #7651
...
c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
2021-04-22 01:35:20 -04:00
luigi1111
6d7bb2b8ba
Merge pull request #7643
...
19ed7ab Test: Enable coverage for external repositories (mj-xmr)
2021-04-22 01:34:26 -04:00
luigi1111
3c1ea110d9
Merge pull request #7016
...
dc81e23 Split epee/string_tools.h and encapsulate boost::lexical_cast (mj-xmr)
2021-04-22 01:32:32 -04:00
tobtoht
445a9d8ba3
wallet_api: import / export output function
2021-04-22 04:26:17 +02:00
donkeydonkey
5bf91fc894
add documentation for monero-blockchain-stats
2021-04-19 20:54:44 +02:00
selsta
2dfb111a92
workflows: upload source archive artifact
...
Co-authored-by: xiphon <xiphon@protonmail.com >
2021-04-19 07:33:27 +02:00
moneromooo-monero
2b918068cc
protocol: remove unreachable code
2021-04-17 15:22:26 +00:00
mj-xmr
eb272b12a3
Add mj-xmr GPG key
2021-04-17 06:48:39 +02:00
mj-xmr
bd74c6b8ba
Doc: Compiling, debugging and testing efficiently
...
see docs/COMPILING_DEBUGGING_TESTING.md
2021-04-17 06:37:23 +02:00
mj-xmr
dc81e23e60
Split epee/string_tools.h and encapsulate boost::lexical_cast
2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e
Revert "Merge pull request #7136 "
...
This reverts commit 63c7ca07fb , reversing
changes made to 2218e23e84 .
2021-04-16 13:52:44 -05:00
luigi1111
d544fd0f52
Merge pull request #7653
...
73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
2021-04-16 12:52:42 -05:00
luigi1111
257e7432cb
Merge pull request #7652
...
02f4954 gitian: remove osslsigncode (selsta)
2021-04-16 12:52:05 -05:00
luigi1111
13418dbb98
Merge pull request #7648
...
25e8254 expose set_offline to wallet api (benevanoff)
2021-04-16 12:51:22 -05:00
luigi1111
fa6a6c5cca
Merge pull request #7642
...
82de000 Add base Monero address which is needed to view wallet (Justin Ehrenhofer)
2021-04-16 12:50:42 -05:00
luigi1111
4ca80bd312
Merge pull request #7641
...
a16328e easylogging++: in place log sanitization (moneromooo-monero)
2021-04-16 12:49:00 -05:00
luigi1111
288e5ec350
Merge pull request #7384
...
494f2e1 rpc: fix some error return codes/status (moneromooo-monero)
2021-04-16 12:48:05 -05:00
luigi1111
7cf47d754c
Merge pull request #7258
...
1d1c430 p2p: fix cubic selection in filtered peer list (moneromooo)
2021-04-16 12:46:34 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
...
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
luigi1111
2218e23e84
Merge pull request #7002
...
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
mj-xmr
15e627569b
CMake: new macro - finding all headers (extract from epee)
2021-04-16 09:28:43 +02:00
selsta
5871e7ab19
net_node: add seed node
2021-04-16 03:22:16 +02:00
mj-xmr
8953f19489
CI: Actions' build.yaml uses variables instead of repetitions
2021-04-15 20:18:28 +02:00
moneromooo-monero
4da1112967
rpc: send confirmations in get_transactions result
...
if the wallet does it, it would get a wrong result (possibly even
negative) if its local chain is not synced up to the daemon's yet
2021-04-15 15:31:52 +00:00
mj-xmr
834e23bfcf
Doc: Update Gitian (Reproducible Builds) with small code snippets and fixes
2021-04-11 23:19:38 +02:00
Howard Chu
5fe22ac766
ITS#9496 fix mdb_env_open bug from #8704
...
Broken in 9c6eb75c65
2021-04-09 14:21:15 +01:00
anon
73d3b00b35
unit_tests: fix boost 1.58 compatibility
2021-04-08 11:45:27 +00:00
selsta
02f4954229
gitian: remove osslsigncode
...
Unused and archive is offline
2021-04-08 02:25:33 +02:00
Elliot Wirrick
c8ff1d4d23
monero-wallet-cli: improve error message when tx amount is zero
2021-04-07 10:10:16 -04:00
luigi1111
f6279a633d
Merge pull request #7650
...
e7301ef readme: Add note regarding submodule sync and update (George Lee Ge)
2021-04-06 12:26:24 -05:00
luigi1111
4834bd8aa0
Merge pull request #7646
...
176cea0 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
2021-04-06 12:25:00 -05:00
luigi1111
1475236810
Merge pull request #7639
...
53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
2021-04-06 12:24:29 -05:00
luigi1111
2098941ca0
Merge pull request #7635
...
447bfae wallet2: fix unlocked mixup in light wallet mode (moneromooo-monero)
2021-04-06 12:23:45 -05:00
luigi1111
8dcb37f190
Merge pull request #7580
...
e8554e8 Doc: Add ccache to README.md and Brewfile (mj-xmr)
2021-04-06 12:23:13 -05:00
luigi1111
e7c1f8eacd
Merge pull request #7489
...
353028d CI: ccache for ubuntu-test; Using 'Default' architecture The cmake logic is in workflows/build.yml (mj-xmr)
2021-04-06 12:22:32 -05:00
luigi1111
3c69596bc9
Merge pull request #7321
...
f9b5b52 fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:20:15 -05:00
mj-xmr
353028d8e9
CI: ccache for ubuntu-test; Using "Default" architecture
...
The cmake logic is in workflows/build.yml
2021-04-06 14:42:53 +02:00
George Lee Ge
e7301ef54a
readme: Add note regarding submodule sync and update
2021-04-06 00:16:41 +02:00
benevanoff
25e82545f3
expose set_offline to wallet api
2021-04-05 13:41:04 -05:00
mj-xmr
176cea0ec6
Tests: Fix test node_server.bind_same_p2p_port from randomly crashing
2021-04-05 17:36:13 +02:00
mj-xmr
19ed7abdf9
Test: Enable coverage for external repositories
...
Add monero_enable_coverage() for reuse in case C/CXX_FLAGS are overwritten.
2021-04-01 19:50:54 +02:00
Justin Ehrenhofer
82de000ffe
Add base Monero address which is needed to view wallet
...
One needs the base Monero donation address to be able to restore the Monero Core Team donation wallet from address and viewkey. Address provided by selsta.
2021-03-30 22:33:13 +02:00
luigi1111
9a5579fc4f
Merge pull request #7387
...
45f01f5 [CI] Adaptive mining timeout, depending on available CPU power Printing also available RAM. Add comprehensive description. (mj-xmr)
2021-03-30 12:04:36 -04:00
luigi1111
39ce27b5d5
Merge pull request #7332
...
57edfd7 p2p: allow CIDR notation in DNS blocklist (moneromooo-monero)
2021-03-30 12:03:56 -04:00
moneromooo-monero
57edfd78fd
p2p: allow CIDR notation in DNS blocklist
2021-03-30 08:57:04 +00:00
mj-xmr
e8554e8c49
Doc: Add ccache to README.md and Brewfile
2021-03-30 06:13:20 +02:00
mj-xmr
45f01f577c
[CI] Adaptive mining timeout, depending on available CPU power
...
Printing also available RAM. Add comprehensive description.
2021-03-30 05:48:55 +02:00
luigi1111
a7663f4ba1
Merge pull request #7476
...
81a4de1 dependencies in openSUSE (cabelo)
2021-03-29 22:40:18 -04:00
luigi1111
08f6d0e185
Merge pull request #7439
...
0f2b5af Reduced executable size; reduced call sequence to 'allowed' log function (Lee Clagett)
2021-03-29 22:39:31 -04:00
luigi1111
0f2eea0a08
Merge pull request #7435
...
1ac7134 Mac: Enable on ARM, by not enforcing x86_64 (mj-xmr)
2021-03-29 22:38:16 -04:00
luigi1111
e1d987aa66
Merge pull request #7430
...
064eeb2 wallet_rpc_server: set seed language in generate_from_keys (moneromooo-monero)
2021-03-29 22:37:19 -04:00
luigi1111
07dc1a8db3
Merge pull request #7636
...
18c7f9c depends: openssl 1.1.1i -> 1.1.1k (selsta)
2021-03-29 21:59:36 -04:00
luigi1111
a5e122bebd
Merge pull request #7632
...
2d1fa5e cmake: Don't default to -march=native on OpenBSD (Nathan Dorfman)
2021-03-29 21:59:12 -04:00
luigi1111
0b0bcbad95
Merge pull request #7622
...
ab5f0ec ITS#9500 fix regression from ITS#8662 (Howard Chu)
2021-03-29 21:56:40 -04:00
luigi1111
b12e195fba
Merge pull request #7620
...
fe63256 cryptonote_protocol_handler: fix race condition (anon)
ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:55:11 -04:00
luigi1111
570e9b9a07
Merge pull request #7549
...
fa54d25 Doc: add only the required boost libraries instead of all of them (mj-xmr)
2021-03-29 21:51:42 -04:00
luigi1111
1a8b6ba8c0
Merge pull request #7542
...
7c4e4c7 wallet_api: add isDeterministic() (tobtoht)
2021-03-29 21:50:53 -04:00
luigi1111
0607a10696
Merge pull request #7538
...
1851f26 wallet_api: add seed_offset param to seed() (tobtoht)
2021-03-29 21:47:40 -04:00
luigi1111
adcd7b05ac
Merge pull request #7520
...
c24f185 README: step by step detail for rpi setup commands (moneromooo-monero)
2021-03-29 21:47:08 -04:00
luigi1111
a2b046dafc
Merge pull request #7460
...
2935a0c async_protocol_handler_config: fix deadlock (anon)
c877705 async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:46:29 -04:00
luigi1111
247db4e304
Merge pull request #7373
...
86263b3 Honor LARGE_PAGES flag in randomx umask (Howard Chu)
2021-03-29 21:41:56 -04:00
luigi1111
2cb31c42a8
Merge pull request #7391
...
7b51547 gpg_keys: add anon (anon)
2021-03-29 21:21:38 -04:00
luigi1111
aa8c156e1d
Merge pull request #7396
...
c836dc1 [CI] Use Python3 for funcional tests, instead of Python2 (mj-xmr)
2021-03-29 21:18:25 -04:00
luigi1111
ac091fb539
Merge pull request #7358
...
f346e3e wallet_rpc_payments: implement multithreading (gdmojo)
2021-03-29 21:10:48 -04:00
luigi1111
c2bc829cca
Merge pull request #7326
...
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
2021-03-29 21:08:36 -04:00
luigi1111
8c8197463f
Merge pull request #7310
...
76fe73b Revert 'fix accessing an network address in a deleted context' (selsta)
2021-03-29 21:08:03 -04:00
luigi1111
1cd1206332
Merge pull request #7238
...
aa3e89a p2p: fix set_peer_just_seen ignoring last_seen (moneromooo)
2021-03-29 21:06:03 -04:00
luigi1111
cf1a95b67d
Merge pull request #7088
...
386ef03 Add TLSA support to DNSSEC fetching (Lee Clagett)
2021-03-29 21:05:00 -04:00
moneromooo-monero
a16328e853
easylogging++: in place log sanitization
...
saves an object ctor/dtor per log
2021-03-29 22:26:46 +00:00
mj-xmr
673c6d2d11
Reduce compilation time of epee/portable_storage_template_helper.h
2021-03-28 15:41:48 +02:00
mj-xmr
53683d7f90
Warnings: fix ut/levin.cpp missing braces
2021-03-27 09:26:44 +01:00
selsta
18c7f9c446
depends: openssl 1.1.1i -> 1.1.1k
2021-03-25 21:38:57 +01:00
moneromooo-monero
447bfae2a4
wallet2: fix unlocked mixup in light wallet mode
2021-03-25 09:33:40 +00:00
moneromooo-monero
5a2edea16b
db_lmdb: catch exceptions testing for mmap support
...
Turns out at least one arch (armel based) does not have unique_path
implemented and throws
2021-03-25 09:24:45 +00:00
Nathan Dorfman
2d1fa5e0ba
cmake: Don't default to -march=native on OpenBSD
2021-03-24 16:43:15 -06:00
moneromooo-monero
f6e2636493
blockchain_db: harden code against invalid input types
...
If an invalid input type were to get to this, the code could
remove key images that might be present already in the chain,
which could allow a double spend, even if this is impossible
with the current code.
Reported by KeyboardWarrior.
2021-03-24 21:43:57 +00:00
Howard Chu
ab5f0ec37a
ITS#9500 fix regression from ITS#8662
...
mdb_load -a patch broke overwriting with MDB_CURRENT
2021-03-23 20:51:19 +00:00
luigi1111
dcba757dd2
Merge pull request #7619
...
2a20434 Fix monerod --rpc-ssl disabled (Lee Clagett)
2021-03-22 20:19:32 -04:00
luigi1111
8e139db454
Merge pull request #7618
...
3bd3a44 python-rpc: add function for new scan_tx RPC (moneromooo-monero)
2021-03-22 20:18:29 -04:00
anon
fe632560f4
cryptonote_protocol_handler: fix race condition
2021-03-22 19:42:46 +00:00
anon
ded2f3aa85
cryptonote_protocol_handler: add race condition demo
2021-03-22 19:42:46 +00:00
moneromooo-monero
3bd3a44aac
python-rpc: add function for new scan_tx RPC
2021-03-20 17:40:46 +00:00
mj-xmr
c836dc11c9
[CI] Use Python3 for funcional tests, instead of Python2
2021-03-20 10:30:57 +01:00
luigi1111
5b8d714a4b
Merge pull request #7422
...
d46d90c return output key for incoming transfers (benevanoff)
2021-03-20 01:57:44 -04:00
luigi1111
42987f93f4
Merge pull request #7418
...
68f1ca6 trezor: simplify recognition of integrated addresses (Dusan Klinec)
2021-03-20 01:53:03 -04:00
luigi1111
23e281716f
Merge pull request #7417
...
bf86e95 added link to moneropedia to pruning in README.md (Luxter77)
b3238a8 Update size figures on the pruning section of README.md (Luxter77)
cf96615 Make pruning section more consistent in README.md (Luxter77)
2021-03-20 01:52:03 -04:00
luigi1111
53f3961259
Merge pull request #7413
...
1fbb33c cmake: fix ccache detection (anon)
2021-03-20 01:49:07 -04:00
luigi1111
e04e208141
Merge pull request #7412
...
6477b47 wallet_rpc: add scan_tx (tobtoht)
2021-03-20 01:47:44 -04:00
luigi1111
f2f33f6230
Merge pull request #7402
...
240d382 Epee: add headers to project files (via glob), to be able to search for them easily. (mj-xmr)
2021-03-20 01:46:34 -04:00
luigi1111
1707cab1a4
Merge pull request #7401
...
b5209a0 functional_tests: hide check_missing_rpc_methods behind requests check (moneromooo-monero)
2021-03-20 01:44:52 -04:00
luigi1111
43402e167a
Merge pull request #7400
...
035e474 README: update libzmq minimum version to 4.2.0 for zmq_send_const (moneromooo-monero)
2021-03-20 01:44:21 -04:00
luigi1111
6776b70140
Merge pull request #7398
...
5984277 python-rpc: adapt urlparse for python3 (moneromooo-monero)
2021-03-20 01:43:50 -04:00
luigi1111
4a7b729025
Merge pull request #7394
...
b900fa0 Fix compiler warning for in keyvalue_serialization.h (mj-xmr)
2021-03-20 01:43:13 -04:00
luigi1111
e2a3f5cadd
Merge pull request #7368
...
dc66115 Formatted markdown in readme.md (Timo Sarkar)
2021-03-20 01:39:02 -04:00
luigi1111
602926fe9d
Merge pull request #7366
...
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
2021-03-20 01:38:03 -04:00
luigi1111
6e1b3d1e0b
Merge pull request #7274
...
daf023d epee: don't log raw packet data (moneromooo-monero)
2021-03-20 01:35:51 -04:00
luigi1111
7bf89dcbd3
Merge pull request #7005
...
249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
2021-03-20 01:35:13 -04:00
luigi1111
8d7c1135b8
Merge pull request #6810
...
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
2021-03-20 01:33:10 -04:00
moneromooo-monero
71741a1ed6
blockchain_import: fix wrong reported block/tx hashes on error
2021-03-19 11:04:24 +00:00
moneromooo-monero
254a1338ad
core: speed up print_coinbase_tx_sum
...
It only needs to parse the tx headers, not the full tx data
2021-03-18 11:16:08 +00:00
anon
1fbb33c18b
cmake: fix ccache detection
2021-03-16 13:41:15 +00:00
mj-xmr
fa54d25fb2
Doc: add only the required boost libraries instead of all of them
2021-03-13 12:10:58 +01:00
tobtoht
7c4e4c7603
wallet_api: add isDeterministic()
2021-03-12 23:43:58 +01:00
tobtoht
1851f2645a
wallet_api: add seed_offset param to seed()
2021-03-12 19:45:29 +01:00
anon
2935a0c479
async_protocol_handler_config: fix deadlock
2021-03-12 11:59:06 +00:00
anon
c877705a53
async_protocol_handler_config: add deadlock demo
2021-03-12 11:59:06 +00:00
moneromooo-monero
c24f185196
README: step by step detail for rpi setup commands
2021-03-11 18:28:01 +00:00
mj-xmr
430b7586f6
Warnings: add warnings as errors: 'switch' & 'return-type'
2021-03-10 17:41:55 +01:00
cabelo
81a4de1883
dependencies in openSUSE
2021-03-07 20:04:16 -03:00
mj-xmr
1ac7134832
Mac: Enable on ARM, by not enforcing x86_64
2021-03-07 07:42:27 +01:00
moneromooo-monero
064eeb2861
wallet_rpc_server: set seed language in generate_from_keys
...
Also sanity check language name
2021-03-06 10:26:15 +00:00
moneromooo-monero
f9b5b521e8
fix serialization being different on mac
...
On Mac, size_t is a distinct type from uint64_t, and some
types (in wallet cache as well as cold/hot wallet transfer
data) use pairs/containers with size_t as fields. Mac would
save those as full size, while other platforms would save
them as varints. Might apply to other platforms where the
types are distinct.
There's a nasty hack for backward compatibility, which can
go after a couple forks.
2021-03-05 23:42:33 +00:00
luigi1111
0b6bfb1fd8
Merge pull request #7399
...
556af11 epee: return HTTP error 400 (Bad request) on deserialization error (moneromooo-monero)
2021-03-05 13:56:54 -05:00
luigi1111
c20e44df4e
Merge pull request #7389
...
80125a2 async_protocol_handler_config: remove connection correctly (anon)
1b51d39 async_protocol_handler_config: add segfault demo (anon)
2021-03-05 13:54:45 -05:00
luigi1111
e01894672b
Merge pull request #7335
...
8d03bb6 device_trezor: add redundant check (anon)
34f9428 device_trezor: wipe string fields properly (anon)
2021-03-05 13:52:01 -05:00
luigi1111
1cac8e92fa
Merge pull request #7270
...
e767561 cmake: Use CMAKE_COMMAND. (Daniel Wyatt)
2021-03-05 13:49:31 -05:00
benevanoff
d46d90c436
return output key for incoming transfers
2021-03-04 11:09:15 -06:00
Luxter77
bf86e9527f
added link to moneropedia to pruning in README.md
2021-03-04 09:52:30 -03:00
Luxter77
b3238a884d
Update size figures on the pruning section of README.md
2021-03-04 09:49:10 -03:00
Dusan Klinec
68f1ca65e6
trezor: simplify recognition of integrated addresses
...
now it is possible to simplify integrated addresses recognition using transaction destination info directly
fixes https://github.com/monero-project/monero-gui/issues/3346
2021-03-03 14:51:04 +01:00
Lucas Daniel Velazquez M
cf9661509e
Make pruning section more consistent in README.md
...
use syntax highlighting on commands and command line arguments
2021-03-02 15:11:40 -03:00
tobtoht
6477b47ac7
wallet_rpc: add scan_tx
2021-03-01 23:02:43 +01:00
mj-xmr
240d382db4
Epee: add headers to project files (via glob), to be able to search for them easily.
...
Use case: IDEs
2021-02-25 20:16:02 +01:00
moneromooo-monero
b5209a09d2
functional_tests: hide check_missing_rpc_methods behind requests check
2021-02-23 20:10:03 +00:00
moneromooo-monero
035e474912
README: update libzmq minimum version to 4.2.0 for zmq_send_const
2021-02-23 19:47:57 +00:00
moneromooo-monero
556af11d3b
epee: return HTTP error 400 (Bad request) on deserialization error
...
It's better than 404 (Not found)
2021-02-23 18:55:08 +00:00
moneromooo-monero
5984277fe3
python-rpc: adapt urlparse for python3
2021-02-23 11:43:22 +00:00
mj-xmr
b900fa03c1
Fix compiler warning for in keyvalue_serialization.h
2021-02-21 18:35:06 +01:00
gdmojo
f346e3ec0e
wallet_rpc_payments: implement multithreading
2021-02-20 18:23:06 +00:00
anon
7b51547815
gpg_keys: add anon
2021-02-19 23:07:19 +00:00
anon
80125a2f77
async_protocol_handler_config: remove connection correctly
2021-02-19 22:27:29 +00:00
anon
1b51d398fb
async_protocol_handler_config: add segfault demo
2021-02-19 22:27:28 +00:00
luigi1111
b8f3e44a3f
Merge pull request #7381
...
21566fe [CI] Add ccache to Windows build (mj-xmr)
2021-02-18 14:12:28 -05:00
luigi1111
1614be4a41
Merge pull request #7371
...
1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
2021-02-18 14:11:55 -05:00
luigi1111
1b11820187
Merge pull request #7361
...
935bfaa ITS#9007 don't free loose writemap pages (Kris Zyp)
2021-02-18 14:08:20 -05:00
luigi1111
6556c33f13
Merge pull request #7355
...
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9 Removing unused namespace alias (Lee Clagett)
2021-02-18 14:06:47 -05:00
luigi1111
906a62c6b2
Merge pull request #7352
...
a60d3d8 unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
2021-02-18 14:05:58 -05:00
luigi1111
8cb63658f0
Merge pull request #7351
...
1957b5a Dockerfile: bump openssl version to 1.1.1i (erciccione)
2021-02-18 14:05:25 -05:00
luigi1111
ce5800a225
Merge pull request #7346
...
85db173 Remove unused variables in monero codebase (Kevin Barbour)
2021-02-18 14:03:31 -05:00
luigi1111
33004ded62
Merge pull request #7343
...
545b982 Remove unnecessary atomic operations in levin code (Lee Clagett)
2021-02-18 14:02:52 -05:00
luigi1111
0e35d46f5e
Merge pull request #7341
...
b587ffa Stop adding more outputs than bulletproof allows (Alex Opie)
2021-02-18 14:02:13 -05:00
luigi1111
98cb68e5a7
Merge pull request #7340
...
ccd0f2b Simplewallet.cpp: Add export_outputs help (SomaticFanatic)
2021-02-18 14:01:29 -05:00
luigi1111
3f55f7df31
Merge pull request #7312
...
186271e monero-wallet-cli: Added command scan_tx (Horia Mihai David)
2021-02-18 14:00:35 -05:00
luigi1111
22460b6898
Merge pull request #7226
...
c3d2e21 [CI] MacOSX ccache: Proper ccache directory used of /Users/runner/Library/Caches/ccache (mj-xmr)
2021-02-18 13:58:40 -05:00
Horia Mihai David
186271e5d1
monero-wallet-cli: Added command scan_tx
...
To implement this feature, the wallet2::scan_tx API was implemented.
2021-02-17 20:25:55 +01:00
mj-xmr
21566fef9b
[CI] Add ccache to Windows build
2021-02-17 14:04:21 +01:00
mj-xmr
c3d2e21269
[CI] MacOSX ccache: Proper ccache directory used of /Users/runner/Library/Caches/ccache
2021-02-17 13:42:46 +01:00
luigi1111
b731f7dca2
Merge pull request #7339
...
45981af docs: Remove outdated bits about anonymity network seed nodes (Nathan Dorfman)
2021-02-16 11:46:22 -05:00
luigi1111
233f368e46
Merge pull request #7331
...
740c369 Updated copyright date in README.md (Joseph Richardson)
2021-02-16 11:44:21 -05:00
luigi1111
ff5da7111c
Merge pull request #7325
...
c26cca6 console: fix syntax for python3 (moneromooo-monero)
2021-02-16 11:43:02 -05:00
luigi1111
3328938d4e
Merge pull request #7319
...
993e9be simplewallet: allow setting --restore-height 0 (selsta)
2021-02-16 11:42:14 -05:00
luigi1111
466e245f26
Merge pull request #7313
...
c66e8d9 build: omit '-pie' linker flag in native non static WIN32 GCC builds (xiphon)
2021-02-16 11:40:40 -05:00
moneromooo-monero
8889f490ce
easylogging++: fix potential memory corruption
...
The m_typedConfigurations pointer is copied from one object to the next,
but deleted in the dtor, leading to potential double free. It is also
deleted first thing in the copy ctor, deleting uninitialized memory.
This does not seem to actually happen in practice (those functions do
not get called), but seems safer that way.
Coverity 1446562
2021-02-16 09:43:18 +00:00
luigi1111
f47651578f
Merge pull request #7311 from selsta/miniupnp
...
miniupnp: set submodule to upstream, disable install
2021-02-15 22:01:01 -05:00
luigi1111
9f6dcbd568
Merge pull request #7308
...
df2f00f boosted_tcp_server: fix connection lifetime (anon)
3833624 boosted_tcp_server: add segfault demo (anon)
2021-02-15 21:53:43 -05:00
luigi1111
2222d90491
Merge pull request #7294
...
f10c9a1 remove obsolete pruning debug code (moneromooo-monero)
2021-02-15 21:51:12 -05:00
luigi1111
bf53f55366
Merge pull request #7288
...
015da03 wallet_rpc_server: don't abort on initial refresh failure (xiphon)
2021-02-15 21:50:34 -05:00
luigi1111
0bbaa9df81
Merge pull request #7275
...
f815740 p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data (moneromooo-monero)
2021-02-15 21:48:48 -05:00
luigi1111
080358ebef
Merge pull request #7273
...
e7f5845 Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
2021-02-15 21:47:55 -05:00
luigi1111
f11e434ae6
Merge pull request #7265
...
bdabcd0 wallet_api: store fee for incoming txs in history (Ben Evanoff)
2021-02-15 21:46:22 -05:00
luigi1111
7c6db2fed1
Merge pull request #7252
...
f208d98 p2p: ignore empty IP from DNS block list (moneromooo-monero)
2021-02-15 21:45:46 -05:00
luigi1111
7439d891bf
Merge pull request #7242
...
021a281 simplewallet: Add input file parameter to sign_transfer (Steff Richards)
2021-02-15 21:44:53 -05:00
luigi1111
ba76a4d26e
Merge pull request #7185
...
50ff106 wallet api: allow wallet to fetch all key images via api (benevanoff)
2021-02-15 21:42:30 -05:00
luigi1111
4c410a1e3a
Merge pull request #7000
...
dc48de7 Reduce compilation time of epee/portable_storage.h (mj-xmr)
2021-02-15 21:39:05 -05:00
luigi1111
4ee301c687
Merge pull request #6986
...
ee58f4f Balance includes unconfirmed payments (woodser)
2021-02-15 21:36:48 -05:00
luigi1111
90df2d7962
Merge pull request #6959
...
4e23107 Doxy - scan whole repo, create subdirs, don't generate LaTeX - mj-xmr (mj-xmr)
2021-02-15 21:34:18 -05:00
luigi1111
c5785c33f0
Merge pull request #6877
...
d643a86 p2p: add --max-connections-per-ip daemon option (moneromooo-monero)
2021-02-15 21:32:34 -05:00
moneromooo-monero
d643a865f3
p2p: add --max-connections-per-ip daemon option
...
Helps daemons behind a proxy get more than one connection.
Defaults to 1 (no change)
2021-02-15 19:08:07 +00:00
moneromooo-monero
494f2e1c21
rpc: fix some error return codes/status
...
Some RPC return an error string in status, and the code must return
true on error (with a status string).
2021-02-15 12:27:19 +00:00
luigi1111
c41e087d46
Merge pull request #6900
...
aaa3289 add more updates domains and make the voting generic, not just 2/3 (moneromooo-monero)
2021-02-14 18:58:37 -05:00
Lee Clagett
9867a913dc
Store RPC SSL key/cert for consistent authentication between runs
2021-02-13 20:26:26 +00:00
Howard Chu
86263b386c
Honor LARGE_PAGES flag in randomx umask
2021-02-11 14:42:49 +00:00
mj-xmr
1aecdcf536
Increase timeout for the mining test 4 times (to 240s)
2021-02-11 13:42:43 +01:00
Timo Sarkar
dc661152c1
Formatted markdown in readme.md
2021-02-10 17:34:40 +01:00
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining
2021-02-09 11:58:21 +00:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
mj-xmr
dc48de74e8
Reduce compilation time of epee/portable_storage.h
2021-02-06 08:18:42 +01:00
Kris Zyp
935bfaa913
ITS#9007 don't free loose writemap pages
...
Broken in ITS#8756
2021-02-01 16:09:08 +00:00
Lee Clagett
bd129849f0
Remove copies from foreach loops (thanks to Clang)
2021-01-28 23:42:40 -05:00
Lee Clagett
1572df9e26
Removing unused namespace alias
2021-01-28 23:40:57 -05:00
Lee Clagett
2a20434705
Fix monerod --rpc-ssl disabled
2021-01-28 17:53:47 +00:00
xiphon
a60d3d8ff7
unit_tests: fix wipeable_string parse_hexstr test with latest gtest
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
2021-01-27 13:04:08 +00:00
erciccione
1957b5a8ef
Dockerfile: bump openssl version to 1.1.1i
2021-01-26 11:27:08 +00:00
Alex Opie
520ce1ca81
Attempt to carve the fee from a partial payment early
...
Do this for both the estimate and actual fee.
#7337
2021-01-25 12:01:27 +13:00
Alex Opie
b587ffa1fd
Stop adding more outputs than bulletproof allows
...
If more outputs are requested, they are split across
multiple transactions.
#7322
2021-01-25 10:01:38 +13:00
Lee Clagett
08e4497c6e
Improve cryptonote (block and tx) binary read performance
2021-01-23 06:23:39 +00:00
SomaticFanatic
ccd0f2bdc2
Simplewallet.cpp: Add export_outputs help
...
See #6547
2021-01-21 18:39:43 -05:00
Nathan Dorfman
45981af10f
docs: Remove outdated bits about anonymity network seed nodes
2021-01-21 13:59:17 -07:00
xiphon
cf266d66dd
bootstrap_daemon: proxy configuration support
2021-01-21 13:45:44 +00:00
anon
8d03bb688e
device_trezor: add redundant check
2021-01-20 22:06:51 +01:00
anon
34f942867f
device_trezor: wipe string fields properly
2021-01-20 22:06:51 +01:00
Joseph Richardson
740c369ba6
Updated copyright date in README.md
...
2020 -> 2021
2021-01-20 09:51:57 -05:00
anon
df2f00f44d
boosted_tcp_server: fix connection lifetime
2021-01-19 18:15:30 +01:00
anon
3833624ab1
boosted_tcp_server: add segfault demo
2021-01-19 18:15:30 +01:00
Lee Clagett
545b9825d6
Remove unnecessary atomic operations in levin code
2021-01-19 04:44:03 +00:00
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
2021-01-19 02:22:32 +00:00
moneromooo-monero
c26cca6f14
console: fix syntax for python3
2021-01-18 22:23:34 +00:00
Lee Clagett
0f2b5af0dd
Reduced executable size; reduced call sequence to "allowed" log function
2021-01-16 22:55:41 +00:00
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
2021-01-16 22:53:28 +00:00
xiphon
c66e8d92e4
build: omit '-pie' linker flag in native non static WIN32 GCC builds
2021-01-16 19:28:05 +00:00
luigi1111
cb70ae9450
Merge pull request #7260
...
c5c278c p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
2021-01-15 23:52:05 -05:00
luigi1111
7908f848a3
Merge pull request #7245
...
41dfa96 Split fuzz tests during fuzz build (Nym Seddon)
2021-01-15 23:51:23 -05:00
luigi1111
8cb9f3cd80
Merge pull request #7240
...
46cc4a2 Header row for peer list in sync_info (Denis Goddard)
2021-01-15 23:50:28 -05:00
luigi1111
1f3f07d0e7
Merge pull request #7236
...
ab5e185 protocol: fix wrong command in logs (moneromooo-monero)
2021-01-15 23:49:34 -05:00
luigi1111
cc297da0ee
Merge pull request #7204
...
10448eb Update repo copyright year to 2021 (Suriyaa Sundararuban)
2021-01-15 23:48:37 -05:00
luigi1111
cb21ec30a4
Merge pull request #7149
...
0660db3 fuzz_tests: add a test for utf8canonical (moneromooo-monero)
2021-01-15 23:47:49 -05:00
luigi1111
218981eba1
Merge pull request #7137
...
f2ad539 readline_buffer: Avoid consecutive duplicates in the history (codesoap)
2021-01-15 23:46:14 -05:00
luigi1111
d259ed0740
Merge pull request #7119
...
dd5e689 protocol: add calls to reserve where appropriate (moneromooo-monero)
2021-01-15 23:45:25 -05:00
luigi1111
d01f31460e
Merge pull request #7113
...
7f30c49 simplewallet: don't complain about connecting to the daemon when offline (moneromooo-monero)
2021-01-15 23:44:32 -05:00
luigi1111
5c497ed22f
Merge pull request #7112
...
47590fc rpc: report target height as 0 when synced (moneromooo-monero)
2021-01-15 23:43:46 -05:00
luigi1111
01613bd07e
Merge pull request #6989
...
a2bd6de Clang IWYU header checker script (mj-xmr)
2021-01-15 23:42:52 -05:00
luigi1111
55b006ff9b
Merge pull request #6975
...
700d4e9 Run Valgrind checks for any binary in a list (mj-xmr)
2021-01-15 23:41:51 -05:00
selsta
993e9be669
simplewallet: allow setting --restore-height 0
2021-01-13 12:36:58 +01:00
selsta
576bb88628
miniupnp: set submodule to upstream, disable install
2021-01-12 17:14:58 +01:00
selsta
76fe73b8bd
Revert "fix accessing an network address in a deleted context"
...
This reverts commit 4e74385a1a .
2021-01-12 12:18:23 +01:00
moneromooo-monero
f10c9a16c4
remove obsolete pruning debug code
2021-01-08 15:41:59 +00:00
Alexander Blair
964ad0e51a
Merge pull request #7286
...
372754a66 storages: overridable limits for loading portable_storage from binary (moneromooo-monero)
2021-01-07 17:54:19 -08:00
Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:54:02 -08:00
moneromooo-monero
372754a66e
storages: overridable limits for loading portable_storage from binary
2021-01-07 20:24:29 +00:00
mj-xmr
700d4e9388
Run Valgrind checks for any binary in a list
2021-01-07 14:40:07 +01:00
xiphon
015da03a6f
wallet_rpc_server: don't abort on initial refresh failure
2021-01-07 13:38:15 +00:00
luigi1111
e144dd5b15
Merge pull request #7281
...
b9092dd epee: also limit number of strings in portable_storage (moneromooo-monero)
2021-01-06 21:11:09 -05:00
luigi1111
e3acd3e6ba
Merge pull request #7278
...
187b4d7 Restrict duplicate keys in epee binary format (Lee Clagett)
2021-01-06 21:10:30 -05:00
luigi1111
69e4a2c62d
Merge pull request #7266
...
38a6e6e protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:03 -05:00
moneromooo-monero
b9092ddb5c
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
2021-01-05 17:54:25 +00:00
moneromooo-monero
f815740403
p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data
...
removes a back and forth on connect, and the RPC can be removed
once all peers have updated
2021-01-04 13:33:34 +00:00
Alexander Blair
dbaf95ac77
Merge pull request #7271
...
4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
2021-01-03 18:24:50 -08:00
Alexander Blair
71f7d4e71e
Merge pull request #7268
...
1e27f7101 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:24:22 -08:00
Alexander Blair
7264d64856
Merge pull request #7263
...
b652d598d add a max levin packet size by command type (moneromooo-monero)
2021-01-03 18:23:57 -08:00
Alexander Blair
03cdcd3909
Merge pull request #7261
...
5cd6fda1e portable_storage: better sanity checking (moneromooo-monero)
2021-01-03 18:23:31 -08:00
moneromooo-monero
daf023de6e
epee: don't log raw packet data
2021-01-03 14:41:01 +00:00
moneromooo-monero
b652d598d1
add a max levin packet size by command type
2021-01-03 14:07:45 +00:00
moneromooo-monero
4e74385a1a
fix accessing an network address in a deleted context
...
Both drop_connection and add_host_fail can drop the connection,
which invalidates the context, and thus the address it contains.
Thanks to wfaressuissia[m] for lots of help and prodding when
debugging this
2021-01-03 13:04:55 +00:00
rbrunner7
e7f5845ce8
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
2021-01-03 11:04:53 +01:00
Daniel Wyatt
e767561ab8
cmake: Use CMAKE_COMMAND.
...
The cmake executable name can vary across platforms.
2021-01-02 18:19:58 -05:00
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
...
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-02 22:19:54 +00:00
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet
2021-01-02 22:10:31 +00:00
Ben Evanoff
bdabcd01b7
wallet_api: store fee for incoming txs in history
2021-01-02 13:56:57 -06:00
moneromooo-monero
5cd6fda1ee
portable_storage: better sanity checking
2021-01-02 12:34:28 +00:00
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2021-01-01 22:35:59 -08:00
Alexander Blair
3bf0721ae6
Merge pull request #7246
...
0aa541b36 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:33:27 -08:00
Alexander Blair
175aa2497a
Merge pull request #7243
...
8e2caf3fb portable_storage: check object limit where appropriate (moneromooo)
2021-01-01 22:32:53 -08:00
Alexander Blair
2d60232355
Merge pull request #7237
...
656b2f7ce p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:32:34 -08:00
Alexander Blair
de8b27d8c2
Merge pull request #7234
...
31c69923b protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:31:03 -08:00
Alexander Blair
5917aec4a1
Merge pull request #7220
...
20bdbd7aa portable_storage: forbid unnamed sections (xiphon)
2021-01-01 22:28:21 -08:00
moneromooo-monero
c5c278c339
p2p: only log to global when a blocked IP is not already blocked
2021-01-01 19:54:51 +00:00
moneromooo
1d1c430b1f
p2p: fix cubic selection in filtered peer list
...
Integer quantization biased the picks a lot (leading some indices
to never be selected)
2021-01-01 15:44:36 +00:00
moneromooo-monero
f208d98492
p2p: ignore empty IP from DNS block list
...
ie, if the list ends in ;
2021-01-01 12:30:45 +00:00
Nym Seddon
41dfa96e5a
Split fuzz tests during fuzz build
...
Only build fuzz tests in a fuzz build, and don't build other tests.
Keeps fuzz compilers from instrumenting other tests, which are not fuzzed.
Resolves #7232
2021-01-01 09:09:28 +00:00
Denis Goddard
46cc4a253b
Header row for peer list in sync_info
2020-12-31 20:09:35 -05:00
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
2020-12-31 23:33:18 +00:00
moneromooo
8e2caf3fb4
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
2020-12-31 22:35:17 +00:00
Steff Richards
021a28137d
simplewallet: Add input file parameter to sign_transfer
2020-12-31 16:54:01 +01:00
moneromooo
aa3e89a2ba
p2p: fix set_peer_just_seen ignoring last_seen
2020-12-31 03:10:10 +00:00
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists
2020-12-31 03:09:37 +00:00
moneromooo-monero
ab5e185140
protocol: fix wrong command in logs
...
this is not a levin packet, this is just its payload
2020-12-30 21:08:28 +00:00
moneromooo-monero
31c69923ba
protocol: don't reset last request time on an idle timer
...
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
2020-12-30 14:22:10 +00:00
Alexander Blair
a1eca8ca7e
Merge pull request #7221
...
1eb14af1a rpc: limit the number of txes for get_blocks.bin (moneromooo-monero)
2020-12-29 10:44:25 -08:00
Alexander Blair
88b7bc394e
Merge pull request #7218
...
353f93ee1 portable_storage: remove array element limit (moneromooo-monero)
2020-12-29 10:44:05 -08:00
Alexander Blair
d4636a9258
Merge pull request #7207
...
f7ab8bc6d ssl: buffered handshake detection (anon)
2020-12-29 10:43:50 -08:00
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
2020-12-29 04:31:58 +00:00
xiphon
20bdbd7aab
portable_storage: forbid unnamed sections
2020-12-28 23:51:25 +00:00
moneromooo-monero
353f93ee1a
portable_storage: remove array element limit
...
some people don't want it
2020-12-28 21:04:58 +00:00
Alexander Blair
2bccbeecb3
Merge pull request #7205
...
bcdc6c62b protocol: fix false positives dropping peers (moneromooo-monero)
2020-12-28 11:39:01 -08:00
Alexander Blair
b880860378
Merge pull request #7202
...
bc97eb8a3 portable_storage: remove overly aggressive cutoff (moneromooo-monero)
2020-12-28 11:38:46 -08:00
Alexander Blair
faaec08fa4
Merge pull request #7196
...
4310780c0 cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
2020-12-28 11:38:07 -08:00
anon
f7ab8bc6d4
ssl: buffered handshake detection
2020-12-28 14:25:37 +01:00
mj-xmr
a2bd6deb12
Clang IWYU header checker script
...
Run with utils/health/clang-include-what-you-use-run.sh
2020-12-28 09:01:24 +01:00
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
2020-12-27 14:41:19 +00:00
Suriyaa Sundararuban
10448eba37
Update repo copyright year to 2021
2020-12-27 14:41:34 +01:00
moneromooo-monero
bc97eb8a33
portable_storage: remove overly aggressive cutoff
2020-12-27 12:44:38 +00:00
Alexander Blair
b2221881a1
Merge pull request #7199
...
025db3d2b Revert "Reject existing claimed blocks in sync mode" (luigi1111)
2020-12-26 21:25:18 -08:00
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
2020-12-27 00:18:05 -05:00
moneromooo-monero
4310780c08
cryptonote_basic: guess what got lost porting patches to branches again
2020-12-26 23:43:59 +00:00
Alexander Blair
7438617bbf
Merge pull request #7192
...
95575cda6 epee: fix some issues using connections after shutdown (moneromooo-monero)
2020-12-26 13:44:10 -08:00
Alexander Blair
bc9fce0d32
Merge pull request #7190
...
7f407c027 portable_storage: add some sanity checks on data size (moneromooo-monero)
2020-12-26 13:43:48 -08:00
Alexander Blair
fe282b1b3a
Merge pull request #7182
...
5ef43355f edited readme version table to include v0.17.1.7 (Gingeropolous)
2020-12-26 13:43:22 -08:00
Alexander Blair
d61fdebaac
Merge pull request #7188
...
efe83982d protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
2020-12-26 13:43:13 -08:00
Alexander Blair
5402121323
Merge pull request #7180
...
56748e1d7 ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:42:37 -08:00
Alexander Blair
d06bae56b3
Merge pull request #7173
...
d2fda6c25 restrict public node checks a little (moneromooo-monero)
2020-12-26 13:41:42 -08:00
Alexander Blair
635ea3df2e
Merge pull request #7172
...
e80f8d7ad apt update before installing (mj-xmr)
2020-12-26 13:41:22 -08:00
Alexander Blair
609dbe6b92
Merge pull request #7154
...
cf7e1571d protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:40:36 -08:00
Alexander Blair
cb712bf4f8
Merge pull request #7145
...
68637bca3 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
2020-12-26 13:40:19 -08:00
Alexander Blair
69ed0e0001
Merge pull request #7138
...
e9abfea16 Optional DNS based blocklist (moneromooo-monero)
2020-12-26 13:38:50 -08:00
Alexander Blair
f191e0a00d
Merge pull request #7099
...
9d2bb586a Add command to sign freebsd assert file for gitian (MoneroArbo)
2020-12-26 13:38:31 -08:00
Alexander Blair
b9e444da5e
Merge pull request #7098
...
c0c75ac19 Fixed issues found by static analysis (SChernykh)
2020-12-26 13:36:01 -08:00
Alexander Blair
133056f625
Merge pull request #7086
...
14bc5c095 db_lmdb: move spammy "not found in db" message to TRACE (moneromooo-monero)
2020-12-26 13:35:42 -08:00
Alexander Blair
d365f2409a
Merge pull request #6931
...
fbb03ef2a simplewallet: add "address mnew" command (codesoap)
2020-12-26 13:35:24 -08:00
codesoap
fbb03ef2a0
simplewallet: add "address mnew" command
2020-12-26 19:33:11 +01:00
moneromooo-monero
95575cda6e
epee: fix some issues using connections after shutdown
2020-12-26 14:14:55 +00:00
moneromooo-monero
7f407c0274
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
2020-12-26 03:22:59 +00:00
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
2020-12-25 20:30:39 +00:00
benevanoff
50ff1066f5
wallet api: allow wallet to fetch all key images via api
2020-12-25 00:40:50 -06:00
moneromooo-monero
d2fda6c25f
restrict public node checks a little
...
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22 23:39:07 +00:00
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
2020-12-22 20:54:16 +00:00
Gingeropolous
5ef43355f0
edited readme version table to include v0.17.1.7
...
edited readme version table to include v0.17.1.7 as recommended version
2020-12-21 23:53:47 -05:00
moneromooo-monero
56748e1d74
ban lists may now include subnets
2020-12-22 02:12:41 +00:00
mj-xmr
e80f8d7ad8
apt update before installing
2020-12-20 08:27:10 +01:00
Lee Clagett
187b4d7521
Restrict duplicate keys in epee binary format
2020-12-20 03:47:32 +00:00
moneromooo-monero
e9abfea165
Optional DNS based blocklist
...
If enabled, pulls IPs to block on blocklist.moneropulse.*, and
blocks then for 8 days (so IPs dropping from the list will
eventually get unblocked, and DNS failures don't result in
instant clearing of the blocklist).
Enable with --enable-dns-blocklist
2020-12-20 02:09:58 +00:00
luigi1111
3bd6ed94d7
Merge pull request #7151
...
4978f69 Fix byte_stream::put_n (Lee Clagett)
2020-12-19 17:26:13 -06:00
luigi1111
0dac64afb3
Merge pull request #7143
...
58651d1 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
2020-12-19 17:24:21 -06:00
luigi1111
e0d8af253e
Merge pull request #7141
...
9de3787 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
2020-12-19 17:22:01 -06:00
luigi1111
7ee37e4b38
Merge pull request #7075
...
f3c0d4f protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero)
8e62362 p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
2020-12-19 17:20:29 -06:00
luigi1111
b8e4b69915
Merge pull request #7074
...
9024622 add -framework AppKit for Apple (woodser)
2020-12-19 17:18:53 -06:00
luigi1111
eee0452aa8
Merge pull request #7156
...
5a1ac9c rpc: add a busy_syncing field to get_info (moneromooo-monero)
2020-12-17 14:33:03 -06:00
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
2020-12-17 18:03:11 +00:00
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
2020-12-17 02:54:02 +00:00
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-17 00:36:10 +00:00
moneromooo-monero
af0a25544e
protocol: drop peers we can't download anything from in sync mode
...
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
2020-12-16 20:19:52 +00:00
moneromooo-monero
f3c0d4f9df
protocol: remove unused (and cunningly uninitialized) field
2020-12-15 01:32:18 +00:00
moneromooo-monero
8e62362cd3
p2p: ifx getting seed nodes for uncommon cases
...
The code is technically correct, but liable to easily become incorrect with changes
2020-12-15 01:32:15 +00:00
Lee Clagett
4978f69d7a
Fix byte_stream::put_n
2020-12-14 14:45:24 -05:00
moneromooo-monero
0660db3e7a
fuzz_tests: add a test for utf8canonical
2020-12-14 19:40:24 +00:00
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename)
2020-12-14 12:26:23 +00:00
moneromooo-monero
68637bca3f
p2p: remove peers from grey and anchors lists when blocked
2020-12-13 23:27:44 +00:00
moneromooo-monero
58651d16c0
p2p: ignore incoming peer list entries when we have them blocked
2020-12-13 23:14:05 +00:00
codesoap
f2ad539f5f
readline_buffer: Avoid consecutive duplicates in the history
2020-12-13 14:47:07 +01:00
luigi1111
e5decd0cde
Merge pull request #7130
...
543733d protocol: include first new block in chain entry response (moneromooo-monero)
2020-12-12 22:05:02 -06:00
luigi1111
a57c95b2f1
Merge pull request #7127
...
5d1849a protocol: stricter checks on received chain hash list (moneromooo)
2020-12-12 22:03:12 -06:00
luigi1111
66c427e863
Merge pull request #7123
...
62e8ca5 protocol: revert incoming chain height check against local chain (moneromooo-monero)
2020-12-12 22:01:37 -06:00
luigi1111
f5a8a8bfaa
Merge pull request #6495
...
12a422c workflows: add ccache support (selsta)
2020-12-12 21:58:48 -06:00
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response
2020-12-12 01:36:35 +00:00
moneromooo
5d1849a9eb
protocol: stricter checks on received chain hash list
2020-12-11 18:47:40 +00:00
selsta
12a422c093
workflows: add ccache support
2020-12-11 12:39:40 +01:00
moneromooo-monero
62e8ca5eaf
protocol: revert incoming chain height check against local chain
...
We can actually request a chain that's further away from what we
have as we buffer more and more
2020-12-11 02:37:15 +00:00
Alexander Blair
ebdc617408
Merge pull request #7102
...
8ee3ec729 cmake: fix "release" version string on tagged releases (moneromooo-monero)
2020-12-10 17:52:18 -08:00
Alexander Blair
0f67569279
Merge pull request #7121
...
cd7e9769d protocol: one more sanity check on usable data from a peer (moneromooo-monero)
2020-12-10 17:44:54 -08:00
Alexander Blair
bdaadf85dc
Merge pull request #7117
...
5dee031b2 protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
2020-12-10 17:43:41 -08:00
Alexander Blair
bb6d2d4b05
Merge pull request #7114
...
eb77790df protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
2020-12-10 17:42:48 -08:00
Alexander Blair
28e5e42986
Merge pull request #7110
...
d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10 17:41:59 -08:00
Alexander Blair
5b62a6f316
Merge pull request #7106
...
0f34cabb9 protocol: more restrictive checks on chain entry response (moneromooo-monero)
2020-12-10 17:40:46 -08:00
Alexander Blair
3b08836397
Merge pull request #7105
...
178ca2906 travis: remove from repo (selsta)
2020-12-10 17:40:21 -08:00
Alexander Blair
6dafeead33
Merge pull request #7104
...
ed884c20d workflows: shorten name (selsta)
2020-12-10 17:40:02 -08:00
Alexander Blair
72e4805d42
Merge pull request #7103
...
7248420c7 workflows: add depends workflow, upload binaries (selsta)
2020-12-10 17:38:26 -08:00
Alexander Blair
25b596ce21
Merge pull request #7100
...
5b30203fe depends: Update OpenSSL to 1.1.1i (Howard Chu)
2020-12-10 17:36:05 -08:00
Alexander Blair
1e9483a2d5
Merge pull request #7009
...
7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10 17:34:50 -08:00
Alexander Blair
6bddd54f9d
Merge pull request #7003
...
08eb0949f Change to more efficient allocation strategy in byte_stream (Lee Clagett)
2020-12-10 17:33:50 -08:00
Alexander Blair
e9c053eac6
Merge pull request #6977
...
e59134123 Clang-tidy integrated into CMakeLists.txt (mj-xmr)
2020-12-10 17:32:56 -08:00
Alexander Blair
ddf59289d6
Merge pull request #6956
...
9f502108b Add ClangBuildAnalyzer under utils/health for analyzing build times (mj-xmr)
2020-12-10 17:32:13 -08:00
Alexander Blair
49f7e961c0
Merge pull request #6947
...
19d1b3590 add a convenience script to start monero with inbound tor (moneromooo-monero)
2020-12-10 17:31:20 -08:00
moneromooo-monero
cd7e9769d8
protocol: one more sanity check on usable data from a peer
2020-12-10 23:02:06 +00:00
moneromooo-monero
d660f22ed1
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
2020-12-10 21:59:18 +00:00
luigi1111
316dcaa399
Merge pull request #7108
...
19f7757 protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
2020-12-10 15:48:04 -06:00
moneromooo-monero
dd5e689533
protocol: add calls to reserve where appropriate
2020-12-10 20:47:35 +00:00
luigi1111
34267f419e
Merge pull request #7082
...
a4e42b2 bump my key expiration date by 2 more years (moneromooo-monero)
2020-12-10 13:41:07 -06:00
moneromooo-monero
5dee031b25
protocol: add a sanity check to the number of block hashes sent
2020-12-10 19:26:12 +00:00
moneromooo-monero
eb77790dfb
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
2020-12-10 18:10:45 +00:00
moneromooo-monero
7f30c49731
simplewallet: don't complain about connecting to the daemon when offline
2020-12-10 17:57:13 +00:00
moneromooo-monero
0f34cabb98
protocol: more restrictive checks on chain entry response
2020-12-10 17:23:50 +00:00
moneromooo-monero
47590fc80b
rpc: report target height as 0 when synced
...
since it only makes sense when syncing, and it confuses people
2020-12-10 17:05:34 +00:00
moneromooo-monero
19f77578e0
protocol: fix switchting to adding blocks if noone's adding the next span
2020-12-10 15:46:48 +00:00
selsta
178ca29065
travis: remove from repo
2020-12-10 05:34:25 +01:00
selsta
7248420c72
workflows: add depends workflow, upload binaries
2020-12-10 05:01:17 +01:00
selsta
ed884c20d3
workflows: shorten name
2020-12-10 04:12:19 +01:00
moneromooo-monero
8ee3ec7296
cmake: fix "release" version string on tagged releases
...
It would not say "release" if we're on a previous tag
2020-12-09 22:18:44 +00:00
Howard Chu
5b30203fe9
depends: Update OpenSSL to 1.1.1i
...
Remove some obsolete patches (they were integrated upstream).
Tweak to work with Android support (they second-guess our CC definition, etc).
2020-12-09 19:21:56 +00:00
MoneroArbo
9d2bb586ad
Add command to sign freebsd assert file for gitian
...
Add FreeBSD to "Signing assert files" section of gitian readme / guide
2020-12-08 16:46:09 -05:00
SChernykh
c0c75ac19d
Fixed issues found by static analysis
...
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2020-12-08 18:43:44 +01:00
mj-xmr
9f502108bf
Add ClangBuildAnalyzer under utils/health for analyzing build times
2020-12-08 08:05:56 +01:00
luigi1111
b7425c14c8
Merge pull request #7072
...
bc7cd78 p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07 10:24:30 -06:00
luigi1111
fb73f2b2be
Merge pull request #7070
...
281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07 10:23:24 -06:00
luigi1111
3d2a50a5c0
Merge pull request #7055
...
ff7fdf6 protocol: drop peers that don't reply to queries (moneromooo-monero)
89e984d keep only the last seen node on a given host in the white list (moneromooo-monero)
c74d8ff protocol: drop peers that decrease claimed height (moneromooo-monero)
61f5001 protocol: add scoring system to drop peers that don't behave (moneromooo-monero)
2020-12-07 10:07:33 -06:00
moneromooo
ff7fdf6db2
protocol: drop peers that don't reply to queries
2020-12-06 15:57:40 +00:00
moneromooo-monero
281b42a281
p2p: fix race condition accessing a deleted context
2020-12-06 12:40:07 +00:00
moneromooo-monero
14bc5c095c
db_lmdb: move spammy "not found in db" message to TRACE
...
These are functions that check whether a tx is in the db, so whether
it is there or not is really not interesting, and it seems to scare
people from time to time
2020-12-06 01:46:21 +00:00
moneromooo-monero
a4e42b2d4c
bump my key expiration date by 2 more years
2020-12-05 18:19:56 +00:00
moneromooo-monero
bc7cd78870
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
2020-12-05 13:12:58 +00:00
Alexander Blair
7ca4ef0d74
Merge pull request #7068
...
2395e0e67 p2p: add a tor seed node (moneromooo-monero)
2020-12-04 13:28:02 -08:00
Alexander Blair
42aa1a6aca
Merge pull request #7062
...
5ed604fe5 crypto: fix non zero scalar being 0 after reducing (moneromooo-monero)
2020-12-04 13:27:05 -08:00
Alexander Blair
6b8db83149
Merge pull request #7043
...
17c537039 wallet2: check imported multisig curve points are in main subgroup (Crypto City)
2020-12-04 13:25:01 -08:00
Alexander Blair
ce564e7ebf
Merge pull request #7030
...
0363476ee rpc: get_info - add 'synchronized' field (xiphon)
2020-12-04 13:21:36 -08:00
Alexander Blair
1eae7574b5
Merge pull request #7017
...
13350f79d Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-04 13:21:13 -08:00
woodser
90246223c9
add -framework AppKit for Apple
2020-12-04 11:48:41 -05:00
moneromooo
89e984d93b
keep only the last seen node on a given host in the white list
2020-12-04 01:55:22 +00:00
moneromooo
c74d8ffd63
protocol: drop peers that decrease claimed height
2020-12-04 01:55:22 +00:00
moneromooo
61f5001c3f
protocol: add scoring system to drop peers that don't behave
2020-12-04 01:55:21 +00:00
moneromooo-monero
5ed604fe5b
crypto: fix non zero scalar being 0 after reducing
2020-12-04 01:00:03 +00:00
moneromooo-monero
2395e0e678
p2p: add a tor seed node
2020-12-03 23:45:38 +00:00
Alexander Blair
f83203ecef
Merge pull request #7058
...
89bbb802c wallet2: set propagation timeout to current max timeout (selsta)
2020-12-03 12:19:39 -08:00
Alexander Blair
e78669257e
Merge pull request #7056
...
c64b94bd1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero)
67f2bec2d p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero)
ffdf1fb1d p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo)
2020-12-03 12:19:15 -08:00
Alexander Blair
84bae315f8
Merge pull request #6984
...
7a5e11645 net_node: add tor / i2p seed nodes (selsta)
2020-12-03 12:17:44 -08:00
selsta
89bbb802c0
wallet2: set propagation timeout to current max timeout
2020-12-03 02:18:58 +01:00
moneromooo-monero
c64b94bd14
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
2020-12-03 00:31:32 +00:00
moneromooo-monero
67f2bec2df
p2p: make this work with boost <= 1.65 (pffff)
2020-12-03 00:31:32 +00:00
moneromooo
ffdf1fb1de
p2p: rewrite boost's make_address_v4 to cater for < 1.66
2020-12-03 00:31:29 +00:00
mj-xmr
e591341237
Clang-tidy integrated into CMakeLists.txt
...
Can be called from the source directory with:
utils/health/clang-tidy-run.sh
2020-12-02 20:42:38 +01:00
Alexander Blair
4f401f6fca
Merge pull request #7025
...
b10878f10 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
2020-12-01 14:23:49 -08:00
Alexander Blair
976fcb5985
Merge pull request #7024
...
aaf837cf5 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
2020-12-01 14:23:21 -08:00
Alexander Blair
f41dce49ac
Merge pull request #6954
...
dff1d8067 Fix tx flush callback queueing (Lee Clagett)
2020-12-01 14:22:16 -08:00
Alexander Blair
7cd0c64210
Merge pull request #6948
...
65903d2cf Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01 14:21:19 -08:00
Alexander Blair
431ec528bc
Merge pull request #6939
...
6c9980a55 p2p: give all hosts the same chance of being picked for connecting (moneromooo)
2020-12-01 14:20:02 -08:00
Alexander Blair
003a06f030
Merge pull request #6923
...
cc034fe0c util: fix escaping more than one ?* in glob_to_regex (moneromooo-monero)
2020-12-01 14:19:21 -08:00
Alexander Blair
d8f9472356
Merge pull request #6910
...
b7dd8349f Allow setting start block on export (Howard Chu)
2020-12-01 14:18:44 -08:00
Alexander Blair
438442ace0
Merge pull request #6890
...
ec14e4b8c wallet2: skip reorgs exceeding max-reorg-depth wallet setting (xiphon)
2020-12-01 14:18:22 -08:00
moneromooo
6c9980a55b
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
2020-11-29 15:55:58 +00:00
selsta
7a5e11645f
net_node: add tor / i2p seed nodes
...
Co-authored-by: Lee Clagett <code@leeclagett.com >
2020-11-29 13:49:03 +01:00
luigi1111
850edfe419
Merge pull request #7021
...
d73cb95 Fix timeout checks for forwarded and Dandelion++ stem txes (Lee Clagett)
2020-11-29 01:59:35 -06:00
luigi1111
cf816e51ad
Merge pull request #7020
...
2c66894 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
2020-11-29 01:58:56 -06:00
luigi1111
36d31ba0be
Merge pull request #7018
...
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29 01:58:13 -06:00
luigi1111
ad843541d5
Merge pull request #7008
...
3247f11 Silence stupid warnings (Howard Chu)
2020-11-29 01:57:24 -06:00
luigi1111
cda966078d
Merge pull request #6999
...
c5f6629 epee: tighten the URL parsing regexp a little (moneromooo-monero)
2020-11-29 01:56:44 -06:00
luigi1111
a15d781707
Merge pull request #6995
...
60bc676 epee: readline_buffer - fix thread safety, fix sync() after stop() (xiphon)
2020-11-29 01:55:15 -06:00
luigi1111
c041550ffa
Merge pull request #6973
...
be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29 01:54:43 -06:00
luigi1111
a92b968e35
Merge pull request #6971
...
f9527e6 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-29 01:54:08 -06:00
luigi1111
9945ca7a62
Merge pull request #6960
...
5569a8e rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-29 01:53:12 -06:00
luigi1111
bb56248acd
Merge pull request #6949
...
aad780b Fix CLI and unrestricted RPC relay_tx with stempool (Lee Clagett)
2020-11-29 01:52:23 -06:00
luigi1111
9a4d813136
Merge pull request #6943
...
cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-29 01:51:41 -06:00
luigi1111
7a0334742a
Merge pull request #6937
...
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29 01:49:39 -06:00
luigi1111
2be7a4c04f
Merge pull request #6933
...
1f04a31 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-29 01:46:46 -06:00
luigi1111
4d298d4f11
Merge pull request #6924
...
874487f blockchain: remove some dead code (moneromooo-monero)
2020-11-29 01:44:26 -06:00
luigi1111
999e797cea
Merge pull request #6922
...
a25bc71 Make Blockchain::get_fee_quantization_mask() compile time (SChernykh)
2020-11-29 01:40:59 -06:00
luigi1111
bab4495cfb
Merge pull request #6921
...
f1836ac cryptonote_core: Fix missing override warnings (Nathan Dorfman)
2020-11-29 01:39:17 -06:00
luigi1111
c5b3fd1fec
Merge pull request #6920
...
aad2f87 net_node: add --ban-list option (selsta)
2020-11-29 01:38:27 -06:00
luigi1111
84cdb5d914
Merge pull request #6915
...
c67fa32 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-11-29 01:34:02 -06:00
luigi1111
4c2e77854d
Merge pull request #6913
...
fc2f971 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-11-29 01:32:01 -06:00
luigi1111
c3592a5595
Merge pull request #6903
...
453b8e2 README: add OSS-fuzz status banner (moneromooo-monero)
2020-11-29 01:25:15 -06:00
luigi1111
eebd86dc3e
Merge pull request #6898
...
593ae2e device: Ledger - update status codes (xiphon)
2020-11-29 00:44:27 -06:00
luigi1111
52006df9bb
Merge pull request #6897
...
2abdbf6 Add support for i2p and tor seed nodes (vtnerd)
2020-11-29 00:42:27 -06:00
luigi1111
7539d4ac74
Merge pull request #6895
...
b49f489 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-11-29 00:41:42 -06:00
luigi1111
678237835f
Merge pull request #6892
...
ad7ea2c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
2020-11-29 00:40:03 -06:00
luigi1111
8401d12cf2
Merge pull request #6873
...
3be170d Update README.md (Jkat)
2020-11-29 00:38:48 -06:00
luigi1111
2eb56f9ef6
Merge pull request #6858
...
49a279b docs: Add release checklist (setsimmo)
d00ca88 Move documentation files to their own directory (glv2)
2020-11-29 00:03:57 -06:00
luigi1111
450f1325ab
Merge pull request #6856
...
db70af1 Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
2020-11-28 22:35:07 -06:00
luigi1111
d45a4ba106
Merge pull request #6849
...
f4b2382 rpc_private_headers declaration fix (malbit)
2020-11-28 22:31:25 -06:00
luigi1111
7778384071
Merge pull request #6830
...
64e9526 Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
2020-11-28 21:55:16 -06:00
luigi1111
9b743e7c36
Merge pull request #6829
...
016f36a Allow tx note edits via TransactionHistory object in wallet/api (dsc)
2020-11-28 21:52:20 -06:00
dsc
d157196416
Allow tx note edits via TransactionHistory object in wallet/api
2020-11-28 21:48:57 -06:00
luigi1111
b37d6fe368
Merge pull request #6826
...
83da867 Update error messages in daemon (tmoravec)
2020-11-28 21:35:34 -06:00
luigi1111
55a39f8e67
Merge pull request #6747
...
12a78e5 cmake: Use job pool feature to limit concurrent jobs (00-matt)
2020-11-28 21:32:58 -06:00
xiphon
a9cd5d914e
cryptonote_core: dandelion - use local height or median height if syncing
2020-11-25 01:27:42 +00:00
Crypto City
17c5370398
wallet2: check imported multisig curve points are in main subgroup
2020-11-24 16:25:35 +00:00
luigi1111
9c1562c038
Merge pull request #7007
...
91fd634 Better log message for unusable anon networks (hyc)
2020-11-23 16:14:40 -06:00
luigi1111
5f5f6ae705
Merge pull request #6982
...
9f83fe3 workflows: bump msys2 action to v2 (selsta)
2020-11-21 22:19:31 -06:00
xiphon
0363476ee3
rpc: get_info - add 'synchronized' field
2020-11-19 12:51:31 +00:00
Lee Clagett
b10878f108
Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s
...
A 20% fluff probability increases the precision of a spy connected to
every node by 10% on average, compared to a network using 0% fluff
probability. The current value (10% fluff) should increase precision by
~5% compared to baseline.
This decreases the expected stem length from 10 to 5. The embargo
timeout was therefore lowered to 39s; the fifth node in a stem is
expected to have a 90% chance of being the first to timeout, which is
the same probability we currently have with an expected stem length of
10 nodes.
2020-11-17 21:45:37 -05:00
xiphon
aaf837cf5f
rpc: skip non-synced bootstrap daemons in --no-sync mode too
2020-11-17 23:15:36 +00:00
Howard Chu
91fd634768
Better log message for unusable anon networks
2020-11-16 12:36:37 +00:00
Lee Clagett
d73cb95dfa
Fix timeout checks for forwarded and Dandelion++ stem txes
2020-11-15 00:08:10 -05:00
xiphon
5569a8e426
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
2020-11-15 03:13:07 +00:00
xiphon
2c668940cd
wallet_api: TransactionHistory - fill unconfirmed out payments dests
2020-11-14 14:09:07 +00:00
Howard Chu
3247f11638
Silence stupid warnings
2020-11-11 02:34:14 +00:00
moneromooo-monero
c5f6629f4a
epee: tighten the URL parsing regexp a little
...
fixes massive amounts of time spent on pathological inputs
Found by OSS-Fuzz
2020-11-09 13:05:39 +00:00
xiphon
60bc676c14
epee: readline_buffer - fix thread safety, fix sync() after stop()
2020-11-07 14:15:29 +00:00
woodser
ee58f4f766
Balance includes unconfirmed payments
2020-11-06 15:08:43 -05:00
selsta
9f83fe3940
workflows: bump msys2 action to v2
2020-11-05 01:26:19 +01:00
Lee Clagett
be84f678b9
Switch to Dandelion++ fluff mode if no out connections for stem mode
2020-11-03 13:58:14 -05:00
luigi1111
83f1d863bd
Merge pull request #6927
...
e79c88e functional_tests: inrease mining timeout (selsta)
2020-11-03 11:20:12 -06:00
luigi1111
011b8ebe18
Merge pull request #6886
...
2014a84 Force CMAKE_SKIP_RPATH=ON (hyc)
2020-11-03 11:19:08 -06:00
moneromooo-monero
f9527e608e
protocol: reject empty incoming block messages
2020-11-03 12:59:36 +00:00
moneromooo-monero
1f04a3186b
p2p: use /16 filtering on IPv4-within-IPv6 addresses
...
IPv6 addresses include a range that can map IPv4 addresses,
which allowed those mapped addresses to bypass filtering.
This filter should be replaced by AS filtering at some point.
2020-11-03 00:46:07 +00:00
mj-xmr
4e23107f83
Doxy - scan whole repo, create subdirs, don't generate LaTeX - mj-xmr
2020-11-02 09:25:29 +01:00
Lee Clagett
aad780bcfa
Fix CLI and unrestricted RPC relay_tx with stempool
2020-10-29 00:17:55 -04:00
Howard Chu
65903d2cfc
Add rpc-restricted-bind-ip option
...
Fixes #6369
2020-10-29 00:22:18 +00:00
moneromooo-monero
19d1b35905
add a convenience script to start monero with inbound tor
2020-10-28 22:38:27 +00:00
mj-xmr
8a282f64c9
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-28 20:08:26 +01:00
moneromooo
cb069d0a42
p2p: remove banned peers from the white list
2020-10-27 22:35:14 +00:00
luigi1111
8b3b106ad1
Merge pull request #6902
...
70eb0d1 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-21 22:57:42 -05:00
luigi1111
bd08387165
Merge pull request #6852
...
346381f workflows: don't brew update (selsta)
2020-10-21 22:56:37 -05:00
selsta
e79c88e610
functional_tests: inrease mining timeout
2020-10-22 04:17:11 +02:00
selsta
aad2f87a53
net_node: add --ban-list option
2020-10-20 19:39:44 +02:00
moneromooo-monero
874487fed8
blockchain: remove some dead code
...
This is already done
2020-10-20 16:50:36 +00:00
moneromooo-monero
cc034fe0c3
util: fix escaping more than one ?* in glob_to_regex
2020-10-20 16:46:53 +00:00
SChernykh
a25bc71f3f
Make Blockchain::get_fee_quantization_mask() compile time
...
This also removes potential thread safety bug in that function.
2020-10-20 14:16:09 +02:00
Nathan Dorfman
f1836ac28a
cryptonote_core: Fix missing override warnings
2020-10-19 18:23:07 -06:00
Lee Clagett
2abdbf63cf
Add support for i2p and tor seed nodes
2020-10-19 13:13:07 +00:00
Howard Chu
2014a8410a
Force CMAKE_SKIP_RPATH=ON
...
Fix empty RPATH token issue. Only affects Linux and FreeBSD.
2020-10-19 08:58:38 +01:00
Alexander Blair
faedcded39
Merge pull request #6891
...
4cf3545a3 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-18 23:26:17 -07:00
Alexander Blair
8e3f46dd0a
Merge pull request #6881
...
11b20229c tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
2020-10-18 23:25:54 -07:00
Alexander Blair
142489bd60
Merge pull request #6882
...
fcbfb0a00 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-18 23:25:32 -07:00
Alexander Blair
543d600042
Merge pull request #6875
...
a12a8174e Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-18 23:25:08 -07:00
Alexander Blair
9bbf66504e
Merge pull request #6862
...
5f228e4b7 Fix lgamma/signgam dependency (Howard Chu)
2020-10-18 23:24:06 -07:00
Riccardo Spagni
27a576ba34
Merge pull request #6917
...
49192a626 README: update fork table recommended version (selsta)
2020-10-18 17:25:04 +02:00
selsta
49192a626f
README: update fork table recommended version
2020-10-18 16:12:34 +02:00
xiphon
fc2f97177b
wallet2: wait for propagation timeout before marking tx as failed
2020-10-18 14:00:56 +00:00
moneromooo-monero
c67fa32496
bump default number of connections from 8 to 12
2020-10-18 13:25:05 +00:00
Howard Chu
b7dd8349f4
Allow setting start block on export
...
And make import honor the starting block# recorded in a bootstrap file
2020-10-18 14:01:44 +01:00
Alexander Blair
519740a1d3
Merge pull request #6905
...
88fde0309 blockchain: fix sync at v14 boundary (moneromooo-monero)
2020-10-18 05:51:43 -07:00
moneromooo-monero
88fde0309a
blockchain: fix sync at v14 boundary
...
Miners with MLSAG txes which they'd already verified included
a couple in that block, but the consensus rules had changed
in the meantime, so that block is technically invalid and any
node which did not already have those two txes in their txpool
could not sync. Grandfather them in, since it has no effect in
practice.
2020-10-18 11:52:33 +00:00
moneromooo-monero
453b8e267c
README: add OSS-fuzz status banner
2020-10-17 16:41:24 +00:00
xiphon
70eb0d1844
wallet2_api: implement stop() to interrupt refresh() loop once
2020-10-17 02:56:15 +00:00
Lee Clagett
13350f79df
Do not use peer_id tracking method over i2p/tor
2020-10-15 16:47:59 +00:00
moneromooo-monero
aaa3289e22
add more updates domains and make the voting generic, not just 2/3
2020-10-15 14:06:44 +00:00
Alexander Blair
bf65b07718
Merge pull request #6867
...
826a84478 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
2020-10-14 15:25:00 -07:00
Alexander Blair
abd6aa6ab8
Merge pull request #6863
...
b4c775663 cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests (xiphon)
2020-10-14 15:24:41 -07:00
xiphon
593ae2e9f9
device: Ledger - update status codes
2020-10-13 22:53:19 +00:00
luigi1111
819f9e1d9f
Merge pull request #6889
...
c01d1c1 README: recommend v0.17.1.0 (selsta)
2020-10-13 10:52:16 -05:00
luigi1111
2a093ace37
Merge pull request #6833
...
335ba12 README: update sponsors (selsta)
2020-10-13 10:39:53 -05:00
luigi1111
e503688a6b
Merge pull request #6828
...
1b3f220 Allow AddressBook description edits via wallet/api interface (xmrdsc)
2020-10-13 10:39:05 -05:00
luigi1111
8286f07b26
Merge pull request #6822
...
2e3caa2 Depends: Bump qt to 5.15.1 (TheCharlatan)
2020-10-13 10:38:15 -05:00
luigi1111
6ca2032fd7
Merge pull request #6808
...
d3e7c5a systemd: Don't use Type=forking (ndorf)
2020-10-13 10:37:10 -05:00
xiphon
ec14e4b8cd
wallet2: skip reorgs exceeding max-reorg-depth wallet setting
2020-10-13 15:23:35 +00:00
Lee Clagett
08eb0949f3
Change to more efficient allocation strategy in byte_stream
2020-10-13 15:10:54 +00:00
Lee Clagett
249eae5f4a
Allow byte_stream->byte_slice conversion to shrink unused buffer space
2020-10-13 15:09:18 +00:00
Alexis Enston
b49f48962b
fix next_seed_height regression in getblocktemplate rpc
2020-10-13 11:07:59 +01:00
xiphon
4cf3545a31
core_rpc_server: on_get_blocks - forward bootstrap daemon error
2020-10-13 00:44:59 +00:00
xiphon
ad7ea2c60c
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check
2020-10-12 23:49:37 +00:00
selsta
c01d1c1747
README: recommend v0.17.1.0
2020-10-13 01:21:03 +02:00
moneromooo-monero
fcbfb0a00a
wallet2: fix missing m_state field in wallet serialization
2020-10-12 15:35:52 +00:00
moneromooo-monero
11b20229c9
tx_pool: silence spammy harmless warning till we fix the bug
2020-10-12 14:07:40 +00:00
xiphon
a12a8174e0
Dandelion++: skip desynced peers in stem phase
2020-10-12 13:44:06 +00:00
Lee Clagett
7414e2bac1
Change epee binary output from std::stringstream to byte_stream
2020-10-10 15:28:40 +00:00
Justin Kat
3be170d778
Update README.md
2020-10-08 17:52:11 -04:00
selsta
335ba120c9
README: update sponsors
2020-10-08 01:44:34 +02:00
xiphon
826a84478d
cmake: Version - use CMAKE_CURRENT_LIST_DIR
2020-10-07 20:21:25 +00:00
Lee Clagett
386ef03be3
Add TLSA support to DNSSEC fetching
2020-10-07 15:43:31 +00:00
Howard Chu
5f228e4b7d
Fix lgamma/signgam dependency
...
This is a new indirect dependency due to the use of poisson_distribution,
introduced in PR#6354 commit 67ade8005
2020-10-06 19:25:49 +01:00
Lee Clagett
dff1d8067c
Fix tx flush callback queueing
2020-10-06 16:07:49 +00:00
xiphon
b4c775663a
cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests
2020-10-06 14:37:00 +00:00
Seth Simmons
49a279bdfa
docs: Add release checklist
2020-10-03 09:42:16 +02:00
Guillaume Le Vaillant
d00ca885bc
Move documentation files to their own directory
2020-10-03 09:18:59 +02:00
TheCharlatan
db70af1bbc
Unit Tests: Remove block reward upper bound size checks
...
Tests running after being compiled with `make debug-test` failed with
```
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight
```
With the introduction of the patch in
be82c40703 (diff-1a57d4e6013984c420da98d1adde0eafL113)
the assertions checking the weight of the median and current block
against a size limit were removed. Since the limit is now enforced by a
long divisor and a uint64_t type, checking in a separate test makes
little sense, so they are removed here.
2020-10-03 02:32:17 +02:00
selsta
346381f917
workflows: don't brew update
2020-09-30 02:01:49 +02:00
Alexander Blair
3cbb44a2fd
Merge pull request #6841
...
b6c4f8cd5 fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-27 16:17:17 -07:00
Alexander Blair
2e83628d02
Merge pull request #6840
...
6ee9f1260 fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
2020-09-27 16:16:54 -07:00
Alexander Blair
e6108b93d7
Merge pull request #6838
...
7fca814a6 build: ARM - disable stack trace due to segfault in libunwind (xiphon)
2020-09-27 16:16:21 -07:00
Alexander Blair
687f2b3c8d
Merge pull request #6836
...
163f83720 functional_tests: rewrite mining code, clearer timeout info (iamamyth)
2020-09-27 16:15:52 -07:00
Alexander Blair
5eb38d2533
Merge pull request #6834
...
4846743fd daemon: Windows - fix FAT32 warning, trailing backslash is required (xiphon)
2020-09-27 16:15:25 -07:00
Alexander Blair
82631c0884
Merge pull request #6824
...
0b26d380c link libzmq against libgssapi_krb5 if found (moneromooo-monero)
2020-09-27 16:14:37 -07:00
Michal m@lbit Malicki
f4b2382713
rpc_private_headers declaration fix
2020-09-27 13:41:44 +01:00
iamamyth
163f83720f
functional_tests: rewrite mining code, clearer timeout info
2020-09-24 20:04:05 +02:00
moneromooo-monero
b6c4f8cd54
fix a couple bugs found by OSS-fuzz
...
- index out of bounds when importing outputs
- accessing invalid CLSAG data
2020-09-24 15:30:38 +00:00
moneromooo-monero
6ee9f12607
fuzz_tests: fix build error in signature fuzz test
2020-09-24 15:17:57 +00:00
xiphon
7fca814a67
build: ARM - disable stack trace due to segfault in libunwind
2020-09-22 14:23:35 +00:00
xiphon
4846743fdc
daemon: Windows - fix FAT32 warning, trailing backslash is required
2020-09-20 13:57:44 +00:00
dsc
64e9526509
Extend TransactionInfo with coinbase and description attributes in wallet/api
2020-09-19 22:54:23 +02:00
dsc
1b3f220251
Allow AddressBook description edits via wallet/api interface
2020-09-19 18:29:46 +02:00
Tadeas Moravec
83da867474
Update error messages in daemon
...
When given a wrong argument, some daemon commands failed with "unknown
command" error, instead of a meaningful error message. This patch
brings consistency into the error messages.
In several places, this patch removes relatively useful messages,
and replaces them with more generic ones. E.g.,
- std::cout << "use: print_pl [white] [gray] [<limit>] [pruned]
[publicrpc]" << std::endl;
+ std::cout << "Invalid syntax: Too many parameters. For more
details, use the help command." << std::endl;
There are two reasons for this:
1. Consistency.
2. Removing duplicates.
The detailed information about the parameters is present in
the help messages already. Having it in two places increases
the risk that the messages would get out of date.
2020-09-18 14:04:19 +02:00
moneromooo-monero
0b26d380cd
link libzmq against libgssapi_krb5 if found
2020-09-17 14:51:33 +00:00
TheCharlatan
2e3caa2011
Depends: Bump qt to 5.15.1
2020-09-17 09:00:26 +02:00
luigi1111
d27d4526fe
Merge pull request #6819
...
c3f354e simplewallet fix wrong persistent-rpc-client-id name in help (moneromooo-monero)
2020-09-15 19:59:36 -05:00
luigi1111
5b3614e6a9
Merge pull request #6816
...
929ea98 Remove unused macros from cryptonote_config.h (TheCharlatan)
2020-09-15 19:58:39 -05:00
luigi1111
2b1488ef6f
Merge pull request #6793
...
de9a9fb update error message 'No unlocked balance in the specified account' (woodser)
2020-09-15 19:56:49 -05:00
luigi1111
ea587de300
Merge pull request #6745
...
80e535c wallet2: adapt to deterministic unlock time (TheCharlatan)
4971219 blockchain: deterministic UNIX time unlock checks (moneromooo-monero)
2020-09-15 19:55:03 -05:00
TheCharlatan
80e535c95a
wallet2: adapt to deterministic unlock time
2020-09-15 11:40:31 +00:00
moneromooo-monero
4971219c2c
blockchain: deterministic UNIX time unlock checks
...
Based on a patch by TheCharlatan <seb.kung@gmail.com >
2020-09-15 11:40:28 +00:00
moneromooo-monero
c3f354e6c1
simplewallet fix wrong persistent-rpc-client-id name in help
2020-09-14 20:50:35 +00:00
luigi1111
9bba1a24ea
Merge pull request #6815
...
ef4325f wallet2: fix tx sanity check triggering on pre-rct outputs (monermooo-monero)
2020-09-14 11:47:06 -05:00
luigi1111
2993d2004a
Merge pull request #6813
...
a3844e2 Fix typo in command line argument description (reinaldoacosta)
2020-09-14 11:45:55 -05:00
luigi1111
244ae22795
Merge pull request #6812
...
f240b1d build: prepare v0.17 (selsta)
2020-09-14 11:44:06 -05:00
selsta
f240b1dd88
build: prepare v0.17
2020-09-14 16:52:42 +02:00
TheCharlatan
929ea98662
Remove unused macros from cryptonote_config.h
2020-09-14 00:20:58 +02:00
moneromooo-monero
ef4325fd41
wallet2: fix tx sanity check triggering on pre-rct outputs
2020-09-12 17:51:41 +00:00
Reinaldulin
a3844e257e
Fix typo in command line argument description
2020-09-09 10:18:32 -04:00
Nathan Dorfman
d3e7c5a8ba
systemd: Don't use Type=forking
2020-09-08 11:16:43 -06:00
luigi1111
836067b68b
Merge pull request #6805
...
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
2020-09-07 15:31:20 -05:00
luigi1111
9c9c689db4
Merge pull request #6804
...
5498142 rpc: assume randomx from v13 onwards (moneromooo-monero)
2020-09-07 14:34:46 -05:00
luigi1111
df0dcea061
Merge pull request #6803
...
1b9fe07 Revert 'unbound: update to get build fixes' (moneromooo-monero)
2020-09-07 14:33:30 -05:00
luigi1111
3a761e10d2
Merge pull request #6800
...
036da6d Let stagenet hardfork happen before mainnet. (normoes)
2020-09-07 14:32:28 -05:00
luigi1111
fd657c7706
Merge pull request #6798
...
4e44306 enable CLSAG support for Trezor client (ph4r05)
2020-09-07 14:30:41 -05:00
moneromooo-monero
fc2cb224a9
blockchain: fix pow skipping for old blocks without precalc hash
2020-09-07 01:57:19 +00:00
moneromooo-monero
5498142e8f
rpc: assume randomx from v13 onwards
2020-09-07 01:13:06 +00:00
moneromooo-monero
1b9fe0761c
Revert "unbound: update to get build fixes"
...
This reverts commit 541a7c81a1 .
It breaks the depends build
2020-09-06 18:15:52 +00:00
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero)
9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-06 15:49:37 +02:00
Riccardo Spagni
2a7086caa8
Merge pull request #6802
...
541a7c81a unbound: update to get build fixes (moneromooo-monero)
2020-09-06 15:49:08 +02:00
moneromooo-monero
541a7c81a1
unbound: update to get build fixes
2020-09-06 11:47:55 +00:00
Norman Moeschter
036da6d45b
Let stagenet hardfork happen before mainnet.
2020-09-04 22:47:05 +01:00
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client
2020-09-04 01:24:58 +02:00
luigi1111
9fb2243db0
Merge pull request #6794
...
b09cc3d hardforks: add v13/v14 for testnet (moneromooo-monero)
2020-09-03 12:27:18 -05:00
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-03 12:25:59 -05:00
moneromooo-monero
b09cc3d03d
hardforks: add v13/v14 for testnet
2020-09-02 17:56:48 +00:00
woodser
de9a9fb340
update error message "No unlocked balance in the specified account"
2020-09-01 17:30:00 -04:00
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
2020-09-01 14:33:33 +00:00
luigi1111
2d8a197b91
Merge pull request #6789
...
bdcf587 net: fix get_tcp_endpoint, boost address_v4 ip in host byte order (xiphon)
2020-08-31 16:58:13 -05:00
luigi1111
77ffea0825
Merge pull request #6788
...
5245ba1 Made spelling, grammar, and punctuation changes. Squashed commits into one as requested. (cryptographicfool)
2020-08-31 16:57:17 -05:00
luigi1111
94b056c06e
Merge pull request #6786
...
975ae22 Fix send scalar z in plaintext (grydz)
333ae55 Update minimal Ledger Monero app version (grydz)
0a3c5a6 Update protocol version with Ledger's HW (grydz)
2020-08-31 16:54:51 -05:00
luigi1111
54d5f098f2
Merge pull request #6783
...
30c1cf8 repo: update 'sponsor' link (selsta)
2020-08-31 16:52:53 -05:00
luigi1111
a70374d3e6
Merge pull request #6782
...
c3f9913 supercop: update submodule (selsta)
2020-08-31 16:51:44 -05:00
luigi1111
a51ccc036f
Merge pull request #6770
...
bdc6b10 Fix ZMQ pruned bulletproof transactions (vtnerd)
2020-08-31 16:50:18 -05:00
luigi1111
61dd04b681
Merge pull request #6600
...
fa06c39 Bind signature to full address and signing mode (SarangNoether)
743608e wallet: allow signing a message with spend or view key (moneromooo-monero)
2020-08-31 16:49:03 -05:00
xiphon
bdcf587c79
net: fix get_tcp_endpoint, boost address_v4 ip in host byte order
2020-08-29 18:07:46 +00:00
Matt Smith
12a78e5e74
cmake: Use job pool feature to limit concurrent jobs
...
Add two new options, MONERO_PARALLEL_COMPILE_JOBS and
MONERO_PARALLEL_LINK_JOBS to try and prevent running out of memory when
building everything.
Requires >= cmake 3.0.0, and the use of the Ninja generator.
Useful links:
* https://cmake.org/cmake/help/latest/prop_gbl/JOB_POOLS.html
* https://reviews.llvm.org/D6304
2020-08-29 16:34:42 +01:00
Sarang Noether
fa06c39d97
Bind signature to full address and signing mode
2020-08-28 19:38:00 -04:00
moneromooo-monero
743608ec16
wallet: allow signing a message with spend or view key
2020-08-28 19:25:17 -04:00
luigi1111
5946002105
Merge pull request #6787
...
e6c81c5 ringct: fix CLSAG serialization after boost/epee changes (moneromooo-monero)
2020-08-28 18:08:03 -05:00
luigi1111
51bf6b5842
Merge pull request #6785
...
4a9bd8f core_tests: remove hardcoded hf version (monermooo-monero)
1dc427d core_tests: fix failures after v13 (moneromooo-monero)
2020-08-28 18:06:23 -05:00
cryptographicfool
5245ba132b
Made spelling, grammar, and punctuation changes. Squashed commits into one as requested.
...
Made some corrections as suggested.
2020-08-28 18:23:54 +00:00
moneromooo-monero
e6c81c5ea7
ringct: fix CLSAG serialization after boost/epee changes
...
also fix a an assert message refering t MLSAG
2020-08-28 11:52:54 +00:00
François Colas
975ae22211
Fix send scalar z in plaintext
...
The scalar z has not been generated on the HW thus it can't be sent
encrypted. The value is derived from the exported private view key.
2020-08-28 12:01:57 +02:00
François Colas
333ae55fef
Update minimal Ledger Monero app version
2020-08-28 12:00:25 +02:00
François Colas
0a3c5a605b
Update protocol version with Ledger's HW
2020-08-28 11:59:02 +02:00
moneromooo-monero
1dc427def9
core_tests: fix failures after v13
...
v13 enforces claiming the full block reward, so we need to keep
track of tx fees to add them to the coinbase
2020-08-28 00:18:39 +00:00
moneromooo-monero
4a9bd8f70f
core_tests: remove hardcoded hf version
2020-08-28 00:14:04 +00:00
Alexander Blair
44cd8a13ec
Merge pull request #6769
...
b641e0a2c Add clear method to byte_stream (Lee Clagett)
2020-08-27 12:05:16 -07:00
Alexander Blair
39a087406d
Merge pull request #6739
...
1660fe8a2 draft support of clsag (cslashm)
703944c4d CLSAG device support (Sarang Noether)
aff87b5f6 Added balance check to MLSAG/CLSAG performance tests (Sarang Noether)
f964a92c5 Updated MLSAG and CLSAG tests for consistency (Sarang Noether)
5aa1575e9 CLSAG verification performance test (Sarang Noether)
641b08c92 CLSAG optimizations (Sarang Noether)
82ee01699 Integrate CLSAGs into monero (moneromooo-monero)
8cd1d6df8 unit_tests: add ge_triple_scalarmult_base_vartime test (moneromooo-monero)
4b328c661 CLSAG signatures (Sarang Noether)
2020-08-27 12:03:24 -07:00
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test
2020-08-27 15:13:04 +00:00
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
2020-08-27 15:13:03 +00:00
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
2020-08-27 15:13:00 +00:00
cslashm
1660fe8a25
draft support of clsag
2020-08-27 12:44:18 +00:00
Sarang Noether
703944c4d4
CLSAG device support
2020-08-27 12:44:04 +00:00
Sarang Noether
aff87b5f6a
Added balance check to MLSAG/CLSAG performance tests
2020-08-27 12:44:04 +00:00
Sarang Noether
f964a92c57
Updated MLSAG and CLSAG tests for consistency
2020-08-27 12:44:04 +00:00
Sarang Noether
5aa1575e91
CLSAG verification performance test
2020-08-27 12:44:04 +00:00
Sarang Noether
641b08c920
CLSAG optimizations
2020-08-27 12:44:04 +00:00
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27 12:44:04 +00:00
moneromooo-monero
8cd1d6df8f
unit_tests: add ge_triple_scalarmult_base_vartime test
2020-08-27 12:44:01 +00:00
Sarang Noether
4b328c6616
CLSAG signatures
2020-08-27 12:43:29 +00:00
selsta
30c1cf83fc
repo: update "sponsor" link
2020-08-27 14:39:30 +02:00
Alexander Blair
c695470cff
Merge pull request #6771
...
7c7ccbd2a depends: fix broken links for ds_store / mac_alias (selsta)
2020-08-27 03:08:01 -07:00
Alexander Blair
0c101f1236
Merge pull request #6767
...
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
2020-08-27 03:07:32 -07:00
Alexander Blair
8aaeff46ee
Merge pull request #6766
...
12ffc79b2 qrcodegen: fix compilation with old gcc, use modern cmake (selsta)
2020-08-27 03:04:10 -07:00
Alexander Blair
27b49033fd
Merge pull request #6763
...
728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
2020-08-27 03:02:30 -07:00
Alexander Blair
05390fd2d4
Merge pull request #6762
...
3614f78d5 README: update list of third party monero packages (erciccione)
2020-08-27 03:02:12 -07:00
Alexander Blair
aa56bf66a6
Merge pull request #6761
...
9f05df199 travis: j3 -> j2 on i686-w64-mingw32 (selsta)
2020-08-27 03:01:47 -07:00
Alexander Blair
b04da25e4d
Merge pull request #6760
...
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27 03:01:28 -07:00
Alexander Blair
4fe2858b4d
Merge pull request #6746
...
20f603c6b Fix broken multisig pubkey sorting (Jason Rhinelander)
2020-08-27 02:58:53 -07:00
Alexander Blair
dd7fd2ef80
Merge pull request #6753
...
4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
2020-08-27 02:58:45 -07:00
Alexander Blair
a06c83db73
Merge pull request #6752
...
85899230d simplewallet: allow setting tx keys when sending to a subaddress (moneromooo-monero)
e916201f1 wallet2: fix setting tx keys when another is already set (moneromooo-monero)
2020-08-27 02:58:23 -07:00
Alexander Blair
42519b48a7
Merge pull request #6731
...
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
2020-08-27 02:55:48 -07:00
Alexander Blair
bad5d8d6f0
Merge pull request #6690
...
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27 02:54:30 -07:00
Alexander Blair
3f392341e7
Merge pull request #6660
...
839e1f4ba functional_tests: add p2p functional tests (moneromooo-monero)
2020-08-27 02:53:41 -07:00
Alexander Blair
38914fe6fa
Merge pull request #6613
...
55363c594 Avoid some temporary strings when reading off the database (moneromooo-monero)
2020-08-27 02:52:59 -07:00
selsta
c3f991332f
supercop: update submodule
2020-08-27 01:22:15 +02:00
moneromooo-monero
839e1f4bab
functional_tests: add p2p functional tests
...
Tests tx/block propagation and reorgs
2020-08-26 23:00:27 +00:00
Alexander Blair
aadd72202f
Merge pull request #6610
...
b6e904e54 README: mention pruning (moneromooo-monero)
2020-08-26 12:53:55 -07:00
Alexander Blair
a6f1fa0194
Merge pull request #6607
...
eb1b321fe miner: increase min/max intervals to full extents (moneromooo-monero)
2020-08-26 12:53:09 -07:00
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
...
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
2020-08-21 12:36:53 +00:00
selsta
7c7ccbd2a5
depends: fix broken links for ds_store / mac_alias
2020-08-20 21:33:23 +02:00
Lee Clagett
bdc6b10d62
Fix ZMQ pruned bulletproof transactions
2020-08-19 00:36:06 -04:00
Lee Clagett
b641e0a2c0
Add clear method to byte_stream
2020-08-17 21:30:34 -04:00
luigi1111
765db1ae7a
Revert "Use domain-separated ChaCha20 for in-memory key encryption"
...
This reverts commit 921dd8dde5 .
2020-08-17 14:08:59 -05:00
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.
For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.
Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.
Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database
2020-08-17 14:02:27 +00:00
Alexander Blair
43a4fd9e16
Merge pull request #6736
...
05ad4fa39 epee: further defending against exceptions in command handlers (moneromooo-monero)
2020-08-16 12:56:35 -07:00
Alexander Blair
43f5369bec
Merge pull request #6733
...
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu)
429d49512 Add options to print daily coin emission and fees (Howard Chu)
d745d2433 Don't forget size of prunable txn part (Howard Chu)
2020-08-16 12:56:03 -07:00
Alexander Blair
d73b1b6560
Merge pull request #6727
...
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16 12:55:25 -07:00
Alexander Blair
569d07d60b
Merge pull request #6722
...
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
2020-08-16 12:54:42 -07:00
Alexander Blair
7db379cc82
Merge pull request #6720
...
86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
2020-08-16 12:54:17 -07:00
Alexander Blair
10ad0d7eb2
Merge pull request #6718
...
85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
2020-08-16 12:53:50 -07:00
Alexander Blair
01b512f3a9
Merge pull request #6716
...
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair
f40b9e34e0
Merge pull request #6715
...
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
2020-08-16 12:51:57 -07:00
Alexander Blair
65d7d8312d
Merge pull request #6712
...
01cd3d934 For NetBSD, add instructions to README.md and define to ea_config.h (thomasvaughan)
2020-08-16 12:51:41 -07:00
Alexander Blair
43f91ee12e
Merge pull request #6703
...
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
2020-08-16 12:50:43 -07:00
Alexander Blair
d3e611fda2
Merge pull request #6698
...
a3933a2a5 Update RandomX to v1.1.8 (tevador)
2020-08-16 12:50:26 -07:00
Alexander Blair
79e93a8af8
Merge pull request #6691
...
6111689cf cmake: allow custom openssl path on macOS (selsta)
2020-08-16 12:48:07 -07:00
Alexander Blair
0b0da2aa81
Merge pull request #6689
...
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16 12:47:36 -07:00
Alexander Blair
236256f114
Merge pull request #6679
...
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16 12:46:51 -07:00
Alexander Blair
eba2189925
Merge pull request #6677
...
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
2020-08-16 12:46:27 -07:00
Alexander Blair
6b2d3deb20
Merge pull request #6662
...
e33428012 python-rpc: fix bad in_peers parameter (moneromooo-monero)
2020-08-16 12:45:56 -07:00
Alexander Blair
bc48494731
Merge pull request #6661
...
267ce5b71 avoid a couple needless copies (moneromooo-monero)
2020-08-16 12:45:37 -07:00
Alexander Blair
adcadd9ed0
Merge pull request #6634
...
01c384c5d workflows: update msys2 setup action v0 -> v1 (selsta)
2020-08-16 12:45:14 -07:00
Alexander Blair
8f02e7a7fc
Merge pull request #6632
...
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
2020-08-16 12:44:59 -07:00
Alexander Blair
976a9e0c72
Merge pull request #6618
...
2d5d74ff5 Mention correct libusb and libudev dependencies (MaxXor)
2020-08-16 12:44:28 -07:00
Alexander Blair
c6c4ead44e
Merge pull request #6614
...
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16 12:44:03 -07:00
Alexander Blair
a08df6eb1b
Merge pull request #6603
...
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16 12:43:38 -07:00
Alexander Blair
009ca6fcd3
Merge pull request #6601
...
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16 12:43:11 -07:00
Alexander Blair
9eebe01c58
Merge pull request #6593
...
6f5411d30 tests: fix missing error on missing python entry point (moneromooo-monero)
c6dc2850c python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
2020-08-16 12:41:10 -07:00
Alexander Blair
0f5eb0e70c
Merge pull request #6546
...
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
2020-08-16 12:40:51 -07:00
Alexander Blair
461651fce5
Merge pull request #6542
...
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-08-16 12:40:37 -07:00
Alexander Blair
b61a9afa5d
Merge pull request #6500
...
a07c8abcc Update expat.mk (ArqTras)
2020-08-16 12:40:17 -07:00
Alexander Blair
6d29ee6c52
Merge pull request #6493
...
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16 12:39:59 -07:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
...
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
erciccione
3614f78d5f
README: update list of third party monero packages
...
Removed AUR package, since doesn't seem to exist anymore and added Debian package (the CCS-funded one)
2020-08-16 21:38:11 +02:00
Alexander Blair
13549d590e
Merge pull request #6329
...
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16 12:37:43 -07:00
xiphon
728ba38b11
rpc: always send raw txes through P2P (don't use bootstrap daemon)
...
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
2020-08-16 17:34:28 +00:00
moneromooo-monero
07442a6059
Fix build with Boost 1.74
...
Thanks iDunk for testing
2020-08-16 16:23:26 +00:00
selsta
12ffc79b27
qrcodegen: fix compilation with old gcc, use modern cmake
2020-08-16 18:06:55 +02:00
selsta
9f05df1996
travis: j3 -> j2 on i686-w64-mingw32
2020-08-15 02:42:23 +02:00
Lee Clagett
4e2377995d
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
2020-08-14 23:01:00 +00:00
Lee Clagett
98c151ecb8
Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster
2020-08-14 19:47:19 +00:00
Lee Clagett
60627c9f24
Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster
2020-08-14 19:46:59 +00:00
Lee Clagett
fe96e66ebe
Fix pruned tx for ZMQ's GetBlocksFast
2020-08-14 19:46:33 +00:00
moneromooo-monero
85899230d1
simplewallet: allow setting tx keys when sending to a subaddress
...
The tx key derivation is different then
2020-08-10 21:25:51 +00:00
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
...
There are a few Borromean proofs txes in the v8 era, and these
aren't supported by get_pruned_transaction_weight. Moreover, only
only the most recent variant of bulletproofs is currently supported.
2020-08-10 16:17:39 +00:00
Sarang Noether
921dd8dde5
Use domain-separated ChaCha20 for in-memory key encryption
2020-08-09 19:11:54 -04:00
Sarang Noether
6bfcd31015
Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-09 18:42:15 -04:00
Alexander Blair
c108c5e2f0
Merge pull request #6354
...
67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
2020-08-09 06:42:49 -07:00
moneromooo-monero
e916201f12
wallet2: fix setting tx keys when another is already set
...
insert doesn't actually insert if another element with the
same key is already in the map
2020-08-08 14:40:03 +00:00
Jason Rhinelander
20f603c6be
Fix broken multisig pubkey sorting
...
The sort predicate is a boolean ordered-before value, but these are
returning the memcmp value directly, and thus returns true whenever the
pubkeys aren't equal. This means:
- it isn't actually sorting.
- it can (and does) segfault for some inputs.
2020-08-05 12:42:27 -03:00
Alexander Blair
9414194b1e
Merge pull request #6571
...
1d31e6c00 net_node: remove dead seed nodes (selsta)
2020-08-05 07:57:54 -07:00
Alexander Blair
d9deb2c2fe
Merge pull request #6418
...
e5214a2ca Adding ZMQ/Pub support for txpool_add and chain_main events (Lee Clagett)
2020-08-05 07:54:31 -07:00
Howard Chu
4f01cf4b46
Tweak format, add option for difficulty
...
Set input, output, ringsize averages to 2 decimal places precision
Add option to show min/max/av per-block difficulty
2020-08-03 13:13:14 +01:00
moneromooo-monero
05ad4fa397
epee: further defending against exceptions in command handlers
2020-08-02 00:22:47 +00:00
Howard Chu
429d495121
Add options to print daily coin emission and fees
...
Closes #6735
2020-08-01 20:48:42 +01:00
Howard Chu
d745d24333
Don't forget size of prunable txn part
...
Fixes #6732
2020-08-01 13:41:38 +01:00
moneromooo-monero
db5d6e4602
wallet2: fix wrong name when checking RPC cost
2020-07-31 14:17:23 +00:00
moneromooo-monero
13eee1d6ab
rpc: reject wrong sized txid
...
Reporter requested credit to be given to Decred
2020-07-30 22:52:14 +00:00
moneromooo-monero
92e6b7df2c
easylogging++: fix crash with reentrant logging
2020-07-30 22:52:13 +00:00
moneromooo-monero
6dd95d5308
epee: guard against exceptions in RPC handlers
2020-07-30 22:52:12 +00:00
moneromooo-monero
90016ad744
blockchain: guard against exceptions in add_new_block/children
...
Reporter requested credit to be given to Decred
2020-07-30 22:52:11 +00:00
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
...
It's more obvious there's no txid, and it saves space
2020-07-25 17:01:21 +00:00
moneromooo-monero
8baa7bb238
daemon: don't print "(pruned)" for coinbase txes
...
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
2020-07-24 13:42:20 +00:00
rbrunner7
fb31167b12
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
2020-07-24 07:12:11 +02:00
koe
85efc88c1e
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test
2020-07-23 03:36:05 -05:00
Jean Pierre Dudey
86abf558cb
epee: Remove unused functions in local_ip.h
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech >
2020-07-22 19:06:01 -05:00
xiphon
76c16822d0
wallet2_api: implement runtime proxy configuration
2020-07-20 13:45:12 +00:00
xiphon
3d6bc0a680
wallet2: throw a error on wallet initialization failure
2020-07-20 04:40:34 +00:00
thomasvaughan
01cd3d9342
For NetBSD, add instructions to README.md and define to ea_config.h
2020-07-19 12:53:57 +00:00
Alexander Blair
5d850dde99
Merge pull request #6586
...
40b73d2a6 cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH (xiphon)
2020-07-19 03:43:07 -07:00
Alexander Blair
2a82258dff
Merge pull request #6580
...
ed901798d version: update name (selsta)
2020-07-19 03:42:43 -07:00
Alexander Blair
3434cc24a2
Merge pull request #6578
...
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
2020-07-19 03:41:55 -07:00
Alexander Blair
9871fefbf9
Merge pull request #6565
...
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
2020-07-19 03:40:19 -07:00
Alexander Blair
c0a6e1aab9
Merge pull request #6557
...
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
2020-07-19 03:39:53 -07:00
Alexander Blair
bb0241da6e
Merge pull request #6538
...
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
2020-07-19 03:38:53 -07:00
Alexander Blair
61e5208181
Merge pull request #6537
...
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
2020-07-19 03:38:07 -07:00
Alexander Blair
6d6c691a0f
Merge pull request #6536
...
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
2020-07-19 03:37:15 -07:00
Alexander Blair
36d50d93f2
Merge pull request #6534
...
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
2020-07-19 03:36:39 -07:00
Alexander Blair
912cbad6db
Merge pull request #6529
...
153977aed libzmq should be libzmq4. (russoj88)
2020-07-19 03:35:14 -07:00
Alexander Blair
814e617117
Merge pull request #6526
...
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
2020-07-19 03:34:52 -07:00
Alexander Blair
3ba6c7fd30
Merge pull request #6516
...
8656a8c9f remove double includes (sumogr)
2020-07-19 03:34:28 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Alexander Blair
616558d512
Merge pull request #6509
...
71693f06 systemd: Make sure required folders exist (Age Bosma)
2020-07-19 03:32:03 -07:00
Alexander Blair
7cd0d7f324
Merge pull request #6501
...
3843a6ab Made ccache optional (opt out) and tidied up the FindCcache.cmake (mj-xmr)
2020-07-19 03:29:26 -07:00
Alexander Blair
65938d26f6
Merge pull request #6497
...
db8563cb performance_tests: some windows fixes (moneromooo-monero)
2020-07-19 03:27:55 -07:00
Alexander Blair
2fa20016a7
Merge pull request #6489
...
7765da6e Keys: Add key for rbrunner7 (rbrunner7)
2020-07-19 03:27:34 -07:00
Alexander Blair
5041de8a3b
Merge pull request #6488
...
99684e3e simplewallet: add show_qr_code command (selsta)
2020-07-16 06:14:30 -07:00
Alexander Blair
66235c7f02
Merge pull request #6476
...
6d41d9e8 contrib: remove codefresh pipeline (selsta)
2020-07-16 06:13:20 -07:00
Alexander Blair
17823be66d
Merge pull request #6475
...
91182330 snap: remove from repo (selsta)
2020-07-16 06:12:26 -07:00
luigi1111
cb882dfc55
Merge pull request #6670
...
332d607 tx_pool: mine stem txes in fake chain mode (moneromooo-monero)
2020-07-09 12:45:05 -05:00
moneromooo-monero
332d60719a
tx_pool: mine stem txes in fake chain mode
...
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-07-09 14:52:13 +00:00
luigi1111
9f93a1b632
Merge pull request #6650
...
0fd6cce blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
2020-07-08 20:38:03 -05:00
moneromooo-monero
0fd6ccef21
blockchain: fix timestamp/difficulty cache getting out of sync
...
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.
To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
2020-07-08 22:31:51 +00:00
luigi1111
803f58553b
Merge pull request #6675
...
3721d56 epee: fix array underflow in unicode parsing (moneromooo-monero)
2020-07-08 17:27:53 -05:00
luigi1111
99b14ccd6a
Merge pull request #6647
...
4d8d121 Fix D++ block template check (vtnerd)
2020-07-08 17:25:01 -05:00
luigi1111
18bb011afe
Merge pull request #6629
...
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-07-08 17:23:28 -05:00
luigi1111
e8d87fccc2
Merge pull request #6627
...
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-07-08 17:22:33 -05:00
luigi1111
0376195015
Merge pull request #6611
...
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-07-08 17:21:31 -05:00
luigi1111
3057f52f89
Merge pull request #6599
...
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08 17:20:29 -05:00
luigi1111
228101a72e
Merge pull request #6597
...
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-07-08 17:18:10 -05:00
luigi1111
81c2586358
Merge pull request #6588
...
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-07-08 17:15:19 -05:00
luigi1111
340e1943ac
Merge pull request #6587
...
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-07-08 17:14:09 -05:00
luigi1111
be170c485c
Merge pull request #6584
...
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-07-08 17:12:43 -05:00
luigi1111
8b3fa2d373
Merge pull request #6574
...
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-07-08 17:11:32 -05:00
luigi1111
634262f3f5
Merge pull request #6568
...
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-07-08 17:10:39 -05:00
luigi1111
f1334ebf64
Merge pull request #6566
...
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-07-08 17:08:58 -05:00
luigi1111
35e2520115
Merge pull request #6559
...
15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
2020-07-08 17:07:50 -05:00
luigi1111
ee817e00bb
Merge pull request #6550
...
ca60d60 easylogging++: sanitize log payload (moneromooo-monero)
2020-07-08 17:06:26 -05:00
luigi1111
ed903578d7
Merge pull request #6544
...
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-08 17:04:41 -05:00
luigi1111
7d903bc992
Merge pull request #6528
...
b73f4e7 [master]: Update gitian yml files (iDunk5400)
2020-07-08 17:03:37 -05:00
selsta
ed901798d9
version: update name
2020-07-06 23:22:25 +02:00
tevador
a3933a2a5e
Update RandomX to v1.1.8
2020-07-04 15:24:39 +02:00
selsta
6111689cfa
cmake: allow custom openssl path on macOS
2020-06-25 20:31:16 +02:00
moneromooo-monero
afd002c31f
daemon: print sampling time in print_net_stats
2020-06-25 13:03:59 +00:00
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k)
2020-06-25 13:03:24 +00:00
selsta
2f1ad3b3d2
updates: mac gui .tar.bz2 -> .dmg
2020-06-22 02:55:22 +02:00
Dusan Klinec
f9e3fcdf3e
add trezor support to sweep_single
2020-06-21 23:17:58 +02:00
moneromooo-monero
3721d5688f
epee: fix array underflow in unicode parsing
...
Reported by minerscan
Also independently found by OSS-Fuzz just recently
2020-06-21 18:22:16 +00:00
selsta
99684e3ec3
simplewallet: add show_qr_code command
...
Thanks to iDunk for helping with Windows.
2020-06-21 20:15:10 +02:00
luigi1111
93257997bd
Merge pull request #6656
...
bde7f1c fuzz_tests: fix init check in oss-fuzz mode (moneromooo-monero)
c4b7420 Do not use PIE with OSS-Fuzz (moneromooo-monero)
c4df8b1 fix leaks in fuzz tests (moneromooo-monero)
38ca1bb fuzz_tests: add a tx extra fuzz test (moneromooo-monero)
2020-06-19 10:17:51 -05:00
moneromooo-monero
e334280127
python-rpc: fix bad in_peers parameter
2020-06-17 14:34:16 +00:00
luigi1111
b3d6382d40
Merge pull request #6637
...
58e1c8b repo: update donation fund address (selsta)
2020-06-15 15:54:22 -05:00
moneromooo-monero
267ce5b718
avoid a couple needless copies
2020-06-14 18:05:35 +00:00
moneromooo-monero
bde7f1c5cc
fuzz_tests: fix init check in oss-fuzz mode
2020-06-14 16:10:49 +00:00
moneromooo-monero
c4b74208c7
Do not use PIE with OSS-Fuzz
2020-06-14 14:03:18 +00:00
moneromooo-monero
c4df8b1390
fix leaks in fuzz tests
2020-06-14 12:54:13 +00:00
moneromooo-monero
38ca1bb389
fuzz_tests: add a tx extra fuzz test
2020-06-14 12:54:10 +00:00
Lee Clagett
4d8d121462
Fix D++ block template check
2020-06-12 22:05:52 -04:00
selsta
58e1c8b031
repo: update donation fund address
2020-06-09 12:19:39 +02:00
stoffu
7bd66b01bf
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation
...
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
2020-06-09 10:40:51 +09:00
luigi1111
ff4d470629
Merge pull request #6576
...
4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-06-08 14:27:05 -05:00
luigi1111
c4f4091dd4
Merge pull request #6561
...
c17fe81 wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-06-08 14:21:33 -05:00
luigi1111
445f74c71a
Merge pull request #6556
...
5ed37ba serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-06-08 14:18:09 -05:00
luigi1111
28745b1b63
Merge pull request #6553
...
bb5c5df cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-06-08 14:16:42 -05:00
luigi1111
e17c864ba2
Merge pull request #6549
...
82d21f5 easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
2020-06-08 14:12:08 -05:00
luigi1111
e27604ff10
Merge pull request #6539
...
85164a8 epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
2020-06-08 14:09:22 -05:00
luigi1111
3a577f1ce7
Merge pull request #6525
...
86cf811 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
2020-06-08 14:07:45 -05:00
luigi1111
967285a9fa
Merge pull request #6522
...
29e563b Fixed bugs for take_slice and byte_stream->byte_slice (vtnerd)
2020-06-08 14:05:05 -05:00
luigi1111
09667700e8
Merge pull request #6519
...
ab44293 trezor: add new firmware version support (ph4r05)
2020-06-08 14:03:57 -05:00
luigi1111
37c359e765
Merge pull request #6514
...
4baee20 build: prepare v0.16.0.0 release (selsta)
2020-06-08 14:02:00 -05:00
selsta
01c384c5de
workflows: update msys2 setup action v0 -> v1
2020-06-07 21:03:33 +02:00
woodser
ef694d028f
fix warning by removing std::move() on temporary http_client object
2020-06-06 11:38:32 -04:00
moneromooo-monero
795e18632c
blockchain: fix total_height in getblocks.bin response
2020-06-05 15:27:07 +00:00
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
...
Got broken after making one of those micro optimizations requested on review..
2020-06-05 11:21:24 +00:00
MaxXor
2d5d74ff5c
Mention correct libusb and libudev dependencies
2020-06-02 14:00:31 +02:00
moneromooo-monero
b6e904e547
README: mention pruning
2020-06-01 17:48:11 +00:00
luigi1111
992b7ce30f
Merge pull request #6612
...
7aeb503 Fix boost <1.60 compilation and fix boost 1.73+ warnings (vtnerd)
2020-06-01 08:52:12 -05:00
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
2020-05-31 21:18:11 -04:00
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds
2020-05-31 22:28:23 +00:00
moneromooo-monero
eb1b321fe2
miner: increase min/max intervals to full extents
...
This prevents setting target to, eg, 65 being ignored
and remove an unused constant
2020-05-31 12:36:47 +00:00
luigi1111
7e78da7772
Merge pull request #6582
...
2314dae workflows: fix windows build (selsta)
2020-05-28 12:53:58 -05:00
moneromooo-monero
9b86e14c5a
functional_tests: add simple relay_tx test
2020-05-28 12:49:17 +00:00
moneromooo-monero
6e4a55ba7e
rpc: fix relay_tx error return mixup
2020-05-28 11:33:27 +00:00
luigi1111
d6d4a03b85
Merge pull request #6535
...
81773f5 fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero)
cb4edc1 cmake: ASAN and PIE don't mix (moneromooo-monero)
2020-05-27 18:27:06 -05:00
luigi1111
463d044f5e
Merge pull request #6531
...
f35ced6 build: fix boost 1.73 compatibility (selsta)
2020-05-27 18:25:33 -05:00
François Colas
ec46069248
Fix incorrect lenght of command INS_PREFIX_HASH
...
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
2020-05-27 18:06:19 +02:00
moneromooo-monero
6f5411d305
tests: fix missing error on missing python entry point
2020-05-27 13:11:01 +00:00
moneromooo-monero
c6dc2850c2
python-rpc: add missing sync_txpool python entry point
2020-05-27 13:11:00 +00:00
moneromooo-monero
bcef52d430
daemon: remove time based "update needed" status string
2020-05-24 21:44:03 +00:00
xiphon
40b73d2a6c
cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH
2020-05-24 16:47:06 +00:00
rbrunner7
7d0b7e83ef
[master] MMS: New 'config_checksum' subcommand
2020-05-24 10:23:55 +02:00
moneromooo-monero
82d21f5b3c
easylogging++: sanitize log payload
...
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
2020-05-24 08:38:59 +02:00
moneromooo-monero
78d435a5fa
rpc: don't display invalid json errors on default log level
...
It's not something the user needs to know, and will display
attacker controlled data
2020-05-23 12:26:49 +00:00
selsta
2314dae8c8
workflows: fix windows build
2020-05-23 02:30:09 +02:00
xiphon
a6803231e6
daemon: complain if data dir resides on FAT32 volume (Windows)
2020-05-21 15:23:44 +00:00
moneromooo-monero
4d3c2d0b7b
rpc: add a sanity limit to a few RPC in restricted mode
2020-05-20 19:17:49 +00:00
Doyle
15538f7e3f
ByteSlice: Fix persisting ptr to std::moved SSO buffer
...
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-20 10:13:58 +10:00
selsta
1d31e6c000
net_node: remove dead seed nodes
2020-05-20 01:06:03 +02:00
moneromooo-monero
7ebb351c2d
rpc: lock access to the rpc payment object
2020-05-19 18:26:28 +00:00
moneromooo-monero
f0371210e9
cryptonote_core: remove "We are most likely forked" message
...
It's time based and we don't have forks every 6 months anymore
2020-05-19 16:27:24 +00:00
moneromooo-monero
567402c508
protocol: move the "peer claims higher version" warning to debug
...
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
2020-05-19 16:14:53 +00:00
moneromooo-monero
72cdfa4a20
fix a few typos in error messages
...
Reported by adrelanos
2020-05-19 15:59:26 +00:00
moneromooo-monero
c17fe815a2
wallet2: fix multisig data clearing stomping on a vector
2020-05-19 10:45:40 +00:00
moneromooo-monero
f1d0457523
cryptonote_protocol: stricter limit to number of objects requested
...
Reported by xnbya
2020-05-19 10:33:03 +00:00
moneromooo-monero
bb5c5dff15
cryptonote_protocol: reject requests/notifications before handshake
...
Reported by xnbya
2020-05-19 10:33:02 +00:00
moneromooo-monero
ca60d60fea
easylogging++: sanitize log payload
...
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
2020-05-19 10:31:28 +00:00
moneromooo-monero
bd69e3b37a
testdb: add override in a couple places where it's missing
2020-05-18 14:17:48 +00:00
moneromooo-monero
5ed37ba83c
serialization: fix bad rapidjson api usage
2020-05-18 14:17:23 +00:00
moneromooo-monero
5741b4d74d
blockchain: detect and log bad difficulty calculations
2020-05-17 12:44:45 +00:00
moneromooo-monero
eda1675858
wallet_rpc_server: use unlock_time in suggested confirmations calc
2020-05-17 01:03:32 +00:00
moneromooo-monero
35665df206
protocol: don't drop a connection if we can't get a compatible chain
...
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block
In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
2020-05-16 19:55:31 +00:00
moneromooo-monero
85164a8daf
epee: use memwipe rather than memset for md5 secrets
...
That's used by HTTP auth now
2020-05-16 18:12:55 +00:00
moneromooo-monero
7178bb5c84
keccak: remove aligned check
...
Some tools report the alignment check as UB, which seems a bit
dubious, but since the performance difference between the two
versions is minimal, I'll go with the safe version
2020-05-16 12:28:27 +00:00
Lee Clagett
a11ec4ac1d
Support for supercop ASM in wallet, and benchmark for supercop
2020-05-16 10:25:17 +00:00
moneromooo-monero
5e0ea6e95c
simplewallet: add missing calls to on_command
...
It resets the inactivity time
2020-05-16 00:48:44 +00:00
moneromooo-monero
bd96536637
db_lmdb: test for mmap support at init time
...
It'll make it clearer when a DB init failure is due to being
on a filesystem which does not support mmap
2020-05-16 00:20:22 +00:00
moneromooo-monero
cb4edc1f45
cmake: ASAN and PIE don't mix
...
Binaries built with both crash on startup with maybe 25% probability
2020-05-15 17:18:50 +00:00
moneromooo-monero
81773f55a4
fuzz_tests: refactor and add OSS-Fuzz compatibility
2020-05-15 17:18:27 +00:00
Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
2020-05-15 07:57:35 +00:00
selsta
f35ced6d7f
build: fix boost 1.73 compatibility
2020-05-14 22:57:53 +02:00
moneromooo-monero
86cf811a39
simplewallet: don't complain about incoming payment ids on change
2020-05-13 23:28:31 +00:00
russoj88
153977aed4
libzmq should be libzmq4.
2020-05-13 14:21:18 -07:00
iDunk5400
b73f4e78d0
[master]: Update gitian yml files
2020-05-13 22:08:00 +02:00
selsta
4baee200a7
build: prepare v0.16.0.0 release
2020-05-13 16:15:03 +02:00
moneromooo-monero
5d882f4f14
blockchain: fix theoretical race getting bulk timestamps
2020-05-13 13:42:41 +00:00
Dusan Klinec
ab4429346d
trezor: add new firmware version support
2020-05-12 16:31:36 +02:00
Lee Clagett
29e563bb1e
Fixed bugs for take_slice and byte_stream->byte_slice
2020-05-12 01:26:37 -04:00
sumogr
8656a8c9ff
remove double includes
2020-05-11 13:53:17 +00:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
Age Bosma
71693f06a1
systemd: Make sure required folders exist
...
The default monero.conf file depends on the existence of the folders `/var/log/monero/` and `/var/lib/monero/`.
This change makes sure systemd will create them, together with the proper permissions, if they don't exist.
`StateDirectory` can be considered an extra safety in case the user `monero` happens to have been created with specifying `/var/lib/monero/` as a home folder but without actually creating it.
2020-05-06 14:57:47 +02:00
mj-xmr
3843a6aba5
Made ccache optional (opt out) and tidied up the FindCcache.cmake
2020-05-04 09:46:31 +02:00
Lee Clagett
e5214a2ca2
Adding ZMQ/Pub support for txpool_add and chain_main events
2020-05-04 02:06:35 +00:00
ArqTras
a07c8abcc1
Update expat.mk
2020-05-03 22:37:58 +02:00
moneromooo-monero
db8563cb46
performance_tests: some windows fixes
...
Too many iterations cause std::bad_alloc for the timings vector,
and the micro prefix displays as some other character, so use u.
Reported by iDunk
2020-05-03 14:11:45 +00:00
rbrunner7
7765da6eb2
Keys: Add key for rbrunner7
2020-04-29 22:15:42 +02:00
selsta
6d41d9e8f9
contrib: remove codefresh pipeline
2020-04-25 00:25:55 +02:00
selsta
91182330d7
snap: remove from repo
2020-04-25 00:15:37 +02:00