luigi1111
ab18fea350
Merge pull request #8096
...
7430b9e Fix Android OpenSSL build (Howard Chu)
2021-11-30 17:07:33 -05:00
luigi1111
36e94231e8
Merge pull request #8094
...
6b881af cmake: set 3.5 as minimum version (selsta)
2021-11-30 17:07:05 -05:00
Howard Chu
7430b9e7dc
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:16:19 +00:00
selsta
6b881af1ac
cmake: set 3.5 as minimum version
2021-11-29 15:08:48 +01:00
luigi1111
0ea5cc9bd2
Merge pull request #7977
...
fc4e574 Add simple script for running gitian-build (Howard Chu)
2021-11-29 00:52:50 -06:00
luigi1111
6a3902b9a5
Merge pull request #8085
...
39bb22a blocks: update checkpoints.dat (selsta)
2021-11-26 23:06:34 -06:00
luigi1111
dfb818a01b
Merge pull request #8084
...
a4954a9 rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
2021-11-26 23:05:52 -06:00
luigi1111
a96fd84502
Merge pull request #8075
...
6f80a46 Add python method (Howard Chu)
c09054b Add calcpow RPC (Howard Chu)
2021-11-26 23:04:57 -06:00
luigi1111
bf54ddd048
Merge pull request #8072
...
7a21487 Update RandomX (Jethro Grassie)
2021-11-26 23:03:50 -06:00
luigi1111
0de147644a
Merge pull request #8056
...
9d6ba37 hidapi: bump hidapi to 0.11.0 (selsta)
2021-11-26 22:59:55 -06:00
selsta
39bb22a114
blocks: update checkpoints.dat
2021-11-26 18:58:17 +01:00
Howard Chu
6f80a46afa
Add python method
2021-11-21 01:25:42 +00:00
Howard Chu
c09054bbf9
Add calcpow RPC
...
Calculate PoW hash for a block candidate
2021-11-20 18:51:45 +00:00
Jethro Grassie
7a2148744c
Update RandomX
2021-11-20 00:08:36 -05:00
luigi1111
72e778a04c
Merge pull request #8049
...
782e8a3 Update RandomX to v1.1.10 (tevador)
2021-11-09 22:55:54 -06:00
luigi1111
331c3e4ba3
Merge pull request #8039
...
c942c2c device: fix ledger error strings, add human friendly messages (selsta)
99b97dc device: Ledger - update status codes (xiphon)
2021-11-09 22:54:50 -06:00
luigi1111
369853979a
Merge pull request #8037
...
df79eb1 depends: openssl 1.1.1k -> 1.1.1l (selsta)
2021-11-09 22:53:18 -06:00
luigi1111
c803f6727a
Merge pull request #8032
...
c9f73f1 slow_hash: don't blow out Mac stack on ARM64 (Howard Chu)
2021-11-09 22:51:03 -06:00
luigi1111
85653bcd83
Merge pull request #8023
...
3cb7fda build: prepare v0.17.3.0 (selsta)
2021-11-09 22:49:19 -06:00
luigi1111
e4376eed9e
Merge pull request #7997
...
29c03e2 wallet_api: enable set_strict_default_file_permissions (tobtoht)
1c26d34 epee: add missing header (selsta)
1d451a6 depends: update zeromq package to 4.3.4 (selsta)
5180610 cmake: use CMAKE_CURRENT_LIST_DIR for git version (selsta)
5aae00a epee: avoid ADL selecting C++14 std::quoted (selsta)
cf31136 cmake: set cpp14 standard (selsta)
945665f fix median overflow bug (koe)
908ecb3 LMDB: fix deadlock in resized detection (Howard Chu)
a492c4e blockchain: fix pedantic assert (selsta)
1e663e8 Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
4760f8b Wallet2: Update 'approximate_testnet_rolled_back_blocks' (rbrunner7)
76b6120 cmake: set required C/C++ standard to 11 (selsta)
3067987 Fix parallel make of OpenSSL (Howard Chu)
1219c74 add singapore.node.xmr.pm to seed nodes (lza_menace)
689dd52 net_node: add seed node (selsta)
95936a3 depends: update unwind, fix build with ubuntu 21.04 (selsta)
e2c802f Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
14df8ad epee: don't log raw packet data (moneromooo-monero)
5fa7208 Mac: Enable on ARM, by not enforcing x86_64 (mj-xmr)
fe6ab93 daemon: allow proxy configuration (anon)
52dcc03 bootstrap_daemon: proxy configuration support (xiphon)
a6df656 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
2021-11-09 22:47:33 -06:00
selsta
9d6ba37ad4
hidapi: bump hidapi to 0.11.0
2021-11-10 03:16:39 +01:00
tevador
782e8a3c08
Update RandomX to v1.1.10
2021-11-08 21:33:11 +01:00
selsta
c942c2c97b
device: fix ledger error strings, add human friendly messages
2021-11-03 00:14:10 +01:00
xiphon
99b97dc389
device: Ledger - update status codes
2021-11-03 00:05:03 +01:00
selsta
df79eb15e2
depends: openssl 1.1.1k -> 1.1.1l
2021-11-02 19:08:18 +01:00
luigi1111
97b7a41bfa
Merge pull request #8030
...
89a0b31 crypto: fix typo in ifdef (selsta)
2021-11-01 12:32:49 -05:00
luigi1111
f68e72b2a2
Merge pull request #8014
...
103c973 wallet2: fix key encryption when changing ask-password from 0/1 to 2 (moneromooo-monero)
2021-11-01 12:26:41 -05:00
Howard Chu
c9f73f1c7a
slow_hash: don't blow out Mac stack on ARM64
2021-10-30 22:28:32 +01:00
selsta
3cb7fda428
build: prepare v0.17.3.0
2021-10-29 22:26:59 +02:00
selsta
89a0b31380
crypto: fix typo in ifdef
2021-10-29 17:58:53 +02:00
luigi1111
fce167d7cc
Merge pull request #8022
...
6c084e1 protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
2021-10-25 19:03:13 -05:00
luigi1111
b2185fe512
Merge pull request #8007
...
8bc414b Add README to release archives (Howard Chu)
840cd25 README v12 fork occurred on 2019-11-30 as expected (Howard Chu)
2021-10-25 19:01:24 -05:00
luigi1111
2ac8f5b58e
Merge pull request #7996
...
423b655 socks: ignore any exceptions in shutdown/close (selsta)
2021-10-25 18:58:20 -05:00
moneromooo-monero
a4954a9eeb
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:05 +00:00
moneromooo-monero
6c084e1fa3
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-23 11:51:30 +00:00
selsta
423b6553a1
socks: ignore any exceptions in shutdown/close
2021-10-22 22:01:01 +02:00
tobtoht
29c03e2d90
wallet_api: enable set_strict_default_file_permissions
2021-10-22 05:51:57 +02:00
selsta
1c26d34a2a
epee: add missing header
2021-10-22 04:51:49 +02:00
selsta
1d451a6855
depends: update zeromq package to 4.3.4
2021-10-21 20:02:53 +02:00
selsta
5180610c4b
cmake: use CMAKE_CURRENT_LIST_DIR for git version
2021-10-21 20:02:30 +02:00
selsta
5aae00ac79
epee: avoid ADL selecting C++14 std::quoted
2021-10-20 19:35:17 +02:00
moneromooo-monero
103c9733b3
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:00:18 +00:00
selsta
cf31136617
cmake: set cpp14 standard
...
It's 2021, we can easily switch to C++14 without any troubles.
2021-10-18 07:33:17 +02:00
luigi1111
61e16307cd
Merge pull request #8005
...
3a3fbc3 ARMv8: detect AES support dynamically (Howard Chu)
2021-10-17 23:41:08 -05:00
luigi1111
7ab32cf13a
Merge pull request #7993
...
c599b56 Decrease the 'recent spend window' in gamma re-select to 15 blocks (j-berman)
2021-10-17 23:37:39 -05:00
luigi1111
0ad56647d3
Merge pull request #7870
...
56589dd UB: virtual methods in destructor at Trezor (mj-xmr)
2021-10-17 23:28:38 -05:00
luigi1111
1aad001d96
Merge pull request #7868
...
36527c0 UB: virtual method in destructor of WalletImpl v0.17 (mj-xmr)
2021-10-17 23:27:23 -05:00
luigi1111
33fe0e8003
Merge pull request #7861
...
cf65e5b LMDB: protection against UB, by not calling virtual methods from destructor - v0.17 (mj-xmr)
2021-10-17 23:26:12 -05:00
luigi1111
b8ed1cbbc9
Merge pull request #7798
...
3d9f348 Fix precision of average_output_time (j-berman)
2021-10-17 23:21:58 -05:00
Howard Chu
8bc414bb55
Add README to release archives
...
Also add ANONYMITY_NETWORKS.md
2021-10-14 15:40:29 +01:00
Howard Chu
840cd25d27
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:38:41 +01:00
koe
945665ff70
fix median overflow bug
2021-10-14 02:43:57 +02:00
Howard Chu
908ecb3cee
LMDB: fix deadlock in resized detection
2021-10-14 02:42:47 +02:00
selsta
a492c4e3ab
blockchain: fix pedantic assert
2021-10-14 02:42:02 +02:00
Howard Chu
3a3fbc3347
ARMv8: detect AES support dynamically
2021-10-11 19:51:11 +01:00
luigi1111
88b80583b8
Merge pull request #7978
...
4d224de Quicker resource cleanup on p2p socks timeout (Lee *!* Clagett)
2021-10-11 13:03:40 -05:00
luigi1111
532d382d56
Merge pull request #7976
...
f508612 gitian: cleanup more unused packages (Howard Chu)
b8685bc gitian: omit ccache from gitian builds (Howard Chu)
2021-10-11 13:01:28 -05:00
luigi1111
e6f07c0379
Merge pull request #7959
...
209c031 rpc: Fix get_transactions failing when not found (Nathan Dorfman)
2021-10-11 12:58:42 -05:00
luigi1111
6f2ebee8ff
Merge pull request #7873
...
d4c7549 node_server: fix race condition (anon)
2909bd1 node_server: add race condition demo (anon)
2021-10-11 12:55:31 -05:00
mj-xmr
1e663e8488
Increase timeout for the mining test 4 times (to 240s)
2021-10-10 12:34:07 +02:00
rbrunner7
4760f8b49b
Wallet2: Update 'approximate_testnet_rolled_back_blocks'
2021-10-07 04:54:03 +02:00
luigi1111
123c46d331
Merge pull request #7985
...
2481333 workflows: add missing dependency, fix mac build (selsta)
2021-10-05 21:45:19 -05:00
selsta
76b61204d1
cmake: set required C/C++ standard to 11
...
Co-authored-by: Jason Rhinelander <jason@imaginary.ca >
2021-10-06 01:58:51 +02:00
Howard Chu
306798746e
Fix parallel make of OpenSSL
2021-10-06 01:58:51 +02:00
lza_menace
1219c74e80
add singapore.node.xmr.pm to seed nodes
2021-10-06 01:58:51 +02:00
selsta
689dd52a9d
net_node: add seed node
2021-10-06 01:58:51 +02:00
selsta
95936a3fc3
depends: update unwind, fix build with ubuntu 21.04
2021-10-06 01:58:51 +02:00
rbrunner7
e2c802f6b2
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
2021-10-06 01:58:50 +02:00
moneromooo-monero
14df8ad7a6
epee: don't log raw packet data
2021-10-06 01:58:50 +02:00
mj-xmr
5fa7208ef0
Mac: Enable on ARM, by not enforcing x86_64
2021-10-06 01:58:50 +02:00
anon
fe6ab93fb0
daemon: allow proxy configuration
...
Co-authored-by: selsta <selsta@sent.at >
Co-authored-by: tobtoht <thotbot@protonmail.com >
2021-10-06 01:58:50 +02:00
xiphon
52dcc03068
bootstrap_daemon: proxy configuration support
2021-10-06 01:58:46 +02:00
moneromooo-monero
a6df656b4e
wallet2: chunk get_outs.bin calls to avoid sanity limits
2021-10-06 01:56:27 +02:00
j-berman
c599b56f2c
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:23 -07:00
selsta
24813330ec
workflows: add missing dependency, fix mac build
2021-09-30 22:11:48 +02:00
Howard Chu
fc4e5741ae
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-27 18:03:03 +01:00
Howard Chu
f5086126ca
gitian: cleanup more unused packages
...
These appear to be leftovers inherited from Bitcoin's builder
2021-09-27 17:59:59 +01:00
Howard Chu
b8685bcf24
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:59:46 +01:00
Lee *!* Clagett
4d224de6e5
Quicker resource cleanup on p2p socks timeout
2021-09-27 13:47:51 +00:00
luigi1111
2243318000
Merge pull request #7964
...
d51e3f2 RPC and ZeroMQ APIs to support p2pool (SChernykh)
2021-09-23 22:24:48 -05:00
luigi1111
240cd780fe
Merge pull request #7961
...
24f3e4c simplewallet: don't truncate integ. address in export_transfers (selsta)
2021-09-23 22:23:58 -05:00
luigi1111
0e6b12de78
Merge pull request #7952
...
8a7f692 support cors wildcard (woodser)
2021-09-23 22:23:17 -05:00
luigi1111
728409ec6d
Merge pull request #7929
...
f4a745d easylogging++: fix missing logs (moneromooo-monero)
2021-09-23 22:18:38 -05:00
moneromooo-monero
f4a745d3b1
easylogging++: fix missing logs
2021-09-23 20:29:50 +00:00
SChernykh
d51e3f21f7
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-21 20:28:11 +02:00
Nathan Dorfman
209c031b93
rpc: Fix get_transactions failing when not found
2021-09-20 17:22:16 -06:00
anon
d4c754923e
node_server: fix race condition
2021-09-20 20:58:24 +00:00
anon
2909bd199d
node_server: add race condition demo
2021-09-20 20:58:23 +00:00
woodser
8a7f692aab
support cors wildcard
2021-09-17 21:24:37 -04:00
j-berman
3d9f34875c
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:04:25 +02:00
selsta
24f3e4c72e
simplewallet: don't truncate integ. address in export_transfers
2021-09-10 12:27:41 -06:00
luigi1111
665bd8933a
Merge pull request #7906
...
58892be miniupnp: set submodule to upstream, disable install (selsta)
2021-09-09 15:21:50 -04:00
mj-xmr
cf65e5b41b
LMDB: protection against UB, by not calling virtual methods from destructor - v0.17
2021-09-09 08:18:21 +02:00
mj-xmr
56589ddab8
UB: virtual methods in destructor at Trezor
2021-09-08 16:19:26 +02:00
mj-xmr
36527c05bd
UB: virtual method in destructor of WalletImpl v0.17
2021-09-08 15:33:07 +02:00
luigi1111
2222bea92f
Merge pull request #7902
...
0ae1cd2 v0.17: Fix Boost-1.77: Add missing algorithm header to i18n.cpp (mj-xmr)
2021-08-29 12:30:57 -04:00
luigi1111
f12e75b5e4
Merge pull request #7888
...
3c15eb8 python-rpc: add missing python api for new freeze/thaw/frozen RPC (moneromooo-monero)
2021-08-29 12:29:57 -04:00
selsta
58892be4ad
miniupnp: set submodule to upstream, disable install
2021-08-29 18:17:41 +02:00
mj-xmr
0ae1cd2413
v0.17: Fix Boost-1.77: Add missing algorithm header to i18n.cpp
2021-08-28 15:32:50 +02:00
luigi1111
317eceb725
Merge pull request #7894
...
c0ce4d5 Wallet2: fix optimize-coinbase for p2pool payouts (SChernykh)
2021-08-26 21:14:12 -04:00
luigi1111
d98787eb1b
Merge pull request #7825
...
ccfed60 cmake: test is a reserved keyword (selsta)
f0fa959 cmake: fix ccache detection (anon)
8dbe2e5 Daemon: Update average block size table (rbrunner7)
94bad34 wallet2: Don't auto lock device on process parsed blocks (tobtoht)
3c23aca ledger: don't lock for software device (tobtoht)
49beb8d ledger: use software device if we have view key (tobtoht)
d188b5f wallet_api: getPassword (tobtoht)
a395f36 depends, docker: fix bintray links (selsta)
0fecd7e blocks: fix cmake syntax (selsta)
76824bf Stop adding more outputs than bulletproof allows (Alex Opie)
67ba733 unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
402ba04 cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB (selsta)
1565bcb epee: include public openssl header in cmake (selsta)
2e9af2a cmake: treat warnings as error in compiler flag tests (selsta)
db564ef wallet_api: fix typo in exportKeyImages (selsta)
8507917 depends: add getmonero package mirror (selsta)
8716d2a cmake: fix non portable code (selsta)
2021-08-26 21:10:56 -04:00
luigi1111
ca1b1b7332
Merge pull request #7822
...
99bee1c Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-26 21:08:56 -04:00
luigi1111
27c5013acd
Merge pull request #7805
...
1e037d3 build: prepare v0.17.2.3 (selsta)
2021-08-26 21:08:04 -04:00
SChernykh
c0ce4d5089
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:51:07 +02:00
moneromooo-monero
3c15eb8e81
python-rpc: add missing python api for new freeze/thaw/frozen RPC
2021-08-24 00:25:10 +02:00
luigi1111
c61c09a567
Merge pull request #7882
...
e48fae3 epee: link with Boost_SYSTEM_LIBRARY (selsta)
2021-08-20 16:51:39 -04:00
luigi1111
b864817629
Merge pull request #7879
...
be6c61e wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:54 -04:00
luigi1111
a520234c51
Merge pull request #7848
...
adcf440 Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:19 -04:00
luigi1111
715ebcb744
Merge pull request #7846
...
2285c66 Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:48:14 -04:00
luigi1111
4073599aaf
Merge pull request #7838
...
6ec9fd6 support freeze, thaw, and frozen in wallet rpc (woodser)
2021-08-20 16:43:18 -04:00
j-berman
2285c66ef1
Protect client from divide by 0 caused by integer truncation
2021-08-19 15:00:59 -07:00
j-berman
99bee1ccf0
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:59:12 -07:00
selsta
e48fae3177
epee: link with Boost_SYSTEM_LIBRARY
2021-08-19 19:06:05 +02:00
tobtoht
be6c61e2ee
wallet_api: add make_uri
2021-08-19 15:52:01 +02:00
selsta
1e037d372a
build: prepare v0.17.2.3
2021-08-19 15:00:42 +02:00
woodser
6ec9fd6c08
support freeze, thaw, and frozen in wallet rpc
2021-08-12 09:13:09 -04:00
selsta
ccfed6008a
cmake: test is a reserved keyword
2021-08-12 04:52:51 +02:00
anon
f0fa959383
cmake: fix ccache detection
2021-08-12 04:52:36 +02:00
rbrunner7
8dbe2e57ac
Daemon: Update average block size table
2021-08-12 04:42:46 +02:00
luigi1111
64c320130f
Merge pull request #7839
...
925c6b6 provide key images of spent outputs in wallet rpc (woodser)
2021-08-11 22:41:04 -04:00
luigi1111
8f95eaa0b0
Merge pull request #7817
...
1510b1e unit_tests: fix broken tests (anon)
2021-08-11 22:39:42 -04:00
luigi1111
9f93fe1539
Merge pull request #7810
...
8eb2b79 p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:36:50 -04:00
luigi1111
db6688f584
Merge pull request #7801
...
07d82af Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:33:04 -04:00
luigi1111
f00db20a5f
Merge pull request #7792
...
9b84043 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:53 -04:00
j-berman
adcf440dcd
Make sure node returns to wallet that real output is unlocked
2021-08-11 07:26:56 -07:00
woodser
925c6b60e3
provide key images of spent outputs in wallet rpc
2021-08-07 09:36:45 -04:00
tobtoht
94bad34c26
wallet2: Don't auto lock device on process parsed blocks
2021-08-07 03:04:24 +02:00
tobtoht
3c23aca26b
ledger: don't lock for software device
2021-08-07 03:04:15 +02:00
tobtoht
49beb8da17
ledger: use software device if we have view key
2021-08-07 03:04:04 +02:00
tobtoht
d188b5f51f
wallet_api: getPassword
2021-08-07 03:03:40 +02:00
moneromooo-monero
8eb2b79bad
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 19:05:02 +00:00
luigi1111
3eb8f1458b
Merge pull request #7791
...
7e3f211 wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:40 -04:00
selsta
a395f363e7
depends, docker: fix bintray links
2021-08-01 18:16:09 +02:00
selsta
0fecd7eb86
blocks: fix cmake syntax
2021-08-01 15:47:11 +02:00
Alex Opie
76824bf827
Stop adding more outputs than bulletproof allows
...
If more outputs are requested, they are split across
multiple transactions.
#7322
2021-08-01 15:47:11 +02:00
xiphon
67ba733de1
unit_tests: fix wipeable_string parse_hexstr test with latest gtest
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
2021-08-01 15:47:11 +02:00
selsta
402ba046e0
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB
2021-08-01 15:47:11 +02:00
selsta
1565bcb1fb
epee: include public openssl header in cmake
2021-08-01 15:47:08 +02:00
selsta
2e9af2a1c8
cmake: treat warnings as error in compiler flag tests
2021-08-01 15:47:05 +02:00
selsta
db564efe0b
wallet_api: fix typo in exportKeyImages
2021-08-01 15:47:05 +02:00
selsta
85079173db
depends: add getmonero package mirror
2021-08-01 15:47:05 +02:00
selsta
8716d2ad9d
cmake: fix non portable code
2021-08-01 15:47:05 +02:00
luigi1111
5a34eae063
Merge pull request #7815
...
7128f73 cmake: don't forbid undefined symbols on openbsd (selsta)
2021-07-28 14:02:43 -04:00
anon
1510b1e550
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:23 +00:00
selsta
7128f73ec2
cmake: don't forbid undefined symbols on openbsd
2021-07-28 01:23:03 +02:00
luigi1111
8b63bb3c75
Merge pull request #7789
...
2161bd0 device: set correct ledger min version (selsta)
2021-07-27 17:05:11 -04:00
luigi1111
56ce7fca6f
Merge pull request #7781
...
4f7c38a device_trezor_base: fix typo (anon)
2021-07-27 17:03:46 -04:00
luigi1111
bc252794f0
Merge pull request #7693
...
ec6ff0d cmake: export all symbols (anon)
ceb8e7c cmake: fix undefined symbols and multiple definitions (anon)
72af8a5 cmake: forbid undefined symbols (anon)
2021-07-27 16:52:59 -04:00
SChernykh
07d82af979
Fixed json serialization of rct::RCTTypeNull
...
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 17:19:32 +02:00
Dusan Klinec
9b840439b9
fix #7784 - deinit wallet in wallet dtor
2021-07-14 15:08:06 +02:00
Dusan Klinec
7e3f211791
wallet: rephrase error message on invalid device address
2021-07-14 15:05:28 +02:00
selsta
2161bd0f3a
device: set correct ledger min version
2021-07-14 08:31:11 +02:00
anon
ec6ff0d002
cmake: export all symbols
2021-07-13 08:01:26 +02:00
anon
ceb8e7c508
cmake: fix undefined symbols and multiple definitions
2021-07-13 08:01:23 +02:00
anon
72af8a5fce
cmake: forbid undefined symbols
2021-07-13 08:01:09 +02:00
anon
4f7c38a444
device_trezor_base: fix typo
2021-07-10 23:52:15 +00:00
luigi1111
7d2e717ee8
Merge pull request #7734
...
a2d8f87 randomx: bump submodule to v1.1.9 (selsta)
2021-06-16 14:40:45 -05:00
luigi1111
83e378740a
Merge pull request #7736
...
c28d2f7 Fix boost 1.76.0 compatibility (loqs)
2021-06-01 22:12:42 -05:00
loqs
c28d2f7c11
Fix boost 1.76.0 compatibility
...
Add missing header boost/mpl/contains.hpp
monero-project/monero/issues/7728
2021-05-24 05:32:24 +02:00
selsta
a2d8f876ca
randomx: bump submodule to v1.1.9
2021-05-22 23:13:23 +02:00
luigi1111
3701257d61
Merge pull request #7695
...
1d6f211 workflows: fix windows build (selsta)
2021-05-12 17:00:58 -05:00
luigi1111
90703ba8bd
Merge pull request #7687
...
cb9a2e4 add -framework AppKit for Apple (woodser)
2021-05-12 16:57:02 -05:00
luigi1111
a080c0be9c
Merge pull request #7678
...
dedcd63 wallet_api: import / export output function (tobtoht)
6e22710 expose set_offline to wallet api (benevanoff)
02e9a41 wallet_api: add isDeterministic() (tobtoht)
def5819 wallet_api: add seed_offset param to seed() (tobtoht)
73959c6 wallet_api: store fee for incoming txs in history (Ben Evanoff)
712f362 wallet api: allow wallet to fetch all key images via api (benevanoff)
153d08d Allow tx note edits via TransactionHistory object in wallet/api (dsc)
2abd7b1 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
9a50bef Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
22bb6a6 Allow AddressBook description edits via wallet/api interface (dsc)
2021-05-12 16:55:38 -05:00
luigi1111
de7565069e
Merge pull request #7680
...
70c5c81 wallet2: Fix rescan_bc keep_ki option (Nathan Dorfman)
2021-05-12 15:29:31 -05:00
selsta
1d6f2114b8
workflows: fix windows build
2021-04-27 14:45:22 +02:00
woodser
cb9a2e4471
add -framework AppKit for Apple
2021-04-26 18:30:32 -04:00
Nathan Dorfman
70c5c81670
wallet2: Fix rescan_bc keep_ki option
2021-04-22 16:15:01 -06:00
luigi1111
d59cd3d222
Merge pull request #7657
...
6305b90 ITS#9496 fix mdb_env_open bug from #8704 (Howard Chu)
2021-04-22 01:44:50 -04:00
tobtoht
dedcd6304c
wallet_api: import / export output function
2021-04-22 04:33:11 +02:00
benevanoff
6e22710f0e
expose set_offline to wallet api
2021-04-22 04:33:03 +02:00
tobtoht
02e9a41cbe
wallet_api: add isDeterministic()
2021-04-22 04:32:50 +02:00
tobtoht
def58196da
wallet_api: add seed_offset param to seed()
2021-04-22 04:32:41 +02:00
Ben Evanoff
73959c623c
wallet_api: store fee for incoming txs in history
2021-04-22 04:32:32 +02:00
benevanoff
712f362150
wallet api: allow wallet to fetch all key images via api
2021-04-22 04:32:24 +02:00
dsc
153d08d026
Allow tx note edits via TransactionHistory object in wallet/api
2021-04-22 04:32:14 +02:00
xiphon
2abd7b174b
wallet_api: TransactionHistory - fill unconfirmed out payments dests
2021-04-22 04:32:06 +02:00
dsc
9a50bef3cd
Extend TransactionInfo with coinbase and description attributes in wallet/api
2021-04-22 04:31:44 +02:00
dsc
22bb6a654d
Allow AddressBook description edits via wallet/api interface
2021-04-22 04:31:36 +02:00
luigi1111
38958f722b
Merge pull request #7655
...
9fc9c7d gitian: remove osslsigncode (selsta)
2021-04-16 12:53:55 -05:00
luigi1111
36a68b0cba
Merge pull request #7654
...
df03288 unit_tests: fix boost 1.58 compatibility (anon)
2021-04-16 12:53:28 -05:00
Howard Chu
6305b90596
ITS#9496 fix mdb_env_open bug from #8704
...
Broken in 9c6eb75c65
2021-04-09 14:25:51 +01:00
selsta
9fc9c7d695
gitian: remove osslsigncode
...
Unused and archive is offline
2021-04-08 17:13:57 +02:00
anon
df032882a8
unit_tests: fix boost 1.58 compatibility
2021-04-08 11:45:26 +00:00
luigi1111
f6e63ef260
Merge pull request #7647
...
d7b74a4 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
2021-04-06 12:25:41 -05:00
luigi1111
298208d92b
Merge pull request #7350
...
4a9ae3e fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:21:28 -05:00
mj-xmr
d7b74a4fb0
Tests: Fix test node_server.bind_same_p2p_port from randomly crashing
2021-04-05 17:51:54 +02:00
luigi1111
f719b74cd1
Merge pull request #7638
...
c18cdd3 build: prepare v0.17.2.0 (selsta)
2021-03-29 22:00:40 -04:00
luigi1111
1d597ad910
Merge pull request #7637
...
13978a9 depends: openssl 1.1.1i -> 1.1.1k (selsta)
2021-03-29 22:00:06 -04:00
luigi1111
4f6eea9021
Merge pull request #7631
...
fd869a7 cmake: Don't default to -march=native on OpenBSD (Nathan Dorfman)
2021-03-29 21:58:31 -04:00
luigi1111
076254d113
Merge pull request #7623
...
c8c7c40 ITS#9500 fix regression from ITS#8662 (Howard Chu)
2021-03-29 21:57:26 -04:00
luigi1111
daa1376370
Merge pull request #7621
...
21ab1de cryptonote_protocol_handler: fix race condition (anon)
699e82c cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:56:07 -04:00
luigi1111
eed63cef36
Merge pull request #7615
...
9ca9f12 Fixed issues found by static analysis (SChernykh)
2021-03-29 21:54:25 -04:00
luigi1111
dcdbf7ebcf
Merge pull request #7459
...
d5b78c0 async_protocol_handler_config: fix deadlock (anon) f59b1d5 async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:22:54 -04:00
selsta
c18cdd3623
build: prepare v0.17.2.0
2021-03-26 01:53:45 +01:00
selsta
13978a9887
depends: openssl 1.1.1i -> 1.1.1k
2021-03-25 21:45:03 +01:00
Nathan Dorfman
fd869a7b64
cmake: Don't default to -march=native on OpenBSD
2021-03-24 15:48:56 -06:00
Howard Chu
c8c7c40ac8
ITS#9500 fix regression from ITS#8662
...
mdb_load -a patch broke overwriting with MDB_CURRENT
2021-03-23 21:08:19 +00:00
anon
21ab1de89f
cryptonote_protocol_handler: fix race condition
2021-03-22 19:42:45 +00:00
anon
699e82c282
cryptonote_protocol_handler: add race condition demo
2021-03-22 19:42:45 +00:00
luigi1111
9ec4ce36c7
Merge pull request #7419
...
25588de trezor: simplify recognition of integrated addresses (Dusan Klinec)
2021-03-20 01:54:52 -04:00
SChernykh
9ca9f1214a
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
2021-03-18 21:57:13 +01:00
anon
d5b78c08b6
async_protocol_handler_config: fix deadlock
2021-03-12 11:59:05 +00:00
anon
f59b1d5fb5
async_protocol_handler_config: add deadlock demo
2021-03-12 11:59:05 +00:00
moneromooo-monero
4a9ae3eb8b
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:41:19 +00:00
luigi1111
837c9aec22
Merge pull request #7390
...
7fd140e async_protocol_handler_config: remove connection correctly (anon)
c1776be async_protocol_handler_config: add segfault demo (anon)
2021-03-05 13:56:12 -05:00
luigi1111
af46a291ad
Merge pull request #7336
...
d8137dc device_trezor: add redundant check (anon)
c6e1d7b device_trezor: wipe string fields properly (anon)
2021-03-05 13:53:00 -05:00
Dusan Klinec
25588de40c
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 15:39:12 +01:00
anon
7fd140e4f7
async_protocol_handler_config: remove connection correctly
2021-02-19 22:27:28 +00:00
anon
c1776be54f
async_protocol_handler_config: add segfault demo
2021-02-19 22:27:28 +00:00
luigi1111
30bc575505
Merge pull request #7362
...
332b973 ITS#9007 don't free loose writemap pages (Kris Zyp)
2021-02-18 14:08:58 -05:00
luigi1111
aa408d1c72
Merge pull request #7333
...
b5667c9 p2p: allow CIDR notation in DNS blocklist (moneromooo-monero)
2021-02-16 11:45:38 -05:00
luigi1111
c8895ccbb7
Merge pull request #7309
...
6d5e210 boosted_tcp_server: fix connection lifetime (anon)
afec439 boosted_tcp_server: add segfault demo (anon)
2021-02-15 21:56:07 -05:00
luigi1111
975d390d00
Merge pull request #7284
...
32ab89a docs: Remove outdated bits about anonymity network seed nodes (Nathan Dorfman)
2021-02-15 21:49:50 -05:00
Kris Zyp
332b9734ff
ITS#9007 don't free loose writemap pages
...
Broken in ITS#8756
2021-02-01 16:10:09 +00:00
moneromooo-monero
b5667c9f6c
p2p: allow CIDR notation in DNS blocklist
2021-01-21 01:41:31 +00:00
anon
d8137dc523
device_trezor: add redundant check
2021-01-20 22:07:13 +01:00
anon
c6e1d7bcdf
device_trezor: wipe string fields properly
2021-01-20 22:07:13 +01:00
anon
6d5e2106b3
boosted_tcp_server: fix connection lifetime
2021-01-19 18:16:01 +01:00
anon
afec439953
boosted_tcp_server: add segfault demo
2021-01-19 18:16:01 +01:00
luigi1111
25670398b1
Merge pull request #7295
...
fe6dda9 p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
2021-01-15 23:53:40 -05:00
moneromooo-monero
fe6dda9453
p2p: only log to global when a blocked IP is not already blocked
2021-01-08 15:50:10 +00:00
Alexander Blair
8fef32e45c
Merge pull request #7292
...
ba3c627c5 Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:55:23 -08:00
Alexander Blair
7f1a83b852
Merge pull request #7287
...
89fe0e1c8 storages: overridable limits for loading portable_storage from binary (moneromooo-monero)
2021-01-07 17:55:13 -08:00
moneromooo-monero
89fe0e1c81
storages: overridable limits for loading portable_storage from binary
2021-01-07 20:24:51 +00:00
luigi1111
b06ccc0416
Merge pull request #7282
...
5d2dd7a epee: also limit number of strings in portable_storage (moneromooo-monero)
2021-01-06 21:11:53 -05:00
luigi1111
83fa752a84
Merge pull request #7267
...
c2295f5 protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:36 -05:00
luigi1111
7ecdc53e11
Merge pull request #7248
...
3c7eec1 add a max levin packet size by command type (moneromooo-monero)
2021-01-06 21:08:11 -05:00
Nathan Dorfman
32ab89aa86
docs: Remove outdated bits about anonymity network seed nodes
2021-01-05 23:05:05 -07:00
moneromooo-monero
5d2dd7a328
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
2021-01-05 17:56:11 +00:00
Alexander Blair
f3de67bc21
Merge pull request #7269
...
1128146c4 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:29:39 -08:00
Alexander Blair
51057105b9
Merge pull request #7264
...
31b2572ec build: prepare v0.17.1.9 (selsta)
2021-01-03 18:29:19 -08:00
Alexander Blair
54cf799f0f
Merge pull request #7262
...
0add7ec1c portable_storage: better sanity checking (moneromooo-monero)
2021-01-03 18:28:50 -08:00
moneromooo-monero
3c7eec152c
add a max levin packet size by command type
2021-01-03 14:07:58 +00:00
moneromooo-monero
1128146c49
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:20:24 +00:00
moneromooo-monero
c2295f55b8
protocol: handle receiving a block hash we've not added yet
2021-01-02 22:10:44 +00:00
selsta
31b2572ec7
build: prepare v0.17.1.9
2021-01-02 18:13:47 +01:00
moneromooo-monero
0add7ec1cd
portable_storage: better sanity checking
2021-01-02 12:36:42 +00:00
Alexander Blair
2107337999
Merge pull request #7251
...
f0b867b13 Restrict duplicate keys in epee binary format (Lee Clagett)
2021-01-01 22:44:24 -08:00
Alexander Blair
f4e34d50cf
Merge pull request #7249
...
cb296b39b portable_storage: forbid unnamed sections (xiphon)
2021-01-01 22:44:02 -08:00
Alexander Blair
a4ffad75ac
Merge pull request #7247
...
57f7c2e53 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:43:46 -08:00
Alexander Blair
024783f73a
Merge pull request #7244
...
531069859 portable_storage: check object limit where appropriate (moneromooo)
2021-01-01 22:42:43 -08:00
Alexander Blair
db686707cb
Merge pull request #7239
...
e685f52e2 p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:42:17 -08:00
Alexander Blair
5767e6db90
Merge pull request #7235
...
00253b717 protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:41:54 -08:00
xiphon
cb296b39bd
portable_storage: forbid unnamed sections
2021-01-01 02:06:39 +01:00
moneromooo-monero
57f7c2e53f
protocol: more sanity checks in new chain block hashes
2020-12-31 23:34:26 +00:00
moneromooo
531069859f
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
2020-12-31 22:35:32 +00:00
binaryFate
00b3502749
Merge pull request #7228 from vtnerd/fix/p2p_memory_usage_017
...
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-31 21:35:00 +01:00
moneromooo
e685f52e25
p2p: fix deadlock banning while updating peer lists
2020-12-31 03:15:11 +00:00
moneromooo-monero
00253b717c
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:21:57 +00:00
Lee Clagett
7d67a2dde0
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-29 19:58:53 -05:00
Alexander Blair
36dfd41e01
Merge pull request #7222
...
218a10967 rpc: limit the number of txes for get_blocks.bin (moneromooo-monero)
2020-12-29 10:48:05 -08:00
Alexander Blair
bcd7f63a54
Merge pull request #7219
...
b39ee13d7 portable_storage: remove array element limit (moneromooo-monero)
2020-12-29 10:45:46 -08:00
Alexander Blair
3a477a54a2
Merge pull request #7208
...
b8bc4d77b ssl: buffered handshake detection (anon)
2020-12-29 10:45:03 -08:00
moneromooo-monero
218a109677
rpc: limit the number of txes for get_blocks.bin
2020-12-29 04:32:33 +00:00
anon
b8bc4d77b7
ssl: buffered handshake detection
2020-12-28 22:21:17 +01:00
moneromooo-monero
b39ee13d70
portable_storage: remove array element limit
...
some people don't want it
2020-12-28 21:05:12 +00:00
Alexander Blair
a99d6e56b6
Merge pull request #7193
...
31ae533d6 epee: fix some issues using connections after shutdown (moneromooo-monero)
2020-12-28 11:49:42 -08:00
Alexander Blair
5804add75b
Merge pull request #7206
...
8c8f3d73b protocol: fix false positives dropping peers (moneromooo-monero)
2020-12-28 11:40:26 -08:00
Alexander Blair
75e9e7b39a
Merge pull request #7203
...
0fc927dfb portable_storage: remove overly aggressive cutoff (moneromooo-monero)
2020-12-28 11:40:15 -08:00
Alexander Blair
a87eca5e7d
Merge pull request #7197
...
0443cccb5 cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
2020-12-28 11:39:58 -08:00
moneromooo-monero
8c8f3d73b5
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
2020-12-27 14:42:59 +00:00
moneromooo-monero
0fc927dfba
portable_storage: remove overly aggressive cutoff
2020-12-27 12:45:13 +00:00
Alexander Blair
d3e582e517
Merge pull request #7198
...
e42bb297b Revert "Reject existing claimed blocks in sync mode" (luigi1111)
2020-12-26 21:25:52 -08:00
luigi1111
e42bb297b8
Revert "Reject existing claimed blocks in sync mode"
2020-12-27 00:16:56 -05:00
moneromooo-monero
0443cccb5d
cryptonote_basic: guess what got lost porting patches to branches again
2020-12-26 23:44:34 +00:00
Alexander Blair
b42d08995e
Merge pull request #7191
...
d5be31ee2 portable_storage: add some sanity checks on data size (moneromooo-monero)
2020-12-26 14:14:31 -08:00
Alexander Blair
138092ddc9
Merge pull request #7189
...
adcbcd8f8 protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
2020-12-26 14:14:16 -08:00
Alexander Blair
4ddde36c50
Merge pull request #7183
...
ba60541f3 build: prepare v0.17.1.8 (selsta)
2020-12-26 14:00:06 -08:00
Alexander Blair
0873f3193a
Merge pull request #7181
...
e35bbb1e8 ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:59:51 -08:00
Alexander Blair
cbeaeb904b
Merge pull request #7174
...
5c3e84b6a restrict public node checks a little (moneromooo-monero)
2020-12-26 13:59:09 -08:00
Alexander Blair
355be543c7
Merge pull request #7161
...
07b50c42d rpc: get_info - add 'synchronized' field (xiphon)
2020-12-26 13:58:19 -08:00
Alexander Blair
6cea8ca895
Merge pull request #7155
...
42ee30929 protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
a436c3625 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:58:06 -08:00
Alexander Blair
e08d37fc7b
Merge pull request #7146
...
3bb748ad9 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
2020-12-26 13:57:54 -08:00
Alexander Blair
1c14b7b3b2
Merge pull request #7139
...
fb9ef2426 Optional DNS based blocklist (moneromooo-monero)
2020-12-26 13:57:25 -08:00
moneromooo-monero
31ae533d6d
epee: fix some issues using connections after shutdown
2020-12-26 14:15:12 +00:00
moneromooo-monero
d5be31ee21
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
2020-12-26 03:23:12 +00:00
moneromooo-monero
adcbcd8f8b
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:31:23 +00:00
Lee Clagett
ba3c627c57
Command max_bytes moved from dynamic map to static switch
2020-12-23 23:53:27 +00:00
xiphon
07b50c42dd
rpc: get_info - add 'synchronized' field
2020-12-23 10:43:47 +00:00
selsta
ba60541f3e
build: prepare v0.17.1.8
2020-12-23 02:13:16 +01:00
moneromooo-monero
5c3e84b6ae
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:19 +00:00
moneromooo-monero
e35bbb1e88
ban lists may now include subnets
2020-12-22 02:12:58 +00:00
moneromooo-monero
fb9ef24267
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:34:24 +00:00
luigi1111
ee8d740cba
Merge pull request #7152
...
cf4461f Fix byte_stream::put_n (Lee Clagett)
2020-12-19 17:26:51 -06:00
luigi1111
e0e2eb2bf5
Merge pull request #7144
...
a569483 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
2020-12-19 17:25:11 -06:00
luigi1111
ecedaf2975
Merge pull request #7142
...
905cc07 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
2020-12-19 17:23:52 -06:00
luigi1111
94897cf8f7
Merge pull request #7140
...
55e4007 Depends: Bump qt to 5.15.1 (TheCharlatan)
2020-12-19 17:21:05 -06:00
luigi1111
e38f3dbfb2
Merge pull request #7157
...
a4cdcd9 rpc: add a busy_syncing field to get_info (moneromooo-monero)
2020-12-17 14:33:51 -06:00
moneromooo-monero
a4cdcd9bd0
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:11:56 +00:00
moneromooo-monero
42ee309292
protocol: reject claimed block hashes that already are in the chain
2020-12-17 03:00:39 +00:00
Lee Clagett
f0b867b13d
Restrict duplicate keys in epee binary format
2020-12-17 01:04:00 +00:00
moneromooo-monero
a436c36256
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:20:17 +00:00
Lee Clagett
cf4461f40b
Fix byte_stream::put_n
2020-12-14 16:20:51 +00:00
moneromooo-monero
905cc07c8b
daemon: the ban command can now load IPs from a file (ban @filename)
2020-12-14 12:26:37 +00:00
moneromooo-monero
3bb748ad94
p2p: remove peers from grey and anchors lists when blocked
2020-12-13 23:27:56 +00:00
moneromooo-monero
a569483c19
p2p: ignore incoming peer list entries when we have them blocked
2020-12-13 23:14:22 +00:00
TheCharlatan
55e4007c48
Depends: Bump qt to 5.15.1
2020-12-13 16:09:00 +01:00
luigi1111
54a4071473
Merge pull request #7131
...
c1d6547 protocol: include first new block in chain entry response (moneromooo-monero)
2020-12-12 22:05:41 -06:00
luigi1111
4f70af3af1
Merge pull request #7128
...
b6b2c9b protocol: stricter checks on received chain hash list (moneromooo)
2020-12-12 22:03:59 -06:00
luigi1111
31390dce4d
Merge pull request #7124
...
d6069f7 protocol: revert incoming chain height check against local chain (moneromooo-monero)
2020-12-12 22:02:20 -06:00
moneromooo-monero
c1d654708f
protocol: include first new block in chain entry response
2020-12-12 01:36:56 +00:00
moneromooo
b6b2c9b8e8
protocol: stricter checks on received chain hash list
2020-12-11 18:47:28 +00:00
moneromooo-monero
d6069f7ded
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:33 +00:00
Alexander Blair
7a9ba3f154
Merge pull request #7122
...
3a3370096 protocol: one more sanity check on usable data from a peer (moneromooo-monero)
2020-12-10 17:57:18 -08:00
Alexander Blair
575f6b5f13
Merge pull request #7120
...
105afa555 protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
2020-12-10 17:57:07 -08:00
Alexander Blair
d6b2c676a9
Merge pull request #7118
...
ef1524ecc protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
2020-12-10 17:56:53 -08:00
Alexander Blair
5d39df5d92
Merge pull request #7116
...
a700e6103 build: prepare v0.17.1.7 (selsta)
2020-12-10 17:56:38 -08:00
Alexander Blair
91f941120d
Merge pull request #7115
...
45d9a282d cmake: fix "release" version string on tagged releases (moneromooo-monero)
2020-12-10 17:56:15 -08:00
Alexander Blair
f9eee6f193
Merge pull request #7111
...
d729730d3 protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10 17:55:59 -08:00
Alexander Blair
37800ceb5b
Merge pull request #7107
...
f47f1a069 protocol: more restrictive checks on chain entry response (moneromooo-monero)
2020-12-10 17:55:42 -08:00
Alexander Blair
b311043ec6
Merge pull request #7101
...
b4b3cd3ad depends: Update OpenSSL to 1.1.1i (Howard Chu)
2020-12-10 17:55:27 -08:00
moneromooo-monero
3a3370096e
protocol: one more sanity check on usable data from a peer
2020-12-10 23:02:38 +00:00
moneromooo-monero
105afa5557
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
2020-12-10 22:56:52 +00:00
moneromooo-monero
d729730d38
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 22:00:01 +00:00
luigi1111
f570ce1349
Merge pull request #7109
...
e83a220 protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
2020-12-10 15:49:20 -06:00
moneromooo-monero
ef1524ecca
protocol: add a sanity check to the number of block hashes sent
2020-12-10 19:26:50 +00:00
moneromooo-monero
45d9a282d1
cmake: fix "release" version string on tagged releases
...
It would not say "release" if we're on a previous tag
2020-12-10 19:12:41 +00:00
selsta
a700e6103b
build: prepare v0.17.1.7
2020-12-10 20:12:27 +01:00
moneromooo-monero
f47f1a0691
protocol: more restrictive checks on chain entry response
2020-12-10 17:24:16 +00:00
moneromooo-monero
e83a220603
protocol: fix switchting to adding blocks if noone's adding the next span
2020-12-10 15:46:29 +00:00
Howard Chu
b4b3cd3ad3
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:20:34 +00:00
luigi1111
f7aa91f70d
Merge pull request #7076
...
37bb594 Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-07 10:26:15 -06:00
luigi1111
f9a70e4260
Merge pull request #7073
...
446b3c8 p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07 10:25:38 -06:00
luigi1111
f105a0ef38
Merge pull request #7071
...
21b3ff2 p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07 10:23:57 -06:00
luigi1111
1cb3ea0447
Merge pull request #7065
...
b34d50f build: prepare v0.17.1.6 (selsta)
2020-12-07 10:22:38 -06:00
luigi1111
43788ffd2a
Merge pull request #7063
...
7982ef5 crypto: fix non zero scalar being 0 after reducing (moneromooo-monero)
2020-12-07 10:20:19 -06:00
luigi1111
6d35b667cf
Merge pull request #7054
...
ce26c5b protocol: drop peers that don't reply to queries (moneromooo)
9427b5a keep only the last seen node on a given host in the white list (moneromooo)
fa79148 protocol: drop peers that decrease claimed height (moneromooo)
1382b17 protocol: add scoring system to drop peers that don't behave (moneromooo)
2020-12-07 10:04:08 -06:00
moneromooo
ce26c5b2dd
protocol: drop peers that don't reply to queries
2020-12-06 15:57:23 +00:00
moneromooo-monero
21b3ff2c90
p2p: fix race condition accessing a deleted context
2020-12-06 12:42:11 +00:00
moneromooo-monero
446b3c865b
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
2020-12-05 13:41:48 +00:00
moneromooo
9427b5a6d5
keep only the last seen node on a given host in the white list
2020-12-04 01:55:05 +00:00
moneromooo
fa79148e0c
protocol: drop peers that decrease claimed height
2020-12-04 01:55:04 +00:00
moneromooo
1382b17aa1
protocol: add scoring system to drop peers that don't behave
2020-12-04 01:55:01 +00:00
moneromooo-monero
7982ef5a73
crypto: fix non zero scalar being 0 after reducing
2020-12-04 01:00:22 +00:00
selsta
b34d50fa76
build: prepare v0.17.1.6
2020-12-03 21:37:33 +01:00
Alexander Blair
0833680c74
Merge pull request #7059
...
93135907d wallet2: set propagation timeout to current max timeout (selsta)
2020-12-03 12:20:14 -08:00
selsta
93135907dd
wallet2: set propagation timeout to current max timeout
2020-12-03 02:24:52 +01:00
Alexander Blair
065bb292df
Merge pull request #7010
...
a8cd073fc Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01 14:22:39 -08:00
luigi1111
3942a1cd04
Merge pull request #7044
...
efca5b8 wallet2: check imported multisig curve points are in main subgroup (moneromooo-monero)
2020-11-25 09:31:25 -06:00
luigi1111
e4c0cb0ff3
Merge pull request #7039
...
9d7f473 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-25 09:14:26 -06:00
xiphon
9d7f473af0
cryptonote_core: dandelion - use local height or median height if syncing
2020-11-25 01:26:03 +00:00
Alexander Blair
41652c9aa1
Merge pull request #7040
...
af4fb4729 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
2020-11-24 11:21:40 -08:00
Alexander Blair
0a0ceb62f0
Merge pull request #7038
...
5bb83ab04 build: prepare v0.17.1.5 (selsta)
2020-11-24 11:20:33 -08:00
Alexander Blair
8e7b762092
Merge pull request #7037
...
8e829e034 rpc: on_send_raw_tx - add missing CHECK_CORE_READY (xiphon)
2020-11-24 11:19:32 -08:00
Alexander Blair
551e6c9168
Merge pull request #7028
...
9b7ed2fd8 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
2020-11-24 11:19:07 -08:00
Alexander Blair
c09d142972
Merge pull request #7026
...
e8468c5dc Fix timeout checks for forwarded and Dandelion++ stem txes (Lee Clagett)
2020-11-24 11:17:59 -08:00
Crypto City
efca5b8af9
wallet2: check imported multisig curve points are in main subgroup
2020-11-24 16:24:03 +00:00
luigi1111
251c64f195
Merge pull request #7011
...
398e64c Better log message for unusable anon networks (hyc)
2020-11-23 16:15:50 -06:00
selsta
5bb83ab042
build: prepare v0.17.1.5
2020-11-23 15:22:35 +01:00
xiphon
af4fb4729e
rpc: skip non-synced bootstrap daemons in --no-sync mode too
2020-11-23 12:24:01 +00:00
xiphon
8e829e034f
rpc: on_send_raw_tx - add missing CHECK_CORE_READY
2020-11-22 16:11:19 +00:00
Howard Chu
398e64ccbe
Better log message for unusable anon networks
2020-11-16 12:37:40 +00:00
Howard Chu
a8cd073fcc
Add rpc-restricted-bind-ip option
...
Fixes #6369
2020-11-11 12:19:13 +00:00
luigi1111
f690e4984d
Merge pull request #6997
...
752837b build: prepare v0.17.1.3 (selsta)
2020-11-07 13:10:15 -06:00
luigi1111
ebc9197326
Merge pull request #6996
...
981e0b5 epee: readline_buffer - fix thread safety, fix sync() after stop() (xiphon)
2020-11-07 13:09:18 -06:00
luigi1111
81f9fa947b
Merge pull request #6994
...
6f48a14 Fix i2p/tor seed nodes (vtnerd)
2020-11-07 13:08:00 -06:00
selsta
752837b2c8
build: prepare v0.17.1.3
2020-11-07 18:19:08 +01:00
xiphon
981e0b5cc3
epee: readline_buffer - fix thread safety, fix sync() after stop()
2020-11-07 15:32:02 +00:00
Lee Clagett
6f48a146f8
Fix i2p/tor seed nodes
2020-11-07 00:37:49 -05:00
luigi1111
1a3bef15b9
Merge pull request #6993
...
44c93bb p2p: fix accessing non existent element of map (moneromooo-monero)
2020-11-06 18:53:22 -06:00
moneromooo-monero
44c93bb47a
p2p: fix accessing non existent element of map
2020-11-07 00:17:47 +00:00
luigi1111
c3fc96f0cf
Merge pull request #6992
...
f3dd25c build: prepare v0.17.1.2 (selsta)
2020-11-06 17:34:32 -06:00
luigi1111
07f6ecd227
Merge pull request #6991
...
4985afd p2p: add a tor seed (moneromooo-monero)
2020-11-06 17:32:28 -06:00
moneromooo-monero
4985afddb3
p2p: add a tor seed
2020-11-06 23:21:10 +00:00
luigi1111
4191dc8981
Merge pull request #6990
...
263579b Add support for i2p and tor seed nodes (vtnerd)
2020-11-06 17:15:11 -06:00
luigi1111
32581fb223
Merge pull request #6985
...
91f1be9 net_node: add tor / i2p seed nodes (selsta)
2020-11-06 17:12:42 -06:00
selsta
f3dd25c0e0
build: prepare v0.17.1.2
2020-11-07 00:12:39 +01:00
luigi1111
33dc825d6f
Merge pull request #6983
...
35186b1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero)
2020-11-05 19:09:43 -06:00
selsta
91f1be9ea2
net_node: add tor / i2p seed nodes
2020-11-05 21:41:11 +01:00
moneromooo-monero
35186b1b84
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
2020-11-05 16:05:54 +00:00
luigi1111
bddd5653e1
Merge pull request #6981
...
b36c4f3 p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero)
2020-11-04 20:57:49 -06:00
moneromooo-monero
b36c4f354b
p2p: make this work with boost <= 1.65 (pffff)
2020-11-04 23:01:47 +00:00
luigi1111
1ba4c8dbc2
Merge pull request #6979
...
92d19c4 p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo-monero)
2020-11-04 16:28:43 -06:00
moneromooo
92d19c48da
p2p: rewrite boost's make_address_v4 to cater for < 1.66
2020-11-04 20:26:50 +00:00
luigi1111
01606ee52e
Merge pull request #6974
...
58cde83 Switch to Dandelion++ fluff mode if no out connections for stem mode (vtnerd)
2020-11-04 10:40:49 -06:00
luigi1111
81d2389c24
Merge pull request #6972
...
8965489 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-04 10:39:53 -06:00
luigi1111
ef64c4e22f
Merge pull request #6967
...
fa63d4b Fix tx flush callback queueing (vtnerd)
2020-11-04 10:38:08 -06:00
luigi1111
7fa01f342c
Merge pull request #6966
...
42403c7 Fix CLI and unrestricted RPC relay_tx with stempool (vtnerd)
2020-11-04 10:37:18 -06:00
luigi1111
4603ec9765
Merge pull request #6962
...
1a627e1 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-04 10:36:23 -06:00
luigi1111
0be71bcea9
Merge pull request #6961
...
f55f3fe net_node: add --ban-list option (selsta)
2020-11-04 10:35:07 -06:00
moneromooo-monero
1a627e1f89
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 17:36:25 +00:00
luigi1111
c1229a4432
Merge pull request #6965
...
d695340 rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-03 11:23:17 -06:00
luigi1111
9f68111b69
Merge pull request #6964
...
5090cdc p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-03 11:22:27 -06:00
luigi1111
d1e79f2086
Merge pull request #6963
...
df1061c p2p: give all hosts the same chance of being picked for connecting (moneromooo-monero)
2020-11-03 11:21:26 -06:00
moneromooo-monero
8965489acb
protocol: reject empty incoming block messages
2020-11-03 13:08:19 +00:00
xiphon
d6953406c9
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
2020-11-02 19:47:54 +00:00
moneromooo
5090cdc9f5
p2p: remove banned peers from the white list
2020-11-02 19:03:12 +00:00
moneromooo
df1061c87d
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
2020-11-02 19:01:43 +00:00
selsta
f55f3fe81c
net_node: add --ban-list option
2020-11-02 17:26:02 +01:00
Lee Clagett
9b7ed2fd8b
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-10-21 13:11:07 +00:00
Lee Clagett
e8468c5dcf
Fix timeout checks for forwarded and Dandelion++ stem txes
2020-10-21 00:02:11 +00:00
Riccardo Spagni
76cc82c292
Merge pull request #6916
...
81aaa4ec7 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-10-18 17:40:24 +02:00
Riccardo Spagni
81a23c73d2
Merge pull request #6914
...
f9a9d2ee2 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-10-18 17:40:05 +02:00
Riccardo Spagni
4b86583492
Merge pull request #6912
...
6e594e53b Allow setting start block on export (Howard Chu)
2020-10-18 17:39:43 +02:00
Riccardo Spagni
30918a27ab
Merge pull request #6907
...
39e30d548 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-18 17:38:47 +02:00
Riccardo Spagni
940b042e28
Merge pull request #6911
...
c028f4c4d build: prepare v0.17.1.1 (selsta)
2020-10-18 17:25:33 +02:00
selsta
c028f4c4d8
build: prepare v0.17.1.1
2020-10-18 16:11:37 +02:00
xiphon
f9a9d2ee28
wallet2: wait for propagation timeout before marking tx as failed
2020-10-18 13:59:54 +00:00
moneromooo-monero
81aaa4ec7b
bump default number of connections from 8 to 12
2020-10-18 13:25:38 +00:00
Howard Chu
6e594e53bb
Allow setting start block on export
...
And make import honor the starting block# recorded in a bootstrap file
2020-10-18 14:02:30 +01:00
Alexander Blair
e88b9170db
Merge pull request #6906
...
1120df3c5 blockchain: fix sync at v14 boundary (moneromooo-monero)
2020-10-18 05:55:36 -07:00
xiphon
39e30d5481
wallet2_api: implement stop() to interrupt refresh() loop once
2020-10-18 11:59:23 +00:00
moneromooo-monero
1120df3c53
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:50:32 +00:00
Lee Clagett
42403c7acc
Fix CLI and unrestricted RPC relay_tx with stempool
2020-10-14 13:02:27 +00:00
Lee Clagett
fa63d4b3f0
Fix tx flush callback queueing
2020-10-14 13:01:34 +00:00
luigi1111
4d855fcca7
Merge pull request #6894
...
e49ad98 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-10-13 10:54:21 -05:00
luigi1111
8ae0110d54
Merge pull request #6893
...
4cf3545 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-13 10:53:20 -05:00
luigi1111
a9178e3584
Merge pull request #6888
...
a2e37eb build: prepare v0.17.1.0 (selsta)
2020-10-13 10:51:07 -05:00
luigi1111
bbe6ee39e5
Merge pull request #6887
...
518a2cd Force CMAKE_SKIP_RPATH=ON (hyc)
2020-10-13 10:49:58 -05:00
luigi1111
94a86cf855
Merge pull request #6884
...
6352090 Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-13 10:48:00 -05:00
luigi1111
745d90c4a4
Merge pull request #6883
...
c407b92 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-13 10:46:37 -05:00
luigi1111
e60be2289e
Merge pull request #6880
...
250c48a tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
2020-10-13 10:45:26 -05:00
luigi1111
5ef94b29c3
Merge pull request #6870
...
826a844 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
2020-10-13 10:43:31 -05:00
luigi1111
33281c1e2e
Merge pull request #6869
...
b4c7756 cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests (xiphon)
2020-10-13 10:42:08 -05:00
Howard Chu
518a2cdab4
Force CMAKE_SKIP_RPATH=ON
...
Fix empty RPATH token issue. Only affects Linux and FreeBSD.
2020-10-13 14:22:50 +01:00
luigi1111
8235854e8a
Merge pull request #6868
...
4665906 Fix lgamma/signgam dependency (hyc)
2020-10-12 20:21:18 -05:00
xiphon
4cf3545a31
core_rpc_server: on_get_blocks - forward bootstrap daemon error
2020-10-13 00:44:59 +00:00
selsta
a2e37eb3d8
build: prepare v0.17.1.0
2020-10-13 01:13:06 +02:00
xiphon
6352090e6d
Dandelion++: skip desynced peers in stem phase
2020-10-12 16:39:40 +00:00
moneromooo-monero
c407b92e80
wallet2: fix missing m_state field in wallet serialization
2020-10-12 15:35:37 +00:00
moneromooo-monero
250c48a289
tx_pool: silence spammy harmless warning till we fix the bug
2020-10-12 13:41:12 +00:00
Alexis Enston
e49ad98a9b
fix next_seed_height regression in getblocktemplate rpc
2020-10-12 14:08:35 +01:00
Lee Clagett
37bb59485f
Do not use peer_id tracking method over i2p/tor
2020-10-11 13:19:25 +00:00
Lee Clagett
263579b217
Add support for i2p and tor seed nodes
2020-10-09 14:07:40 +00:00
Howard Chu
4665906ddd
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-08 02:08:00 +01:00
xiphon
826a84478d
cmake: Version - use CMAKE_CURRENT_LIST_DIR
2020-10-07 20:21:25 +00:00
xiphon
b4c775663a
cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests
2020-10-06 14:37:00 +00:00
Lee Clagett
58cde83fb0
Switch to Dandelion++ fluff mode if no out connections for stem mode
2020-10-06 13:52:01 +00:00
luigi1111
1a9a984d26
Merge pull request #6845
...
0473abf link libzmq against libgssapi_krb5 if found (moneromooo-monero)
2020-09-25 18:19:47 -05:00
luigi1111
05405024c0
Merge pull request #6843
...
c02d24f build: prepare v0.17.0.1 (selsta)
2020-09-25 18:18:51 -05:00
luigi1111
d65f9a3064
Merge pull request #6842
...
9e6187a fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-25 18:17:53 -05:00
luigi1111
d39f8237e0
Merge pull request #6835
...
4846743 daemon: Windows - fix FAT32 warning, trailing backslash is required (xiphon)
2020-09-25 18:16:19 -05:00
moneromooo-monero
0473abf51d
link libzmq against libgssapi_krb5 if found
2020-09-25 14:38:12 +00:00
selsta
c02d24f838
build: prepare v0.17.0.1
2020-09-25 02:15:13 +02:00
moneromooo-monero
9e6187a736
fix a couple bugs found by OSS-fuzz
...
- index out of bounds when importing outputs
- accessing invalid CLSAG data
2020-09-24 15:33:40 +00:00
xiphon
4846743fdc
daemon: Windows - fix FAT32 warning, trailing backslash is required
2020-09-20 13:57:44 +00: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
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
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