tobtoht
41ad5238a0
Merge pull request #10198
...
47345d1 CMake: override option with toolchain variable (tobtoht)
2025-11-26 20:43:27 +00:00
tobtoht
bf233c5652
Merge pull request #9203
...
b7b9bce simplewallet: edit desc. text for transfer (Cat)
2025-11-26 20:43:03 +00:00
tobtoht
481443039a
Merge pull request #10216
...
b03899f depends: boost: update to 1.89.0 (tobtoht)
2025-11-26 20:07:46 +00:00
Cat
b7b9bce9f7
simplewallet: edit desc. text for transfer
2025-11-26 20:04:40 +00:00
tobtoht
b3614d6b3f
Merge pull request #10170
...
ece0342 epee: align container pod as blob serialization (jeffro256)
2025-11-26 19:39:45 +00:00
tobtoht
b58280f3ec
Merge pull request #10231
...
4c4ffde depends: hidapi: update to 0.15.0 (tobtoht)
2025-11-26 19:34:38 +00:00
tobtoht
74b3e26ea1
Merge pull request #10184
...
0d1cf8f guix: remove libtool & python from darwin build env (tobtoht)
2025-11-26 19:33:41 +00:00
tobtoht
e1455fe373
Merge pull request #10217
...
b53c823 depends: drop unused patches (tobtoht)
2025-11-26 19:32:42 +00:00
tobtoht
662f0a6f32
Merge pull request #10215
...
d8d212c common: add std equivalent of hash_combine (jeffro256)
2025-11-26 19:32:06 +00:00
tobtoht
c66cf10629
Merge pull request #10197
...
7ef82eb guix: link libgcc_s statically for Linux targets (tobtoht)
2025-11-26 19:30:49 +00:00
tobtoht
483913506b
Merge pull request #10179
...
9e57f9b blockchain_prune: check DB version (jeffro256)
2025-11-26 18:49:08 +00:00
tobtoht
5fd71368db
Merge pull request #10214
...
a817da5 serialization: revert va_args_commaprefix usage (jeffro256)
2025-11-26 18:23:42 +00:00
tobtoht
337525d3d0
Merge pull request #10192
...
38bc627 Blockchain: cancel pop_blocks() operation on interupt (jeffro256)
2025-11-26 18:23:06 +00:00
tobtoht
ddfa2ed8fa
Merge pull request #10190
...
1347805 rpc: remove `COMMAND_RPC_SUBMIT_RAW_TX` (hinto.janai)
2025-11-26 18:22:31 +00:00
tobtoht
3eef33d8b3
Merge pull request #10188
...
acda1d4 p2p: unpack memory layout of peerlist entries (jeffro256)
2025-11-26 18:21:57 +00:00
tobtoht
4c4ffdedb0
depends: hidapi: update to 0.15.0
2025-11-24 17:31:39 +01:00
tobtoht
b53c823182
depends: drop unused patches
2025-11-13 22:00:26 +01:00
tobtoht
b03899f639
depends: boost: update to 1.89.0
2025-11-13 21:18:19 +01:00
jeffro256
d8d212ca42
common: add std equivalent of hash_combine
2025-11-13 11:59:57 -06:00
jeffro256
a817da5215
serialization: revert va_args_commaprefix usage
2025-11-13 11:48:13 -06:00
tobtoht
bba6aa518b
Merge pull request #10205
...
1fd6f27 Daemon: relay empty fluffy block on found block (j-berman)
2025-11-12 09:22:16 +00:00
tobtoht
687b7a4ac0
Merge pull request #10203
...
a378b59 tx pool: only increment m_txpool_weight for newly added pool txs (j-berman)
2025-11-12 09:19:59 +00:00
j-berman
1fd6f275da
Daemon: relay empty fluffy block on found block
2025-11-11 16:37:36 -08:00
j-berman
a378b59628
tx pool: only increment m_txpool_weight for newly added pool txs
...
Otherwise we can end up double counting txs towards the weight,
which can over-state the pool weight. E.g. relay tx to node in
stem phase, add its weight to pool weight, then receive tx
from another node, then bump the pool weight again. That double
counts the tx towards the pool weight.
If the weight exceeds the max, the node will "prune" txs from the
pool. Thus, over-counting is probably a cause of, but perhaps
not the only cause of:
https://github.com/seraphis-migration/monero/issues/148
2025-11-11 16:31:01 -08:00
tobtoht
d6be783927
Merge pull request #10196
...
e89922a ledger: throw on secret view key export rejection (tobtoht)
2025-11-11 23:01:45 +00:00
tobtoht
cdaca019fc
Merge pull request #10201
...
52b4c73 cryptonote_protocol: accurate next_needed_height when there is an overlap (0xFFFC0000)
2025-11-11 22:41:41 +00:00
tobtoht
6c17c7d1ad
Merge pull request #10200
...
ef3fe66 src: update checkpoints to match v0.18.4.4 (selsta)
2025-11-11 21:53:12 +00:00
tobtoht
8d33b5c595
Merge pull request #10193
...
c01e1fa Fix logging deadlock (j-berman)
2025-11-11 21:51:02 +00:00
tobtoht
e89922a2fd
ledger: throw on secret view key export rejection
2025-11-11 21:21:41 +01:00
j-berman
c01e1fa288
Fix logging deadlock
2025-11-11 10:43:39 -08:00
0xFFFC0000
52b4c73ab4
cryptonote_protocol: accurate next_needed_height when there is an overlap
2025-11-11 00:29:23 +03:30
selsta
ef3fe664fd
src: update checkpoints to match v0.18.4.4
2025-11-10 19:00:50 +01:00
tobtoht
47345d14a2
CMake: override option with toolchain variable
2025-11-10 15:47:09 +01:00
tobtoht
7ef82ebc4b
guix: link libgcc_s statically for Linux targets
2025-11-10 15:17:41 +01:00
jeffro256
38bc62741b
Blockchain: cancel pop_blocks() operation on interupt
...
On SIGINT, `Blockchain::cancel()` is called, which sets `m_cancel` to `true`.
This commit stops attempting to pop blocks from the chain once that flag is
set. This should leave the blockchain in a well-define state, even if the
`pop_blocks()` operation itself did not "complete".
2025-11-07 13:21:00 -06:00
hinto.janai
1347805434
rpc: remove COMMAND_RPC_SUBMIT_RAW_TX
2025-11-06 23:29:45 +00:00
tobtoht
8a53c96b12
Merge pull request #10181
...
32d9359 fuzz: fix some warnings (jeffro256)
2025-11-06 19:04:23 +00:00
tobtoht
cdbf147c8b
Merge pull request #10182
...
c3ee9ac release: drop support for arm32 linux (tobtoht)
2025-11-06 19:03:51 +00:00
jeffro256
acda1d4a37
p2p: unpack memory layout of peerlist entries
...
The `#pragma pack(push, 1)` directive was causing unaligned memory
accesses to shared pointers in `epee::net_utils::network_address`.
The peerlist file uses Boost serialization, so this should be
backwards compatible.
2025-11-05 15:30:52 -06:00
tobtoht
fc812cdc14
Merge pull request #10005
...
0afe7d5 guix: bump time-machine to 3cd1c8769c618cab07181c6a4807792a371f0b2e (tobtoht)
2025-11-05 18:16:47 +00:00
tobtoht
0d1cf8f550
guix: remove libtool & python from darwin build env
2025-11-02 17:20:58 +01:00
tobtoht
0afe7d5e3e
guix: bump time-machine to 3cd1c8769c618cab07181c6a4807792a371f0b2e
2025-11-01 20:25:33 +01:00
tobtoht
c3ee9ac707
release: drop support for arm32 linux
2025-11-01 12:06:22 +01:00
jeffro256
32d9359b9a
fuzz: fix some warnings
2025-10-28 01:13:00 -05:00
jeffro256
9e57f9be83
blockchain_prune: check DB version
...
Prevents accidental future corruption of the database by refusing
to prune the DB before checking the version value inside the
properties table.
2025-10-27 18:11:54 -05:00
tobtoht
6bb36309d6
Merge pull request #10123
...
4e9d199 daemon: fix print_cn command when 0 connections (jeffro256)
2025-10-27 18:52:36 +00:00
tobtoht
b4a168b5f8
Merge pull request #10083
...
daded36 wallet: identify spends in pool when scanning (j-berman)
2025-10-27 18:50:40 +00:00
tobtoht
fc6170a1f7
Merge pull request #10156
...
0fc5e87 cryptonote_core: rm confusing/redundant BP consensus rule (jeffro256)
2025-10-27 18:47:58 +00:00
tobtoht
0237f04617
Merge pull request #10172
...
5905b20 wallet: sanity check ring indices only against spendable (jeffro256)
2025-10-27 18:47:03 +00:00
jeffro256
5905b202f0
wallet: sanity check ring indices only against spendable
2025-10-15 17:00:21 -05:00
jeffro256
ece0342cb5
epee: align container pod as blob serialization
...
`{un}serialize_stl_container_pod_val_as_blob()` use aligned memory accesses on potentially unaligned pointers.
2025-10-14 16:05:43 -05:00
jeffro256
0fc5e87f2c
cryptonote_core: rm confusing/redundant BP consensus rule
...
This rule is confusing/redundant because before v8, no
bulletproofs whatsoever were allowed. And during and after
v8, ONLY multi-output bulletproofs were allowed, i.e.
exactly 1 bulletproof is allowed which proves the range of
all amount commitments in the transaction.
Sources:
* No BP before v8:
- d32b5bfe18/src/cryptonote_core/blockchain.cpp (L3021-L3032)
* Only 1 BP allowed:
- d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L174)
- d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L150)
* BP must cover all outputs:
- d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L190-L194)
- d32b5bfe18/src/cryptonote_basic/cryptonote_format_utils.cpp (L166-L170)
2025-10-09 15:57:54 -05:00
tobtoht
d32b5bfe18
Merge pull request #9672
...
335fb0b depends: openssl: update to 3.5.4 (tobtoht)
2025-10-08 18:28:14 +00:00
tobtoht
335fb0b28c
depends: openssl: update to 3.5.4
2025-10-08 12:26:52 +02:00
luigi1111
0d500f5349
Merge pull request #9752
...
8d6855c CoC: only allow Administrators to merge changes to the CoC (tobtoht)
2025-10-07 15:46:02 -04:00
luigi1111
3e2faec4da
Merge pull request #9750
...
e3db452 CoC: 'log an issue' -> 'open an issue' (tobtoht)
2025-10-07 15:45:29 -04:00
luigi1111
177e14ac56
Merge pull request #9749
...
5c32fbd CoC: do not encourage using real names or 'well-known aliases' (tobtoht)
2025-10-07 15:44:52 -04:00
luigi1111
d3b80ce528
Merge pull request #9478
...
b9bead5 CoC: prohibit anyone from committing patches to the project directly (tobtoht)
2025-10-07 15:44:07 -04:00
luigi1111
ebfb495512
Merge pull request #9744
...
dc5e15c CoC: remove constraint suggesting copyright can be 'owned collectively' (tobtoht)
2025-10-07 15:42:52 -04:00
luigi1111
9f1686ef78
Merge pull request #9743
...
53cb44c CoC: remove constraints on 'release history' (tobtoht)
2025-10-07 15:42:18 -04:00
luigi1111
574d50ffc2
Merge pull request #9742
...
a60c108 CoC: clarify 'project founders' (tobtoht)
2025-10-07 15:41:38 -04:00
luigi1111
46d794f98e
Merge pull request #9737
...
70d3907 docs: remove 'creating stable releases' section (tobtoht)
2025-10-07 15:40:24 -04:00
luigi1111
3f4f292847
Merge pull request #9735
...
69020aa docs: remove 'Monero Maintainer Team' (tobtoht)
2025-10-07 15:39:37 -04:00
luigi1111
0089f38682
Merge pull request #9733
...
8154b90 docs: do not automatically promote contributors to maintainers (tobtoht)
2025-10-07 15:34:19 -04:00
luigi1111
8f3ae08521
Merge pull request #9732
...
9bd265d docs: don't allow maintainers to edit docs without review (tobtoht)
2025-10-07 15:32:40 -04:00
luigi1111
42ed3c70ef
Merge pull request #9730
...
5345eba docs: allow maintainers to merge their own prs if queued (tobtoht)
2025-10-07 15:32:02 -04:00
luigi1111
a5aa602dce
Merge pull request #10147
...
292c053 Cleaner validation (faster and saner) (j-berman)
2025-10-07 15:22:35 -04:00
luigi1111
8e98fa954c
Merge pull request #10146
...
ca27d51 cryptonote_basic: remove redundant call to get_transaction_hash() in overload (jeffro256)
2025-10-07 15:21:02 -04:00
luigi1111
e0d83e0ebb
Merge pull request #10109
...
be79b83 Daemon RPC: fix on_getblockhash error return on too high height (j-berman)
2025-10-07 15:18:26 -04:00
luigi1111
df90240542
Merge pull request #10107
...
0fb4a8f src: update checkpoints to match v0.18.4.3 (selsta)
2025-10-07 15:17:44 -04:00
luigi1111
44b242d56f
Merge pull request #10086
...
1dbb4a7 wallet2: warn instead of throw when RingDB doesn't include spend (j-berman)
2025-10-07 15:15:23 -04:00
selsta
0fb4a8f9b1
src: update checkpoints to match v0.18.4.3
2025-10-07 16:37:18 +02:00
j-berman
292c053280
Cleaner validation (faster and saner)
2025-10-06 12:51:16 -07:00
jeffro256
ca27d519df
cryptonote_basic: remove redundant call to get_transaction_hash() in overload
...
Issue noticed by DataHoarder.
2025-10-05 16:47:57 -05:00
jeffro256
4e9d199913
daemon: fix print_cn command when 0 connections
...
Deferencing the result of `std::max_element()` when `res.connections` has 0 elements leads to UB, and segfaults in practice.
Co-authored-by: iamamyth <user@example.com >
2025-09-28 13:55:44 -05:00
tobtoht
8e9ab9677f
Merge pull request #10097
...
9308fd7 simplewallet: batch address creation limit to match rpc (nahuhh)
2025-09-28 18:34:44 +00:00
tobtoht
adc395577a
Merge pull request #10103
...
bc8b210 Send ZMQ miner notifications after txpool additions (WeebDataHoarder)
2025-09-28 18:33:35 +00:00
tobtoht
a6d0ac3fdb
Merge pull request #10110
...
5e5a52e removing lza_menace seed nodes (lza_menace)
2025-09-28 18:32:52 +00:00
tobtoht
5240ee5438
Merge pull request #9939
...
ae489ba p2p: Improved peer selection with /24 subnet deduplication to disadvantage 'spy nodes' (rbrunner7)
2025-09-28 18:30:41 +00:00
tobtoht
0cc56f6373
Merge pull request #10114
...
6c49352 net_node: add hinto seed nodes (hinto.janai)
2025-09-28 18:29:09 +00:00
hinto.janai
6c493528e0
net_node: add hinto seed nodes
2025-09-26 19:26:33 +00:00
rbrunner7
ae489ba6ef
p2p: Improved peer selection with /24 subnet deduplication to disadvantage 'spy nodes'
2025-09-26 14:16:55 +02:00
lza_menace
5e5a52e583
removing lza_menace seed nodes
2025-09-25 19:16:54 -07:00
j-berman
be79b83b4e
Daemon RPC: fix on_getblockhash error return on too high height
2025-09-25 16:18:22 -07:00
tobtoht
b591866fcf
Merge pull request #10065
...
179c924 Fix logging lock, future optimizations may needed (Lee *!* Clagett)
2025-09-24 20:53:02 +00:00
tobtoht
a0c144a436
Merge pull request #10072
...
b74ca72 cmake: set minimum to 3.10 to fix warnings (selsta)
2025-09-24 20:51:22 +00:00
tobtoht
1d9a201980
Merge pull request #10088
...
dc759e8 minimal changes to remove improper binding to temporary variable (dabbonda)
2025-09-24 20:50:55 +00:00
tobtoht
ef38c7cc6d
Merge pull request #10089
...
92c8bd5 remove 66.85.74.134 as seed node (Gingeropolous)
2025-09-24 20:50:06 +00:00
tobtoht
79922e1215
Merge pull request #10091
...
935f2d2 cryptonote_core: `--dns-versions-check` is deprecated (nahuhh)
2025-09-24 20:49:12 +00:00
tobtoht
42d127a7bb
Merge pull request #10100
...
5860b43 tests: only enable fuzz testing if ENABLE_FUZZ_TEST defined (0xFFFC0000)
2025-09-24 20:48:00 +00:00
0xFFFC0000
5860b43d94
tests: only enable fuzz testing if ENABLE_FUZZ_TEST defined
2025-09-24 12:05:00 +00:00
WeebDataHoarder
bc8b210aff
Send ZMQ miner notifications after txpool additions
...
Bug was introduced in c069c04ede , before this txpool additions were not notified on block addition
When receiving blocks with previously unknown conditions, miner data was sent first, but txpool add events for already-added transactions in previous block were sent afterward. Miners would then include already-mined transactions in their new templates due to receiving the mistimed txpool add event.
The fix is to send miner notifications AFTER txpool events are sent, and before normal block notifications are sent (for mining switch speed purposes)
Fixes c069c04ede / #9135
Fixes dfee15eee1 / #7891
2025-09-24 09:13:25 +02:00
nahuhh
9308fd7113
simplewallet: batch address creation limit to match rpc
2025-09-22 13:54:15 +00:00
nahuhh
935f2d20ec
cryptonote_core: --dns-versions-check is deprecated
2025-09-21 18:52:25 +00:00
dabbonda
dc759e89f9
minimal changes to remove improper binding to temporary variable
2025-09-21 12:36:28 -04:00
Gingeropolous
92c8bd53a4
remove 66.85.74.134 as seed node
...
remove 66.85.74.134 as seed node. bastards doubled the price of the server.
2025-09-21 10:04:28 -04:00
j-berman
1dbb4a7928
wallet2: warn instead of throw when RingDB doesn't include spend
...
A reorg can end up causing an output's position in the chain to
move. Since the wallet doesn't update the RingDB on reorg, it
may refer to the output's stale position in the chain.
This seems a reasonable solution rather than introducing complex
logic to update the stale ring member's value on rerog, since
RingDB can be deprecated with FCMP++.
2025-09-17 15:21:46 -07:00
j-berman
daded36823
wallet: identify spends in pool when scanning
...
- Make sure to mark identified spends in the pool as spends. The
wallet might not know these have been spent if it wasn't the wallet
that relayed the tx to the daemon, or the wallet was cleared via
rescan_bc.
- Make sure to add spends to m_unconfirmed_txs if not present.
- Make sure to process the entire pool again if refreshing for
the first time. The wallet fetches pool and blocks at the same
time. The wallet scans blocks first, then pool. If the wallet
identifies received outputs in the chain, then it may have spent
those received outputs in the pool. So we make sure to re-process
the entire pool again after scanning the chain for the first time.
- Multisig wallets that know about spent key images can now detect
spend txs in the pool. Update tests for that.
2025-09-15 14:14:50 -07:00
tobtoht
8d4c625713
Merge pull request #10004
...
36bdfad rpc-fuzz: Add new fuzzers for RPC endpoints (Arthur Chan)
2025-09-09 17:39:15 +00:00
Arthur Chan
36bdfad073
rpc-fuzz: Add new fuzzers for RPC endpoints
...
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Add macro definition for fuzzers
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Fix FuzzedDataProvider header missing problem
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Add README
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Provide static FuzzedDataProvider.h
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Update and enhance fuzzer
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Activate UBSan
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Fix fuzz target retrieval
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Remove bias selector and fix protocol lifespan
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Drop SIGALARM handling and fix bug on selectors
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Fix rpc request changes
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Add a new fuzzer profile that catch all expcetions
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Fix typo
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
Add warning
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com >
2025-09-08 18:35:55 +00:00
tobtoht
d8853474f7
Merge pull request #10069
...
0b1b9f7 CMake: fix msys/ICU compilation failure (0xFFFC0000)
2025-09-08 18:16:45 +00:00
selsta
b74ca72bad
cmake: set minimum to 3.10 to fix warnings
2025-09-08 20:12:45 +02:00
tobtoht
8259df0d1d
Merge pull request #9860
...
dbc8402 wallet: fix wallet_keys_unlocker (jeffro256)
2025-09-08 18:08:22 +00:00
0xFFFC0000
0b1b9f7eec
CMake: fix msys/ICU compilation failure
2025-09-07 19:19:28 +00:00
jeffro256
dbc8402da6
wallet: fix wallet_keys_unlocker
...
Fix four issues with wallet_keys_unlocker:
1. It won't decrypt if there are unlockers open simulataneously on multiple `wallet2` instances
2. It won't decrypt if the first unlocker was disabled (i.e. `locked=false`), even with a second non-disabled unlocker
3. If a destructor of an earlier unlocker is triggered before the destructor of a later unlocker, it will re-encrypt too early, while the second unlocker is still in scope
4. Calling the 3-parameter constructor with `locked=true` after an unlocker already exists will "double-encrypt" the spend key after its destructor since the local variable is `locked=false` and the field member is `locked=true`
Also, replace `wallet2::decrypt_account_for_multisig` with `wallet_keys_unlocker`.
2025-09-04 15:43:38 -05:00
Lee *!* Clagett
179c924c51
Fix logging lock, future optimizations may needed
2025-09-02 11:18:45 -04:00
tobtoht
7fe199facc
Merge pull request #10061
...
a764f5a ci: macos: reinstall cmake (tobtoht)
2025-08-30 17:45:08 +00:00
tobtoht
a764f5a42a
ci: macos: reinstall cmake
2025-08-30 19:14:34 +02:00
tobtoht
0229f6fdde
Merge pull request #10046
...
a5b2ad0 BlockchainLMDB: do not assume alignment for alt block entries (jeffro256)
2025-08-30 17:08:26 +00:00
tobtoht
07dcc49bd7
Merge pull request #10056
...
ca48432 epee: only parse valid port (selsta)
2025-08-30 17:07:20 +00:00
tobtoht
bdce2fe089
Merge pull request #10060
...
57c40b8 functional_tests: fix piecemeal export in cold_signing, part 2 (jeffro256)
2025-08-29 16:41:00 +00:00
selsta
ca484323c3
epee: only parse valid port
...
Reported by hacksandhops and Ada Logic.
2025-08-29 11:45:02 +02:00
jeffro256
57c40b8993
functional_tests: fix piecemeal export in cold_signing, part 2
...
Do not mark output import as done if exception is thrown for output being past last imported output.
2025-08-26 15:38:25 -05:00
tobtoht
09bb3705e0
Merge pull request #10053
...
22433f8 functional_tests: fix piecemeal export in cold_signing (jeffro256)
2025-08-23 14:26:17 +00:00
jeffro256
22433f8414
functional_tests: fix piecemeal export in cold_signing
...
The `while` loop condition was incorrect, which could lead to incomplete imports.
Also, setting `start` to an *undone* output speeds up the test by 16s on my machine.
2025-08-22 13:21:32 -05:00
tobtoht
a9b8a8a4b1
Merge pull request #10010
...
149ba26 guix: switch to guix shell (tobtoht)
2025-08-21 17:30:51 +00:00
tobtoht
5886c12af6
Merge pull request #9455
...
574c845 guix: use llvm 18 toolchain for darwin targets (tobtoht)
2025-08-21 17:30:02 +00:00
tobtoht
f93dd5e3ce
Merge pull request #10008
...
78b8c83 functional_tests: check transfers list consistency in cold_signing (jeffro256)
2025-08-21 17:28:00 +00:00
jeffro256
78b8c83fdf
functional_tests: check transfers list consistency in cold_signing
2025-08-21 11:34:58 -05:00
tobtoht
4e93cdc941
Merge pull request #9883
...
7b28be0 functional_tests: test PR #9863 (jeffro256)
2025-08-21 16:31:19 +00:00
tobtoht
c8f3566dbb
Merge pull request #10050
...
cc444a9 checkpoints: update to a recent block height (selsta)
2025-08-21 16:28:37 +00:00
tobtoht
f04668c13d
Merge pull request #10044
...
7cf7912 CONTRIBUTING.md: replace discontinued paste service (Leonardo Faoro)
2025-08-21 16:26:55 +00:00
tobtoht
a344bb5989
Merge pull request #10042
...
d979031 fix typo in CHECK_AND_ASSERT_MES (Leonardo Faoro)
2025-08-21 16:26:06 +00:00
tobtoht
099af33242
Merge pull request #10036
...
f61294d epee: include math header for upcoming Boost 1.89 (Michael Cho)
2025-08-21 16:25:25 +00:00
tobtoht
d5514ab6ee
Merge pull request #10033
...
681fee1 wallet: fix warning in fee priority algorithm (0xFFFC0000)
2025-08-21 16:24:52 +00:00
tobtoht
2633d1f24a
Merge pull request #10029
...
fb64bb3 Skip ping connections in outgoing count (Lee *!* Clagett)
2025-08-21 16:22:51 +00:00
tobtoht
da2c15b76e
Merge pull request #10026
...
613ee85 cryptonote_basic: remove state_idle in connection_context (jeffro256)
2025-08-21 16:22:13 +00:00
tobtoht
c6524eecd1
Merge pull request #10025
...
a8959f2 Daemon RPC: rm high_height_ok field from getblocks.bin (j-berman)
2025-08-21 16:21:37 +00:00
tobtoht
c9db24a010
Merge pull request #10017
...
d527fd5 simplewallet: fix payment id header in show_transfers command (ComputeryPony)
2025-08-21 16:21:08 +00:00
tobtoht
563a5b1a7d
Merge pull request #10007
...
5e54c72 wallet: RPC method /incoming_transfers without daemon connection (jeffro256)
2025-08-21 16:20:37 +00:00
tobtoht
6dc7b1f8fb
Merge pull request #9921
...
90256c8 error out if functional tests are disabled (Crypto City)
2025-08-21 16:19:30 +00:00
tobtoht
a8b5ae6dd2
Merge pull request #9919
...
06b74ae ringct & cryptonote_basic: detangle dependencies (jeffro256)
2025-08-21 16:18:14 +00:00
jeffro256
a5b2ad04c5
BlockchainLMDB: do not assume alignment for alt block entries
2025-08-20 23:23:48 -05:00
selsta
cc444a937d
checkpoints: update to a recent block height
2025-08-20 18:40:18 +02:00
Leonardo Faoro
7cf7912bf0
CONTRIBUTING.md: replace discontinued paste service
...
fpaste.org has been seized by someone else and now links to a spam website, replaced it w/ a stable and reputable alternative (gnu.cat)
CONTRIBUTING.md: replace paste service
removed gnu.cat
added paste.debian.org
based on community usage and familiarity with the debian paste service
2025-08-18 21:49:51 +03:00
Leonardo Faoro
d979031977
fix typo in CHECK_AND_ASSERT_MES
2025-08-17 01:56:04 +00:00
0xFFFC0000
681fee125a
wallet: fix warning in fee priority algorithm
2025-08-13 14:22:47 +00:00
Michael Cho
f61294dc6b
epee: include math header for upcoming Boost 1.89
...
When building on Ubuntu 22.04 with GCC 11.4.0 and Boost 1.89.0.beta1,
the build failed with:
```
error: ‘floor’ was not declared in this scope
41 | num_char = (int)floor((float)num_char / (float)radix);
| ^~~~~
```
Signed-off-by: Michael Cho <michael@michaelcho.dev >
2025-08-12 20:07:49 -04:00
Lee *!* Clagett
fb64bb346e
Skip ping connections in outgoing count
2025-08-09 10:48:53 -04:00
jeffro256
613ee85402
cryptonote_basic: remove state_idle in connection_context
2025-08-07 20:55:44 -05:00
j-berman
a8959f2c9b
Daemon RPC: rm high_height_ok field from getblocks.bin
...
Since current behavior on release is to ban clients with too
high a height included in the request, it seems reasonably
justified to modify that behavior to instead return a successful
response that includes the chain height and top block hash.
2025-08-06 12:45:49 -07:00
tobtoht
389e3ba1df
Merge pull request #10020
...
c08f111 src: update checkpoints to match v0.18.4.2 (selsta)
2025-08-05 16:10:10 +00:00
tobtoht
574c845090
guix: use llvm 18 toolchain for darwin targets
2025-08-05 13:02:18 +02:00
selsta
c08f1114de
src: update checkpoints to match v0.18.4.2
2025-08-01 17:27:51 +02:00
tobtoht
8e7af0806e
Merge pull request #10000
...
a2f336d serialization: massage pair casting to remove user-defined-cast warnings (jeffro256)
2025-08-01 12:01:49 +00:00
tobtoht
4935f3c9c0
Merge pull request #10014
...
dc350f3 wallet: deprecate wallet2::find_and_save_rings() (jeffro256)
2025-08-01 11:51:51 +00:00
tobtoht
1e72c25983
Merge pull request #9938
...
8a33caf fix typo (Maximilian Hubert)
2025-08-01 11:51:22 +00:00
tobtoht
abf0515432
Merge pull request #9984
...
2820757 common: remove tools::add_element (jeffro256)
2025-08-01 11:49:16 +00:00
tobtoht
33c6b21ea9
Merge pull request #9989
...
2496501 Dockerfile: remove unused deps (tobtoht)
2025-08-01 11:48:37 +00:00
tobtoht
ddd7cfb09d
Merge pull request #9990
...
ea54a08 ci: depends: remove unused deps (tobtoht)
2025-08-01 11:48:14 +00:00
tobtoht
af695b8290
Merge pull request #9992
...
d5eb1e6 docs: add URI scheme (tobtoht)
2025-08-01 11:47:46 +00:00
tobtoht
d839f99dde
Merge pull request #9993
...
4f64942 readme: update packages (tobtoht)
2025-08-01 11:47:24 +00:00
tobtoht
b71780c967
Merge pull request #9995
...
4552250 guix: use canonical repository (tobtoht)
2025-08-01 11:47:00 +00:00
tobtoht
b77837d6bf
Merge pull request #10001
...
4da5f7c guix: build freebsd target with clang 18 (tobtoht)
2025-08-01 11:46:24 +00:00
tobtoht
8f00046b4a
Merge pull request #10002
...
4775755 tests: add OSS-Fuzz documentation (David Korczynski)
2025-08-01 11:45:22 +00:00
tobtoht
549aef9507
Merge pull request #10009
...
377071e cryptonote_core: remove blockchain_storage_boost_serialization.h (jeffro256)
2025-08-01 11:44:34 +00:00
tobtoht
8c4ac29c3f
Merge pull request #10011
...
aea82b9 anonymity: update docs to use --proxy + misc improvements (nahuhh)
2025-08-01 11:44:03 +00:00
David Korczynski
4775755456
tests: add OSS-Fuzz documentation
...
Adds documentation that outlines the OSS-Fuzz integration of Monero. The
goal is to make it more accessible to build/test/expand the existing
fuzz suite, and also to make it more visible that this integration
exists.
Signed-off-by: David Korczynski <david@adalogics.com >
2025-07-31 11:30:42 -07:00
ComputeryPony
d527fd5834
simplewallet: fix payment id header in show_transfers command
2025-07-30 18:13:53 +09:00
jeffro256
dc350f35a5
wallet: deprecate wallet2::find_and_save_rings()
...
Rings for outgoing transactions are stored within the scanning code since the last hardfork,
so this code is largely unneccessary now.
Co-authored-by: j-berman <justinberman@protonmail.com >
2025-07-29 12:28:39 -05:00
nahuhh
aea82b9c7e
anonymity: update docs to use --proxy + misc improvements
2025-07-25 15:25:37 +00:00
tobtoht
149ba2666a
guix: switch to guix shell
2025-07-24 14:32:25 +02:00
jeffro256
377071ea89
cryptonote_core: remove blockchain_storage_boost_serialization.h
...
unused
2025-07-24 02:22:14 -05:00
jeffro256
5e54c72629
wallet: RPC method /incoming_transfers without daemon connection
...
Allows calling /incoming_transfers for cold wallets especially
2025-07-24 01:51:06 -05:00
tobtoht
fbc242d52d
Merge pull request #9988
...
5f048a3 readme: fix macos depends requirements (tobtoht)
2025-07-19 15:19:53 +00:00
jeffro256
a2f336d22f
serialization: massage pair casting to remove user-defined-cast warnings
...
Similar to: https://github.com/sstsimulator/sst-core/pull/1315
2025-07-16 00:03:42 -05:00
tobtoht
4da5f7cabd
guix: build freebsd target with clang 18
2025-07-15 19:46:37 +02:00
tobtoht
fbd7348d82
Merge pull request #9997
...
40813f7 readme: recommend v0.18.4.1 (nahuhh)
2025-07-14 16:59:45 +00:00
tobtoht
fc1fcd4cbf
Merge pull request #9996
...
ffd228b set do_not_relay always false in submit_multisig_main (SNeedlewoods)
2025-07-14 16:52:06 +00:00
nahuhh
40813f70ea
readme: recommend v0.18.4.1
2025-07-14 16:05:04 +00:00
SNeedlewoods
ffd228b114
set do_not_relay always false in submit_multisig_main
2025-07-14 17:37:01 +02:00
tobtoht
4552250d86
guix: use canonical repository
2025-07-14 16:06:11 +02:00
tobtoht
4f649425d8
readme: update packages
2025-07-13 23:38:04 +02:00
tobtoht
d5eb1e6518
docs: add URI scheme
2025-07-13 22:32:43 +02:00
tobtoht
ea54a08c0e
ci: depends: remove unused deps
2025-07-13 21:18:49 +02:00
tobtoht
249650162d
Dockerfile: remove unused deps
2025-07-13 21:06:28 +02:00
tobtoht
5f048a30c9
readme: fix macos depends requirements
2025-07-13 20:24:56 +02:00
tobtoht
a1aef9e017
Merge pull request #9855
...
2aa90a1 Add log-level arg description to monerod (meed3)
2025-07-13 16:54:08 +00:00
tobtoht
40cd9ba0c4
Merge pull request #9981
...
6131dde rpc: return error correctly on bad key image string (jeffro256)
2025-07-13 16:53:30 +00:00
tobtoht
61b8c09f83
Merge pull request #9698
...
861437c add do_not_relay option to submit_multisig_main command in simplewallet (SNeedlewoods)
2025-07-13 16:52:14 +00:00
tobtoht
a9a399dc6b
Merge pull request #9985
...
3c05f00 crypto: check+throw for Cryptonight v1 invalid input (jeffro256)
2025-07-13 16:50:58 +00:00
jeffro256
2820757d9d
common: remove tools::add_element
...
Since C++17, `std::vector::emplace_back()` returns a reference, so this helper isn't needed anymore.
2025-07-11 11:31:46 -05:00
jeffro256
3c05f00b85
crypto: check+throw for Cryptonight v1 invalid input
...
If `crypto::cn_slow_hash()` is called with `variant=1` and an input length of less thab 43 bytes, it triggers a program exit.
This checks first and throws an exception instead.
Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 11:19:43 -05:00
jeffro256
6131ddef10
rpc: return error correctly on bad key image string
...
Because of the missing `return` statement, the status is set to "OK" later on in the method when it shouldn't be.
Thank you to ADA Logics and the MAGIC Monero Fund for reporting this!
2025-07-11 10:39:03 -05:00
SNeedlewoods
861437c543
add do_not_relay option to submit_multisig_main command in simplewallet
2025-07-11 17:34:35 +02:00
tobtoht
c540d40071
Merge pull request #9957
...
2bce551 Add new dynamic fees to ZMQ (Lee Clagett)
2025-07-10 17:32:49 +00:00
tobtoht
bd34723f95
Merge pull request #9661
...
4a71ac0 depends: openssl: update to 3.0.17 (tobtoht)
2025-07-10 17:32:03 +00:00
tobtoht
804d8cf6da
Merge pull request #9960
...
980f11f guix: cleanup manifest (tobtoht)
2025-07-10 17:29:10 +00:00
tobtoht
4a71ac0f08
depends: openssl: update to 3.0.17
2025-07-10 16:07:49 +02:00
tobtoht
d74035356f
Merge pull request #9968
...
f5d4ba8 ci: bump debian to 11 (tobtoht)
2025-07-10 13:47:15 +00:00
tobtoht
26294e80c9
Merge pull request #9947
...
00237fe src: update checkpoints to match v0.18.4.1 (selsta)
2025-07-10 13:46:26 +00:00
selsta
00237fe18a
src: update checkpoints to match v0.18.4.1
2025-07-10 15:31:54 +02:00
tobtoht
08438b60c1
Merge pull request #9838
...
2f2a8c4 wallet: Improve Fee Priority Code for Clarity (tzadiko)
2025-07-10 12:45:39 +00:00
tobtoht
88aa3ed21e
Merge pull request #9925
...
4c341da BlockchainLMDB: remove `virtual` qualifers from overriden methods and mark `final` (jeffro256)
deb1ec9 BlockchainLMDB: mark overridden methods with `override` (jeffro256)
2025-07-10 12:34:05 +00:00
tobtoht
ff000b654d
Merge pull request #9927
...
6fd3a2e tools::variant: remove (jeffro256)
2025-07-10 12:32:20 +00:00
tobtoht
6f2efeca1e
Merge pull request #9940
...
e9c89dc wallet: kill support for deprecated ephemeral Boost messages (jeffro256)
2025-07-10 12:29:13 +00:00
tobtoht
8b95b38fa2
Merge pull request #9953
...
6d06de7 wallet: refactor subaddress expansion & add to transfer test (jeffro256)
6e26e44 wallet: improve lookahead logic & make rpc persistent (Justin Berman)
6f36037 wallet: create set_subaddress_lookahead wallet rpc endpoint (benevanoff)
b987676 wallet: ensure subaddress keys table is at least size of requested lookahead (benevanoff)
2025-07-10 12:20:49 +00:00
tobtoht
3d7171e684
Merge pull request #9977
...
71182c6 simplewallet: respect `do-not-relay` in `sweep_single` (hinto.janai)
2025-07-10 12:19:08 +00:00
tzadiko
2f2a8c46bb
wallet: Improve Fee Priority Code for Clarity
2025-07-09 20:08:42 -05:00
hinto.janai
71182c6423
simplewallet: respect do-not-relay in sweep_single
2025-07-08 13:06:42 +00:00
tobtoht
4d5525a096
Merge pull request #9948
...
92315c0 Add is_same_host check to p2p (Lee *!* Clagett)
2025-07-08 09:28:55 +00:00
jeffro256
6d06de74b2
wallet: refactor subaddress expansion & add to transfer test
2025-07-07 22:16:11 +00:00
Justin Berman
6e26e4477e
wallet: improve lookahead logic & make rpc persistent
2025-07-07 22:16:09 +00:00
benevanoff
6f36037116
wallet: create set_subaddress_lookahead wallet rpc endpoint
2025-07-07 22:15:04 +00:00
tobtoht
2657d3703c
Merge pull request #9967
...
c704630 cmake: don't redefine project (tobtoht)
2025-07-07 19:39:54 +00:00
tobtoht
db91bde360
Merge pull request #9955
...
f567852 Add check for exception in tcp accept handler (Lee *!* Clagett)
2025-07-07 19:39:25 +00:00
tobtoht
17f6fb871c
Merge pull request #9971
...
19fab4d wallet2: ignore checkpoints in fast_refresh when height < 1000 (Oscar Mira)
2025-07-03 10:49:07 +00:00
benevanoff
b987676d63
wallet: ensure subaddress keys table is at least size of requested lookahead
2025-06-27 21:35:16 +00:00
Oscar Mira
19fab4d38e
wallet2: ignore checkpoints in fast_refresh when height < 1000
2025-06-27 00:35:56 +02:00
tobtoht
c7046302d4
cmake: don't redefine project
2025-06-24 08:01:37 +02:00
tobtoht
980f11f3ac
guix: cleanup manifest
2025-06-16 10:42:27 +02:00
tobtoht
f5d4ba8ee3
ci: bump debian to 11
2025-06-15 21:11:13 +02:00
tobtoht
c572e1ad00
Merge pull request #9908
...
9891fe8 epee: fix string_tools on Windows (0xFFFC0000)
2025-06-14 18:59:52 +00:00
tobtoht
bc33cdfe29
Merge pull request #9935
...
69345db wallet2: use nearest checkpoint to allow fast_refresh on old accounts (Oscar Mira)
edc447e checkpoints: support nearest lower checkpoint lookup (Oscar Mira)
2025-06-14 18:58:52 +00:00
tobtoht
e9c33919a9
Merge pull request #9937
...
d0dda0b wallet:set refresh interval to default when hitting tip of chain (tzadiko)
2025-06-14 18:57:56 +00:00
tobtoht
ffa1488f77
Merge pull request #9944
...
b8af7e8 fix issue 9943: cli using wrong filename for storing keys (Rudolf Schmidt)
2025-06-14 18:56:23 +00:00
Lee Clagett
2bce551da7
Add new dynamic fees to ZMQ
2025-06-13 17:10:17 -04:00
Lee *!* Clagett
f567852867
Add check for exception in tcp accept handler
2025-06-12 17:46:42 -04:00
Rudolf Schmidt
b8af7e8406
fix issue 9943: cli using wrong filename for storing keys
2025-06-07 15:31:25 +02:00
jeffro256
e9c89dc6ab
wallet: kill support for deprecated ephemeral Boost messages
...
The commit kills support for deprecated ephemeral Boost messages: signed/unsigned transaction sets, pending transactions, reserve proofs, MMS messages, etc.
It does NOT kill support for loading very old wallets in Boost format, that should be supported indefinitely. These messages were deprecated 5 years ago. Since
then, we have had a hard fork to enable a new non-compatible transaction type (w/ view tags), and disable the old transaction type. This renders basically all
of the aforementioned messages before that HF useless, with the possible exception of reserve proofs.
This commit also cleans up dead inclusions of boost serialization headers.
This commit is part of upstreaming Carrot/FCMP++. Killing support for Boost messages now means less boilerplate Boost serialization review for Carrot/FCMP++.
2025-05-30 14:24:56 -05:00
jeffro256
4c341da1e5
BlockchainLMDB: remove virtual qualifers from overriden methods and mark final
...
According to guideline at https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines.html#c128-virtual-functions-should-specify-exactly-one-of-virtual-override-or-final
Co-authored-by: SNeedlewoods <sneedlewoods_1@protonmail.com >
Co-authored-by: Lee *!* Clagett <code@leeclagett.com >
2025-05-30 12:11:43 -05:00
Maximilian Hubert
8a33cafcbf
fix typo
2025-05-29 23:26:22 +02:00
tzadiko
d0dda0b6ee
wallet:set refresh interval to default when hitting tip of chain
2025-05-27 19:19:42 -05:00
Oscar Mira
69345dbe29
wallet2: use nearest checkpoint to allow fast_refresh on old accounts
2025-05-23 19:27:19 +02:00
Oscar Mira
edc447eb75
checkpoints: support nearest lower checkpoint lookup
2025-05-23 19:27:10 +02:00
Lee *!* Clagett
92315c0357
Add is_same_host check to p2p
2025-05-19 18:30:18 -04:00
tobtoht
125622d5bd
Merge pull request #9922
...
ff429c09b gpg_keys: bump my key's expiration to 5 years (moneromooo-monero)
2025-05-16 11:59:05 +00:00
tobtoht
047624ec38
Merge pull request #9923
...
0db4ed059 gpg_keys: bump jeffro256 expiration to 2027-05-09 (jeffro256)
2025-05-16 11:58:32 +00:00
jeffro256
6fd3a2e06b
tools::variant: remove
2025-05-15 13:48:36 -05:00
jeffro256
deb1ec93c8
BlockchainLMDB: mark overridden methods with override
2025-05-15 13:13:39 -05:00
jeffro256
0db4ed059e
gpg_keys: bump jeffro256 expiration to 2027-05-09
2025-05-08 19:11:54 -05:00
moneromooo-monero
ff429c09b7
gpg_keys: bump my key's expiration to 5 years
...
I had missed the subkey in my recent bump
2025-05-08 17:20:06 +00:00
Crypto City
90256c8208
error out if functional tests are disabled
2025-05-08 17:08:32 +00:00
jeffro256
06b74ae3f5
ringct & cryptonote_basic: detangle dependencies
...
`libringct` was linking against `libcryptonote_basic` for a single, one-line convenience function: `cryptonote::get_blob_hash`.
Since `cryptonote_basic.h` includes `rctTypes.h`, this one function effectively made an explicit circular dependency between
the two libraries. `cryptonote_format_utils.cpp` was including header `rctSigs.h` from `libringct`, when only `rctOps.h` from
`libringct_basic` needed to be included. `libcryptonote_basic` wasn't explictly linking against `libringct_basic` nor
`libringct` like it should have. And `libblockchain_db` wasn't linking against `libcryptonote_basic` like it should have. We
can also downgrade `libblockchain_db`'s dependency on `libringct` to `libringct_basic`.
2025-05-07 19:52:24 -05:00
tobtoht
c2e3835223
Merge pull request #9910
...
d106e21b7 src: fix clangd warnings (0xFFFC0000)
2025-05-07 03:32:02 +00:00
0xFFFC0000
d106e21b74
src: fix clangd warnings
2025-05-01 05:27:35 +00:00
tobtoht
c5cb8e1b78
Merge pull request #9916
...
98b79485d msys2 build: include int headers (jeffro256)
2025-04-30 05:29:25 +00:00
jeffro256
98b79485df
msys2 build: include int headers
2025-04-29 00:57:37 -05:00
tobtoht
b6df4bb142
Merge pull request #9875
...
fd08594ca wallet: fix monero-wallet-rpc ignoring calls during sync (tzadiko)
2025-04-25 05:09:56 +00:00
tobtoht
d2d976ca5a
Merge pull request #9404
...
f4672c259 cryptonote_core: only verify txpool when the hardfork value has changed. (0xFFFC0000)
2025-04-24 16:13:01 +00:00
tobtoht
906acaf963
Merge pull request #9859
...
a57c099d0 fix: added key correspondence check (StrawberryChocolateFudge)
2025-04-24 15:44:08 +00:00
tobtoht
02fba21846
Merge pull request #9881
...
8af33c71c epee: syncobj: replace shims with Boost classes (jeffro256)
2025-04-23 16:31:56 +00:00
tobtoht
03de3ad5a6
Merge pull request #9879
...
18376ca57 epee: remove reg_exp_definer.h (jeffro256)
2025-04-23 16:27:03 +00:00
tobtoht
56ee3d2765
Merge pull request #9872
...
6d6e8e173 construct_tx_and_get_tx_key: don't erase exception trace (jeffro256)
2025-04-23 16:22:25 +00:00
tobtoht
d1a038683d
Merge pull request #9848
...
f8ecd3174 Fix copies in ZMQ input/output (Lee *!* Clagett)
2025-04-23 16:21:01 +00:00
tobtoht
8d6b25568f
Merge pull request #9795
...
cb91dcee3 tests: Speed up p2p reorg test (iamamyth)
2025-04-23 16:15:23 +00:00
tobtoht
627bb04b98
Merge pull request #9851
...
70fe289d8 Improve move/copy/default constructor semantics for tx and block (Lee *!* Clagett)
2025-04-23 16:14:50 +00:00
tobtoht
ee497cc172
Merge pull request #9857
...
332d92ffb epee: span::operator[] allow mut ref from const span (jeffro256)
2025-04-23 16:13:36 +00:00
tobtoht
28dd16181b
Merge pull request #9863
...
c848e21c4 fix: multisig stale data after failed refresh (SNeedlewoods)
2025-04-23 16:12:45 +00:00
tobtoht
80a2cd3dd3
Merge pull request #9873
...
b81b38760 easylogging: replace NULL with empty string literal (tobtoht)
2025-04-23 16:11:04 +00:00
tobtoht
aca10cfe30
Merge pull request #9876
...
f728c963c CMakeLists: add cache option for MANUAL_SUBMODULES (jeffro256)
2025-04-23 16:10:10 +00:00
tobtoht
22627363a4
Merge pull request #9884
...
7cb406e05 cryptonote_basic: is_coinbase() take prefix (jeffro256)
2025-04-23 16:07:39 +00:00
tobtoht
563898bdb5
Merge pull request #9886
...
65b1eb772 Fix cmake usage in FetchContent and ExternalProject (Lee Clagett)
2025-04-23 16:07:01 +00:00
tobtoht
cd19e661cb
Merge pull request #9889
...
b6ffb4c94 ci: run brew update (tobtoht)
2025-04-23 16:05:10 +00:00
tobtoht
9be4b92e89
Merge pull request #9892
...
de5a4a1cf guix: drop support for i686-linux-gnu (tobtoht)
2025-04-23 16:04:23 +00:00
tobtoht
e3cf0d4792
Merge pull request #9893
...
b1728a95a guix: unset HOST env variable (tobtoht)
2025-04-23 16:03:47 +00:00
tobtoht
bdc7898c4f
Merge pull request #9895
...
4877537a0 fix inconsistent casing in Dockerfile (menaceone)
2025-04-23 16:03:06 +00:00
tobtoht
a726f8231d
Merge pull request #9904
...
9d4dd0ef8 chore: fix some typos (tsinghuacoder)
2025-04-23 16:02:20 +00:00
tobtoht
cef67a7412
Merge pull request #9896
...
348ed19d9 guix: ask for confirmation before deleting files (tobtoht)
2025-04-22 13:32:42 +00:00
0xFFFC0000
9891fe8238
epee: fix string_tools on Windows
2025-04-22 13:22:02 +00:00
tsinghuacoder
9d4dd0ef8d
chore: fix some typos
...
Signed-off-by: tsinghuacoder <tsinghuacoder@icloud.com >
2025-04-11 17:05:25 +08:00
tobtoht
348ed19d9c
guix: ask for confirmation before deleting files
2025-04-07 10:58:56 +02:00
menaceone
4877537a03
fix inconsistent casing in Dockerfile
...
Switch from lower case "as" to upper case "AS" to be consistent with the other keywords.
2025-04-06 22:31:15 +02:00
tobtoht
b1728a95a8
guix: unset HOST env variable
2025-04-06 21:40:39 +02:00
tobtoht
de5a4a1cf7
guix: drop support for i686-linux-gnu
2025-04-06 18:26:12 +02:00
tobtoht
3b01c49095
Merge pull request #9891
...
fc80dc6e9 guix: remove --user option (tobtoht)
2025-04-06 16:23:19 +00:00
tobtoht
fc80dc6e97
guix: remove --user option
2025-04-05 19:15:25 +02:00
tobtoht
b6ffb4c944
ci: run brew update
2025-04-03 15:33:16 +02:00
Lee Clagett
65b1eb7729
Fix cmake usage in FetchContent and ExternalProject
2025-04-02 16:55:12 -04:00
jeffro256
7cb406e05a
cryptonote_basic: is_coinbase() take prefix
...
Useful for wallet business logic, which stores the prefixes in `m_transfers`, not the whole transaction.
2025-04-02 11:01:49 -05:00
StrawberryChocolateFudge
a57c099d07
fix: added key correspondence check
...
refactor: key correspondence check error handling
fixed indentation
removed EOL whitespace
2025-04-02 04:30:32 +02:00
jeffro256
7b28be0ef3
functional_tests: test PR #9863
2025-04-01 13:56:44 -05:00
jeffro256
8af33c71cf
epee: syncobj: replace shims with Boost classes
...
a. `critical_section` is functionally identical to a `boost::recursive_mutex`
b. `critical_region_t` is functionally identical to a `boost::unique_lock`
c. remove some vestigial definitons `g_test_dbg_lock_sleep` as a variable
2025-04-01 11:09:26 -05:00
jeffro256
18376ca57d
epee: remove reg_exp_definer.h
...
Locking to initialize static block variables isn't necessary since C++11:
https://en.cppreference.com/w/cpp/language/storage_duration#Static_block_variables
2025-03-31 14:02:15 -05:00
tzadiko
fd08594caa
wallet: fix monero-wallet-rpc ignoring calls during sync
2025-03-28 20:13:02 -05:00
jeffro256
f728c963c1
CMakeLists: add cache option for MANUAL_SUBMODULES
2025-03-28 13:14:06 -05:00
SNeedlewoods
c848e21c43
fix: multisig stale data after failed refresh
2025-03-28 12:48:38 +01:00
tobtoht
b81b387606
easylogging: replace NULL with empty string literal
2025-03-27 10:48:51 +01:00
jeffro256
6d6e8e1733
construct_tx_and_get_tx_key: don't erase exception trace
2025-03-26 15:10:09 -05:00
tobtoht
977dedce2c
Merge pull request #9865
...
0e243a4ac checkpoints: update to a recent block height (selsta)
2025-03-26 12:37:06 +00:00
tobtoht
4b127d9c6b
Merge pull request #9842
...
30ae2deed Correct Max / Min Block Waiting Periods (tzadiko)
2025-03-26 12:35:32 +00:00
tzadiko
30ae2deed5
Correct Max / Min Block Waiting Periods
2025-03-25 16:55:43 -05:00
selsta
0e243a4ac0
checkpoints: update to a recent block height
2025-03-25 21:28:20 +01:00
iamamyth
cb91dcee36
tests: Speed up p2p reorg test
...
Use a fixed, 240s deadline for the daemons to reach agreement and poll
with a suitable frequency (.25s), rather than polling up to 100 times at
roughly 10s intervals.
2025-03-24 11:18:57 -07:00
tobtoht
7ea8bcdc91
Merge pull request #9808
...
446d9622f logging: Generalize terminal color detection (iamamyth)
2025-03-24 14:06:18 +00:00
iamamyth
446d9622f8
logging: Generalize terminal color detection
...
Assume the terminal supports color codes if TERM ends with `-color` or
`-256color`, rather than special-casing a handful of such terminals.
Add tests for terminal color detection.
Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com >
2025-03-24 11:07:33 -07:00
tobtoht
9b2031d244
Merge pull request #9861
...
55e6ba49c Fix expected hash check (Lee *!* Clagett)
2025-03-24 13:59:18 +00:00
Lee *!* Clagett
55e6ba49cb
Fix expected hash check
2025-03-24 10:56:53 -04:00
tobtoht
84685492e6
Merge pull request #9840
...
8024d43e6 trezor: fix cmake variables (ComputeryPony)
2025-03-24 03:27:14 +00:00
tobtoht
642db87007
Merge pull request #9791
...
ef509e1c0 ci: introduce rust toolchain (tobtoht)
2025-03-24 03:26:20 +00:00
tobtoht
902b664e26
Merge pull request #9821
...
665316708 Fix HTTP unit tests (broken with new Boost versions) (Lee *!* Clagett)
2025-03-24 03:05:09 +00:00
tobtoht
f2d765afc4
Merge pull request #9809
...
8c43e33e3 logging: Fix easylogging++ init with blank config (iamamyth)
2025-03-24 03:02:46 +00:00
tobtoht
ef128a80e1
Merge pull request #9846
...
834438acb Remove hidden transaction copy in add_block (Lee *!* Clagett)
2025-03-24 02:54:20 +00:00
tobtoht
ba77342faa
Merge pull request #9845
...
51a72c120 Blockchain: remove skip for pruned txs in `check_tx_inputs()` (jeffro256)
2025-03-24 02:53:13 +00:00
tobtoht
2d20c4a9b7
Merge pull request #9844
...
528664b1c cryptonote_protocol: fix handling of pruned blocks during sync (jeffro256)
2025-03-24 02:50:17 +00:00
tobtoht
227e503922
Merge pull request #9832
...
5393bef13 wallet: fix different-signedness int comparison warnings (jeffro256)
2025-03-24 02:46:29 +00:00
tobtoht
dfa92d6031
Merge pull request #9824
...
da8907974 chore: fix some typos in comments (shenpengfeng)
2025-03-24 02:45:18 +00:00
tobtoht
3c6f1c7748
Merge pull request #9839
...
a5fabe513 trezor: fix protobuf 30 compatibility (tobtoht)
2025-03-23 16:20:39 +00:00
jeffro256
332d92ffbe
epee: span::operator[] allow mut ref from const span
...
Changes the `operator[]` method so we can get mutable
references to elements even if the span is `const`.
The operator is now also `constexpr`.
This behavior matches `std::span`.
C++ standard reference: https://en.cppreference.com/w/cpp/container/span/operator_at
2025-03-22 16:53:17 -05:00
Lee *!* Clagett
70fe289d82
Improve move/copy/default constructor semantics for tx and block
2025-03-21 14:02:12 -04:00
meed3
2aa90a1135
Add log-level arg description to monerod
2025-03-20 12:52:20 +00:00
Lee *!* Clagett
f8ecd31743
Fix copies in ZMQ input/output
2025-03-18 01:11:12 -04:00
Lee *!* Clagett
834438acb8
Remove hidden transaction copy in add_block
2025-03-17 19:19:20 -04:00
jeffro256
51a72c1209
Blockchain: remove skip for pruned txs in check_tx_inputs()
...
I can't see how this would trigger in the current codebase, so it's not a *current* safety issue,
but I can very well see it becoming on in the future if downstream code doesn't handle the passing
of pruned transactions correctly. I think the safe/good choice would be to remove this skip now
that all transactions that pass into the mempool are supposed to be unpruned. And for all in-block
txs, `check_tx_inputs()` isn't called for checkpointed blocks, and we sync pruned blocks only if
syncing checkpointed blocks.
2025-03-17 09:31:50 -05:00
jeffro256
528664b1c8
cryptonote_protocol: fix handling of pruned blocks during sync
2025-03-17 09:09:25 -05:00
ComputeryPony
8024d43e6f
trezor: fix cmake variables
2025-03-16 18:57:44 -05:00
tobtoht
a5fabe5134
trezor: fix protobuf 30 compatibility
2025-03-16 23:02:45 +01:00
jeffro256
5393bef139
wallet: fix different-signedness int comparison warnings
2025-03-13 04:10:29 -05:00
tobtoht
f90a267fa3
Merge pull request #9820
...
50897a687 Limit scope of TCP checks to incoming only (Lee *!* Clagett)
2025-03-11 19:13:41 +00:00
tobtoht
44523cafff
Merge pull request #9135
...
c069c04ed blockchain sync: reduce disk writes from 2 to 1 per tx (jeffro256)
2025-03-10 16:16:18 +00:00
jeffro256
c069c04ede
blockchain sync: reduce disk writes from 2 to 1 per tx
2025-03-10 01:02:37 -05:00
shenpengfeng
da8907974e
chore: fix some typos in comments
...
Signed-off-by: shenpengfeng <xinhangzhou@icloud.com >
2025-02-28 00:40:29 +08:00
Lee *!* Clagett
665316708c
Fix HTTP unit tests (broken with new Boost versions)
2025-02-25 18:51:56 -05:00
Lee *!* Clagett
50897a6871
Limit scope of TCP checks to incoming only
2025-02-24 21:55:35 -05:00
tobtoht
8d6aff9590
Merge pull request #9538
...
c461b3c67 make: remove static targets (tobtoht)
2025-02-24 18:16:13 +00:00
0xFFFC0000
f4672c2595
cryptonote_core: only verify txpool when the hardfork value has changed.
...
Co-authored-by: Boog900 <boog900@tutanota.com >
2025-02-24 17:25:27 +00:00
iamamyth
8c43e33e35
logging: Fix easylogging++ init with blank config
...
The upstream version of el::base::TypedConfigurations::unsafeGetConfigByRef
accesses uninitialized memory if a key doesn't exist.
Commit b2c59af84d patched the library to
throw in this case, avoiding the invalid access, but the more suitable
pattern, both logically, and as evidenced by the behavior of
unsafeGetConfigByVal, would be to return a const reference to a
default-initialized value with static storage duration.
2025-02-19 15:02:08 -08:00
tobtoht
97c0ce73c4
Merge pull request #9804
...
418a9adb1 BlockchainLMDB: fix data.mdb nuking on Windows (jeffro256)
2025-02-17 18:23:06 +00:00
jeffro256
418a9adb13
BlockchainLMDB: fix data.mdb nuking on Windows
2025-02-17 11:57:32 -06:00
tobtoht
802844de23
Merge pull request #9802
...
c3fc0ffc3 common: add missing iomanip include (tobtoht)
2025-02-17 16:33:52 +00:00
tobtoht
c3fc0ffc37
common: add missing iomanip include
2025-02-17 17:20:03 +01:00
tobtoht
aae0c7743a
Merge pull request #9439
...
02e2a4f4c assign default port for http and https clients (woodser)
2025-02-17 16:03:37 +00:00
woodser
02e2a4f4cd
assign default port for http and https clients
2025-02-17 08:11:44 -05:00
tobtoht
94188d1a4a
Merge pull request #9428
...
92b671c56 contrib: smaller and more reasonable log size. (0xFFFC0000)
2025-02-17 10:23:19 +00:00
tobtoht
a3db257c39
Merge pull request #9403
...
0a29a9f76 Add ZMQ-PUB json-schemas (Lee *!* Clagett)
2025-02-17 10:22:31 +00:00
tobtoht
ef509e1c08
ci: introduce rust toolchain
...
Co-authored-by: Luke Parker <lukeparker5132@gmail.com >
2025-02-17 08:23:37 +01:00
tobtoht
13002ddd4b
Merge pull request #9784
...
5b3021305 ci: containerize depends jobs (tobtoht)
2025-02-16 05:26:10 +00:00
tobtoht
24c90ae9a2
Merge pull request #9787
...
05184554a add wallet rpc call to get default fee priority (woodser)
2025-02-16 05:22:05 +00:00
woodser
05184554a6
add wallet rpc call to get default fee priority
2025-02-15 15:15:23 -05:00
tobtoht
5b30213057
ci: containerize depends jobs
2025-02-14 10:45:02 +01:00
tobtoht
257db6dff2
Merge pull request #9765
...
ec74ff4a3 Set response limits on http server connections (Lee *!* Clagett)
2025-02-14 07:33:45 +00:00
tobtoht
d6b7c8a351
Merge pull request #9728
...
4eae7c9ac cmake: remove redundant config env var (tobtoht)
2025-02-14 06:03:50 +00:00
Lee *!* Clagett
ec74ff4a3d
Set response limits on http server connections
2025-02-13 23:55:17 -05:00
tobtoht
28e2042b04
Merge pull request #9762
...
950ddbf30 tests: Improve p2p tx propagation functional test (iamamyth)
2025-02-14 04:00:24 +00:00
tobtoht
a1b3468f26
Merge pull request #9671
...
325e317a3 depends: always pass --with-pic to autoconf builds (tobtoht)
2025-02-14 03:54:04 +00:00
tobtoht
203af950fd
Merge pull request #9654
...
eee5838aa guix: remove automake & autoconf (tobtoht)
2025-02-14 03:52:14 +00:00
tobtoht
4d1a8804ae
Merge pull request #9729
...
e250841a3 cmake: remove msvc (tobtoht)
2025-02-14 03:51:01 +00:00
tobtoht
6343e3ecf6
Merge pull request #9773
...
000d75777 depends: use staging_prefix_dir where possible (tobtoht)
2025-02-14 03:50:14 +00:00
tobtoht
915c5dc1d9
Merge pull request #9456
...
b746d0152 depends: android_ndk: update to 27 (latest LTS) (tobtoht)
2025-02-13 19:34:44 +00:00
tobtoht
ca16c290ab
Merge pull request #9711
...
2511f8579 brew: use latest protobuf (tobtoht)
2025-02-13 17:40:24 +00:00
tobtoht
9570c1a216
Merge pull request #9717
...
ff4e86dc4 ringct: remove unused range proof types and fix serialization bug (jeffro256)
2025-02-13 17:37:47 +00:00
tobtoht
e87c16dd3e
Merge pull request #9582
...
16b5c11f7 Some cleanup in span/connection_context + few more checks (Lee *!* Clagett)
2025-02-13 17:36:19 +00:00
tobtoht
eceb3cdc8d
Merge pull request #9760
...
9386f87a7 ringct: remove inclusion of cryptonote_format_utils.h in rctOps.cpp (jeffro256)
2025-02-13 17:34:16 +00:00
tobtoht
2fae69f623
Merge pull request #9761
...
ad782ded1 utils: Simplify python RPC Response implementation (iamamyth)
2025-02-13 17:33:32 +00:00
tobtoht
3c4750c059
Merge pull request #9763
...
274b5748d tests: Improve functional_tests_rpc startup (iamamyth)
2025-02-13 17:32:47 +00:00
tobtoht
f97db315ba
Merge pull request #9769
...
a076ac36e ci: run guix builds on Cargo.lock update (tobtoht)
2025-02-13 17:31:59 +00:00
tobtoht
ac7eeab52d
Merge pull request #9770
...
151c7f0e8 src: bump network speed 4x (nahuhh)
2025-02-13 17:31:18 +00:00
tobtoht
9d6dae8031
Merge pull request #9779
...
498ed27cf ci: consolidate ubuntu 20.04 runs (tobtoht)
2025-02-13 17:28:11 +00:00
tobtoht
08503dab4e
Merge pull request #9792
...
d796b1aff p2p/net_node.inl : update seed node (plowsof)
2025-02-13 17:26:05 +00:00
iamamyth
950ddbf30e
tests: Improve p2p tx propagation functional test
...
Reduce the likelihood of false positive failures in the p2p
transaction propagation functional test by waiting up to a
maximum timeout for a transaction to propagate, rather than using a
fixed timeout, to reflect the random delay of Dandelion++ transaction
propagation. This strategy also speeds test execution in cases where
propagation occurs faster than the previously expected fixed delay.
2025-02-11 18:30:16 -08:00
plowsof
d796b1aff5
p2p/net_node.inl : update seed node
2025-02-09 23:42:40 +00:00
tobtoht
e250841a35
cmake: remove msvc
2025-02-09 11:43:57 +01:00
tobtoht
2511f8579d
brew: use latest protobuf
2025-02-09 11:42:14 +01:00
tobtoht
325e317a3e
depends: always pass --with-pic to autoconf builds
2025-02-09 11:40:54 +01:00
tobtoht
c461b3c67b
make: remove static targets
2025-02-09 11:38:43 +01:00
tobtoht
498ed27cf3
ci: consolidate ubuntu 20.04 runs
2025-02-07 09:34:54 +01:00
tobtoht
000d757773
depends: use staging_prefix_dir where possible
2025-02-06 07:06:08 +01:00
tobtoht
84df77404e
Merge pull request #9708
...
a0ed32391 ci: containerize ubuntu cli jobs (tobtoht)
2025-02-06 05:12:58 +00:00
tobtoht
a0ed323919
ci: containerize ubuntu cli jobs
2025-02-06 04:34:21 +01:00
nahuhh
151c7f0e85
src: bump network speed 4x
2025-02-05 17:30:58 +00:00
tobtoht
a076ac36e2
ci: run guix builds on Cargo.lock update
2025-02-05 07:46:24 +01:00
tobtoht
662d246cd5
Merge pull request #9726
...
d696efdc9 cmake: remove obsolete policy setting (tobtoht)
2025-02-04 18:44:48 +00:00
tobtoht
796f031646
Merge pull request #9725
...
e662fa9de cmake: don't explicitely link libatomic (tobtoht)
2025-02-04 18:44:04 +00:00
tobtoht
2102aebfcb
Merge pull request #9724
...
d07f99a8d cmake: remove obsolete msys2 workaround (tobtoht)
2025-02-04 18:43:24 +00:00
tobtoht
f58dde6ced
Merge pull request #9681
...
040c16321 depends: remove expat (tobtoht)
2025-02-04 18:42:09 +00:00
tobtoht
c57a429b2b
Merge pull request #9675
...
e7e00df83 depends: remove eudev (tobtoht)
2025-02-04 18:41:24 +00:00
tobtoht
4118bd8721
Merge pull request #9467
...
5cb0b263d guix: bump time-machine to 9d09b0cf841fb657a1aec12e9bab68e00c2b493c (tobtoht)
2025-02-04 18:39:57 +00:00
tobtoht
513626059e
Merge pull request #9706
...
7f40add8f ci: build wallet_api for all linux cli jobs (tobtoht)
2025-02-04 18:36:35 +00:00
tobtoht
59882b5d71
Merge pull request #9713
...
7110d180d guix: readme update (hinto.janai)
2025-02-04 17:00:58 +00:00
tobtoht
a92bd63822
Merge pull request #9739
...
70e441293 wallet: mark wallet error throwing functions as noreturn (jeffro256)
2025-02-04 16:59:18 +00:00
iamamyth
274b5748da
tests: Improve functional_tests_rpc startup
...
* Use a global startup timeout, and apply it to each socket's connect
call, rather than repeating connection attempts with short timeouts.
* Avoid leaking sockets by closing them.
2025-01-31 21:15:20 -08:00
iamamyth
ad782ded1d
utils: Simplify python RPC Response implementation
...
Reduce bloat in the python RPC Response class by making better use of
superclass methods and recursion. As part of this change, add tests for
the Response class.
2025-01-31 17:47:55 -08:00
jeffro256
9386f87a78
ringct: remove inclusion of cryptonote_format_utils.h in rctOps.cpp
...
This vestigial include line breaks some downstream builds
2025-01-31 16:04:08 -06:00
tobtoht
8d6855c067
CoC: only allow Administrators to merge changes to the CoC
2025-01-29 08:20:09 +01:00
tobtoht
e3db452b52
CoC: 'log an issue' -> 'open an issue'
2025-01-29 02:23:39 +01:00
tobtoht
5c32fbd0b1
CoC: do not encourage using real names or 'well-known aliases'
2025-01-29 02:20:11 +01:00
tobtoht
b9bead529b
CoC: prohibit anyone from committing patches to the project directly
2025-01-29 02:16:06 +01:00
tobtoht
dc5e15cc3d
CoC: remove constraint suggesting copyright can be 'owned collectively'
2025-01-29 02:03:30 +01:00
tobtoht
53cb44c7b7
CoC: remove constraints on 'release history'
2025-01-29 01:56:06 +01:00
tobtoht
a60c108490
CoC: clarify 'project founders'
2025-01-29 01:52:24 +01:00
jeffro256
70e4412930
wallet: mark wallet error throwing functions as noreturn
...
Simplifies calling logic where a branch ends but a return value is needed
2025-01-28 00:05:31 -06:00
tobtoht
70d39076e0
docs: remove 'creating stable releases' section
2025-01-27 02:19:29 +01:00
tobtoht
69020aa0b3
docs: remove 'Monero Maintainer Team'
2025-01-26 17:27:46 +01:00
tobtoht
5345ebadef
docs: allow maintainers to merge their own prs if queued
2025-01-26 15:07:41 +01:00
tobtoht
8154b90136
docs: do not automatically promote contributors to maintainers
2025-01-26 14:49:17 +01:00
tobtoht
9bd265d132
docs: don't allow maintainers to edit docs without review
2025-01-26 14:37:36 +01:00
tobtoht
7f40add8f6
ci: build wallet_api for all linux cli jobs
2025-01-26 13:38:53 +01:00
tobtoht
90359e31fd
Merge pull request #9723
...
b2140b628 ci: Parallelize Arch Linux build (iamamyth)
2025-01-26 12:12:10 +00:00
tobtoht
4eae7c9ac7
cmake: remove redundant config env var
2025-01-26 12:12:53 +01:00
tobtoht
d696efdc98
cmake: remove obsolete policy setting
2025-01-26 11:31:49 +01:00
tobtoht
e662fa9def
cmake: don't explicitely link libatomic
2025-01-26 05:55:11 +01:00
tobtoht
d07f99a8dc
cmake: remove obsolete msys2 workaround
2025-01-26 05:28:55 +01:00
iamamyth
b2140b6287
ci: Parallelize Arch Linux build
...
The "--parallel" flag got dropped from the Arch Linux build due to
unidentified, logical commit conflicts.
2025-01-25 15:11:04 -08:00
tobtoht
8d60021377
Merge pull request #9716
...
f48a73d91 tests: Fix tools::is_hdd unit tests (iamamyth)
2025-01-25 11:43:04 +00:00
iamamyth
f48a73d919
tests: Fix tools::is_hdd unit tests
...
Correct the unit tests for tools::is_hdd to avoid making assumptions
about the configuration of a particular device based solely on the
value of the __GLIBC__ preprocessor flag. Instead, rely on the
test invoker to provide paths for devices of specific types via
the process environment, thereby avoiding faulty assumptions and
improving the specificity of test assertions. To ensure appropriate
devices exist, add a script, tests/create_test_disks.sh, which
configures loopback devices mirroring relevant configurations.
2025-01-24 23:11:47 -08:00
tobtoht
c0f3a1c1db
Merge pull request #9690
...
f18b966a9 build: auto-set GitHub runner make job count (iamamyth)
2025-01-25 05:57:58 +00:00
tobtoht
040c16321f
depends: remove expat
2025-01-25 05:57:21 +01:00
tobtoht
34d3e5201a
Merge pull request #9715
...
e38c175d9 gtest: add submodule (tobtoht)
2025-01-25 04:48:01 +00:00
tobtoht
d69161d584
Merge pull request #9701
...
f3349b9dd daemon: fix log message typo (selsta)
2025-01-25 04:47:06 +00:00
tobtoht
996986b3af
Merge pull request #9642
...
f150ff177 depends: unbound: update to 1.22.0 (tobtoht)
2025-01-25 04:46:08 +00:00
tobtoht
e7e00df831
depends: remove eudev
2025-01-24 10:52:42 +01:00
tobtoht
eee5838aaf
guix: remove automake & autoconf
2025-01-24 01:53:25 +01:00
tobtoht
f150ff177a
depends: unbound: update to 1.22.0
2025-01-24 01:50:30 +01:00
tobtoht
d42db814db
Merge pull request #9720
...
3b64d1f55 functional tests: fix race in restore wallet refresh (j-berman)
2025-01-24 00:03:36 +00:00
j-berman
3b64d1f558
functional tests: fix race in restore wallet refresh
2025-01-23 11:37:48 -08:00
tobtoht
eaf9f98930
Merge pull request #9680
...
0bbac40e5 ci: add arch linux build (tobtoht)
2025-01-22 22:57:35 +00:00
tobtoht
3b7bd060d0
Merge pull request #9694
...
4feb6b3e2 crypto: remove unused POD classes (iamamyth)
2025-01-22 22:56:28 +00:00
tobtoht
cb25aba9ac
Merge pull request #9693
...
07d93f01a common: Remove resolved FIXME in pod-class.h (iamamyth)
2025-01-22 22:55:21 +00:00
tobtoht
0beb733a16
Merge pull request #9691
...
254ac2bae crypto: make CRYPTO_DEFINE_HASH_FUNCTIONS adhere strict aliasing (jeffro256)
2025-01-22 22:53:55 +00:00
tobtoht
da470b7471
Merge pull request #9688
...
26b4f5e00 Revert "blockchain: detect and log bad difficulty calculations" (selsta)
2025-01-22 22:51:10 +00:00
tobtoht
73638a9e35
Merge pull request #9643
...
a8292fcf8 depends: hidapi: update to 0.14.0 (tobtoht)
2025-01-22 22:50:17 +00:00
tobtoht
8ab643adb0
Merge pull request #9523
...
3c25d6e3b build: bump minimum macos version to 10.15 (tobtoht)
2025-01-22 22:49:01 +00:00
tobtoht
0e253622b2
Merge pull request #9459
...
7e766e13c Cleanup TCP throttling code (performance) + move connection checks (Lee *!* Clagett)
2025-01-22 22:39:57 +00:00
tobtoht
e38c175d92
gtest: add submodule
2025-01-19 12:31:02 +01:00
tobtoht
1bd57c8e95
Merge pull request #9653
...
c182428 depends: don't run auto(re)conf anywhere (tobtoht)
2025-01-19 11:15:30 +00:00
jeffro256
ff4e86dc4f
ringct: remove unused range proof types and fix serialization bug
2025-01-18 23:40:19 -06:00
tobtoht
c182428c35
depends: don't run auto(re)conf anywhere
2025-01-19 04:58:02 +01:00
tobtoht
249977ac32
Merge pull request #9650
...
84a56ae guix: remove moreutils (tobtoht)
2025-01-19 03:54:16 +00:00
tobtoht
b63122617e
Merge pull request #9648
...
1d56b84 guix: remove p7zip (tobtoht)
2025-01-19 03:49:51 +00:00
tobtoht
d22e82dcb0
Merge pull request #9646
...
c3bb84f depends: sodium: drop unneeded patch (tobtoht)
2025-01-19 03:49:17 +00:00
tobtoht
6db5bdd5d8
Merge pull request #9645
...
4156bdc depends: cleanup packages.mk (tobtoht)
2025-01-19 03:47:56 +00:00
tobtoht
104001963b
Merge pull request #9544
...
6fd2276 daemonizer: replace boost chrono/thread with std lib (tobtoht)
2025-01-19 03:47:11 +00:00
tobtoht
1360b18ab8
Merge pull request #9491
...
ad72b13 trezor: vendor trezor-common (tobtoht)
2025-01-19 03:46:24 +00:00
tobtoht
c5360bb4ec
Merge pull request #9453
...
1a21e3d depends: freebsd_base: update to 12.3 (tobtoht)
2025-01-19 03:45:33 +00:00
tobtoht
94f7efd53f
Merge pull request #9683
...
133298d Fix linking error with libunwind when build for FreeBSD with GCC, by preferring easylogging++ when GCC is being used (WHR)
2025-01-18 11:11:47 +00:00
tobtoht
09d95c2f14
Merge pull request #9664
...
4e54b19 check for windows NTFS compression on database files (eversinc33)
2025-01-18 11:06:38 +00:00
tobtoht
2226d4f7e0
Merge pull request #9389
...
98decee wallet2: remove refresh() from scan_tx (j-berman)
2025-01-18 00:09:41 +00:00
tobtoht
c3bb84f21b
depends: sodium: drop unneeded patch
2025-01-17 21:46:10 +01:00
tobtoht
db70cc23dc
Merge pull request #9171
...
35477a6 build: remove glibc backcompat (tobtoht)
2025-01-17 19:03:33 +00:00
hinto.janai
7110d180d2
guix: readme update
2025-01-16 15:42:17 -05:00
iamamyth
f18b966a96
build: auto-set GitHub runner make job count
...
Dynamically determine an appropriate number of make jobs for the GitHub
runner container, based upon the number of available CPU cores and RAM,
using the rule that each job requires a dedicated core and 2.25GiB of RAM.
2025-01-16 11:53:46 -08:00
tobtoht
ad72b1307f
trezor: vendor trezor-common
2025-01-16 13:03:58 +01:00
tobtoht
1179269478
Merge pull request #9709
...
5f5770a tests: fix IPv4Success, DNSSECSuccess (tobtoht)
2025-01-16 01:35:23 +00:00
tobtoht
5f5770a51d
tests: fix IPv4Success, DNSSECSuccess
...
"example.com" now has more than one A record
2025-01-15 20:28:33 +01:00
j-berman
98decee8ac
wallet2: remove refresh() from scan_tx
...
Fixes #9354
2025-01-14 13:37:46 -08:00
eversinc33
4e54b19793
check for windows NTFS compression on database files
2025-01-14 21:12:49 +01:00
tobtoht
0bbac40e55
ci: add arch linux build
2025-01-14 18:53:10 +01:00
tobtoht
a4a4a1df1d
Merge pull request #9470
...
36e299c build: drop support for 32-bit windows target (tobtoht)
2025-01-14 16:22:37 +00:00
tobtoht
90ca75287f
Merge pull request #9528
...
2fcaf95 guix: drop 32-bit android target (tobtoht)
2025-01-14 16:21:42 +00:00
tobtoht
2144b2beb4
Merge pull request #9539
...
eb0d443 ci: depends: build armv7 android target (tobtoht)
2025-01-14 16:20:57 +00:00
tobtoht
ca0b43d304
Merge pull request #9639
...
5a36ec0 ci: disable guix commit authentication (tobtoht)
2025-01-14 16:20:28 +00:00
tobtoht
0f13003917
Merge pull request #9679
...
d1ff49d ci: improve job naming (tobtoht)
2025-01-14 16:20:00 +00:00
tobtoht
2a9458aedc
Merge pull request #9477
...
b1ff22f trezor: replace Python tools with CMake (tobtoht)
2025-01-14 16:14:51 +00:00
tobtoht
305f546328
Merge pull request #9644
...
e48c740 ci: print guix hashes to summary (tobtoht)
2025-01-14 16:09:07 +00:00
tobtoht
7ca53dcee6
Merge pull request #9686
...
5cffab8 miniupnpc: fix build with gcc 14 (tobtoht)
2025-01-14 14:36:51 +00:00
tobtoht
8c08863d60
Merge pull request #9663
...
978f1d7 Fix get_database_size on Windows (iamamyth)
2025-01-14 14:32:20 +00:00
tobtoht
295dba01a6
Merge pull request #9660
...
9311a24 validate ip parameter in set_bans rpc call (eversinc33)
2025-01-14 14:31:30 +00:00
tobtoht
90e908f588
Merge pull request #9659
...
d64d3bd p2p: remove dead protocol defs (jeffro256)
2025-01-14 14:30:48 +00:00
tobtoht
06f0cd5606
Merge pull request #9656
...
c99c07b common/password: flush confirm prompt before user input (jeffro256)
2025-01-14 14:29:31 +00:00
tobtoht
c599916113
Merge pull request #9632
...
e2eea7b Fix --anonymous-inbound data leak (Lee *!* Clagett)
2025-01-14 14:25:48 +00:00
tobtoht
b32c69aabd
Merge pull request #9628
...
4344f97 Fix build with boost ASIO 1.87. Support boost 1.66+ (Lee *!* Clagett)
2025-01-14 14:24:07 +00:00
tobtoht
38668822b7
Merge pull request #9621
...
fe17069 Blockchain: get height of RingCT fork programmatically (jeffro256)
2025-01-14 14:13:06 +00:00
tobtoht
59edd62d0b
Merge pull request #9600
...
797811d dns_util: add new DNSSEC trust anchor (selsta)
2025-01-14 14:05:23 +00:00
selsta
26b4f5e00c
Revert "blockchain: detect and log bad difficulty calculations"
...
This reverts commit 5741b4d74d .
2025-01-14 13:04:25 +01:00
selsta
f3349b9dd6
daemon: fix log message typo
2025-01-14 11:17:43 +01:00
iamamyth
4feb6b3e29
crypto: remove unused POD classes
...
Remove the following unused classes from the crypto namespace:
public_keyV, secret_keyV, and public_keyM.
2025-01-10 12:00:19 -08:00
iamamyth
07d93f01ad
common: Remove resolved FIXME in pod-class.h
...
In src/common/pod-class.h, the POD_CLASS definition contained quite
a lot of detritus, including a long-ago resolved FIXME. Delete all the
noise.
2025-01-09 17:55:31 -08:00
jeffro256
254ac2baef
crypto: make CRYPTO_DEFINE_HASH_FUNCTIONS adhere strict aliasing
...
This code could've caused issues if the pointer to the `public_key`, `key_image`, `hash`, etc wasn't aligned on an 8-byte boundary.
2025-01-09 11:58:39 -06:00
tobtoht
2fcaf95aca
guix: drop 32-bit android target
2025-01-07 20:25:36 +01:00
tobtoht
eb0d4431e9
ci: depends: build armv7 android target
2025-01-07 20:23:11 +01:00
tobtoht
5cffab8dd6
miniupnpc: fix build with gcc 14
2025-01-07 15:59:07 +01:00
WHR
133298d876
Fix linking error with libunwind when build for FreeBSD with GCC, by preferring easylogging++ when GCC is being used
2025-01-07 15:04:33 +08:00
Lee *!* Clagett
4344f97255
Fix build with boost ASIO 1.87. Support boost 1.66+
2025-01-06 18:05:25 -05:00
tobtoht
b746d01522
depends: android_ndk: update to 27 (latest LTS)
2025-01-06 23:26:30 +01:00
iamamyth
978f1d7d41
Fix get_database_size on Windows
...
Replace all calls to epee::file_io::get_file_size with
boost::filesystem::file_size in order to avoid lossy conversions from
paths to strings, which tend to break filename resolution. This commit
fixes a bug on Windows where the get_info RPC call reported a zero
database size because BlockchainLMBD::get_database_size returned zero.
2025-01-06 10:38:12 -08:00
tobtoht
a8292fcf8e
depends: hidapi: update to 0.14.0
2025-01-06 18:54:06 +01:00
luigi1111
2e8a128c75
Merge pull request #9640
...
ea26db4 depends: add cmake config command (tobtoht)
2025-01-06 12:24:13 -05:00
luigi1111
0d51fd9caa
Merge pull request #9601
...
c06ebec wallet: shortchain history should include base block (0xFFFC0000)
2025-01-06 12:23:05 -05:00
luigi1111
222ca26e6a
Merge pull request #9510
...
5dcc47d CI: -j4 with lin/win runners (plowsof)
2025-01-06 12:22:32 -05:00
luigi1111
551ce586fd
Merge pull request #9162
...
8f89f6b depends: boost: update to 1.84.0 (tobtoht)
2025-01-06 12:21:29 -05:00
luigi1111
f11b938fe4
Merge pull request #9649
...
f84f237 unit_tests: fix variant tests after 'optional' name split (jeffro256)
2025-01-06 12:20:50 -05:00
tobtoht
d1ff49d05f
ci: improve job naming
2025-01-04 15:40:20 +01:00
Lee *!* Clagett
e2eea7bc25
Fix --anonymous-inbound data leak
2025-01-03 19:01:35 -05:00
tobtoht
b1ff22f82b
trezor: replace Python tools with CMake
2025-01-01 21:00:45 +01:00
eversinc33
9311a24044
validate ip parameter in set_bans rpc call
2024-12-28 23:34:35 +01:00
jeffro256
d64d3bd530
p2p: remove dead protocol defs
2024-12-27 15:22:19 -06:00
jeffro256
c99c07bf4a
common/password: flush confirm prompt before user input
...
Co-authored-by: Mike <mpech@tuta.io >
2024-12-26 13:32:11 -06:00
tobtoht
84a56aeac6
guix: remove moreutils
2024-12-24 21:17:41 +01:00
jeffro256
f84f237af7
unit_tests: fix variant tests after 'optional' name split
2024-12-24 13:55:18 -06:00
tobtoht
1d56b84039
guix: remove p7zip
2024-12-24 20:39:55 +01:00
tobtoht
4156bdcd16
depends: cleanup packages.mk
2024-12-24 12:10:53 +01:00
tobtoht
e48c740d90
ci: print guix hashes to summary
2024-12-24 10:13:42 +01:00
tobtoht
ea26db449f
depends: add cmake config command
2024-12-24 09:42:48 +01:00
tobtoht
3c25d6e3b2
build: bump minimum macos version to 10.15
2024-12-24 00:37:45 +01:00
tobtoht
35477a66c2
build: remove glibc backcompat
2024-12-24 00:28:48 +01:00
tobtoht
5a36ec0cec
ci: disable guix commit authentication
2024-12-23 23:34:10 +01:00
tobtoht
36e299cd77
build: drop support for 32-bit windows target
2024-12-23 22:00:31 +01:00
tobtoht
1a21e3d3a4
depends: freebsd_base: update to 12.3
2024-12-23 21:43:35 +01:00
tobtoht
5cb0b263db
guix: bump time-machine to 9d09b0cf841fb657a1aec12e9bab68e00c2b493c
2024-12-23 21:41:15 +01:00
tobtoht
8f89f6b1f2
depends: boost: update to 1.84.0
2024-12-23 21:12:26 +01:00
plowsof
5dcc47dcdf
CI: -j4 with lin/win runners
...
https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
2024-12-23 19:56:30 +00:00
luigi1111
941ecefab2
Merge pull request #9638
...
cb54a0a ci: common: remove duplicated definition (tobtoht)
2024-12-23 13:33:04 -05:00
luigi1111
06ab84db29
Merge pull request #9542
...
7b3cbb0 cmake: use pkgconfig to find zeromq (tobtoht)
2024-12-23 13:31:34 -05:00
tobtoht
cb54a0a419
ci: common: remove duplicated definition
2024-12-23 18:31:52 +01:00
tobtoht
7b3cbb06da
cmake: use pkgconfig to find zeromq
2024-12-23 17:12:22 +01:00
luigi1111
977bd41eb5
Merge pull request #9629
...
f8b5ea7 ci: don't fail-fast on matrix jobs (tobtoht)
2024-12-23 11:09:48 -05:00
luigi1111
eda163dcf0
Merge pull request #9625
...
4f12737 ci: brew: pin boost to 1.85 (tobtoht)
2024-12-23 11:08:36 -05:00
luigi1111
53f468ea78
Merge pull request #9623
...
a7dc3a0 ci: msys2: pin boost to 1.86.0 (tobtoht)
2024-12-23 11:07:39 -05:00
luigi1111
35dc7638f5
Merge pull request #9593
...
7605691 Keys: 2nd update for expired 'brunner7' key, valid 2 years (rbrunner7)
2024-12-23 11:02:53 -05:00
luigi1111
db643f7d61
Merge pull request #9592
...
e126b4b simplewallet: add header to show_transfers command (0xFFFC0000)
2024-12-23 11:02:14 -05:00
luigi1111
aa1369993d
Merge pull request #9589
...
085d3ed build: fix tar extract cmd for systems with 16 bit uid_t (Ishan Arora)
2024-12-23 11:01:09 -05:00
luigi1111
b95aae5f2c
Merge pull request #9585
...
c744496 epee: Drop unused in-tree MD5 (Bastian Germann)
0bc5969 Replace in-tree MD5 with OpenSSL (Bastian Germann)
2024-12-23 11:00:30 -05:00
luigi1111
731854d39b
Merge pull request #9583
...
92de47f Fix memcpy in byte_slice constructor (Lee *!* Clagett)
2024-12-23 10:58:44 -05:00
luigi1111
869028ce9d
Merge pull request #9581
...
33f6fa5 wallet: report exact reason for open_wallet failure. (0xFFFC0000)
2024-12-23 10:58:10 -05:00
luigi1111
53217389db
Merge pull request #9580
...
ce03288 add gpg key (SNeedlewoods)
2024-12-23 10:57:37 -05:00
luigi1111
ccd404b156
Merge pull request #9577
...
59c0841 gpg_keys: bump my key's expiration date by another five years (moneromooo-monero)
2024-12-23 10:55:19 -05:00
luigi1111
2f770a3d7c
Merge pull request #9574
...
e9adafa contrib: force (de)serialization to create params section incase there is none. Co-authored-by: Boog900 <boog900@tutanota.com > (0xFFFC0000)
2024-12-23 10:54:44 -05:00
luigi1111
3a414c5132
Merge pull request #9565
...
7cd33d1 Fix typos. (Soren Stoutner)
2024-12-23 10:54:08 -05:00
luigi1111
91b0a249e3
Merge pull request #9560
...
eb6f12c serialization: silence warning about shifting uint8_t by 8 (jeffro256)
2024-12-23 10:53:35 -05:00
luigi1111
10000bf75a
Merge pull request #9558
...
b5f29ee p2p: allow comments in banlist files (jeffro256)
2024-12-23 10:52:45 -05:00
luigi1111
7f4ae309f4
Merge pull request #9556
...
c7dce22 ringct: add operator!= for key (jeffro256)
2024-12-23 10:52:08 -05:00
luigi1111
0495baade6
Merge pull request #9549
...
fc49af6 Update PORTABLE_STORAGE.md (Dmitry)
2024-12-23 10:50:59 -05:00
luigi1111
318bc17eca
Merge pull request #9548
...
c1ead13 wallet2_api: use std::optional instead of handmade optional (jeffro256)
2024-12-23 10:50:19 -05:00
luigi1111
6633fcb72f
Merge pull request #9543
...
968d796 cmake: make PER_BLOCK_CHECKPOINT an option (tobtoht)
2024-12-23 10:49:23 -05:00
luigi1111
8ed1287b1d
Merge pull request #9541
...
03e593c cmake: lowercase ARCH_ID (tobtoht)
2024-12-23 10:48:45 -05:00
luigi1111
885b6a04d5
Merge pull request #9540
...
fd50651 brew: remove unneeded taps (tobtoht)
2024-12-23 10:48:16 -05:00
luigi1111
0d93746e71
Merge pull request #9537
...
b8911f1 readme: update raspberry pi build instructions (tobtoht)
2024-12-23 10:47:50 -05:00
luigi1111
5ce4858137
Merge pull request #9536
...
68a32a3 build: remove unneeded cmake toolchain files (tobtoht)
2024-12-23 10:47:14 -05:00
luigi1111
f1f2e7fa4a
Merge pull request #9535
...
bd540d9 readme: update msys2 build instructions (tobtoht)
2024-12-23 10:46:50 -05:00
luigi1111
671b77a757
Merge pull request #9533
...
c3b262f readme: remove outdated gtest note (tobtoht)
2024-12-23 10:46:25 -05:00
luigi1111
51c1f1b1c9
Merge pull request #9532
...
e2410b2 ci: cleanup depends package requirements (tobtoht)
2024-12-23 10:46:01 -05:00
luigi1111
5d465e22bf
Merge pull request #9531
...
def79dd readme: fix win64 cross-compile requirements (tobtoht)
2024-12-23 10:45:38 -05:00
luigi1111
d42bba7d82
Merge pull request #9529
...
484ece1 tests: remove python2 compatibility (tobtoht)
2024-12-23 10:44:35 -05:00
luigi1111
28302956d3
Merge pull request #9527
...
ced5b04 tests: fix missing <thread> includes (tobtoht)
2024-12-23 10:44:01 -05:00
luigi1111
77471ecd3f
Merge pull request #9525
...
e1876ab tests: remove unlock_time argument from trezor_tests (0xFFFC0000)
2024-12-23 10:43:38 -05:00
luigi1111
518d42bff7
Merge pull request #9518
...
3210961 packages: add freebsd base mirror (plowsof)
2024-12-23 10:43:09 -05:00
luigi1111
0a1fd18ad2
Merge pull request #9515
...
808dff7 Replace deprecated result_of with decltype (Lee Clagett)
2024-12-23 10:42:45 -05:00
luigi1111
e32372e8dc
Merge pull request #9511
...
bd28696 Relax static_asserts in src/lmdb (Lee Clagett)
2024-12-23 10:41:51 -05:00
luigi1111
3c86b148b2
Merge pull request #9507
...
8977746 tests: include <iomanip> where using std::setfill (jeffro256)
2024-12-23 10:41:09 -05:00
luigi1111
803ac91970
Merge pull request #9505
...
0f9a5c1 crypto: remove unused OAES code (jeffro256)
2024-12-23 10:40:10 -05:00
luigi1111
8d0c73f423
Merge pull request #9502
...
f8b7a89 depends: remove unwind from toolchain (tobtoht)
2024-12-23 10:39:16 -05:00
luigi1111
542fc01fb2
Merge pull request #9501
...
8442b66 depends: remove option from toolchain file (tobtoht)
2024-12-23 10:38:53 -05:00
luigi1111
f00cb9421a
Merge pull request #9490
...
31c6b2a wallet: can't decrypt payment id if tx key is missing (tobtoht)
2024-12-23 10:38:25 -05:00
luigi1111
51d0a25c7c
Merge pull request #9481
...
64bb031 ci: run job for oldest supported Debian version (tobtoht)
2024-12-23 10:37:59 -05:00
luigi1111
afbc9ef97a
Merge pull request #9475
...
ea8e29f set USE_UNWIND for FreeBSD (Alexander Perechnev)
2024-12-23 10:37:37 -05:00
luigi1111
32d6e6e208
Merge pull request #9469
...
ca06337 ci: remove obsolete sdk cache (tobtoht)
2024-12-23 10:37:13 -05:00
luigi1111
06be03c438
Merge pull request #9457
...
e03de80 depends: release type should be lower case (tobtoht)
2024-12-23 10:36:44 -05:00
luigi1111
092fea667b
Merge pull request #9454
...
9131369 readme: add missing ubuntu/debian build tools (tobtoht)
2024-12-23 10:36:17 -05:00
luigi1111
9f694fe4f5
Merge pull request #9452
...
f93f656 depends: allow granular stage env config (tobtoht)
2024-12-23 10:35:46 -05:00
luigi1111
d02957e28d
Merge pull request #9451
...
4221051 docs: clarify proper PR title format (Gingeropolous)
2024-12-23 10:35:22 -05:00
luigi1111
14018339cf
Merge pull request #9445
...
39ae489 cmake: fix readline find_path call. (0xFFFC0000)
2024-12-23 10:34:51 -05:00
luigi1111
1122fa523a
Merge pull request #9441
...
cfb19b9 blockchain: more opportunities for caching the rolling median (Crypto City)
2024-12-23 10:34:25 -05:00
luigi1111
61dd13dfa6
Merge pull request #9395
...
7fdaf61 Blockchain: fix temp fails causing alt blocks to be permanently invalid (jeffro256)
2024-12-23 10:32:02 -05:00
luigi1111
414fe26254
Merge pull request #9381
...
df54d8b Daemon RPC: add max_block_count field to /getblocks.bin (j-berman)
2024-12-23 10:28:57 -05:00
luigi1111
fe11e4126a
Merge pull request #9380
...
e866a19 wallet2: move wallet error on RPC resp handling to wallet_errors file (j-berman)
2024-12-23 10:28:16 -05:00
luigi1111
25dcb8dc9f
Merge pull request #9376
...
445319d src: update internal data structure to boost::bimap. startup speed up 2-5x because this PR changing O(n^2) operation to O(nlogn). (0xFFFC0000)
2024-12-23 10:27:17 -05:00
luigi1111
44fef7903c
Merge pull request #9336
...
04fe6fa split variant into plain and optional, add variant serialization (koe)
2024-12-23 10:26:23 -05:00
luigi1111
6796e99438
Merge pull request #9290
...
d64a5f7 Fix lmdb txn commit code (Lee *!* Clagett)
2024-12-23 10:25:10 -05:00
luigi1111
b4505cc21a
Merge pull request #9286
...
bc05e72 common: add va_args.h (jeffro256)
2024-12-23 10:22:39 -05:00
luigi1111
1f7290f329
Merge pull request #9176
...
49ca1ad variant: split into variant and optional_variant (jeffro256)
2024-12-23 10:19:55 -05:00
luigi1111
575bc099a0
Merge pull request #9172
...
62fdacc variant: visit lambda and value-initialize by index (jeffro256)
2024-12-23 10:19:05 -05:00
luigi1111
785e3ac673
Merge pull request #9122
...
a79734c cryptonote_basic: faster and more readable is_valid_decomposed_amount (jeffro256)
2024-12-23 10:18:07 -05:00
luigi1111
df69d03df4
Merge pull request #8929
...
b2ff764 Bootstrappable Builds (tobtoht)
2024-12-23 10:17:14 -05:00
tobtoht
a7dc3a046f
ci: msys2: pin boost to 1.86.0
2024-12-20 20:56:58 +01:00
Lee *!* Clagett
7e766e13c3
Cleanup TCP throttling code (performance) + move connection checks
2024-12-19 20:47:44 -05:00
tobtoht
f8b5ea70ee
ci: don't fail-fast on matrix jobs
2024-12-17 23:24:19 +01:00
tobtoht
4f12737288
ci: brew: pin boost to 1.85
2024-12-17 17:27:10 +01:00
jeffro256
fe170698b1
Blockchain: get height of RingCT fork programmatically
...
Get height of the RingCT fork to start the output distributuon programmatically, instead of using a hardcoded index.
If using a hardcoded index, when the hardfork tables are modified, this can cause segmentation faults or horrific privacy issues: https://codeberg.org/wownero/wownero/issues/488#issuecomment-2514880 .
2024-12-16 15:16:38 -06:00
jeffro256
b5f29eeacd
p2p: allow comments in banlist files
...
In-line comments explicitly explaining banned hosts/subnets might help assuage fears of some good banlists' arbitaryiness.
2024-12-12 23:48:06 -06:00
tobtoht
b2ff7641a5
Bootstrappable Builds
2024-12-08 18:00:32 +01:00
0xFFFC0000
c06ebeceb7
wallet: shortchain history should include base block
2024-12-03 23:06:32 +00:00
selsta
797811d84b
dns_util: add new DNSSEC trust anchor
2024-12-01 16:01:41 +01:00
rbrunner7
760569134a
Keys: 2nd update for expired 'brunner7' key, valid 2 years
2024-11-25 08:27:48 +01:00
0xFFFC0000
e126b4b6d1
simplewallet: add header to show_transfers command
2024-11-24 20:39:26 +00:00
Ishan Arora
085d3ed136
build: fix tar extract cmd for systems with 16 bit uid_t
2024-11-23 13:40:19 +13:00
Bastian Germann
c744496d45
epee: Drop unused in-tree MD5
...
The RSA-MD licensed implementation that originated from RFC 1321 and got
into epee via Cyrus SASL and libEtPan! is not a good fit for epee, which
also links to the GPL licensed readline. RSA-MD has an advertisement
clause that is known to be incompatible with GPL.
2024-11-22 12:25:08 +01:00
Bastian Germann
0bc5969755
Replace in-tree MD5 with OpenSSL
...
This uses OpenSSL's non-deprecated EVP digest facility to calculate MD5
in HTTP digest authentication.
2024-11-22 12:24:22 +01:00
Lee *!* Clagett
92de47fd37
Fix memcpy in byte_slice constructor
2024-11-21 17:22:52 -05:00
Lee *!* Clagett
16b5c11f74
Some cleanup in span/connection_context + few more checks
2024-11-19 18:30:34 -05:00
0xFFFC0000
33f6fa5f2e
wallet: report exact reason for open_wallet failure.
2024-11-19 19:49:02 +00:00
SNeedlewoods
ce03288ae1
add gpg key
2024-11-18 22:20:58 +01:00
moneromooo-monero
59c0841b1c
gpg_keys: bump my key's expiration date by another five years
2024-11-17 20:13:10 +00:00
0xFFFC0000
e9adafa49e
contrib: force (de)serialization to create params section incase there is none.
...
Co-authored-by: Boog900 <boog900@tutanota.com >
2024-11-16 20:22:14 +00:00
Soren Stoutner
7cd33d1dbc
Fix typos.
2024-11-11 17:01:52 -07:00
jeffro256
eb6f12c213
serialization: silence warning about shifting uint8_t by 8
...
Some compilers are stupid and give a warning on this line when `T = uint8_t`, even though it will never run
2024-11-08 15:06:32 -06:00
jeffro256
c7dce222f8
ringct: add operator!= for key
...
Part of upstreaming Seraphis/Carrot
Co-authored-by: j-berman <justinberman@protonmail.com >
2024-11-06 03:01:48 -06:00
Dmitry
fc49af6229
Update PORTABLE_STORAGE.md
...
"Represenations" – a typo in the title: the correct spelling is "Representations."
Corrected.
2024-11-01 12:44:30 +03:00
jeffro256
c1ead13df3
wallet2_api: use std::optional instead of handmade optional
...
Cleaner, adheres to POLA, and allows for better compiler optimization. Declaration should be backwards compatible. Requires C++17.
2024-10-30 13:04:30 -04:00
j-berman
e866a192dd
wallet2: move wallet error on RPC resp handling to wallet_errors file
...
Co-authored-by: jeffro256 <jeffro256@tutanota.com >
2024-10-29 10:56:11 -07:00
j-berman
df54d8b3d4
Daemon RPC: add max_block_count field to /getblocks.bin
2024-10-29 10:40:46 -07:00
tobtoht
6fd227610f
daemonizer: replace boost chrono/thread with std lib
2024-10-25 18:29:31 +02:00
tobtoht
968d7969c2
cmake: make PER_BLOCK_CHECKPOINT an option
2024-10-25 18:14:23 +02:00
tobtoht
03e593c72f
cmake: lowercase ARCH_ID
2024-10-25 01:34:59 +02:00
tobtoht
fd50651530
brew: remove unneeded taps
2024-10-25 00:22:43 +02:00
tobtoht
b8911f163c
readme: update raspberry pi build instructions
2024-10-24 22:33:36 +02:00
tobtoht
bd540d9448
readme: update msys2 build instructions
2024-10-24 21:00:42 +02:00
tobtoht
68a32a373e
build: remove unneeded cmake toolchain files
2024-10-24 20:14:30 +02:00
tobtoht
c3b262f4cb
readme: remove outdated gtest note
2024-10-24 19:09:59 +02:00
tobtoht
e2410b29d0
ci: cleanup depends package requirements
2024-10-24 17:35:40 +02:00
tobtoht
def79dd7bd
readme: fix win64 cross-compile requirements
2024-10-24 17:12:51 +02:00
tobtoht
484ece1c08
tests: remove python2 compatibility
2024-10-23 14:09:59 +02:00
tobtoht
ced5b040d5
tests: fix missing <thread> includes
2024-10-22 19:44:31 +02:00
0xFFFC0000
e1876ab7af
tests: remove unlock_time argument from trezor_tests
2024-10-20 13:25:31 +00:00
luigi1111
893916ad09
Merge pull request #9435
...
89ad8ac epee: string_tools: keep full path in cut_off_extension (tobtoht)
c51ca53 epee: string_tools: remove dot from get_extension (tobtoht)
2024-10-14 10:17:10 -04:00
luigi1111
7df0d9bb8f
Merge pull request #9499
...
170844b cmake: boost: fix header-only library search, bump minimum (tobtoht)
2024-10-14 10:15:38 -04:00
plowsof
3210961036
packages: add freebsd base mirror
2024-10-13 20:15:18 +01:00
Lee Clagett
808dff7d2f
Replace deprecated result_of with decltype
2024-10-10 14:37:03 -04:00
Lee Clagett
bd2869650a
Relax static_asserts in src/lmdb
2024-10-09 16:34:25 -04:00
jeffro256
0f9a5c1020
crypto: remove unused OAES code
...
@SyntheticBird45 reported that the OpenBSD compiler gives warnings about string functions used in `oaes_sprintf`,
as well as use of `rand()` in `oaes_key_gen`. Neither of these functions are used in the codebase. Removing the
unused OAES functions silences these warnings.
2024-10-07 11:04:34 -05:00
jeffro256
89777469f1
tests: include <iomanip> where using std::setfill
2024-10-07 00:50:45 -05:00
tobtoht
f8b7a895fc
depends: remove unwind from toolchain
2024-10-04 14:43:48 +02:00
tobtoht
8442b66961
depends: remove option from toolchain file
2024-10-04 13:43:41 +02:00
tobtoht
170844bc59
cmake: boost: fix header-only library search, bump minimum
2024-10-02 23:13:03 +02:00
luigi1111
9866a0e902
Merge pull request #9480
...
9c7e6ab ci: fix windows msys2 build (tobtoht)
2024-10-01 16:25:12 -04:00
luigi1111
fabbde3077
Merge pull request #9450
...
ed955bf build: fix build with Boost 1.85 and remove instances of viewkey logging (jeffro256)
2024-10-01 15:28:36 -04:00
tobtoht
31c6b2a901
wallet: can't decrypt payment id if tx key is missing
2024-09-26 14:29:12 +02:00
tobtoht
64bb031d5f
ci: run job for oldest supported Debian version
2024-09-13 20:04:20 +02:00
tobtoht
9c7e6ab04d
ci: fix windows msys2 build
2024-09-13 15:42:20 +02:00
Lee *!* Clagett
0a29a9f76e
Add ZMQ-PUB json-schemas
2024-09-10 16:29:48 -04:00
Alexander Perechnev
ea8e29fa96
set USE_UNWIND for FreeBSD
2024-09-08 12:34:13 +03:00
jeffro256
ed955bf751
build: fix build with Boost 1.85 and remove instances of viewkey logging
...
1. Use `std::is_standard_layout` and `std::is_trivially_copyable` instead of `std::is_pod` for KV byte-wise serialization, which fixes compile issue for Boost UUIDs
2. Use `std::has_unique_object_representations` instead of `alignof(T) == 1` for epee byte spans and epee hex functions
3. Removed reimplementation of `std::hash` for `boost::uuids::uuid
4. Removed `<<` operator overload for `crypto::secret_key`
5. Removed instances in code where private view key was dumped to the log in plaintext
2024-09-06 11:46:22 -05:00
tobtoht
ca063373e1
ci: remove obsolete sdk cache
2024-09-04 16:40:21 +02:00
tobtoht
e03de80924
depends: release type should be lower case
2024-08-26 16:24:32 +02:00
tobtoht
913136936b
readme: add missing ubuntu/debian build tools
2024-08-25 18:32:27 +02:00
tobtoht
f93f656811
depends: allow granular stage env config
2024-08-25 17:38:15 +02:00
Gingeropolous
4221051c95
docs: clarify proper PR title format
...
this is a redo of #9210 because I'm an idiot and can't squash
2024-08-24 09:19:29 -04:00
0xFFFC0000
39ae489d34
cmake: fix readline find_path call.
2024-08-19 09:22:58 +00:00
Crypto City
cfb19b932f
blockchain: more opportunities for caching the rolling median
2024-08-17 14:42:35 +00:00
luigi1111
a1dc85c537
Merge pull request #9416
...
ac0af73 rpc: add cumul weight field to block template resp (jeffro256)
2024-08-14 14:19:03 -04:00
luigi1111
65cc1f133b
Merge pull request #9287
...
59cddbb serialization: support passing extra args to fields in DSL (jeffro256) b2c59c4 common: add va_args.h (jeffro256)
2024-08-14 14:17:56 -04:00
tobtoht
89ad8ac8b1
epee: string_tools: keep full path in cut_off_extension
2024-08-14 19:51:12 +02:00
tobtoht
c51ca53daa
epee: string_tools: remove dot from get_extension
...
Fixes a regression introduced in #9254 . Previously it did not
include the dot.
2024-08-14 16:59:09 +02:00
jeffro256
59cddbb9ca
serialization: support passing extra args to fields in DSL
...
This PR is upstreaming changes in the Seraphis lib here: https://github.com/UkoeHB/monero/pull/39 . The changes to the serialization header allow clean passing
of extra arguments to field serialization in the DSL. This is used mainly to pass implied sizes of containers during deserialization to make the format more
compact. For example, if my object has two containers A & B which must be the same size, I can serialize only the size of container A. Then, during
deserialization, when I deserialize A, I can then use A's size to deserialize B.
Depends on #9286 .
2024-08-13 12:05:24 -05:00
jeffro256
b2c59c498c
common: add va_args.h
...
This PR is upstreaming changes in the Seraphis lib here: https://github.com/UkoeHB/monero/pull/39 . This header adds a macro `VA_ARGS_COMMAPREFIX`
which, when passed `__VA_ARGS__`, expands to `, __VA_ARGS__` unless the length of `__VA_ARGS__` is 0, in which case it expands to nothing. This
macro is useful for passing/declaring optional function arguments.
2024-08-13 12:02:45 -05:00
luigi1111
0db9e74223
Merge pull request #9429
...
bd2b226 device: add ledger flex support (tobtoht)
2024-08-13 12:29:47 -04:00
luigi1111
28788bc031
Merge pull request #9425
...
fc0a4b4 Make wallet2::estimate_fee static (Lee Clagett)
2024-08-13 12:18:24 -04:00
luigi1111
4bb00420cc
Merge pull request #9423
...
aaeffb7 rpc: remove COMMAND_RPC_FAST_EXIT (hinto.janai)
2024-08-13 12:17:46 -04:00
luigi1111
fdc238ef59
Merge pull request #9421
...
bf74f89 monerod.service: use network-online.target Wait for network to be online before starting (Jared Monger)
2024-08-13 12:17:03 -04:00
luigi1111
dad4357f7a
Merge pull request #9414
...
3216165 src: update checkpoints to match v0.18.3.4 (again) (selsta)
2024-08-13 12:16:29 -04:00
luigi1111
93d6e0964e
Merge pull request #9384
...
88afcdb Fix ZMQ DaemonInfo: (Lee *!* Clagett)
2024-08-13 12:15:28 -04:00
luigi1111
1d4030937e
Merge pull request #9357
...
802d643 Update depends.yml (preland)
2024-08-13 12:14:30 -04:00
tobtoht
bd2b226572
device: add ledger flex support
...
See: bd1b09970f/libs/ledgerjs/packages/devices/src/index.ts (L111)
2024-08-09 10:31:16 +02:00
0xFFFC0000
92b671c564
contrib: smaller and more reasonable log size.
2024-08-08 04:50:29 +00:00
Lee Clagett
fc0a4b4b04
Make wallet2::estimate_fee static
2024-08-07 13:47:31 -04:00
hinto.janai
aaeffb7c93
rpc: remove COMMAND_RPC_FAST_EXIT
2024-08-05 20:21:29 -04:00
Jared Monger
bf74f89ea6
monerod.service: use network-online.target
...
Wait for network to be online before starting
2024-08-04 05:52:59 -05:00
koe
04fe6fa63f
split variant into plain and optional, add variant serialization
2024-08-02 13:18:57 -05:00
jeffro256
ac0af73222
rpc: add cumul weight field to block template resp
...
Resolves #9415
2024-08-01 01:03:41 -05:00
selsta
3216165822
src: update checkpoints to match v0.18.3.4 (again)
2024-07-31 18:14:23 +02:00
luigi1111
caa62bc9ea
Merge pull request #9392
...
b894042 epee: fix mlog filename compare bug. (0xFFFC0000)
2024-07-16 19:02:24 -04:00
luigi1111
3b53db47cf
Merge pull request #9386
...
1d024f0 chore: fix some comments (haouvw)
2024-07-16 19:01:09 -04:00
luigi1111
330212888a
Merge pull request #9383
...
9f83e74 Daemon RPC: /getblocks.bin return chain's top_block_hash in resp (j-berman)
2024-07-16 19:00:39 -04:00
luigi1111
4ed5bc5436
Merge pull request #9382
...
356829a Daemon RPC: high_height_ok req boolean field /getblocks.bin (j-berman)
2024-07-16 19:00:06 -04:00
luigi1111
8dbbc47804
Merge pull request #9379
...
6c28bdb wallet2: move get_rpc_status func to RPC server definition file (j-berman)
2024-07-16 18:58:08 -04:00
luigi1111
cfd7f5222d
Merge pull request #9370
...
9fc48f4 Fix ZMQ Tx Pruning (Lee Clagett)
2024-07-16 18:56:44 -04:00
luigi1111
66c5917876
Merge pull request #9353
...
32f3245 cryptonote_protocol: prevent duplicate txs in fluff queue (0xFFFC0000)
2024-07-16 18:51:30 -04:00
luigi1111
c830fc05d8
Merge pull request #9349
...
9817293 workflows: don't hardcode repo name (selsta)
2024-07-16 18:50:40 -04:00
luigi1111
e3cfaed278
Merge pull request #9346
...
0fad1a8 src: update checkpoints to match v0.18.3.4 (selsta)
2024-07-16 18:49:44 -04:00
luigi1111
c2fceb2939
Merge pull request #9344
...
a026d5a wallet2: validate fetched block height and parent hash (Oscar Mira)
c634c26 wallet2: use start_height consistently as const in process_parsed_blocks (Oscar Mira)
2024-07-16 18:48:43 -04:00
luigi1111
baf6df06c2
Merge pull request #9343
...
302fa9b wallet: fetch pool txs in pruned form (jeffro256)
2024-07-16 18:46:04 -04:00
luigi1111
b02bf31b83
Merge pull request #9342
...
b07a97c epee: partially revert c56ee140 to fix linking errors (jeffro256)
2024-07-16 18:44:04 -04:00
luigi1111
040bccc22f
Merge pull request #9338
...
4a376d6 copyright: fix vector.h typo (hinto.janaiyo)
d61e8e9 workflows: delete copyright.yml (plowsof)
341771a copyright: bump to 2024 (copyCat)
2024-07-16 18:42:49 -04:00
luigi1111
2a6b6ea0f2
Merge pull request #9326
...
004ead1 gpg_keys: renew jeffro256 (jeffro256)
2024-07-16 18:41:57 -04:00
luigi1111
978842c284
Merge pull request #9324
...
2e061be README.md: sponsors;remove forked networking/globee (plowsof)
2024-07-16 18:41:20 -04:00
luigi1111
85cf0b01fa
Merge pull request #9289
...
025021d BlockchainDB: shorter fixup() (jeffro256)
2024-07-16 18:40:46 -04:00
luigi1111
99e33996f4
Merge pull request #9288
...
262ef47 BlockchainDB: remove lock/unlock methods (jeffro256)
2024-07-16 18:32:42 -04:00
luigi1111
f145cb37a4
Merge pull request #9278
...
18fbe54 add sum of amounts for unspent_outputs (SNeedlewoods)
2024-07-16 18:31:59 -04:00
luigi1111
1ce9960ec6
Merge pull request #9215
...
3837bb8 remove repetitive word (cuinix)
2024-07-16 18:31:27 -04:00
luigi1111
38067711e2
Merge pull request #9114
...
88d074c Add support for Loongarch (YalingFang)
2024-07-16 18:30:56 -04:00
luigi1111
d7eece3cae
Merge pull request #8619
...
e71c8bf wallet: background sync with just the view key (j-berman)
2024-07-16 18:29:47 -04:00
luigi1111
15b47b481c
Merge pull request #8203
...
ddf3af1 add key exchange round booster to multisig_account (koe)
2024-07-16 18:27:09 -04:00
haouvw
1d024f0701
chore: fix some comments
...
Signed-off-by: haouvw <jchaodaohang@foxmail.com >
2024-07-11 14:56:25 +08:00
jeffro256
7fdaf61d41
Blockchain: fix temp fails causing alt blocks to be permanently invalid
2024-07-11 00:43:38 -05:00
0xFFFC0000
b8940420bb
epee: fix mlog filename compare bug.
...
When using a relative path for the log filename,
since the iteration on files adds "./" to the beginning of the filename
monero-wallet-rpc and monero-wallet-cli cannot find already written
log files and therefore rotate indefinitely.
2024-07-07 21:13:12 +00:00
Oscar Mira
a026d5ac44
wallet2: validate fetched block height and parent hash
2024-07-05 05:45:28 +02:00
Oscar Mira
c634c261c2
wallet2: use start_height consistently as const in process_parsed_blocks
2024-07-04 13:01:12 +02:00
j-berman
9f83e7434d
Daemon RPC: /getblocks.bin return chain's top_block_hash in resp
2024-06-24 17:58:20 -07:00
j-berman
6c28bdb856
wallet2: move get_rpc_status func to RPC server definition file
2024-06-24 17:44:23 -07:00
Lee *!* Clagett
88afcdb8fa
Fix ZMQ DaemonInfo:
...
* top_block_hash was never set in handler
* wide_difficulty was never sent in JSON
* wide_cumulative_difficulty was never sent in JSON
2024-06-24 19:57:20 -04:00
j-berman
356829a198
Daemon RPC: high_height_ok req boolean field /getblocks.bin
...
Behavior before: when start_height > chain tip, response fails
Behavior after: when req.high_height_ok is true && req.start_height
> chain tip, server rerturns a successful response that includes
chain height
2024-06-24 16:47:06 -07:00
0xFFFC0000
445319d3f1
src: update internal data structure to boost::bimap.
...
startup speed up 2-5x because this PR changing
O(n^2) operation to O(nlogn).
2024-06-21 07:22:19 +00:00
Lee Clagett
9fc48f4a8a
Fix ZMQ Tx Pruning
2024-06-18 21:26:28 -04:00
preland
802d6434de
Update depends.yml
2024-06-09 11:58:01 -04:00
0xFFFC0000
32f32453f1
cryptonote_protocol: prevent duplicate txs in fluff queue
...
1. Fix duplicate transaction #9335
2. Add test for cases where there are duplicate transaction in fluff
Co-authored-by: Boog900 <boog900@tutanota.com >
2024-06-05 16:33:15 +00:00
Lee *!* Clagett
d64a5f70d2
Fix lmdb txn commit code
2024-06-04 18:55:39 -04:00
selsta
98172930db
workflows: don't hardcode repo name
2024-06-03 03:27:35 +02:00
selsta
0fad1a8d08
src: update checkpoints to match v0.18.3.4
2024-05-29 15:59:56 +02:00
jeffro256
302fa9b5df
wallet: fetch pool txs in pruned form
2024-05-28 11:19:46 -05:00
jeffro256
b07a97c51f
epee: partially revert c56ee140 to fix linking errors
...
On Linux Mint 21.3, g++ Ubuntu 11.4.0-1ubuntu1~22.04, I get linking error for an undefined reference to `epee::string_tools::trim_right`. This PR reverts the changes
to epee_readline.cpp in commit c56ee140 , which turns a `boost::trim_right` callsite into an `epee::string_tools::trim_right` callsite.
2024-05-28 10:37:48 -05:00
j-berman
e71c8bf190
wallet: background sync with just the view key
...
- When background syncing, the wallet wipes the spend key
from memory and processes all new transactions. The wallet saves
all receives, spends, and "plausible" spends of receives the
wallet does not know key images for.
- When background sync disabled, the wallet processes all
background synced txs and then clears the background sync cache.
- Adding "plausible" spends to the background sync cache ensures
that the wallet does not need to query the daemon to see if any
received outputs were spent while background sync was enabled.
This would harm privacy especially for users of 3rd party daemons.
- To enable the feature in the CLI wallet, the user can set
background-sync to reuse-wallet-password or
custom-background-password and the wallet automatically syncs in
the background when the wallet locks, then processes all
background synced txs when the wallet is unlocked.
- The custom-background-password option enables the user to
open a distinct background wallet that only has a view key saved
and can be opened/closed/synced separately from the main wallet.
When the main wallet opens, it processes the background wallet's
cache.
- To enable the feature in the RPC wallet, there is a new
`/setup_background_sync` endpoint.
- HW, multsig and view-only wallets cannot background sync.
2024-05-24 23:11:58 -07:00
koe
ddf3af1f0c
add key exchange round booster to multisig_account
2024-05-21 15:27:08 -05:00
luigi1111
cc73fe7116
Merge pull request #9202
...
c94ca0f depends: add command to print variables (tobtoht)
2024-05-21 14:47:28 -05:00
luigi1111
35eb5c1174
Merge pull request #9339
...
a28c38c wallet2: correct variable usage in get_multisig_seed (selsta)
2024-05-21 14:36:19 -05:00
hinto.janaiyo
4a376d6d3f
copyright: fix vector.h typo
2024-05-21 20:09:14 +01:00
selsta
a28c38c946
wallet2: correct variable usage in get_multisig_seed
2024-05-21 19:22:39 +02:00
plowsof
d61e8e901e
workflows: delete copyright.yml
2024-05-21 17:40:53 +01:00
copyCat
341771ac3e
copyright: bump to 2024
2024-05-21 16:29:33 +00:00
tobtoht
c94ca0f785
depends: add command to print variables
2024-05-21 09:59:23 +02:00
luigi1111
af4fd61fe7
Merge pull request #9316
...
697986d net_node: update seed nodes (selsta)
2024-05-20 23:44:44 -05:00
luigi1111
ee7c5de112
Merge pull request #9313
...
304dcf8 contrib: fix compilation error for boost 1.85 (0xFFFC0000)
2024-05-20 23:43:36 -05:00
luigi1111
e6acde1a07
Merge pull request #9310
...
6d4f7b8 wallet2: fix stagenet get_approximate_blockchain_height (selsta)
2024-05-20 23:41:06 -05:00
luigi1111
a3c67ab5ad
Merge pull request #9307
...
f9d9dd8 simplewallet: change boost::filesystem::complete to absolute. (0xFFFC0000)
2024-05-20 23:39:58 -05:00
luigi1111
6c346eca03
Merge pull request #9305
...
de9c461 common: support boost filesystem copy_options. Co-authored-by: selsta <selsta@sent.at > (0xFFFC0000)
2024-05-20 23:38:20 -05:00
luigi1111
fc452bd546
Merge pull request #9282
...
b27fda2 src: update checkpoints to match latest release (selsta)
2024-05-20 23:36:28 -05:00
luigi1111
b208eed32a
Merge pull request #9270
...
267e31f Add drop_and_recreate in privatefile class. When creating a private file we need to delete the file if exist. (0xFFFC0000)
2024-05-20 23:35:48 -05:00
luigi1111
58b1e931f7
Merge pull request #9268
...
463228b Skip privacy networks (on tx sends) that don't have outgoing connections (Lee *!* Clagett)
2024-05-20 23:34:39 -05:00
luigi1111
812535390f
Merge pull request #9259
...
427ba77 wallet2: ensure transfers and sweeps use same fee calc logic rnd2 (j-berman)
2024-05-20 23:32:48 -05:00
luigi1111
eb35250895
Merge pull request #9257
...
d6609b8 serialization: do any N-tuple (jeffro256)
2024-05-20 23:31:17 -05:00
luigi1111
2603a034cf
Merge pull request #9245
...
8e80585 functional_tests: test HTTP digest auth (jeffro256)
2024-05-20 23:25:50 -05:00
luigi1111
6462d3760d
Merge pull request #9232
...
7194506 Blockchain: remove old fee calc logic (jeffro256)
2024-05-20 23:18:07 -05:00
luigi1111
1e5ad57e2e
Merge pull request #9211
...
9b946ae Removed default cryptonote address (SyntheticBird45)
2024-05-20 23:16:59 -05:00
luigi1111
03549ac75c
Merge pull request #9205
...
5dbaace depends: fix ar zero timestamp for openssl & unbound on android targets (tobtoht)
2024-05-20 23:15:46 -05:00
luigi1111
54c84c57e6
Merge pull request #9204
...
358d27c depends: native_libtapi: don't embed git hash (tobtoht)
2024-05-20 23:15:16 -05:00
luigi1111
c5cb0d3094
Merge pull request #9200
...
3d2b6a8 depends: native_cctools: don't embed build date (tobtoht)
2024-05-20 23:14:32 -05:00
luigi1111
49aa0ff1cb
Merge pull request #9199
...
5fdd67d depends: {native_,}protobuf: speedup build (tobtoht)
3c16794 build: force Trezor for depends builds (tobtoht)
2024-05-20 23:14:03 -05:00
luigi1111
9d960f056e
Merge pull request #9198
...
e151ff7 update blake2b test vectors (koe)
fa47c7b add blake2b to src/crypto (koe)
2024-05-20 23:13:25 -05:00
luigi1111
689381dff9
Merge pull request #9194
...
9d101d5 serialization: protect blob serialization from undefined behavior (jeffro256)
2024-05-20 23:12:28 -05:00
luigi1111
cdd7fc09b4
Merge pull request #9151
...
ff49444 @tobtoht: undo rebase changes tx.dsts -> tx_dsts (jeffro256)
38f354e Enforce Tx unlock_time is Zero by Relay Rule (jeffro256)
2024-05-20 23:11:09 -05:00
luigi1111
7f752115ef
Merge pull request #9149
...
c56ee14 Cleanup string_tools. 1. Use boost::filesystem for already available operations. 2. Use boost::string for already available operations. (0xFFFC0000)
2024-05-20 22:50:16 -05:00
luigi1111
69ffc1aa85
Merge pull request #9064
...
4689ad2 trezor: support c++17 and protobuf v25, libusb fix (Dusan Klinec)
2024-05-20 22:48:35 -05:00
luigi1111
d95414aa22
Merge pull request #8920
...
236e5d4 update TimingsDatabase to support csv format and incremental updating (koe)
2024-05-20 22:47:33 -05:00
luigi1111
172a191e3e
Merge pull request #8488
...
e0b3507 tests: update block_weight for 2021 scaling (moneromooo-monero)
2024-05-20 22:46:53 -05:00
luigi1111
8db863c415
Merge pull request #8396
...
a46b6ba contrib: add more valgrind suppressions for spurious issues (moneromooo-monero)
7f3e31d unit_tests: fix accessing invalid memory in tree_hash test (moneromooo-monero)
2024-05-20 22:45:46 -05:00
luigi1111
3a47cdad13
Merge pull request #7852
...
8d94d08 replace 'multisig()' with 'get_multisig_status()' using multisig_account_status and including '.kex_is_done' member (koe)
2024-05-20 22:35:57 -05:00
jeffro256
004ead1a14
gpg_keys: renew jeffro256
...
Expiration date is simply pushed back to 1 year from now.
2024-05-14 13:34:13 -05:00
plowsof
2e061be322
README.md: sponsors;remove forked networking/globee
2024-05-12 19:43:06 +01:00
selsta
697986d948
net_node: update seed nodes
...
Also remove port for I2P seed nodes
2024-05-12 15:24:28 +02:00
0xFFFC0000
304dcf8570
contrib: fix compilation error for boost 1.85
2024-05-01 12:29:00 +00:00
0xFFFC0000
de9c461a98
common: support boost filesystem copy_options.
...
Co-authored-by: selsta <selsta@sent.at >
2024-04-30 23:20:10 +00:00
selsta
6d4f7b89c3
wallet2: fix stagenet get_approximate_blockchain_height
2024-04-28 21:15:38 +02:00
0xFFFC0000
f9d9dd88bb
simplewallet: change boost::filesystem::complete to absolute.
2024-04-27 14:23:39 +00:00
0xFFFC0000
267e31f5b7
Add drop_and_recreate in privatefile class.
...
When creating a private file we need to delete the file if exist.
2024-04-22 14:32:12 +00:00
cuinix
3837bb853f
remove repetitive word
...
Signed-off-by: cuinix <915115094@qq.com >
2024-04-20 19:17:46 +08:00
jeffro256
025021dee0
BlockchainDB: shorter fixup()
...
Instead of hard-coding all missing key images into the code and inserting if missing,
we simply pop all blocks after height 202611. This makes the `monerod` binary about
0.35% smaller.
2024-04-11 14:34:56 -05:00
jeffro256
262ef473db
BlockchainDB: remove lock/unlock methods
2024-04-11 12:12:35 -05:00
jeffro256
bc05e724cb
common: add va_args.h
...
This PR is upstreaming changes in the Seraphis lib here: https://github.com/UkoeHB/monero/pull/39 . This header adds a macro `VA_ARGS_COMMAPREFIX`
which, when passed `__VA_ARGS__`, expands to `, __VA_ARGS__` unless the length of `__VA_ARGS__` is 0, in which case it expands to nothing. This
macro is useful for passing/declaring optional function arguments.
2024-04-11 11:32:07 -05:00
Dusan Klinec
4689ad2d3c
trezor: support c++17 and protobuf v25, libusb fix
...
- fix If there is no protobuf version installed, if fails
- passphrase test fix, wallet keys init was missing
2024-04-10 18:19:22 +02:00
selsta
b27fda269e
src: update checkpoints to match latest release
2024-04-06 00:53:05 +02:00
jeffro256
ff49444ee8
@tobtoht: undo rebase changes tx.dsts -> tx_dsts
2024-04-05 13:12:34 -05:00
SNeedlewoods
18fbe54729
add sum of amounts for unspent_outputs
2024-03-30 13:18:12 +01:00
Lee *!* Clagett
463228b961
Skip privacy networks (on tx sends) that don't have outgoing connections
2024-03-29 13:01:58 -04:00
j-berman
427ba7702f
wallet2: ensure transfers and sweeps use same fee calc logic rnd2
...
Looks like the logic from #8882 was accidentally removed in #8861
(regressing to the behavior noted in the #8882 description).
This commit brings that logic back.
2024-03-22 14:05:17 -07:00
koe
e151ff711f
update blake2b test vectors
2024-03-21 09:51:40 -05:00
jeffro256
d6609b83d6
serialization: do any N-tuple
2024-03-19 14:49:36 -05:00
0xFFFC0000
c56ee140df
Cleanup string_tools.
...
1. Use boost::filesystem for already available operations.
2. Use boost::string for already available operations.
2024-03-15 14:54:23 +03:30
luigi1111
c8214782fb
Merge pull request #9243
...
c4e1c5a ringct: fix trunc_amount field name change (jeffro256)
2024-03-12 12:45:35 -04:00
jeffro256
8e80585ef5
functional_tests: test HTTP digest auth
...
Test:
1. Can't login to RPC server with --rpc-login enabled, but no auth provided
2. Can access RPC server with correct login
3. Can use internal HTTP client to access RPC server with correct login
With commit 0ae5c91e50 not reverted, we fail test 3.
2024-03-11 23:54:50 -05:00
jeffro256
c4e1c5a640
ringct: fix trunc_amount field name change
...
Caused in commit 05231400ce , PR #9035 .
2024-03-11 20:21:22 -05:00
luigi1111
2d855f8d67
Merge pull request #9237
...
bcb15d3 Revert 'http_client: reduce number of packets sent for small bodies' (jeffro256)
2024-03-11 15:55:37 -04:00
luigi1111
8e61ddb413
Merge pull request #9228
...
c40d8b2 depends: add riscv64 linux build tag (selsta)
2024-03-11 15:52:09 -04:00
jeffro256
bcb15d3b00
Revert "http_client: reduce number of packets sent for small bodies"
...
This reverts commit 0ae5c91e50 .
2024-03-10 23:04:44 -05:00
jeffro256
9d101d5ea0
serialization: protect blob serialization from undefined behavior
...
There is currently no compiler protection when someone tries to
do (for example) `BLOB_SERIALIZER(std::vector<int>)`. You just
get runtime allocation errors. This has already eaten up dev time
before, so this PR adds a static assertion that the type must be
trivially copyable, as defined by the C++ standard. Types can
override this if applicable if they use `BLOB_SERIALIZER_FORCED`.
2024-03-10 14:15:48 -05:00
jeffro256
7194506792
Blockchain: remove old fee calc logic
2024-03-10 13:30:46 -05:00
selsta
c40d8b213c
depends: add riscv64 linux build tag
2024-03-09 21:15:28 +01:00
luigi1111
1bec71279e
Merge pull request #9225
...
a01d7cc Fixed mempool pruning (SChernykh)
2024-03-08 20:27:34 -05:00
luigi1111
769202bc52
Merge pull request #9219
...
e6f4875 wallet2: adjust fee during backlog, fix set priority (selsta)
2024-03-08 20:26:58 -05:00
SyntheticBird45
9b946ae527
Removed default cryptonote address
...
- Removed `localhost:8080` default value to address string in wallet rpc
- Added an error response in case string is empty
fixed indentation
removed if and errors, default to localhost and port based on nettype
Forgot ":"
forgot ; and m_
removed wallet_rpc_server_error_codes.h
2024-03-08 21:32:26 +01:00
SChernykh
a01d7ccbfd
Fixed mempool pruning
...
- Fixed undefined behavior after a call to `remove_tx_from_transient_lists` (it used an invalid iterator)
- Fixed `txCompare` (it wasn't strictly weak ordered)
2024-03-08 21:04:16 +01:00
luigi1111
d6d55b507a
Merge pull request #9222
...
66e5081 get_block_template_backlog: better sorting logic (SChernykh)
2024-03-08 13:45:41 -05:00
luigi1111
c23951f339
Merge pull request #9218
...
7815023 tx_memory_pool: make double spends a no-drop offense (jeffro256)
2024-03-08 10:43:20 -05:00
SChernykh
66e5081eae
get_block_template_backlog: better sorting logic
...
std::sort is unstable, so it can return random sets of transactions when mempool has many transactions with the same fee/byte. It can result in p2pool mining empty blocks sometimes because it doesn't pick up "new" transactions immediately.
2024-03-08 14:50:01 +01:00
selsta
e6f4875219
wallet2: adjust fee during backlog, fix set priority
2024-03-08 14:13:58 +01:00
luigi1111
4b255808d0
Merge pull request #9214
...
399b884 unit_tests: fix strtoul unit test (jeffro256)
2024-03-07 21:37:42 -05:00
luigi1111
6ade592adf
Merge pull request #9195
...
2a2da79 free function serialization DSL (jeffro256)
2024-03-07 21:37:05 -05:00
luigi1111
2dced15f85
Merge pull request #9187
...
695084e depends: add download commands for freebsd & android sources (tobtoht)
2024-03-07 21:35:02 -05:00
luigi1111
ce88edc3f7
Merge pull request #9184
...
7043238 Remove instructions for Void Linux, add NixOS (Siren)
2024-03-07 21:34:39 -05:00
luigi1111
c3ebfb132f
Merge pull request #9179
...
e499e74 actions: update to v4 actions (tobtoht)
2024-03-07 21:34:13 -05:00
luigi1111
e2cf644bef
Merge pull request #9170
...
1bc09fc depends: add riscv64 to gitignore (tobtoht)
2024-03-07 21:25:00 -05:00
luigi1111
4582656f60
Merge pull request #9169
...
119e341 depends: remove unwind (tobtoht)
2024-03-07 21:24:30 -05:00
luigi1111
6e4ef12e50
Merge pull request #9168
...
0c9a5c5 depends: remove ccache (tobtoht)
2024-03-07 21:23:43 -05:00
luigi1111
1d24774b5b
Merge pull request #9167
...
442146a depends: libusb: update to 1.0.27 (tobtoht)
2024-03-07 21:22:17 -05:00
luigi1111
20dbf99795
Merge pull request #9166
...
5f1b5c2 depends: eudev: update to 3.2.14 (tobtoht)
2024-03-07 21:21:42 -05:00
jeffro256
7815023117
tx_memory_pool: make double spends a no-drop offense
...
Nodes who see different txs in a double spend attack will drop each other, splitting the network.
Issue found by @boog900.
2024-03-07 09:23:51 -06:00
jeffro256
399b884a9c
unit_tests: fix strtoul unit test
2024-03-07 09:05:09 -06:00
tobtoht
5dbaace1e8
depends: fix ar zero timestamp for openssl & unbound on android targets
2024-03-05 09:15:24 +01:00
tobtoht
358d27c2e4
depends: native_libtapi: don't embed git hash
2024-02-26 15:33:21 +01:00
jeffro256
38f354e89f
Enforce Tx unlock_time is Zero by Relay Rule
...
Related to https://github.com/monero-project/research-lab/issues/78
Added a relay rule that enforces the `unlock_time` field is equal to 0 for non-coinbase transactions.
UIs changed:
* Removed `locked_transfer` and `locked_sweep_all` commands from `monero-wallet-cli`
APIs changed:
* Removed `unlock_time` parameters from `wallet2` transfer methods
* Wallet RPC transfer endpoints send error codes when requested unlock time is not 0
* Removed `unlock_time` parameters from `construct_tx*` cryptonote core functions
2024-02-24 14:27:17 -06:00
jeffro256
2a2da79943
free function serialization DSL
...
Example usage for Seraphis types (in global or `sp` namespace):
```
BEGIN_SERIALIZE_OBJECT_FN(sp::SpCoinbaseEnoteCore)
FIELD_F(onetime_address)
VARINT_FIELD_F(amount)
END_SERIALIZE()
BEGIN_SERIALIZE_OBJECT_FN(sp::SpEnoteCore)
FIELD_F(onetime_address)
FIELD_F(amount_commitment)
END_SERIALIZE()
```
2024-02-24 11:24:47 -06:00
luigi1111
7b7958bbd9
Merge pull request #9004
...
cdab0d4 cmake: require libsodium (tobtoht)
684bfca depends: move sodium to packages (tobtoht)
2024-02-24 10:46:59 -05:00
tobtoht
cdab0d489c
cmake: require libsodium
2024-02-24 16:26:43 +01:00
tobtoht
684bfca765
depends: move sodium to packages
2024-02-24 16:25:13 +01:00
luigi1111
9c9cb6e458
Merge pull request #9191
...
3313933 docs: omit i2p port number from ANONYMITY_NETWORKS (selsta)
2024-02-24 10:17:48 -05:00
luigi1111
b12766a652
Merge pull request #9189
...
f7670c9 cryptonote_core: early out on out of bounds scaling parameter (selsta)
2024-02-24 10:16:54 -05:00
luigi1111
7c22754432
Merge pull request #9182
...
538f19b depends: android_ndk: update to 18b (tobtoht)
2024-02-24 10:15:34 -05:00
luigi1111
7b8fd2d1a0
Merge pull request #9165
...
c334d0e depends: openssl: update to 3.0.13 (tobtoht)
2024-02-24 10:13:42 -05:00
luigi1111
7ba726c142
Merge pull request #9164
...
b26155b depends: expat: update to 2.6.0 (tobtoht)
2024-02-24 10:13:19 -05:00
luigi1111
b616c64953
Merge pull request #9163
...
edcc1e4 depends: unbound: update to 1.19.1 (tobtoht)
2024-02-24 10:12:31 -05:00
luigi1111
72d87cd10a
Merge pull request #9160
...
c50ade5 Daemon-specific proxy for the wallet-rpc. (0xFFFC0000)
2024-02-24 10:11:51 -05:00
luigi1111
3078e44847
Merge pull request #9155
...
ed50938 Zero initialize rctSigBase elements (Lee *!* Clagett)
2024-02-24 10:07:54 -05:00
luigi1111
f2493d9139
Merge pull request #9143
...
b1c9a80 Add <cstdint> to aligned test (Lee *!* Clagett)
2024-02-24 10:06:57 -05:00
luigi1111
486ae9f1cf
Merge pull request #9138
...
cd7ccfb Disable/fix ports with I2P (Lee Clagett)
2024-02-24 10:05:25 -05:00
luigi1111
7904879326
Merge pull request #9137
...
8d25418 daemon: warn user on specifiying ZMQ args with --no-zmq (jeffro256)
2024-02-24 10:04:56 -05:00
luigi1111
9132d4eea0
Merge pull request #9132
...
9cd4757 Cleanup extra memory allocation, and port boost::shared_ptr to std::shared_ptr. (0xFFFC0000)
2024-02-24 10:04:04 -05:00
luigi1111
400b313caf
Merge pull request #9128
...
ba902f9 actions: remove unnecessary packages (tobtoht)
2024-02-24 10:00:27 -05:00
luigi1111
c12ee59ebd
Merge pull request #9125
...
0c545f6 epee/test: remove levin_protocol_handler and core_proxy tests (jeffro256)
2024-02-24 09:59:50 -05:00
luigi1111
49bfb8fd63
Merge pull request #9121
...
afe5167 depends: update config scripts (jeffro256)
2024-02-24 09:58:59 -05:00
luigi1111
2dc918402c
Merge pull request #9006
...
47042ce wallet2: call on_reorg callback in handle_reorg (j-berman)
2024-02-24 09:57:55 -05:00
luigi1111
92a3b2c97e
Merge pull request #9005
...
0d763a1 depends: move cmake system config to hosts files (tobtoht)
2024-02-24 09:57:09 -05:00
luigi1111
b91c433788
Merge pull request #8940
...
48b7d08 epee binary: container can read from empty seq of any type (jeffro256)
2024-02-24 09:55:58 -05:00
luigi1111
ee104bc9d5
Merge pull request #8861
...
b13c5f6 wallet: feature: transfer amount with fee included (jeffro256)
2024-02-24 09:54:56 -05:00
tobtoht
3d2b6a8ac2
depends: native_cctools: don't embed build date
2024-02-23 18:30:17 +01:00
tobtoht
5fdd67d738
depends: {native_,}protobuf: speedup build
2024-02-23 10:58:11 +01:00
tobtoht
3c16794f1f
build: force Trezor for depends builds
2024-02-23 10:56:37 +01:00
koe
fa47c7b7d6
add blake2b to src/crypto
2024-02-21 19:39:11 -06:00
selsta
33139336a2
docs: omit i2p port number from ANONYMITY_NETWORKS
2024-02-21 01:01:32 +01:00
jeffro256
b13c5f6669
wallet: feature: transfer amount with fee included
...
To transfer ~5 XMR to an address such that your balance drops by exactly 5 XMR, provide a `subtractfeefrom` flag to the `transfer` command. For example:
transfer 76bDHojqFYiFCCYYtzTveJ8oFtmpNp3X1TgV2oKP7rHmZyFK1RvyE4r8vsJzf7SyNohMnbKT9wbcD3XUTgsZLX8LU5JBCfm 5 subtractfeefrom=all
If my walet balance was exactly 30 XMR before this transaction, it will be exactly 25 XMR afterwards and the destination address will receive slightly
less than 5 XMR. You can manually select which destinations fund the transaction fee and which ones do not by providing the destination index.
For example:
transfer 75sr8AAr... 3 74M7W4eg... 4 7AbWqDZ6... 5 subtractfeefrom=0,2
This will drop your balance by exactly 12 XMR including fees and will spread the fee cost proportionally (3:5 ratio) over destinations with addresses
`75sr8AAr...` and `7AbWqDZ6...`, respectively.
Disclaimer: This feature was paid for by @LocalMonero.
2024-02-20 17:08:06 -06:00
selsta
f7670c9387
cryptonote_core: early out on out of bounds scaling parameter
2024-02-21 00:02:27 +01:00
tobtoht
695084ecad
depends: add download commands for freebsd & android sources
2024-02-20 16:36:29 +01:00
Siren
7043238261
Remove instructions for Void Linux, add NixOS
2024-02-20 01:33:21 +02:00
tobtoht
119e3410bb
depends: remove unwind
2024-02-19 22:35:26 +01:00
tobtoht
e499e74b8e
actions: update to v4 actions
2024-02-19 00:01:22 +01:00
0xFFFC0000
c50ade514f
Daemon-specific proxy for the wallet-rpc.
...
1. Daemon-specific proxy is exclusive with global proxy (--proxy).
2. If you set global proxy (--proxy) you cannot set daemon-specific proxy.
3. If you don't set global proxy, you can set proxy (or not set) proxy for
each daemon connection with the proxy field in jsonrpc to the wallet-rpc.
2024-02-18 18:36:52 +00:00
jeffro256
49ca1ad6ae
variant: split into variant and optional_variant
...
Upstreaming https://github.com/UkoeHB/monero/pull/28
2024-02-16 19:12:13 -06:00
jeffro256
48b7d0895a
epee binary: container can read from empty seq of any type
2024-02-16 15:53:07 -06:00
jeffro256
62fdacca07
variant: visit lambda and value-initialize by index
2024-02-14 02:01:44 -06:00
tobtoht
1bc09fce59
depends: add riscv64 to gitignore
2024-02-13 22:36:20 +01:00
tobtoht
0c9a5c5587
depends: remove ccache
2024-02-13 20:54:02 +01:00
tobtoht
5f1b5c2c4a
depends: eudev: update to 3.2.14
2024-02-13 20:13:45 +01:00
tobtoht
442146a508
depends: libusb: update to 1.0.27
2024-02-13 19:28:42 +01:00
tobtoht
c334d0e5f3
depends: openssl: update to 3.0.13
2024-02-13 18:45:59 +01:00
tobtoht
b26155b8fa
depends: expat: update to 2.6.0
2024-02-13 18:20:19 +01:00
tobtoht
edcc1e4618
depends: unbound: update to 1.19.1
2024-02-13 18:18:23 +01:00
tobtoht
538f19b0b7
depends: android_ndk: update to 18b
2024-02-12 19:31:15 +01:00
jeffro256
8d25418df0
daemon: warn user on specifiying ZMQ args with --no-zmq
...
Resolves https://github.com/monero-project/monero/issues/9127
2024-02-07 00:04:46 -06:00
Lee *!* Clagett
ed50938af4
Zero initialize rctSigBase elements
2024-02-06 12:47:47 -05:00
Lee Clagett
cd7ccfbdab
Disable/fix ports with I2P
2024-01-30 13:40:05 -05:00
Lee *!* Clagett
b1c9a809a0
Add <cstdint> to aligned test
2024-01-29 21:37:22 -05:00
0xFFFC0000
9cd4757c88
Cleanup extra memory allocation, and port boost::shared_ptr to std::shared_ptr.
2024-01-23 11:18:39 +03:30
tobtoht
ba902f9303
actions: remove unnecessary packages
2024-01-19 19:50:03 +01:00
luigi1111
059028a30a
Merge pull request #9126
...
e7629dc CMake: only set policy CMP0148 to OLD if version >= 3.27 (jeffro256)
2024-01-19 13:45:01 -05:00
jeffro256
e7629dc46f
CMake: only set policy CMP0148 to OLD if version >= 3.27
...
Co-authored-by: 0xFFFC0000 <0xFFFC0000@proton.me >
2024-01-19 11:14:58 -06:00
luigi1111
39a698d22c
Merge pull request #9119
...
9690bfd gpg_keys: add 0xfffc0000 (0xFFFC0000)
2024-01-18 18:09:22 -05:00
luigi1111
79608f74d5
Merge pull request #9117
...
7d3b9b9 remove ARCH='x86-64' from release-static (woodser)
2024-01-18 18:08:52 -05:00
luigi1111
edff20040a
Merge pull request #9111
...
34e62d5 workflows: enable manual run of copyright update (plowsof)
dd978ee workflows: copyright commit author (plowsof)
2024-01-18 18:07:51 -05:00
luigi1111
663dcf3aa2
Merge pull request #9103
...
562bdb8 storages: add missing return (selsta)
2024-01-18 18:07:12 -05:00
luigi1111
eb904d709a
Merge pull request #9090
...
430b102 Cleanup scoped_ptr in src/common/dns_utils.cpp and header include: * No need for entire new class (Fix #8732 ). * Fix stdint.h header include in contrib/epee/include/net/http_base.h. (0xFFFC0000)
2024-01-18 18:06:23 -05:00
luigi1111
36addc1e56
Merge pull request #9084
...
01c6e4b OpenBSD: node server fix IP localhost by aliasing (mesaoptimizer)
2024-01-18 18:05:28 -05:00
luigi1111
e9a4deef81
Merge pull request #9079
...
eed975d Fix missing checks for IsObject in ZMQ jsonrpc reading (Lee Clagett)
2024-01-18 18:03:18 -05:00
luigi1111
8ee57110b0
Merge pull request #9077
...
2525200 serialization: remove container wrappers and serialize directly (jeffro256)
2024-01-18 18:02:31 -05:00
luigi1111
71ef573a14
Merge pull request #9076
...
eb083ca cmake: silence FindPythonInterp warning (tobtoht)
2024-01-18 18:02:09 -05:00
luigi1111
4b1910af13
Merge pull request #9073
...
53e632b fix merge mining with more than one merge mined chain (Crypto City)
2024-01-18 18:01:34 -05:00
luigi1111
7795895774
Merge pull request #9072
...
69a8175 Change std::result_of to auto (Lee Clagett)
2024-01-18 18:01:08 -05:00
luigi1111
5d3679c43c
Merge pull request #9069
...
a11e03a serialization: fix infinite loops and clean up dispatching (jeffro256)
2024-01-18 18:00:25 -05:00
luigi1111
6d00cf2c2d
Merge pull request #9061
...
085fdea Add compile-time check for input iterators in ::wire array writing (Lee *!* Clagett)
2024-01-18 17:59:47 -05:00
luigi1111
7b158679bf
Merge pull request #9060
...
cf2253c workflows: upload macOS binary after name change (selsta)
2024-01-18 17:59:18 -05:00
luigi1111
2eed43cef2
Merge pull request #9059
...
2766d12 MMS: Ignore 2 more API errors thrown by latest PyBitmessage (rbrunner7)
2024-01-18 17:58:57 -05:00
luigi1111
57799a8ca5
Merge pull request #9056
...
deb8c79 gpg_keys: add tobtoht (tobtoht)
2024-01-18 17:58:18 -05:00
luigi1111
9d7b253263
Merge pull request #9052
...
4acae11 Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB (Lee *!* Clagett)
2024-01-18 17:57:30 -05:00
luigi1111
2a6f7efca6
Merge pull request #9049
...
1062b17 wallet: sign_tx: get tx pubkey from extra (tobtoht)
2024-01-18 17:56:55 -05:00
luigi1111
5f6646020e
Merge pull request #9023
...
b2eb47d wallet: mitigate statistical dependence for decoy selection within rings (jeffro256)
2024-01-18 17:55:49 -05:00
jeffro256
0c545f614a
epee/test: remove levin_protocol_handler and core_proxy tests
2024-01-17 17:17:16 -06:00
jeffro256
a79734c848
cryptonote_basic: faster and more readable is_valid_decomposed_amount
...
Includes performance tests
2024-01-15 15:44:10 -06:00
jeffro256
afe5167531
depends: update config scripts
...
The files are exact copies from the original repository (git://git.savannah.gnu.org/config.git),
in commit 28ea239c53a2d5d8800c472bc2452eaa16e37af2. The main reason for the update is because
loongarch was mentioned in PR #9114 and new the latest config files handle loongarch,
as well as WASM64, since the old files only cover WASM32. Tandem NSX and IA16, are also handled
in the newest config files, which covers the changes TheCharlatan made in 2018.
2024-01-12 12:54:26 -06:00
0xFFFC0000
9690bfda27
gpg_keys: add 0xfffc0000
2024-01-09 03:52:30 +03:30
woodser
7d3b9b98cb
remove ARCH="x86-64" from release-static
2024-01-06 14:15:08 -05:00
YalingFang
88d074c0e0
Add support for Loongarch
2024-01-05 08:14:12 +00:00
plowsof
34e62d58db
workflows: enable manual run of copyright update
2024-01-02 17:18:07 +00:00
plowsof
dd978ee437
workflows: copyright commit author
...
author is now copyCat
2024-01-02 17:16:06 +00:00
selsta
562bdb824b
storages: add missing return
2023-12-25 15:27:00 +01:00
0xFFFC0000
430b102aef
Cleanup scoped_ptr in src/common/dns_utils.cpp and header include:
...
* No need for entire new class (Fix #8732 ).
* Fix stdint.h header include in contrib/epee/include/net/http_base.h.
2023-12-19 16:54:37 +03:30
mesaoptimizer
01c6e4b4ad
OpenBSD: node server fix IP localhost by aliasing
...
The test node_server.bind_same_p2p_port fails by default on OpenBSD
for at least the debug build. Using the same ifconfig command as
described for MacOS results in the test passing.
2023-12-10 22:08:05 +01:00
Crypto City
53e632b435
fix merge mining with more than one merge mined chain
...
reported by sech1
2023-11-30 17:01:52 +00:00
Lee Clagett
eed975db5d
Fix missing checks for IsObject in ZMQ jsonrpc reading
2023-11-28 18:02:57 -05:00
jeffro256
2525200185
serialization: remove container wrappers and serialize directly
...
Some downstream code (most notably PR https://github.com/UkoeHB/monero/pull/25 ) wants to use the src/serialization lib
for storing information persistently. When one builds classes/machines wishing to serialize containers, they must use
the `serializable_*` container classes. In this case, this makes the Seraphis library code unnecessarily tightly coupled
with the src/serialization code since one cannot swap out their type of storage format without major refactoring of class
field types. By serializing STL containers directly, we can abstract the serialization details away, making for much
cleaner design. Also small bonus side effect of this change is that STL containers with custom Comparators, Allocators,
and Hashers are serializable. `std::multimap` is added to the list of serializable containers.
Depends upon https://github.com/monero-project/monero/pull/9069 .
2023-11-28 14:06:24 -06:00
tobtoht
eb083ca423
cmake: silence FindPythonInterp warning
2023-11-25 20:38:52 +01:00
Lee Clagett
69a8175edc
Change std::result_of to auto
2023-11-20 17:16:42 -05:00
jeffro256
a11e03afa6
serialization: fix infinite loops and clean up dispatching
...
Resolves #8687
2023-11-18 03:47:55 -06:00
Lee *!* Clagett
085fdea88c
Add compile-time check for input iterators in ::wire array writing
2023-11-06 16:26:39 -05:00
selsta
cf2253c812
workflows: upload macOS binary after name change
2023-11-06 20:39:40 +01:00
luigi1111
ac02af9286
Merge pull request #9050
...
23179a0 wallet: fix multisig key memory leak (jeffro256)
2023-11-06 09:38:08 -05:00
luigi1111
cab0ebdeb5
Merge pull request #9045
...
504269e unit tests: fix running from pwd and auto test selected location (jeffro256)
2023-11-06 09:35:11 -05:00
luigi1111
b0ea37a198
Merge pull request #9044
...
5443240 core_tests: fix gcc7 compilation (selsta)
2023-11-06 09:34:37 -05:00
luigi1111
06cfcb73ae
Merge pull request #9042
...
ade57b6 JH hash compiler workarounds (SChernykh)
2023-11-06 09:33:35 -05:00
luigi1111
b22ba16dec
Merge pull request #9038
...
e191083 epee: remove dead code in math_helper and string_tools (jeffro256)
2023-11-06 09:31:33 -05:00
luigi1111
c03e404980
Merge pull request #9035
...
0523140 ringct: make
ctSigBase serialization follow strict aliasing rule (jeffro256)
2023-11-06 09:28:18 -05:00
luigi1111
4ea2a194c7
Merge pull request #9033
...
56dab0f cryptonote_config: include cstdint (jeffro256)
2023-11-06 09:27:26 -05:00
luigi1111
3ab36f36f9
Merge pull request #9030
...
30cf537 unit tests: wallet_storage: generate in 'Ascii' format test (jeffro256)
2023-11-06 09:26:48 -05:00
luigi1111
26d37fe91d
Merge pull request #9028
...
9ea3257 gitian: add riscv64 support (selsta)
2023-11-06 09:25:24 -05:00
luigi1111
54e8463fe6
Merge pull request #8990
...
c17f73a add sp_transcript (koe) 51e40f7 add seraphis_crypto directory (koe)
2023-11-06 09:24:37 -05:00
luigi1111
a87f2bdd3f
Merge pull request #8979
...
80b5bf8 gcc: fix uninitialized constructor warnings (jeff)
2023-11-06 09:23:48 -05:00
luigi1111
476398687d
Merge pull request #8965
...
1e2e703 core_rpc_server: silence unused warnings (jeffro256)
2023-11-06 09:23:08 -05:00
luigi1111
3cea45bc56
Merge pull request #8922
...
b4491c1 cmake: set -fno-aligned-allocation on macOS ARM (selsta)
df9f380 cmake: set BOOST_NO_AUTO_PTR to fix c++17 compilation (selsta)
5136974 device: boost -> std locks to fix c++17 compilation (selsta)
5965b02 cmake: set cpp17 standard (selsta)
2023-11-06 09:21:55 -05:00
tobtoht
deb8c79a97
gpg_keys: add tobtoht
2023-11-05 16:15:19 +01:00
rbrunner7
2766d12a62
MMS: Ignore 2 more API errors thrown by latest PyBitmessage
2023-11-05 16:11:52 +01:00
koe
c17f73a1a2
add sp_transcript
2023-11-04 21:56:42 -05:00
SChernykh
ade57b694f
JH hash compiler workarounds
...
- Fixed uninitialized `state->x` warning
- Fixed broken code with `-O3` or `-Ofast`
The old code is known to break GCC 10.1 and GCC 11.4
2023-11-04 21:01:07 +01:00
Lee *!* Clagett
4acae11327
Fix EAGAIN bug in ZMQ-RPC/ZMQ-PUB
2023-11-04 13:42:14 -04:00
tobtoht
1062b172b6
wallet: sign_tx: get tx pubkey from extra
2023-11-02 15:19:05 +01:00
jeffro256
23179a0ba4
wallet: fix multisig key memory leak
...
Multisig keys per-transfer were being wiped, but not erased, which lead to a ginormous
quadratic bloat the more transfers and exports you performed with the wallet.
2023-11-02 02:58:50 -05:00
jeffro256
504269e6cf
unit tests: fix running from pwd and auto test selected location
2023-10-28 03:14:05 -05:00
selsta
5443240aa6
core_tests: fix gcc7 compilation
2023-10-28 04:26:27 +02:00
selsta
b4491c1072
cmake: set -fno-aligned-allocation on macOS ARM
...
We set a deployment target that is lower than 10.14, which means
we have to disable aligned allocation otherwise compilation fails.
2023-10-26 04:02:27 +02:00
selsta
df9f380671
cmake: set BOOST_NO_AUTO_PTR to fix c++17 compilation
2023-10-26 04:02:26 +02:00
selsta
5136974da9
device: boost -> std locks to fix c++17 compilation
2023-10-26 04:02:26 +02:00
selsta
5965b02aef
cmake: set cpp17 standard
2023-10-26 04:02:25 +02:00
luigi1111
053ba2cf07
Merge pull request #9026
...
9dc10bb Update RandomX to 1.2.1 (tevador)
2023-10-25 21:40:59 -04:00
luigi1111
5dbe2d0407
Merge pull request #9017
...
fe4a34e depends: zeromq: update to 4.3.5 (tobtoht)
2023-10-25 21:39:47 -04:00
luigi1111
40af6848f2
Merge pull request #9007
...
c8e4de1 depends: remove kernel version from darwin triplet (tobtoht)
2023-10-25 21:39:24 -04:00
luigi1111
b91ed92fa4
Merge pull request #9003
...
b9f1e37 depends: unwind: do not build for linux hosts (tobtoht)
2023-10-25 21:38:57 -04:00
luigi1111
e946315627
Merge pull request #9002
...
932bba3 depends: remove libiconv: unused (tobtoht)
2023-10-25 21:38:32 -04:00
luigi1111
10f208fbc5
Merge pull request #8989
...
9b231c9 add account_generators for mapping public EC generators to account keys (koe)
2023-10-25 21:37:37 -04:00
luigi1111
a1a40d67d2
Merge pull request #8987
...
1025e4f unit_test: set data dir relative to exe & add log-level arg (jeff)
2023-10-25 21:37:09 -04:00
luigi1111
fc4397010d
Merge pull request #8974
...
759293d wallet2: fix version check at hf version 1 (j-berman)
2023-10-25 21:36:36 -04:00
luigi1111
829c8f0ff9
Merge pull request #8972
...
f70d65c ea_config: define ELPP_FEATURE_CRASH_LOG for freebsd (teknosquet)
2023-10-25 21:36:09 -04:00
luigi1111
e3d0154b5b
Merge pull request #8969
...
8190f25 KV_SERIALIZE: remove extraneous semicolons in DSL (jeffro256)
2023-10-25 21:35:43 -04:00
luigi1111
f10ed50431
Merge pull request #8967
...
eba9011 README: remove obsolete forum (maogo)
2023-10-25 21:35:17 -04:00
luigi1111
faffe09bdb
Merge pull request #8966
...
f71e2dc multisig: better errors for small malformed kex msgs (jeffro256)
2023-10-25 21:34:57 -04:00
luigi1111
1d3eba161f
Merge pull request #8963
...
294366f depends: openssl: update to 3.0.11 (tobtoht)
2023-10-25 21:34:36 -04:00
luigi1111
d5da693866
Merge pull request #8958
...
b0bf49a blockchain_db: add k-anonymity to txid fetching (jeffro256)
2023-10-25 21:34:06 -04:00
luigi1111
cf474d55f6
Merge pull request #8933
...
ebb7671 depends: use macOS 11 SDK with libc++ headers (tobtoht)
2023-10-25 21:31:40 -04:00
luigi1111
8f0343df16
Merge pull request #8752
...
c444a7e trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests (Dusan Klinec)
056c996 fix chaingen tests (Dusan Klinec)
2023-10-25 21:30:49 -04:00
jeffro256
e191083bed
epee: remove dead code in math_helper and string_tools
2023-10-25 16:41:21 -05:00
tobtoht
ebb7671e0e
depends: use macOS 11 SDK with libc++ headers
2023-10-24 19:56:11 +02:00
jeffro256
05231400ce
ringct: make rctSigBase serialization follow strict aliasing rule
...
Accessing an object of type `char` thru an lvalue of type `crypto::hash8` is undefined behavior.
https://developers.redhat.com/blog/2020/06/03/the-joys-and-perils-of-aliasing-in-c-and-c-part-2
2023-10-23 16:28:02 -05:00
jeffro256
56dab0fad2
cryptonote_config: include cstdint
...
Header was using `uint64_t` without including `<cstdint>` which caused some issues downstream for windows builds
2023-10-22 18:02:54 -05:00
jeffro256
30cf537bcc
unit tests: wallet_storage: generate in "Ascii" format test
2023-10-21 18:37:12 -05:00
selsta
9ea325777f
gitian: add riscv64 support
2023-10-21 16:02:55 +02:00
tevador
9dc10bb223
Update RandomX to 1.2.1
2023-10-20 20:46:36 +02:00
jeffro256
b2eb47d875
wallet: mitigate statistical dependence for decoy selection within rings
...
Since we are required to check for uniqueness of decoy picks within any given
ring, and since some decoy picks may fail due to unlock time or malformed EC points,
the wallet2 decoy selection code was building up a larger than needed *unique* set of
decoys for each ring according to a certain distribution *without replacement*. After
filtering out the outputs that it couldn't use, it chooses from the remaining decoys
uniformly random *without replacement*.
The problem with this is that the picks later in the picking process are not independent
from the picks earlier in the picking process, and the later picks do not follow the
intended decoy distribution as closely as the earlier picks. To understand this
intuitively, imagine that you have 1023 marbles. You label 512 marbles with the letter A,
label 256 with the letter B, so on and so forth, finally labelling one marble with the
letter J. You put them all into a bag, shake it well, and pick 8 marbles from the bag,
but everytime you pick a marble of a certain letter, you remove all the other marbles
from that bag with the same letter. That very first pick, the odds of picking a certain
marble are exactly how you would expect: you are twice as likely to pick A as you are B,
twice as likely to pick B as you are C, etc. However, on the second pick, the odds of
getting the first pick are 0%, and the chances for everything else is higher. As you go
down the line, your picked marbles will have letters that are increasingly more unlikely
to pick if you hadn't remove the other marbles. In other words, the distribution of the
later marbles will be more "skewed" in comparison to your original distribution of marbles.
In Monero's decoy selection, this same statistical effect applies. It is not as dramatic
since the distribution is not so steep, and we have more unique values to choose from,
but the effect *is* measureable. Because of the protocol rules, we cannot have duplicate
ring members, so unless that restriction is removed, we will never have perfectly
independent picking. However, since the earlier picks are less affected by this
statistical effect, the workaround that this commit offers is to store the order that
the outputs were picked and commit to this order after fetching output information over RPC.
2023-10-17 00:53:40 -05:00
jeff
80b5bf8b3d
gcc: fix uninitialized constructor warnings
2023-10-16 16:48:27 -05:00
tobtoht
fe4a34ebb2
depends: zeromq: update to 4.3.5
2023-10-10 00:08:44 +02:00
luigi1111
67d190ce7c
Merge pull request #9013
...
bb33daa add a test for the long term weight cache (Boog900)
65839b5 Fix: long term block weight cache The long term block weight cache was doing a wrong calculation when adding a new block to the cache. (Boog900)
2023-10-02 15:27:39 -04:00
Boog900
bb33daab1b
add a test for the long term weight cache
2023-10-02 01:38:10 +01:00
Boog900
65839b5ac1
Fix: long term block weight cache
...
The long term block weight cache was doing a wrong calculation when
adding a new block to the cache.
2023-10-01 13:40:06 +01:00
luigi1111
f29a3d45f3
Merge pull request #9000
...
9636375 storages: change error log category to serialization (selsta)
2023-09-30 14:45:06 -04:00
luigi1111
6d37eb0a01
Merge pull request #8998
...
9f981ac wallet: store watch-only wallet correctly when change_password() is called (jeff)
2023-09-30 14:43:40 -04:00
Dusan Klinec
c444a7e002
trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests
...
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
- fix LibUSB cmake for static builds on OSX
- tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
- tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
- requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
make debug-test-trezor -j8`
2023-09-30 09:01:10 +02:00
Dusan Klinec
056c996703
fix chaingen tests
...
- fix tx create from sources, input locking. Originally, creating a synthetic transactions with chaingen could create a transaction with outputs that are still locked in the current block, thus failing chain validation by the daemon. Simple unlock check was added. Some buggy tests were fixed as well as new unlock-checking version of tx creation rejected those, fixes are simple - mostly using correct block after a rewind to construct a transaction
2023-09-29 19:11:20 +02:00
tobtoht
c8e4de13f2
depends: remove kernel version from darwin triplet
2023-09-27 07:37:01 +02:00
j-berman
47042ce808
wallet2: call on_reorg callback in handle_reorg
2023-09-26 20:37:11 -07:00
tobtoht
0d763a19b8
depends: move cmake system config to hosts files
2023-09-26 16:46:51 +02:00
tobtoht
b9f1e37d33
depends: unwind: do not build for linux hosts
2023-09-26 09:47:36 +02:00
tobtoht
932bba3b79
depends: remove libiconv: unused
2023-09-25 14:00:34 +02:00
selsta
9636375421
storages: change error log category to serialization
2023-09-22 19:05:55 +02:00
jeff
9f981ac219
wallet: store watch-only wallet correctly when change_password() is called
...
The Monero GUI code was calling `Monero::wallet::setPassword()` on every open/close for some reason,
and the old `store_to()` code called `store_keys()` with `watch_only=false`, even for watch-only wallets.
This caused a bug where the watch-only keys file got saved with with the JSON field `watch_only` set to 0,
and after saving a watch-only wallet once, a user could never open it back up against because `load()` errored out.
This never got brought up before this because you would have to change the file location of the watch-only
wallet to see this bug, and I guess that didn't happen often, but calling the new `store_to()` function with the
new `force_rewrite` parameter set to `true` triggers key restoring and the bug appeared.
2023-09-21 22:42:16 -05:00
tobtoht
294366f8af
depends: openssl: update to 3.0.11
2023-09-19 15:54:00 +02:00
luigi1111
90294f09ae
Merge pull request #8976
...
d4d8840 functional_tests: fix multisig tests noutputs assertion (jeffro256)
2023-09-14 22:20:10 -05:00
luigi1111
8a280dd6d0
Merge pull request #8937
...
1bea8ef wallet2: fix store_to() and change_password() (jeffro256)
2023-09-14 22:17:27 -05:00
koe
51e40f721b
add seraphis_crypto directory
2023-09-10 16:49:58 -05:00
koe
9b231c9ac3
add account_generators for mapping public EC generators to account keys
2023-09-10 16:02:46 -05:00
koe
236e5d4623
update TimingsDatabase to support csv format and incremental updating
2023-09-10 15:51:54 -05:00
jeff
1025e4fcb1
unit_test: set data dir relative to exe & add log-level arg
2023-09-10 02:18:50 -05:00
jeffro256
1bea8ef42a
wallet2: fix store_to() and change_password()
...
Resolves #8932 and:
2. Not storing cache when new path is different from old in `store_to()` and
3. Detecting same path when new path contains entire string of old path in `store_to()` and
4. Changing your password / decrypting your keys (in this method or others) and providing a bad original password and getting no error and
5. Changing your password and storing to a new file
2023-08-23 11:48:18 -05:00
jeffro256
d4d884057c
functional_tests: fix multisig tests noutputs assertion
...
The changes to the multisig tests in #8914 and #8904 affected each other, this PR cleans up the code and fixes that issue.
2023-08-19 22:09:51 -05:00
j-berman
759293de08
wallet2: fix version check at hf version 1
2023-08-17 13:29:46 -07:00
luigi1111
8123d945f8
Merge pull request #8959
...
26fa796 docs: update ANONYMITY_NETWORKS (DonW16)
2023-08-17 10:27:34 -05:00
luigi1111
72211163b8
Merge pull request #8956
...
f7fb5c7 scan_tx: fix custom comparator for == case; fixes #8951 (j-berman)
2023-08-17 10:26:24 -05:00
luigi1111
e3c990f03a
Merge pull request #8955
...
192d87c remove more 'using namespace' statements from headers (jeffro256)
2023-08-17 10:25:51 -05:00
luigi1111
1ab593991c
Merge pull request #8950
...
a0e5c3c wallet2: when checking frozen multisig tx set, don't assume order (jeffro256)
2023-08-17 10:24:53 -05:00
luigi1111
28eca0cb79
Merge pull request #8927
...
1104b59 Update help for set command in simplewallet Add help for max-reorg-depth and load-deprecated-formats options (MasFlam)
2023-08-17 10:23:10 -05:00
luigi1111
6fc67869a1
Merge pull request #8924
...
ffbf9f4 blockchain_and_pool: move to crytonote_core and enforce its usage (jeffro256)
d6f86e5 Avoid nullptr dereference when constructing Blockchain and tx_memory_pool (lukas)
2023-08-17 10:21:40 -05:00
luigi1111
3b67d5fc5b
Merge pull request #8914
...
45b52de wallet-rpc: restore from multisig seed (jeffro256)
2023-08-17 10:20:20 -05:00
luigi1111
fc84506a96
Merge pull request #8913
...
2a2cf03 blockchain_db: add clarification to get_block_already_generated_coins (jeffro256)
2023-08-17 10:19:26 -05:00
luigi1111
30ba5a5280
Merge pull request #8890
...
e8cac61 core_rpc_server: return ID of submitted block (jeffro256)
2023-08-17 10:17:46 -05:00
luigi1111
83df9b1429
Merge pull request #8882
...
a8d2a58 wallet2: ensure transfers and sweeps use same fee calc logic (j-berman)
2023-08-17 10:17:22 -05:00
luigi1111
b9fd761a25
Merge pull request #8868
...
a6ce2dc Write interface for new serialization system (Lee *!* Clagett)
2023-08-17 10:14:17 -05:00
luigi1111
4cabfe7aba
Merge pull request #8853
...
6ff87ef net: tor_address: remove support for v2 onion addresses (tobtoht)
2023-08-17 10:11:12 -05:00
luigi1111
c490e38f56
Merge pull request #8840
...
503c3e0 core: do not force sync the db when finding a block in regtest mode (Crypto City)
2023-08-17 10:10:14 -05:00
luigi1111
01ee1682aa
Merge pull request #8786
...
0ae5c91 http_client: reduce number of packets sent for small bodies (jeffro256)
2023-08-17 10:08:29 -05:00
teknosquet
f70d65c8bc
ea_config: define ELPP_FEATURE_CRASH_LOG for freebsd
...
Signed-off-by: teknosquet <teknosquet@danwin1210.de >
2023-08-14 02:36:14 -05:00
Lee *!* Clagett
a6ce2dc7c5
Write interface for new serialization system
2023-08-11 16:34:27 -04:00
jeffro256
8190f2532b
KV_SERIALIZE: remove extraneous semicolons in DSL
...
Prereq of https://github.com/monero-project/monero/pull/8867
2023-08-10 11:13:14 -05:00
maogo
eba9011ca0
README: remove obsolete forum
2023-08-10 04:18:24 +02:00
jeffro256
f71e2dcdc8
multisig: better errors for small malformed kex msgs
...
Resolves https://github.com/monero-project/monero/issues/8493
2023-08-08 12:01:40 -05:00
jeffro256
1e2e7035e9
core_rpc_server: silence unused warnings
2023-08-01 17:46:34 -05:00
jeffro256
b0bf49a65a
blockchain_db: add k-anonymity to txid fetching
...
Read more about k-anonymity [here](https://en.wikipedia.org/wiki/K-anonymity ). We implement this feature in the monero daemon for transactions
by providing a "Txid Template", which is simply a txid with all but `num_matching_bits` bits zeroed out, and the number `num_matching_bits`. We add an operation to `BlockchainLMDB` called
`get_txids_loose` which takes a txid template and returns all txids in the database (chain and mempool) that satisfy that template. Thus, a client can
ask about a specific transaction from a daemon without revealing the exact transaction they are inquiring about. The client can control the statistical
chance that other TXIDs (besides the one in question) match the txid template sent to the daemon up to a power of 2. For example, if a client sets their `num_matching_bits`
to 5, then statistically any txid has a 1/(2^5) chance to match. With `num_matching_bits`=10, there is a 1/(2^10) chance, so on and so forth.
Co-authored-by: ACK-J <60232273+ACK-J@users.noreply.github.com >
2023-08-01 17:25:25 -05:00
jeffro256
45b52de28e
wallet-rpc: restore from multisig seed
2023-07-28 12:17:14 -05:00
DonW16
26fa796315
docs: update ANONYMITY_NETWORKS
...
Removed version 2 onion addresses as they're deprecated from TOR and updated I2P/Tor Stream Used Twice section to reference tweets relevant to section.
Fixed grammatical errors and changed the wording within the Wallet RPC section to better explain the differences between a I2P hidden service and a TOR hidden service.
2023-07-28 00:02:33 +02:00
j-berman
f7fb5c7faa
scan_tx: fix custom comparator for == case; fixes #8951
...
Co-authored-by: woodser <woodser@protonmail.com >
2023-07-19 07:48:29 -07:00
jeffro256
192d87cd24
remove more 'using namespace' statements from headers
2023-07-18 22:46:43 -05:00
jeffro256
a0e5c3c326
wallet2: when checking frozen multisig tx set, don't assume order
2023-07-16 13:29:52 -05:00
luigi1111
00fd416a99
Merge pull request #8919
...
1c20198 Fixup error message. (ComputeryPony)
2023-07-06 21:41:12 -05:00
luigi1111
d5c7d1743f
Merge pull request #8904
...
369a5a8 wallet: respect frozen key images in multisig wallets (jeffro256)
2023-07-06 21:37:58 -05:00
luigi1111
58c5735af0
Merge pull request #8903
...
2608b24 Add CLSAG serialization to ZMQ code (Lee Clagett)
2023-07-06 21:36:45 -05:00
luigi1111
e67f82a164
Merge pull request #8902
...
c138a28 wallet2: take ignored-by-value outputs into account in balance (Crypto City)
2023-07-06 21:36:19 -05:00
luigi1111
f44820b2fb
Merge pull request #8901
...
ea053b6 Update tests/hash/main.cpp (0xFFFC0000)
6bae913 Tests: Add blake2b Test Cases for hash testing. * Adding blake2b test function to src/tests/hash * New files for testvector. * Adding the test to CMakeLists.txt * Adding brief documentation for the test. (0xFFFC0000)
2023-07-06 21:35:36 -05:00
luigi1111
9537329962
Merge pull request #8899
...
0961c2a Set SSL SNI even when server verification is disabled (Lee *!* Clagett)
2023-07-06 21:33:57 -05:00
luigi1111
cfa4583695
Merge pull request #8894
...
c589e15 Speed up perf_timer init on x86 (SChernykh)
2023-07-06 21:32:11 -05:00
luigi1111
c34dc5b215
Merge pull request #8854
...
d9c7cd5 common: do not use DNS to determine if address is local (tobtoht)
2023-07-06 21:30:34 -05:00
luigi1111
770b8fba3d
Merge pull request #8850
...
d391ac0 blockchain: ensure base fee cannot reach 0 (Crypto City)
2023-07-06 21:30:09 -05:00
luigi1111
00323bae5e
Merge pull request #8747
...
a668312 wallet: remove CLI code for non default ring sizes (Jeffro256)
2023-07-06 21:29:41 -05:00
luigi1111
7213d33017
Merge pull request #8662
...
16d17f6 add crypto/generators for direct access to canonical fixed generators (koe)
2023-07-06 21:27:56 -05:00
luigi1111
3a72c47445
Merge pull request #8344
...
70bbd25 core_rpc_server: new file: rpc_ssl.fingerprint (Jeffrey Ryan)
2023-07-06 21:27:16 -05:00
luigi1111
d80d17fbac
Merge pull request #8250
...
ce86368 Remove src/platform (Jeffrey)
2023-07-06 21:26:06 -05:00
luigi1111
41735185a8
Merge pull request #8888
...
a6639df wallet_rpc_server: dedup transfer RPC responses (jeffro256)
Very special PR.
2023-07-06 21:24:46 -05:00
tobtoht
d9c7cd5a89
common: do not use DNS to determine if address is local
...
Co-authored-by: j-berman <justinberman@protonmail.com >
2023-07-03 13:34:39 +02:00
Jeffrey Ryan
70bbd2536b
core_rpc_server: new file: rpc_ssl.fingerprint
2023-07-02 19:38:51 -05:00
Jeffrey
ce863683ab
Remove src/platform
...
All the files in src/platform are currently unused and unnecessary. See below:
* `mingw/alloca.h`: unused throughout project
* `msc/sys/param.h`:
1. In `fix_darwin.patch`, `sys/param.h` is well-defined to be used only in OpenBSD environment
2. `int-util.h` already handles when `sys/param.h` is not present and injects its own values
3. `db_drivers/liblmdb/mdb.c` is a similar situation: already explicity handles different platforms
4. `src/crypto/chacha.h` uses `int-util.h` for endianness context
* `msc/alloca.h`: unused
* `msc/inline_c.h`: not needed. the `inline` keyword is supported for C99 I believe, and certainly for C11, C14+
* `msc/stdbool.h`: `stdbool.h` is standard since C99, and MSVC has supported it for a long time (~10 years)
2023-07-02 19:29:18 -05:00
jeffro256
ffbf9f4766
blockchain_and_pool: move to crytonote_core and enforce its usage
2023-07-01 07:12:53 -05:00
MasFlam
1104b59c5b
Update help for set command in simplewallet
...
Add help for max-reorg-depth and load-deprecated-formats options
2023-07-01 12:01:07 +02:00
jeffro256
e8cac61f4b
core_rpc_server: return ID of submitted block
2023-06-30 15:31:35 -05:00
lukas
d6f86e58a6
Avoid nullptr dereference when constructing Blockchain and tx_memory_pool
2023-06-30 20:27:05 +02:00
koe
16d17f6707
add crypto/generators for direct access to canonical fixed generators
2023-06-28 09:52:27 -05:00
Jeffro256
a668312cfa
wallet: remove CLI code for non default ring sizes
2023-06-27 20:18:21 +02:00
ComputeryPony
1c20198280
Fixup error message.
...
Looks like the extra MWARNING was supposed to be guarded by the if statement.
2023-06-27 12:56:35 -05:00
luigi1111
0a1eaf26f9
Merge pull request #8884
...
eeda4a8 wallet2: do not lose exception in current thread on refresh (Crypto City
f868768 wallet2: fix missing exceptions from failing wallet refresh (Crypto City)
2023-06-27 11:48:27 -05:00
luigi1111
e7dc03f99b
Merge pull request #8880
...
ec0cdc4 depends: remove icu4c (tobtoht)
2023-06-27 11:46:54 -05:00
luigi1111
e4e8edd9c9
Merge pull request #8870
...
eb94356 Add to_hex::buffer (Lee *!* Clagett)
2023-06-27 11:45:48 -05:00
luigi1111
1261f0ac09
Merge pull request #8869
...
2c98a82 Add byte_stream alue_type and data() (Lee *!* Clagett)
2023-06-27 11:45:25 -05:00
luigi1111
0fbe21e9e9
Merge pull request #8862
...
9f80797 protocol: drop peers sending duplicate txes (moneromooo-monero)
2023-06-27 11:44:58 -05:00
luigi1111
f80fb18e5a
Merge pull request #8860
...
c430ba9 depends: update expat to 2.5.0 (tobtoht)
2023-06-27 11:44:23 -05:00
luigi1111
6775a1b50f
Merge pull request #8858
...
25a803f tests: remove unused perl scripts (tobtoht)
2023-06-27 11:43:48 -05:00
luigi1111
29337714c4
Merge pull request #8857
...
f7deb7d tests: remove daemon_tests (tobtoht)
2023-06-27 11:43:19 -05:00
luigi1111
d732cb3d3d
Merge pull request #8856
...
360a145 utils: remove munin_plugins (tobtoht)
2023-06-27 11:42:34 -05:00
luigi1111
b86a620b4d
Merge pull request #8855
...
bb83eb1 daemon: remove --fluffy-blocks (tobtoht)
2023-06-27 11:41:57 -05:00
luigi1111
1153246b8a
Merge pull request #8848
...
6b8dfb8 daemon: remove os-version (tobtoht)
2023-06-27 11:39:33 -05:00
luigi1111
794f59b8bd
Merge pull request #8844
...
7206ef8 cryptonote_basic: fix amount overflow detection on 32-bit systems (jeffro256)
2023-06-27 11:37:54 -05:00
luigi1111
1df7260bd3
Merge pull request #8839
...
24d56c5 bump lmdb sync threshold for performance (moneromooo-monero)
2023-06-27 11:36:29 -05:00
luigi1111
a897325fcd
Merge pull request #8832
...
092e964 Fixed RandomX initialization when mining from scratch (SChernykh)
2023-06-27 11:35:22 -05:00
luigi1111
d88296b17d
Merge pull request #8817
...
a32aeb9 Added Alpine Linux to list of packages (Dvd-Znf)
2023-06-27 11:34:22 -05:00
luigi1111
3d9f378ed4
Merge pull request #8804
...
ca6c42a Message about DNS_PUBLIC to help users with issue #8452 (OrvilleRed)
2023-06-27 11:33:45 -05:00
luigi1111
dd5445d685
Merge pull request #8795
...
724441a link against libz on non Apple/Windows (moneromooo-monero)
2023-06-27 11:32:53 -05:00
luigi1111
02ebe9090e
Merge pull request #8792
...
04dfdb3 epee: protect base64_chars, removed dead functions, speed up compile (Jeffro256)
2023-06-27 11:32:07 -05:00
luigi1111
570fd364aa
Merge pull request #8772
...
87e2a64 Allow option 'non-interactive' in monerod config file (almalh)
2023-06-27 11:31:27 -05:00
luigi1111
1723bba296
Merge pull request #8767
...
e212532 depends: upgrade OpenSSL to 3.0.9 (tobtoht)
2023-06-27 11:30:18 -05:00
luigi1111
97354d8533
Merge pull request #8731
...
6c73dc7 properly terminate interrupted TCP connection. fixes #8685 (j-berman)
2023-06-27 11:28:55 -05:00
luigi1111
57c58fd5bd
Merge pull request #8703
...
c90c1c3 Show IPv6 addresses in connection list (Guillaume Le Vaillant)
2023-06-27 11:28:24 -05:00
luigi1111
6ff41c17aa
Merge pull request #8701
...
7c36110 ci: update copyright (plowsof)
2023-06-27 11:27:47 -05:00
luigi1111
9480525dd2
Merge pull request #8661
...
f50b9e3 revisions (koe) e5aa058 vtnerd review comments (koe)
c60b11f add compare_func() method so user-defined comparison functions are easier to use (koe)
7329873 adjust is_sorted_and_unique() (koe)
3d60475 comment updates (koe) acfaaed add container helpers (koe)
2023-06-27 11:27:03 -05:00
luigi1111
e752b609fc
Merge pull request #8660
...
2a7435e variant: add mutable unwrap and visitation (koe)
bc3cec4 add variant class with cleaner interface than boost::variant<> (koe)
2023-06-27 11:25:52 -05:00
luigi1111
feb7fa4986
Merge pull request #8659
...
5c505bd performance test framework updates: allow custom test parameters, better error reporting (koe)
2023-06-27 11:24:47 -05:00
luigi1111
d79eb9fe3e
Merge pull request #8598
...
4f3a54b Remove invoke function in levin handler (Lee Clagett)
2023-06-27 11:23:45 -05:00
luigi1111
6f6e0776dd
Merge pull request #8568
...
e6b86af wallet2: fix rescanning tx via scan_tx (j-berman)
2023-06-27 11:21:31 -05:00
tobtoht
e212532dd1
depends: upgrade OpenSSL to 3.0.9
2023-06-26 13:35:55 +02:00
jeffro256
2a2cf03764
blockchain_db: add clarification to get_block_already_generated_coins
2023-06-21 22:08:22 +02:00
j-berman
e6b86af931
wallet2: fix rescanning tx via scan_tx
...
- Detach & re-process txs >= lowest scan height
- ensures that if a user calls scan_tx(tx1) after scanning tx2,
the wallet correctly processes tx1 and tx2
- if a user provides a tx with a height higher than the wallet's
last scanned height, the wallet will scan starting from that tx's
height
- scan_tx requires trusted daemon iff need to re-process existing
txs: in addition to querying a daemon for txids, if a user
provides a txid of a tx with height *lower* than any *already*
scanned txs in the wallet, then the wallet will also query the
daemon for all the *higher* txs as well. This is likely
unexpected behavior to a caller, and so to protect a caller from
revealing txid's to an untrusted daemon in an unexpected way,
require the daemon be trusted.
2023-06-15 02:21:29 -07:00
0xFFFC0000
ea053b6c61
Update tests/hash/main.cpp
...
Removing preprocessor macro and replacing it with constexpr.
Co-authored-by: Jeffro <jeffreyryan@tutanota.com >
2023-06-13 01:20:42 +03:30
jeffro256
369a5a8f9a
wallet: respect frozen key images in multisig wallets
...
Before this change, if a multisig peer asked you to sign a transaction with a frozen enote, the wallet will do it without any error or warning. This change makes it
so that wallets will refuse to sign multisig transactions with frozen enotes.
Disclaimer: This PR was generously funded by @LocalMonero.
2023-06-12 16:47:28 -05:00
0xFFFC0000
6bae91304e
Tests: Add blake2b Test Cases for hash testing.
...
* Adding blake2b test function to src/tests/hash
* New files for testvector.
* Adding the test to CMakeLists.txt
* Adding brief documentation for the test.
2023-06-12 08:29:35 +03:30
Lee Clagett
2608b241c8
Add CLSAG serialization to ZMQ code
2023-06-10 11:55:48 -04:00
Crypto City
c138a28f51
wallet2: take ignored-by-value outputs into account in balance
2023-06-10 06:41:17 +00:00
Lee *!* Clagett
0961c2abe4
Set SSL SNI even when server verification is disabled
2023-06-09 11:16:03 -04:00
SChernykh
c589e1549b
Speed up perf_timer init on x86
...
All Monero binaries have 1 second startup delay because of this code. This is especially noticeable and affects UX in Monero GUI wallet with local node where it often starts another monerod instance to run commands and query node status.
2023-06-08 07:56:05 +02:00
moneromooo-monero
9f80797086
protocol: drop peers sending duplicate txes
2023-06-07 06:56:21 +00:00
jeffro256
7206ef8ab8
cryptonote_basic: fix amount overflow detection on 32-bit systems
...
On systems where `ULONG_MAX` != `ULLONG_MAX` (e.g. most 32-bit systems), the `round_money_up` function will not correctly detect overflows.
2023-06-02 22:14:26 -05:00
jeffro256
a6639df9e4
wallet_rpc_server: dedup transfer RPC responses
2023-06-02 01:07:30 -05:00
Crypto City
eeda4a8497
wallet2: do not lose exception in current thread on refresh
2023-05-30 17:08:05 +00:00
Crypto City
f8687684e3
wallet2: fix missing exceptions from failing wallet refresh
2023-05-30 16:57:48 +00:00
j-berman
a8d2a58190
wallet2: ensure transfers and sweeps use same fee calc logic
...
Ensures both transfers and sweeps use a fee that's calculated
from the tx's weight. Using different logic could theoretically
enable distinguishability between the two types of txs. We don't
want that.
2023-05-27 07:27:54 -07:00
tobtoht
ec0cdc4acb
depends: remove icu4c
2023-05-26 16:17:31 +02:00
Lee *!* Clagett
eb943562cb
Add to_hex::buffer
2023-05-22 13:36:05 -04:00
Lee *!* Clagett
2c98a82e75
Add byte_stream value_type and data()
2023-05-21 13:35:18 -04:00
tobtoht
c430ba95fd
depends: update expat to 2.5.0
2023-05-15 17:18:51 +02:00
tobtoht
25a803f31e
tests: remove unused perl scripts
2023-05-12 22:07:25 +02:00
luigi1111
94e67bf96b
Merge pull request #8842
...
c32befe fix missing <cstdint> includes (tobtoht)
2023-05-12 14:30:49 -05:00
tobtoht
f7deb7d7ae
tests: remove daemon_tests
2023-05-12 21:24:55 +02:00
tobtoht
360a14588f
utils: remove munin_plugins
2023-05-12 17:50:50 +02:00
tobtoht
bb83eb151a
daemon: remove --fluffy-blocks
2023-05-12 17:39:38 +02:00
tobtoht
6ff87ef89f
net: tor_address: remove support for v2 onion addresses
2023-05-12 17:09:54 +02:00
Crypto City
d391ac0f7e
blockchain: ensure base fee cannot reach 0
...
reported by sech1
2023-05-11 13:47:57 +00:00
tobtoht
6b8dfb8fb9
daemon: remove os-version
2023-05-10 23:15:03 +02:00
tobtoht
c32befe4f8
fix missing <cstdint> includes
2023-05-06 18:13:18 +02:00
Crypto City
503c3e06df
core: do not force sync the db when finding a block in regtest mode
...
for a slight performance boost in functional tests
2023-05-05 18:11:57 +00:00
moneromooo-monero
24d56c5975
bump lmdb sync threshold for performance
...
Force sync every 100k blocks instead of every 1k blocks. Bumping this
value is reported to make a big difference in sync performance, eg:
https://github.com/monero-project/monero/issues/8189
2023-05-05 18:07:44 +00:00
SChernykh
092e964a87
Fixed RandomX initialization when mining from scratch
2023-04-27 16:31:21 +02:00
luigi1111
a2e8d1d427
Merge pull request #8760
...
1698cb1 remove defunct light wallet code (tobtoht)
2023-04-26 14:02:25 -04:00
luigi1111
28e43b17c2
Merge pull request #8735
...
4080796 serialization: remove unused function dump_json (Jeffrey Ryan)
2023-04-26 14:01:45 -04:00
tobtoht
1698cb1f84
remove defunct light wallet code
2023-04-25 21:22:10 +02:00
Jeffrey Ryan
408079661d
serialization: remove unused function dump_json
2023-04-25 11:39:55 -05:00
luigi1111
1c9686cb45
Merge pull request #8724
...
d2a591d wallet, simplewallet: Drop support for mine-to-use RPC system (Jeffrey Ryan)
2023-04-25 12:36:11 -04:00
luigi1111
0d9e790311
Merge pull request #8802
...
eb0e405 gamma picker: relax constructor requirements and test for selecting outputs from first spendable block (jeffro256)
2023-04-25 11:26:20 -04:00
luigi1111
d44350fb7f
Merge pull request #8798
...
f383fd3 wallet2: make m_process_pool_txs local to refresh method (jeffro256)
2023-04-25 11:25:29 -04:00
luigi1111
a5cf8b5c4c
Merge pull request #8797
...
833dd6b add libunbound to package list for OpenBSD (Nihal Jere)
2023-04-25 11:25:00 -04:00
luigi1111
df2eb0da0a
Merge pull request #8796
...
7a4a03d wallet2: do not commit transactions more than once (moneromooo-monero)
2023-04-25 11:24:15 -04:00
luigi1111
63e9b47bbe
Merge pull request #8791
...
3a34c63 depends: cleanup Makefile (tobtoht)
2023-04-25 11:23:19 -04:00
luigi1111
b2d603e61f
Merge pull request #8789
...
df9aa6b epee: remove dead code in net_helper (Jeffro256)
2023-04-25 11:22:50 -04:00
luigi1111
0db1b4503e
Merge pull request #8788
...
c61d33e wallet2: fix outdated wallet check (Crypto City)
2023-04-25 11:22:11 -04:00
luigi1111
b442d5d4c1
Merge pull request #8780
...
4e16559 rpc: give reason when sending non-hex raw tx (jeffro256)
2023-04-25 11:21:48 -04:00
luigi1111
5387018ade
Merge pull request #8771
...
2eaa523 cryptonote::transaction_prefix: fix IDE parsing error (koe)
2023-04-25 11:21:22 -04:00
luigi1111
8172e4d8ad
Merge pull request #8765
...
630906c cryptonote_basic: remove unused struct (tobtoht)
2023-04-25 11:20:12 -04:00
luigi1111
83100b6cbe
Merge pull request #8764
...
b13ddb9 Handle case where a command line flag is not allowed in the config file (almalh)
2023-04-25 11:19:38 -04:00
luigi1111
37feb225a6
Merge pull request #8750
...
5a7a5f1 build: BUILD_DEBUG_UTILITIES fix (Jeffro256)
2023-04-25 11:18:40 -04:00
Jeffrey Ryan
d2a591d7c6
wallet, simplewallet: Drop support for mine-to-use RPC system
...
Using post-PR wallet with pre-PR node will generate error message specific to this PR and not generic "command failed" mesages.
2023-04-25 10:18:20 -05:00
luigi1111
8b617064d4
Merge pull request #8748
...
11a8360 simplewallet: print fully qualified filename for new wallets (moneromooo-monero)
2023-04-25 11:17:56 -04:00
luigi1111
4931462d1d
Merge pull request #8730
...
9e09093 wallet_rpc_server: allow creating more than 64 addresses at once (moneromooo-monero)
2023-04-25 11:17:22 -04:00
luigi1111
5e19f232d0
Merge pull request #8719
...
1082720 README: fix void ssl package (tobtoht)
2023-04-25 11:14:14 -04:00
luigi1111
aa5382c470
Merge pull request #8716
...
9c7d28b wallet2: add on_reorg callback (Crypto City)
2023-04-25 11:13:44 -04:00
luigi1111
9bf06ea75d
Merge pull request #8698
...
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-04-25 11:12:56 -04:00
luigi1111
af88341272
Merge pull request #8694
...
d89e7a2 util: make GMT timestamps explicit for clarity (moneromooo-monero)
2023-04-25 11:11:08 -04:00
luigi1111
ecf0d01aa2
Merge pull request #8679
...
b986421 adjust multiexp pippenger_cached_data for better reusability (koe)
2023-04-25 11:10:27 -04:00
almalh
87e2a64327
Allow option 'non-interactive' in monerod config file
2023-04-15 18:28:12 -04:00
Guillaume Le Vaillant
c90c1c3fe1
Show IPv6 addresses in connection list
2023-04-14 13:34:30 +02:00
Dvd-Znf
a32aeb9573
Added Alpine Linux to list of packages
2023-04-04 14:33:49 +03:00
jeffro256
eb0e4052b7
gamma picker: relax constructor requirements and test for selecting outputs from first spendable block
2023-04-02 20:06:09 -05:00
luigi1111
44ac52f929
Merge pull request #8810
...
d594981 Fixed deadlock and crash when syncing with full dataset on Windows (SChernykh)
2023-04-02 20:45:13 -04:00
luigi1111
5f2bbf78a0
Merge pull request #8808
...
caa7561 cryptonote core/protocol: don't drop peers for soft offenses (jeffro256)
2023-04-02 20:44:18 -04:00
luigi1111
441373b9ef
Merge pull request #8794
...
85a4558 wallet2: fix infinite loop in fake out selection (Crypto City)
2023-04-02 20:43:32 -04:00
Crypto City
85a45587f2
wallet2: fix infinite loop in fake out selection
...
The gamma picker and the caller code did not quite agree on the
number of rct outputs available for use - by one block - which
caused an infinite loop if the picker could never pick outputs
from that block but already had picked all other outputs from
previous blocks.
Also change the range to select from using code from UkoeHB.
2023-03-30 14:44:36 +00:00
jeffro256
caa7561705
cryptonote core/protocol: don't drop peers for soft offenses
...
Also: txs with tx_extra which is too large will not get published to ZMQ
Co-authored-by: SChernykh <sergey.v.chernykh@gmail.com >
2023-03-29 02:05:43 -05:00
SChernykh
d59498101c
Fixed deadlock and crash when syncing with full dataset on Windows
...
It's not allowed to use WaitForSingleObject with _beginthread, because the thread closes its own handle before exiting.
So the wait function will either wait on an invalid handle, or on a different handle used by something else.
Or, if it starts waiting before the thread exits, the behavior is undefined according to MS: "If this handle is closed while the wait is still pending, the function's behavior is undefined."
In my test sync I observed threads getting stuck infinitely on WaitForSingleObject, and then rx_set_main_seedhash spamming new threads when RandomX seed changes again. Eventually the system ran out of resources, and monerod aborted with "Couldn't start RandomX seed thread" message.
This PR fixes it by using `_beginthreadex` instead and explicitly closing the handle when it's safe.
2023-03-29 08:43:47 +02:00
OrvilleRed
ca6c42a8e1
Message about DNS_PUBLIC to help users with issue #8452
2023-03-27 00:36:40 -04:00
luigi1111
abe74fda35
Merge pull request #8770
...
d7a81cc p2p: do not log to global when re-blocking a subnet (moneromooo-monero)
d84a0d7 p2p: avoid spam blocking ipv4 addresses in a blocked subnet (moneromooo-monero)
2023-03-24 22:54:32 -04:00
jeffro256
f383fd3cd0
wallet2: make m_process_pool_txs local to refresh method
2023-03-21 19:18:48 -05:00
moneromooo-monero
7a4a03d9d3
wallet2: do not commit transactions more than once
...
Fixes #8793
2023-03-21 21:05:53 +00:00
Nihal Jere
833dd6bb92
add libunbound to package list for OpenBSD
2023-03-21 14:20:49 -05:00
moneromooo-monero
724441a782
link against libz on non Apple/Windows
...
Needed by libcrypto at least
2023-03-21 14:36:48 +00:00
Jeffro256
04dfdb332e
epee: protect base64_chars, removed dead functions, speed up compile
2023-03-20 16:02:48 -05:00
tobtoht
3a34c63ba9
depends: cleanup Makefile
2023-03-20 14:39:32 +01:00
jeffro256
0ae5c91e50
http_client: reduce number of packets sent for small bodies
2023-03-19 12:54:14 -05:00
Jeffro256
df9aa6bb04
epee: remove dead code in net_helper
2023-03-19 12:51:27 -05:00
Crypto City
c61d33e24c
wallet2: fix outdated wallet check
...
it was mistaking the number of forks in the fork table for
the last fork, and assuming the table was including every
single fork
2023-03-19 17:43:37 +00:00
luigi1111
f307621678
Merge pull request #8775
...
1b27fcd device: Add ledger Stax device id to device detection (Francois Beutin)
2023-03-18 18:21:02 -04:00
luigi1111
b7dbf4fd7c
Merge pull request #8745
...
eaf5902 workflows: update dependencies to fix warnings (selsta)
2023-03-18 18:19:25 -04:00
luigi1111
6bebc2d08c
Merge pull request #8743
...
7a44eb7 depends: remove unused packages (tobtoht)
2023-03-18 18:19:01 -04:00
luigi1111
76dd14dfb1
Merge pull request #8733
...
3771641 Add a size limit for tx_extra in tx pool (tevador)
2023-03-18 18:18:13 -04:00
luigi1111
55fddad446
Merge pull request #8707
...
7159f92 verRctNonSemanticsSimpleCached: fix fragility (Jeffrey Ryan)
2023-03-18 18:17:05 -04:00
luigi1111
a511202222
Merge pull request #8076
...
c4af33e Enforce restricted # pool txs served via RPC + optimize chunked reqs (j-berman)
9752116 wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call (rbrunner7)
2023-03-18 17:58:27 -04:00
Jeffrey Ryan
7159f92a57
verRctNonSemanticsSimpleCached: fix fragility
2023-03-17 18:45:35 -05:00
jeffro256
4e16559053
rpc: give reason when sending non-hex raw tx
2023-03-17 18:18:06 -05:00
Francois Beutin
1b27fcdf77
device: Add ledger Stax device id to device detection
2023-03-14 10:31:20 +01:00
koe
2eaa523af1
cryptonote::transaction_prefix: fix IDE parsing error
2023-03-09 15:18:21 -06:00
moneromooo-monero
d7a81ccba1
p2p: do not log to global when re-blocking a subnet
2023-03-09 17:17:59 +00:00
j-berman
c4af33eded
Enforce restricted # pool txs served via RPC + optimize chunked reqs
...
- `/getblocks.bin` respects the `RESTRICTED_TX_COUNT` (=100) when
returning pool txs via a restricted RPC daemon.
- A restricted RPC daemon includes a max of `RESTRICTED_TX_COUNT` txs
in the `added_pool_txs` field, and returns any remaining pool hashes
in the `remaining_added_pool_txids` field. The client then requests
the remaining txs via `/gettransactions` in chunks.
- `/gettransactions` no longer does expensive no-ops for ALL pool txs
if the client requests a subset of pool txs. Instead it searches for
the txs the client explicitly requests.
- Reset `m_pool_info_query_time` when a user:
(1) rescans the chain (so the wallet re-requests the whole pool)
(2) changes the daemon their wallets points to (a new daemon would
have a different view of the pool)
- `/getblocks.bin` respects the `req.prune` field when returning
pool txs.
- Pool extension fields in response to `/getblocks.bin` are optional
with default 0'd values.
2023-03-07 20:35:45 +01:00
tobtoht
630906ce5b
cryptonote_basic: remove unused struct
2023-03-06 15:15:00 +01:00
almalh
b13ddb9a16
Handle case where a command line flag is not allowed in the config file
2023-03-05 20:32:40 -05:00
moneromooo-monero
d84a0d7430
p2p: avoid spam blocking ipv4 addresses in a blocked subnet
2023-03-01 16:56:56 +00:00
koe
8d94d08816
replace 'multisig()' with 'get_multisig_status()' using multisig_account_status and including '.kex_is_done' member
2023-02-28 12:54:40 -06:00
Jeffro256
5a7a5f17da
build: BUILD_DEBUG_UTILITIES fix
...
Co-authored-by: Jethro Grassie <jtg@xtrabass.com >
2023-02-26 13:38:53 -06:00
tevador
3771641fc5
Add a size limit for tx_extra in tx pool
2023-02-26 10:26:53 +01:00
moneromooo-monero
11a836074d
simplewallet: print fully qualified filename for new wallets
...
from time to time, some people don't realize their wallets get
created in their current working directory
2023-02-24 10:22:48 +00:00
selsta
eaf590274c
workflows: update dependencies to fix warnings
2023-02-20 04:11:10 +01:00
tobtoht
7a44eb7901
depends: remove unused packages
2023-02-16 14:42:19 +01:00
luigi1111
c5d10a4ac4
Merge pull request #8737
...
21fb856 depends: bump openssl to 1.1.1t (tobtoht)
2023-02-15 10:46:23 -05:00
luigi1111
3b765c509f
Merge pull request #8736
...
ac9a897 Revert 'epee: when loading a JSON RPC payload, ensure params is an object' (moneromooo-monero)
2023-02-15 10:45:53 -05:00
luigi1111
3f696f144c
Merge pull request #8720
...
d8a8448 p2p: add plowsof seed nodes (selsta)
69153e8 p2p: remove offline seed nodes (selsta)
2023-02-15 10:42:59 -05:00
koe
2a7435e026
variant: add mutable unwrap and visitation
2023-02-12 13:00:53 -06:00
tobtoht
21fb856eda
depends: bump openssl to 1.1.1t
...
https://www.openssl.org/news/secadv/20230207.txt
Patch can be removed, it was included upstream.
2023-02-07 20:31:25 +01:00
moneromooo-monero
ac9a8978ca
Revert "epee: when loading a JSON RPC payload, ensure params is an object"
...
This reverts commit b67e931843 .
This turns out to be a bad idea, because we do have weird RPC which
do actually go counter to this
2023-02-07 12:12:02 +00:00
luigi1111
549a4b424a
Merge pull request #8713
...
eaa3aff depends: bump hidapi/libusb (tobtoht)
2023-02-06 12:37:08 -05:00
luigi1111
cd82b4fed0
Merge pull request #8712
...
cb756b6 blockchain-stats: print any remaining data at end of loop (Howard Chu)
2023-02-06 12:36:39 -05:00
luigi1111
5fae6d63a8
Merge pull request #8705
...
b247f98 Demote large pages warning to mdebug (SChernykh)
b27a171 RandomX: print VM allocation warnings only once (SChernykh)
2023-02-06 12:35:37 -05:00
luigi1111
889951e7c5
Merge pull request #8700
...
3461a19 daemonizer: don't uninstall windows service on exit (selsta)
2023-02-06 12:34:41 -05:00
luigi1111
3ff22aee95
Merge pull request #8699
...
f3420cb readline_buffer: disable bracketed paste escape sequences (Jeffrey Ryan)
2023-02-06 12:34:06 -05:00
luigi1111
2521f0e238
Merge pull request #8697
...
e91f35e win-service: enable auto startup (plowsof)
2023-02-06 12:33:03 -05:00
luigi1111
c12bc62306
Merge pull request #8693
...
bfd7c00 heed NO_COLOR environment variable (moneromooo-monero)
2023-02-06 12:26:02 -05:00
luigi1111
85702d70af
Merge pull request #8692
...
b67e931 epee: when loading a JSON RPC payload, ensure params is an object (moneromooo-monero)
2023-02-06 12:25:13 -05:00
luigi1111
672eedf9c2
Merge pull request #8691
...
934b798 rpc: do not misidentify coinbase txes as pruned (moneromooo-monero)
2023-02-06 12:24:17 -05:00
j-berman
6c73dc742e
properly terminate interrupted TCP connection. fixes #8685
2023-02-04 22:03:51 +01:00
moneromooo-monero
9e09093a8d
wallet_rpc_server: allow creating more than 64 addresses at once
...
it's too low a limit (at least one person mentioned having to
call create_address in a loop due to it)
2023-02-03 16:57:48 +00:00
koe
bc3cec4634
add variant class with cleaner interface than boost::variant<>
2023-01-30 22:03:35 -06:00
selsta
d8a84489d2
p2p: add plowsof seed nodes
2023-01-27 14:15:31 +01:00
selsta
69153e870d
p2p: remove offline seed nodes
2023-01-27 14:06:45 +01:00
tobtoht
eaa3aff81e
depends: bump hidapi/libusb
...
fixes Trezor connectivity issues on Windows 10/11
Co-authored-by: selsta <selsta@sent.at >
2023-01-25 21:50:46 +01:00
tobtoht
1082720980
README: fix void ssl package
...
https://voidlinux.org/news/2021/02/OpenSSL.html
2023-01-23 22:05:01 +01:00
Crypto City
9c7d28b8ed
wallet2: add on_reorg callback
2023-01-19 17:34:45 +00:00
Howard Chu
cb756b6094
blockchain-stats: print any remaining data at end of loop
...
Fix #8711
2023-01-17 17:20:18 +00:00
SChernykh
b247f985db
Demote large pages warning to mdebug
2023-01-17 18:13:07 +01:00
mj-xmr
5b4fea72cf
Copyright: Update to 2023
...
Co-authored-by: plowsof <plowsof@protonmail.com >
extra files
2023-01-16 13:00:18 +01:00
SChernykh
b27a17110d
RandomX: print VM allocation warnings only once
2023-01-11 19:15:11 +01:00
luigi1111
50aa0e8b7f
Merge pull request #8675
...
1a568de Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11 12:27:40 -05:00
luigi1111
75d80d431a
Merge pull request #8686
...
7a3a593 common: move boost_serialization_helper.h out and cleanup includes (Jeffrey Ryan)
2023-01-11 12:13:48 -05:00
luigi1111
ac87d8dac9
Merge pull request #8682
...
96677ff common: add missing includes (selsta)
2023-01-11 12:12:57 -05:00
luigi1111
451ff7bd91
Merge pull request #8677
...
fe8522c Bump WINVER to 0x0600 (Windows Vista) (SChernykh) dab7d01 Refactored rx-slow-hash.c (SChernykh)
2023-01-11 12:10:02 -05:00
luigi1111
ad80aa0f65
Merge pull request #8671
...
a160270 update readme with v0.18.1.2 version number (Gingeropolous)
2023-01-11 11:47:11 -05:00
luigi1111
3854cc04be
Merge pull request #8663
...
b1bce85 miscellaneous crypto updates (koe)
2023-01-11 11:45:40 -05:00
luigi1111
d3ad02fffb
Merge pull request #8653
...
61842f9 workflows: set a public DNS when doing tests (selsta)
2023-01-11 11:43:39 -05:00
luigi1111
0cb6a5c78a
Merge pull request #8651
...
6558e7e Correct/modernize build instructions for OpenBSD (Offshore Monero)
0e5ecd4 Turn readline off on OpenBSD because it is broken (Offshore Monero)
2023-01-11 11:43:08 -05:00
luigi1111
9489586add
Merge pull request #8648
...
8687da6 common: DNSResolver can handle hostnames without dot characters (Jeffrey Ryan)
2023-01-11 11:41:11 -05:00
luigi1111
719d5571ac
Merge pull request #8645
...
832173a gpg_keys: bump my key validity by another two years (moneromooo-monero)
2023-01-11 11:40:40 -05:00
luigi1111
b363eebd52
Merge pull request #8643
...
faaf2af p2p: fix exclusive node DNS resolution for certain hosts (Jeffrey Ryan)
2023-01-11 11:39:42 -05:00
luigi1111
ac8580c1f5
Merge pull request #8640
...
1a3ae18 p2p: fix back ping to discover healthy peers to connect to (j-berman)
2023-01-11 11:38:38 -05:00
luigi1111
a09b5b3c95
Merge pull request #8632
...
ab7102e epee: remove dead HTTP code (Jeffrey Ryan)
2023-01-11 11:37:37 -05:00
SChernykh
fe8522c564
Bump WINVER to 0x0600 (Windows Vista)
...
This is required to use SRW locks in Windows - see `src/crypto/c_threads.h`
2023-01-09 07:48:00 +01:00
SChernykh
dab7d01dc0
Refactored rx-slow-hash.c
...
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2023-01-09 07:43:07 +01:00
plowsof
7c36110ec7
ci: update copyright
2023-01-06 04:58:05 +00:00
Jeffrey Ryan
f3420cb750
readline_buffer: disable bracketed paste escape sequences
2023-01-04 16:04:32 -06:00
koe
b1bce857c9
miscellaneous crypto updates
2023-01-03 16:50:08 -06:00
selsta
3461a19940
daemonizer: don't uninstall windows service on exit
2023-01-03 03:45:43 +01:00
plowsof
e91f35e030
win-service: enable auto startup
2023-01-02 05:18:48 +00:00
moneromooo-monero
d89e7a239d
util: make GMT timestamps explicit for clarity
...
For privacy reasons, time functions use GMT, to avoid logs leaking
timezones. It'd make more sense to use localtime for wallet output
(which are not logged by default), but that adds inconsistencies
which can also be confusing. So add a Z suffix for now to make it
clear these are not local time.
2023-01-01 10:38:13 +00:00
moneromooo-monero
bfd7c00ced
heed NO_COLOR environment variable
2023-01-01 10:24:46 +00:00
moneromooo-monero
b67e931843
epee: when loading a JSON RPC payload, ensure params is an object
...
this makes it easier to spot those mistakes by the caller
2023-01-01 10:10:28 +00:00
moneromooo-monero
934b798c74
rpc: do not misidentify coinbase txes as pruned
2023-01-01 09:30:59 +00:00
rbrunner7
9752116ed3
wallet2, RPC: Optimize RPC calls for periodic refresh from 3 down to 1 call
2022-12-30 13:50:22 +01:00
koe
f50b9e3803
revisions
2022-12-29 17:39:34 -06:00
koe
e5aa058a8d
vtnerd review comments
2022-12-24 19:15:27 -06:00
Jeffrey Ryan
7a3a593a77
common: move boost_serialization_helper.h out and cleanup includes
2022-12-22 12:18:02 -06:00
SChernykh
1a568deacb
Cache successful verRctNonSemanticsSimple calls
2022-12-20 22:16:39 +01:00
koe
c60b11f3da
add compare_func() method so user-defined comparison functions are easier to use
2022-12-19 15:50:16 -06:00
selsta
96677fffcd
common: add missing includes
2022-12-18 18:30:08 +01:00
koe
73298734d6
adjust is_sorted_and_unique()
2022-12-18 10:18:46 -06:00
koe
b986421b4f
adjust multiexp pippenger_cached_data for better reusability
2022-12-16 11:48:57 -06:00
koe
3d60475753
comment updates
2022-12-15 13:04:34 -06:00
Gingeropolous
a1602700b1
update readme with v0.18.1.2 version number
...
updated readme with all relevant instances of v0.18.0.0 changed to v0.18.1.2
2022-12-07 07:08:27 -05:00
koe
acfaaeda7a
add container helpers
2022-12-01 17:25:26 -06:00
koe
5c505bda29
performance test framework updates: allow custom test parameters, better error reporting
2022-12-01 17:07:52 -06:00
luigi1111
9367b432f6
Merge pull request #8635
...
8b8326a workflows: ubuntu 18.04 is deprecated (selsta)
2022-12-01 01:11:39 -06:00
luigi1111
7275a4d23b
Merge pull request #8627
...
a7bf3af Fix dandelion++ fluff/stem bug with local txes (Lee Clagett)
2022-12-01 01:10:20 -06:00
luigi1111
2f168da7f7
Merge pull request #8618
...
1114e7e fix(trezor-tests): fix trezor tests build, fix integrated addr test (Dusan Klinec)
2022-12-01 01:08:53 -06:00
luigi1111
179a87afae
Merge pull request #8616
...
cac5083 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01 01:08:11 -06:00
luigi1111
1cfe69c7f1
Merge pull request #8610
...
97b86a0 wallet_api: take priority into account when estimating fee (selsta)
2022-12-01 01:05:14 -06:00
luigi1111
74d82f9e47
Merge pull request #8603
...
6f00070 workflows: skip ci when only changing documentation (selsta)
2022-12-01 01:03:24 -06:00
luigi1111
a5c7ae2761
Merge pull request #8602
...
8e98aaa workflows: build gitian on tag (selsta)
2022-12-01 01:02:49 -06:00
luigi1111
4a5f8a0c4d
Merge pull request #8575
...
98ce6f1 depends: remove unused file (selsta)
2022-12-01 01:02:25 -06:00
luigi1111
12489c69cb
Merge pull request #8572
...
50b7492 unit_tests: suppress memwipe unit warning (Jeffrey Ryan)
2022-12-01 01:01:34 -06:00
luigi1111
32a1cd1bf1
Merge pull request #8503
...
d06202d blockchain_prune: faster (moneromooo-monero)
2022-12-01 01:00:15 -06:00
Offshore Monero
6558e7e2c6
Correct/modernize build instructions for OpenBSD
2022-12-01 04:28:46 +00:00
Offshore Monero
0e5ecd4603
Turn readline off on OpenBSD because it is broken
2022-12-01 04:27:48 +00:00
selsta
61842f9d33
workflows: set a public DNS when doing tests
2022-11-28 11:37:33 +01:00
Jeffrey Ryan
8687da6276
common: DNSResolver can handle hostnames without dot characters
...
Unrelated, but similar code-wise to #8643 . There is a check in `DNSResolver` which automatically fails to resolve hostnames which do not contain the `.` character. This PR removes that check.
2022-11-21 15:54:23 -06:00
Jeffrey Ryan
faaf2af43b
p2p: fix exclusive node DNS resolution for certain hosts
...
Fixes #8633 . The function `append_net_address` did not parse hostname + port addresses (e.g. `bar:29080`) correctly if the hostname did not contain a `'.'` character.
@vtnerd comments 1
clear up 2nd conditional statement
2022-11-17 18:55:09 -06:00
moneromooo-monero
832173a490
gpg_keys: bump my key validity by another two years
2022-11-17 17:45:14 +00:00
Dusan Klinec
1114e7eed7
fix(trezor-tests): fix trezor tests build, fix integrated addr test
...
- fix integrated address test, it was not testing integrated address suport
- fix trezor test build as dependent classes were changed
- add a friend test class for Monero::WalletImpl to support wallet api tests
When using wallet_api in tests, synthetic chain is used. Without being able to set `allow_mismatched_daemon_version` in the underlying wallet, we are not able to use a synthetic chain with the tests
2022-11-17 12:12:23 +01:00
selsta
8e98aaa18d
workflows: build gitian on tag
2022-11-17 02:47:27 +01:00
j-berman
1a3ae18ef9
p2p: fix back ping to discover healthy peers to connect to
2022-11-14 16:54:45 -08:00
Jeffrey Ryan
ab7102e31f
epee: remove dead HTTP code
...
http_client.h
2022-11-13 20:27:21 -06:00
selsta
8b8326adfd
workflows: ubuntu 18.04 is deprecated
2022-11-14 02:15:26 +01:00
luigi1111
365fd45b03
Merge pull request #8593
...
be8efec workflows: ubuntu 18.04 is deprecated (selsta)
2022-10-28 00:52:41 -04:00
luigi1111
709ef69b01
Merge pull request #8590
...
74ec950 readme: fix instructions for win64 cross builds (erciccione)
2022-10-28 00:52:07 -04:00
luigi1111
9579ba58c7
Merge pull request #8580
...
ebb85d7 Add Gitian builds to README (duggavo)
2022-10-28 00:51:43 -04:00
luigi1111
e7d673e367
Merge pull request #8571
...
9274426 Keys: Update for expired 'rbrunner7' key, valid 2 years (rbrunner7)
2022-10-28 00:50:39 -04:00
luigi1111
400f236650
Merge pull request #8570
...
8923441 fix build in netbsd (mmyjona)
2022-10-28 00:50:17 -04:00
luigi1111
5b208f988a
Merge pull request #8569
...
b526a4b levin_abstract_invoke: remove dead code (Jeffrey Ryan)
2022-10-28 00:49:45 -04:00
luigi1111
05ccf6804f
Merge pull request #8564
...
f69adef Fix static builds for Ubuntu 22.04 (AgoraDesk / LocalMonero)
2022-10-28 00:49:22 -04:00
luigi1111
a43a5caefe
Merge pull request #8543
...
d21fd92 rpc: dont shrink slice when loading from binary (Jeffrey Ryan)
2022-10-28 00:48:48 -04:00
luigi1111
8672553e3d
Merge pull request #8529
...
09d69b6 rpc: remove overwriting value (SerHack)
2022-10-28 00:47:55 -04:00
luigi1111
f41c68648c
Merge pull request #8527
...
e988530 Remove redundant check (SerHack)
2022-10-28 00:47:26 -04:00
luigi1111
2ab0732d1a
Merge pull request #8525
...
501db2c Wallet RPC: remove duplicate line (SerHack)
2022-10-28 00:46:50 -04:00
luigi1111
45ffdc26a6
Merge pull request #8517
...
6f0fb76 blockchain: fix invalid memory read getting fee on empty chain (Crypto City)
2022-10-28 00:46:19 -04:00
luigi1111
aba564c86e
Merge pull request #8516
...
26c630f Update release check-list with lessons learned from v15/v16 fork (Seth For Privacy)
2022-10-28 00:45:42 -04:00
luigi1111
9f5c7209a0
Merge pull request #8355
...
23fde15 wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing (moneromooo-monero) 5bb2369 wallet_rpc_server: add --no-initial-sync flag for quicker network binding (moneromooo-monero)
2022-10-28 00:44:59 -04:00
luigi1111
0407ee5135
Merge pull request #8319
...
b15aee2 readme edits squash (Gingeropolous)
2022-10-28 00:43:36 -04:00
Lee Clagett
a7bf3aff2c
Fix dandelion++ fluff/stem bug with local txes
2022-10-25 16:09:55 -04:00
j-berman
cac5083427
wallet2: fix create view-only wallet from existing wallet
2022-10-18 13:48:43 -05:00
selsta
97b86a014c
wallet_api: take priority into account when estimating fee
2022-10-13 03:35:19 +02:00
selsta
6f000700f2
workflows: skip ci when only changing documentation
2022-10-01 21:32:58 +02:00
luigi1111
fc907a9570
Merge pull request #8587
...
8e7c7af Move update_checkpoints() to a later stage (SChernykh)
2022-09-26 15:00:35 -05:00
luigi1111
e44bf0b060
Merge pull request #8586
...
e9ce347 wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26 14:59:43 -05:00
luigi1111
239d210a18
Merge pull request #8576
...
28f25c0 Second thread pool for IO (SChernykh)
2022-09-26 14:50:56 -05:00
luigi1111
8e04921ac4
Merge pull request #8574
...
fa7622c depends: remove unused Qt package (selsta)
2022-09-26 14:49:49 -05:00
luigi1111
cfe38f2242
Merge pull request #8420
...
6d8fa2b workflows: add android to depends (selsta)
2022-09-26 14:49:09 -05:00
luigi1111
0a10a4f870
Merge pull request #8329
...
4b0785f add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-26 14:46:06 -05:00
Lee Clagett
4f3a54b2a0
Remove invoke function in levin handler
2022-09-26 16:47:18 +00:00
selsta
be8efec6a1
workflows: ubuntu 18.04 is deprecated
...
And will soon be removed.
2022-09-24 21:02:41 +02:00
erciccione
74ec9503db
readme: fix instructions for win64 cross builds
2022-09-23 15:10:50 +02:00
SChernykh
8e7c7af05f
Move update_checkpoints() to a later stage
...
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-22 13:04:50 +02:00
j-berman
e9ce347f83
wallet2: fail to establish daemon cxn == "Disconnected" cxn status
2022-09-21 21:54:57 -06:00
koe
4b0785f1c9
add an option to force-update multisig key exchange under some circumstances
2022-09-21 12:38:35 -05:00
duggavo
ebb85d7152
Add Gitian builds to README
2022-09-21 13:29:58 +00:00
SChernykh
28f25c0dbc
Second thread pool for IO
2022-09-20 09:59:58 +02:00
selsta
98ce6f1864
depends: remove unused file
2022-09-20 00:55:41 +02:00
selsta
fa7622cfdc
depends: remove unused Qt package
2022-09-20 00:01:19 +02:00
Jeffrey Ryan
50b7492e67
unit_tests: suppress memwipe unit warning
...
Fixes warning:
```
warning: ‘*(uint32_t*)quux’ may be used uninitialized [-Wmaybe-uninitialized]
49 | MDEBUG(std::hex << std::setw(8) << std::setfill('0') << *(uint32_t*)quux);
warning: ‘quux’ may be used uninitialized [-Wmaybe-uninitialized]
50 | if (wipe) { ASSERT_TRUE(memcmp(quux, "bar", 3)); }
```
2022-09-16 10:47:00 -05:00
rbrunner7
9274426183
Keys: Update for expired 'rbrunner7' key, valid 2 years
2022-09-16 15:05:04 +02:00
mmyjona
8923441ff2
fix build in netbsd
2022-09-15 04:38:47 -07:00
luigi1111
c9cfa25183
Merge pull request #8556
...
b8271ab wallet2: check wallet compatibility with daemon's hard fork version (j-berman)
2022-09-15 00:35:03 -05:00
luigi1111
df37c148d4
Merge pull request #8551
...
eca7f6a Fix segfault restoring encrypted multisig seed (j-berman)
f713c3c Require user ack multisig is experimental to restore (j-berman)
564a7a3 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
2022-09-15 00:34:05 -05:00
Jeffrey Ryan
b526a4bf1e
levin_abstract_invoke: remove dead code
2022-09-14 20:09:29 -05:00
j-berman
b8271ab881
wallet2: check wallet compatibility with daemon's hard fork version
2022-09-12 21:24:24 -06:00
AgoraDesk / LocalMonero
f69adef4c1
Fix static builds for Ubuntu 22.04
...
Link libbsd, libmd, libprotokit for ZMQ to fix static builds for Ubuntu 22.04
2022-09-13 00:11:02 +08:00
luigi1111
6402dbee69
Merge pull request #8554
...
76a5b54 Fix missing semi-colon in error message (j-berman)
2022-09-09 12:56:53 -05:00
luigi1111
87a4b37497
Merge pull request #8547
...
e410ab7 Windows: fix unicode file path support (tobtoht)
2022-09-09 12:54:30 -05:00
luigi1111
ed150fa821
Merge pull request #8538
...
3987827 Fix shared_ptr cycle in test_epee_connection.test_lifetime (Lee Clagett)
2022-09-09 12:53:51 -05:00
luigi1111
ddb434fc19
Merge pull request #8519
...
2639c4f rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
2022-09-09 12:49:46 -05:00
luigi1111
c89d06341a
Merge pull request #8513
...
959a3e6 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero)
a098504 wallet2: better test on whether to allow output import (moneromooo-monero)
c5579ac allow exporting outputs in chunks (moneromooo-monero)
1e912ec wallet2: fixes for export/import output flow (j-berman)
692f1d4 wallet2: do not assume imported outputs must be non empty (moneromooo-monero)
67b6d6a wallet2: prevent importing outputs in a hot wallet (moneromooo-monero)
d9fc666 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
2022-09-09 12:48:47 -05:00
luigi1111
e553884d1f
Merge pull request #8348
...
a4cb77f epee: update 'http_server_handlers_map2.h' macros to use fully qualified names (Jeffrey Ryan)
2022-09-09 12:46:39 -05:00
j-berman
eca7f6ae98
Fix segfault restoring encrypted multisig seed
2022-09-07 17:24:03 -06:00
j-berman
76a5b54d58
Fix missing semi-colon in error message
...
Co-authored-by: woodser <woodser@protonmail.com >
2022-09-06 18:41:16 -06:00
selsta
2639c4f2ff
rpc: skip bootstrap nodes that are lower than last checkpoint
2022-09-06 22:06:45 +02:00
j-berman
f713c3c335
Require user ack multisig is experimental to restore
2022-09-06 11:59:28 -06:00
j-berman
564a7a31e8
multisig: fix #8537 seed restore (suggestions by @UkoeHB)
...
- spend secret key is no longer the sum of multisig key shares;
no need to check that is the case upon restore.
- restoring a multisig wallet from multisig info means that the
wallet must have already completed all setup rounds. Upon restore,
set the number of rounds completed accordingly.
2022-09-06 11:59:25 -06:00
tobtoht
e410ab7478
Windows: fix unicode file path support
2022-09-02 12:22:24 +02:00
Jeffrey Ryan
d21fd9242c
rpc: dont shrink slice when loading from binary
2022-08-30 19:26:39 -05:00
Lee Clagett
3987827517
Fix shared_ptr cycle in test_epee_connection.test_lifetime
2022-08-26 20:12:13 -04:00
moneromooo-monero
959a3e627f
wallet2: ensure imported outputs subaddresses are created
...
reported by j-berman
2022-08-24 13:52:36 +00:00
luigi1111
5256fdd7a1
Merge pull request #8497
...
8305a9f depends: remove unused packages (selsta)
2022-08-22 22:52:50 -05:00
luigi1111
2807a24ecb
Merge pull request #8496
...
7b15f21 README: unbound is not vendored anymore (selsta)
2022-08-22 22:52:27 -05:00
luigi1111
af8b0fb815
Merge pull request #8495
...
796513f repo: remove ldns leftovers (selsta)
2022-08-22 22:51:55 -05:00
luigi1111
4e42d6c69d
Merge pull request #8490
...
f8d76ec version: bump master version number (selsta)
2022-08-22 22:50:47 -05:00
luigi1111
f46f16467a
Merge pull request #8486
...
6b61628 dns_util: remove outdated DNSSEC DS trust anchor (selsta)
2022-08-22 22:50:20 -05:00
luigi1111
ab63fbc549
Merge pull request #8465
...
04a1e28 ledger support for hf 15 (BP+, view tags) (j-berman)
2022-08-22 22:49:47 -05:00
luigi1111
386032dad9
Merge pull request #8462
...
f7f1445 device: set ledger min app version (selsta)
2022-08-22 22:49:07 -05:00
luigi1111
8112c52404
Merge pull request #8460
...
85e697f randomx: update submodule (selsta)
2022-08-22 22:48:29 -05:00
luigi1111
77053298ed
Merge pull request #8450
...
600de07 wallet_rpc_server: longer timeout for stop_mining (moneromooo-monero)
ac6db92 functional_tests: silence the cpu power test program (moneromooo-monero)
2022-08-22 22:47:45 -05:00
luigi1111
ae6ec3913d
Merge pull request #8444
...
308e3fa gpg_keys: add jeffro256 key (Jeffrey Ryan)
2022-08-22 22:47:12 -05:00
luigi1111
5e2c851132
Merge pull request #8442
...
ef1924a Bump to v0.18.1.0 (Seth For Privacy)
89a2df6 Migrate VERSION variable to non-export (Seth For Privacy)
b83874e Set version in ENV var (Seth For Privacy)
bb955d1 Bump Gitian build instructions to v0.18.0.0 (Seth For Privacy)
2022-08-22 22:46:34 -05:00
luigi1111
53a8cf7f8c
Merge pull request #8428
...
7a31d25 keccak: error out if passed mdlen 100 (moneromooo-monero)
2022-08-22 22:45:59 -05:00
luigi1111
ce80747c58
Merge pull request #8427
...
1fc60ca Publish submitted txs via zmq (j-berman)
2022-08-22 22:45:14 -05:00
luigi1111
f0f3879ba4
Merge pull request #8419
...
8ea6c33 Fix some paths for toolchain / build (Howard Chu)
2022-08-22 22:44:34 -05:00
luigi1111
645d752b19
Merge pull request #8415
...
628fdcd continue pool pruning even if a tx can't be found (j-berman)
2022-08-22 22:44:04 -05:00
luigi1111
3c78f4d3d4
Merge pull request #8381
...
f797655 Fixed get_block_template_backlog performance (SChernykh)
2022-08-22 22:43:12 -05:00
luigi1111
2056ef78a0
Merge pull request #8379
...
4a4936b Fix use of rtxn without a mdb_txn_safe wrapper (Howard Chu)
2022-08-22 22:41:08 -05:00
luigi1111
df02b56289
Merge pull request #8359
...
4d7f6f5 GCC: fix some unused warnings (Jeffrey Ryan)
2022-08-22 22:40:09 -05:00
luigi1111
67a27fb384
Merge pull request #8352
...
552528b Remove async_blocked_mode_client (Jeffrey Ryan)
3ee2174 string_coding: unused functions (Jeffrey Ryan)
285d9f0 http_server_handlers_map2: dead macros (Jeffrey Ryan)
2022-08-22 22:39:34 -05:00
luigi1111
8d0487d6b7
Merge pull request #8333
...
0093bc2 Focus Doxygen documentation (Jeffrey Ryan)
2022-08-22 22:38:56 -05:00
luigi1111
c286e030d4
Merge pull request #8323
...
564fa30 DOCS: Rework Portable storage format example (Jeffrey Ryan)
2022-08-22 22:38:26 -05:00
luigi1111
080fc69435
Merge pull request #8299
...
a0df140 feat(trezor): add HF15 support, BP+ (Dusan Klinec)
2022-08-22 22:37:08 -05:00
SerHack
09d69b6946
rpc: remove overwriting value
2022-08-22 10:34:50 +02:00
SerHack
e988530e01
Remove redundant check
2022-08-22 10:19:12 +02:00
SerHack
501db2cedb
Wallet RPC: remove duplicate line
2022-08-21 10:52:33 +02:00
Crypto City
6f0fb76025
blockchain: fix invalid memory read getting fee on empty chain
2022-08-19 14:39:27 +00:00
Seth For Privacy
26c630f659
Update release check-list with lessons learned from v15/v16 fork
2022-08-19 08:14:20 -04:00
moneromooo-monero
a0985044d9
wallet2: better test on whether to allow output import
...
Being offline is not a good enough heuristic, so we keep track
of whether the wallet ever refreshed from a daemon, which is a
lot better, and probably the best we can do without manual user
designation (which would break existing cold wallet setups till
the user designates those wallets)
2022-08-18 19:29:03 +00:00
moneromooo-monero
c5579ac236
allow exporting outputs in chunks
...
this will make it easier huge wallets to do so without hitting
random limits (eg, max string size in node).
2022-08-18 06:53:41 +00:00
j-berman
1e912ecd8a
wallet2: fixes for export/import output flow
...
- only allow offline wallets to import outputs
- don't import empty outputs
- export subaddress indexes when exporting outputs
2022-08-16 14:22:42 +00:00
moneromooo-monero
692f1d4e3d
wallet2: do not assume imported outputs must be non empty
2022-08-16 14:22:33 +00:00
moneromooo-monero
67b6d6ae2c
wallet2: prevent importing outputs in a hot wallet
2022-08-16 14:22:33 +00:00
moneromooo-monero
d9fc666db8
wallet2: fix missing subaddress indices in "light" exported outputs
2022-08-16 14:22:24 +00:00
moneromooo-monero
d06202dcc0
blockchain_prune: faster
...
on my anecdotal SSD, goes from about 9 hours to 1h20.
2022-08-15 16:16:18 +00:00
selsta
8305a9f9ef
depends: remove unused packages
2022-08-11 18:19:54 +02:00
selsta
7b15f21ef0
README: unbound is not vendored anymore
2022-08-11 00:48:50 +02:00
selsta
796513ff5f
repo: remove ldns leftovers
2022-08-11 00:21:42 +02:00
Seth For Privacy
ef1924a9cf
Bump to v0.18.1.0
2022-08-09 08:20:54 -04:00
selsta
f8d76ecb57
version: bump master version number
...
Otherwise Ledger rejects the wallet.
2022-08-09 03:37:27 +02:00
moneromooo-monero
e0b3507c88
tests: update block_weight for 2021 scaling
...
the test was still performed with consensus rules from before
that change
2022-08-08 06:04:54 +00:00
j-berman
04a1e2875d
ledger support for hf 15 (BP+, view tags)
2022-08-06 15:00:49 -07:00
selsta
6b61628881
dns_util: remove outdated DNSSEC DS trust anchor
2022-08-06 19:46:53 +02:00
SChernykh
f79765579c
Fixed get_block_template_backlog performance
...
Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load.
After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).
2022-07-26 07:21:21 +02:00
selsta
f7f14459f5
device: set ledger min app version
2022-07-24 21:01:22 +02:00
selsta
85e697fa7b
randomx: update submodule
2022-07-24 17:38:59 +02:00
Jeffrey Ryan
564fa30966
DOCS: Rework Portable storage format example
...
@jtgrassie pointed out that the example I provided was colored incorrectly. He also made the good point that the image wasn't easy to review/correct. I reworked the example so that it's text-only. It's easier to review and edit, and reveals the structure better in my opinion. Also this is easier for people who can't distinguish colors as easily.
Make sure to double-check this work because there's a decent chance I screwed up the comments. The actual byte data was generated and should be solid.
2022-07-22 12:20:03 -05:00
j-berman
1fc60cac58
Publish submitted txs via zmq
2022-07-21 11:36:00 -07:00
moneromooo-monero
600de07bcf
wallet_rpc_server: longer timeout for stop_mining
...
That RPC will wait for mining to actually stop, which can be a while
if randomx has just started on randomx_init_dataset.
This fixes occasional failures in the mining functional test
2022-07-21 12:00:05 +00:00
moneromooo-monero
ac6db928c2
functional_tests: silence the cpu power test program
...
it's very spammy and drowns the test output
2022-07-21 12:00:05 +00:00
Howard Chu
4a4936b8af
Fix use of rtxn without a mdb_txn_safe wrapper
2022-07-20 20:58:03 +01:00
Jeffrey Ryan
308e3fa302
gpg_keys: add jeffro256 key
2022-07-18 12:55:43 -05:00
Seth For Privacy
89a2df67cd
Migrate VERSION variable to non-export
2022-07-18 10:32:54 -04:00
Seth For Privacy
b83874e9bd
Set version in ENV var
2022-07-18 10:14:44 -04:00
Seth For Privacy
bb955d1a73
Bump Gitian build instructions to v0.18.0.0
2022-07-18 08:32:55 -04:00
luigi1111
b6a029f222
Merge pull request #8435
...
cf3be99 Template hash func to fix compiler error on < gcc-6 (j-berman)
2022-07-15 11:43:15 -04:00
luigi1111
9df069f4ce
Merge pull request #8426
...
a82fba4 address PR comments (j-berman)
3be1dbd connection: fix implementation (anon)
724ff21 connection: add segfault and deadlocks demo (anon)
2022-07-15 11:25:11 -04:00
luigi1111
f982163fc9
Merge pull request #8425
...
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15 11:23:54 -04:00
luigi1111
4792ceefb1
Merge pull request #8414
...
2ba391f hardforks: set mainnet and stagenet v15/16 fork height (selsta)
2022-07-15 11:22:01 -04:00
luigi1111
070c3d6b0f
Merge pull request #8433
...
db8181a wallet2: force using output distribution for ringct outs (tobtoht)
2022-07-14 22:15:27 -04:00
luigi1111
02cbccc529
Merge pull request #8432
...
edcc094 derive multisig tx secret keys from an entropy source plus the tx inputs' key images (koe)
2022-07-14 22:14:41 -04:00
luigi1111
d912444a4a
Merge pull request #7986
...
5770265 wallet2: keep around transaction prefix for confirmed transfers (tobtoht)
2022-07-14 12:54:39 -04:00
j-berman
cf3be9926f
Template hash func to fix compiler error on < gcc-6
2022-07-13 22:44:43 -07:00
selsta
fe5d1bef56
build: prepare v0.18.0.0
2022-07-13 22:07:31 +02:00
koe
edcc094558
derive multisig tx secret keys from an entropy source plus the tx inputs' key images
2022-07-13 12:40:34 -05:00
luigi1111
cfdee9ba69
Merge pull request #8421
...
bd1e7c5 wallet2: prevent crash when reading tx w/fewer outputs than expected (j-berman)
2022-07-13 00:39:54 -04:00
luigi1111
6fed8c2d9f
Merge pull request #8149
...
c7b2944 multisig: fix critical vulnerabilities in signing (anon)
2022-07-13 00:38:29 -04:00
Jeffrey Ryan
0093bc230a
Focus Doxygen documentation
...
Right now Doxygen is documenting everything in the repo including submodules, everything in contrib,
util, tests, etc. This bogs down the documentation to the point where it is very hard to navigate. I think
it would be a good move to focus on documenting only the main C++ code which is specific to this repo.
Right now this means documenting `src/` (without SUPERCOP), `contrib/epee/`, `external/easylogging++`. After this commit,
Doxygen went from running >6000 graphs to about 2200 graphs.
2022-07-11 20:47:55 -05:00
Jeffrey Ryan
4d7f6f5cd5
GCC: fix some unused warnings
...
hash_extra: don't test for success in `jh_hash` and `skein_hash` since its guaranteed
device_ledger: move anonymous global variable apdu_verbose into .cpp file
Add comments to `refreshed` method variable in wallet2
2022-07-11 20:32:03 -05:00
moneromooo-monero
7a31d25b67
keccak: error out if passed mdlen 100
...
If we were to call it with 100, it would cause rsiz to be 0,
leading to an infinite loop.
This is really a pedantic patch, but since there's already a
range test, might as well make it better.
2022-07-11 17:43:59 +00:00
j-berman
a82fba4b7b
address PR comments
2022-07-08 15:10:03 -07:00
anon
3be1dbd096
connection: fix implementation
2022-07-05 22:33:34 -07:00
anon
724ff21447
connection: add segfault and deadlocks demo
2022-07-05 22:31:26 -07:00
luigi1111
8f48f46495
Merge pull request #8413
...
8e9c60a README: depends has only been tested on ubuntu 18.04 and 20.04 (selsta)
2022-07-06 00:02:59 -05:00
luigi1111
e32b7a5598
Merge pull request #8412
...
83aa817 (fix): Confusingly named CI-Job (Klaus Frank)
2022-07-06 00:02:30 -05:00
luigi1111
4476c35fc8
Merge pull request #8408
...
09a597b wallet2: don't use DNS to obtain segregation heights (tobtoht)
2022-07-06 00:01:59 -05:00
luigi1111
cea2498e95
Merge pull request #8404
...
50ccc7e wallet2: remove obsolete rpc version check (tobtoht)
2022-07-06 00:01:29 -05:00
luigi1111
0f91416ab6
Merge pull request #8400
...
6f3abbe Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26) (TheCharlatan)
2022-07-06 00:00:56 -05:00
luigi1111
7a118f08f4
Merge pull request #8394
...
4278a3a cryptonote_basic: catch crypto api errors (moneromooo-monero)
2022-07-06 00:00:24 -05:00
luigi1111
5a3c77be18
Merge pull request #8391
...
41b1a6b simplewallet: print usage when given no args (hinto.janaiyo)
2022-07-05 23:59:59 -05:00
luigi1111
6e89d35541
Merge pull request #8390
...
d486c03 utils: add fish shell completions (Leo Nerone)
2022-07-05 23:59:25 -05:00
luigi1111
45a44aa45f
Merge pull request #8388
...
04c0da2 Chunk /gettransactions to avoid hitting restricted RPC limit (tobtoht)
2022-07-05 23:58:46 -05:00
luigi1111
969316685b
Merge pull request #8371
...
16f8e04 Remove erraneous commas (Luke Parker)
da0715e Improve consistency between on_money_received and on_money_received_unconfirmed (Luke Parker)
2022-07-05 23:58:06 -05:00
j-berman
bd1e7c5635
wallet2: prevent crash when reading tx w/fewer outputs than expected
2022-07-05 21:39:59 -07:00
selsta
6d8fa2b9a9
workflows: add android to depends
2022-07-05 22:03:18 +02:00
Howard Chu
8ea6c339e4
Fix some paths for toolchain / build
2022-07-05 20:04:37 +01:00
luigi1111
b54d5ae383
Merge pull request #8384
...
8460fcc Revert 'Merge pull request #7937 ' (j-berman)
2022-07-03 17:29:46 -05:00
luigi1111
aa0b4fc7cc
Merge pull request #8358
...
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03 17:28:13 -05:00
luigi1111
e2e5fbf6a6
Merge pull request #8357
...
bc05d2d README.md: Add v15/v16 network upgrade (garth-xmr)
2022-07-03 17:27:31 -05:00
luigi1111
82cde936c3
Merge pull request #8356
...
de2f0d0 wallet_api: add scanTransactions function (selsta)
2022-07-03 17:26:35 -05:00
luigi1111
622f251fa1
Merge pull request #8296
...
61d0712 Gitian: refresh the stale Monero dir via --setup switch (mj-xmr)
2022-07-03 17:26:04 -05:00
luigi1111
30a9183091
Merge pull request #7774
...
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp)
033a32a Remove check is_directory check on lmdb path (Howard Chu)
b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu)
493577a Silence spurious fallthru warning (Howard Chu)
b46a60e Fix rawpart flag collision (Howard Chu)
4e7586c More RAWPART support (Howard Chu)
747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-03 17:24:47 -05:00
j-berman
628fdcdd49
continue pool pruning even if a tx can't be found
2022-07-01 09:44:58 -07:00
selsta
2ba391f02c
hardforks: set mainnet and stagenet v15/16 fork height
2022-07-01 01:49:59 +02:00
Leo Nerone
d486c0322f
utils: add fish shell completions
...
Fish shell completions for monerod, monero-wallet-cli, and monero-wallet-rpc.
2022-06-30 19:38:49 -03:00
anon
c7b2944f89
multisig: fix critical vulnerabilities in signing
2022-06-30 12:56:40 -05:00
selsta
8e9c60a682
README: depends has only been tested on ubuntu 18.04 and 20.04
2022-06-29 05:19:04 +02:00
Klaus Frank
83aa817b63
(fix): Confusingly named CI-Job
...
Rename the "build-macos" job within "depends", as it is not building on macOS as the similarly named job within build.yml does. Also, both names overlap which is confusing when looking for step-by-step build instruction examples or when looking at the logfile.
2022-06-29 04:51:43 +02:00
tobtoht
09a597ba28
wallet2: don't use DNS to obtain segregation heights
2022-06-28 23:12:03 +02:00
tobtoht
04c0da2986
Chunk /gettransactions to avoid hitting restricted RPC limit
2022-06-27 21:23:56 +02:00
tobtoht
db8181adf8
wallet2: force using output distribution for ringct outs
...
Co-authored-by: j-berman <justinberman@protonmail.com >
2022-06-25 13:06:11 +02:00
tobtoht
50ccc7e726
wallet2: remove obsolete rpc version check
2022-06-24 21:58:07 +02:00
TheCharlatan
6f3abbead5
Depends: Unbound disable getentropy()/reallocarray() (glibc < 2.26)
2022-06-22 23:39:03 +02:00
moneromooo-monero
a46b6ba25c
contrib: add more valgrind suppressions for spurious issues
2022-06-21 11:35:03 +00:00
moneromooo-monero
7f3e31d797
unit_tests: fix accessing invalid memory in tree_hash test
2022-06-21 11:34:26 +00:00
moneromooo-monero
4278a3a7e3
cryptonote_basic: catch crypto api errors
2022-06-20 22:17:57 +00:00
Dusan Klinec
a0df140fd6
feat(trezor): add HF15 support, BP+
...
- BP+ support added for Trezor
- old Trezor firmware version support removed, code cleanup
2022-06-20 19:42:56 +02:00
hinto.janaiyo
41b1a6b0dd
simplewallet: print usage when given no args
2022-06-20 08:15:07 -04:00
Jeffrey Ryan
552528b0ea
Remove async_blocked_mode_client
2022-06-17 00:27:06 -05:00
j-berman
8460fcc32b
Revert "Merge pull request #7937 "
...
This reverts commit 50410d1f7d , reversing
changes made to d054def63f .
2022-06-13 18:44:09 +01:00
mj-xmr
61d0712ed5
Gitian: refresh the stale Monero dir via --setup switch
2022-06-06 15:52:36 +02:00
Kris Zyp
ade464a5a0
ITS#9385 fix using MDB_NOSUBDIR with nonexistent file
2022-06-03 16:46:59 +01:00
Howard Chu
033a32a20b
Remove check is_directory check on lmdb path
...
The check interferes with raw device/partition support.
2022-06-03 16:46:47 +01:00
Howard Chu
b096e16699
Revert "db_lmdb: test for mmap support at init time"
...
This reverts commit bd96536637 .
The check interferes with raw device/partition support.
2022-06-03 16:46:35 +01:00
Howard Chu
493577a6cd
Silence spurious fallthru warning
2022-06-03 16:46:18 +01:00
Howard Chu
b46a60e390
Fix rawpart flag collision
2022-06-03 16:46:04 +01:00
Howard Chu
4e7586c9e4
More RAWPART support
...
Use mmap to read and initialize the meta pages, raw device
may not support read/write syscalls.
2022-06-03 16:45:49 +01:00
Howard Chu
747f5d3594
Preliminary raw partition support
...
Autodetects that a block device is being used.
2022-06-03 16:45:39 +01:00
moneromooo-monero
23fde151ee
wallet_rpc_server: chunk refresh to keep responding to RPC while refreshing
2022-06-03 07:15:15 +00:00
Luke Parker
16f8e042b5
Remove erraneous commas
2022-06-01 19:38:42 -04:00
Luke Parker
da0715e503
Improve consistency between on_money_received and on_money_received_unconfirmed
...
unconfirmed solely uses a - b, and received now accepts b so it can
provide more detailed logs on what occurred (printing a - b, yet with a
and b).
2022-06-01 18:20:11 -04:00
Jeffrey Ryan
fb3f7cebbf
clang warning fix for #8338
...
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-27 20:27:46 -05:00
luigi1111
9750e1fa10
Merge pull request #8340
...
08080df unit_tests: add more sha256sum test cases (Jeffrey Ryan)
a66a52d common: update sha256sum to use OpenSSL 3.0 API (Jeffrey Ryan)
2022-05-26 21:26:42 -05:00
luigi1111
72cba50458
Merge pull request #8338
...
5858f05 GCC: Fix -Wstringop-overflow= warnings (Jeffrey Ryan)
2022-05-26 21:25:30 -05:00
luigi1111
e8252ef99b
Merge pull request #8337
...
1164874 src, epee: fix a couple compiler warnings (selsta)
2022-05-26 21:25:06 -05:00
luigi1111
1ff2b02064
Merge pull request #8331
...
fde7c96 wallet2: fix spurious reorg detection with untrusted nodes (moneromooo-monero)
2022-05-26 21:24:38 -05:00
luigi1111
f9d789d68c
Merge pull request #8330
...
2dab31f Don't exclusively drop tor/i2p outgoing cxns in idle loop (j-berman)
2022-05-26 21:23:38 -05:00
luigi1111
f96cf86532
Merge pull request #8328
...
2979474 disable multisig by default (moneromooo-monero)
2022-05-26 21:22:52 -05:00
luigi1111
d52b7d0e99
Merge pull request #8326
...
b9d2c78 fix backoff delay logic when re-relaying txs (j-berman)
2022-05-26 21:21:18 -05:00
luigi1111
7b0b06af84
Merge pull request #8325
...
62914e7 Ignore gitian build files (Jeffrey Ryan)
2022-05-26 21:20:49 -05:00
luigi1111
7f2f7ce404
Merge pull request #8324
...
bae4a1a Don't send peerlist larger than max allowed (j-berman)
2022-05-26 21:20:23 -05:00
luigi1111
6d0df2f041
Merge pull request #8318
...
af08c83 utils: delete outdated windows build script (selsta)
2022-05-26 21:19:40 -05:00
garth-xmr
bc05d2dfa8
README.md: Add v15/v16 network upgrade
...
Remade #8270 (includes edits from UkoeHB)
2022-05-26 19:20:51 +00:00
selsta
de2f0d0102
wallet_api: add scanTransactions function
2022-05-26 03:51:31 +02:00
moneromooo-monero
5bb2369b55
wallet_rpc_server: add --no-initial-sync flag for quicker network binding
2022-05-25 09:02:27 +00:00
Jeffrey Ryan
3ee2174892
string_coding: unused functions
2022-05-23 16:03:42 -05:00
Jeffrey Ryan
285d9f04d5
http_server_handlers_map2: dead macros
2022-05-23 15:31:13 -05:00
Jeffrey Ryan
a4cb77f9f3
epee: update 'http_server_handlers_map2.h' macros to use fully qualified names
...
quick patch which fixes the issue where if you use some macros from `http_server_handlers_map2.h` you have to be in the `epee` namespace or it doesn't compile. Now can remove `using namespace epee;` from header file `core_rpc_server.h`, which caused a couple of name qualifying mistakes
2022-05-23 14:46:36 -05:00
luigi1111
97271b7d20
Merge pull request #8349
...
026dbc8 Windows build: fix narrowing error for WaitForSingleObject (Jeffrey Ryan)
2022-05-23 14:37:42 -05:00
Jeffrey Ryan
026dbc89bf
Windows build: fix narrowing error for WaitForSingleObject
...
`WaitForSingleObject` returns a `DWORD`, not an int, so assign `retval` as such and it should fix the error.
2022-05-23 02:07:56 -05:00
Gingeropolous
b15aee2b0d
readme edits squash
2022-05-22 22:59:18 -04:00
j-berman
2dab31f62f
Don't exclusively drop tor/i2p outgoing cxns in idle loop
2022-05-18 09:54:21 -07:00
Jeffrey Ryan
08080df2d9
unit_tests: add more sha256sum test cases
2022-05-18 01:34:20 +02:00
Jeffrey Ryan
a66a52d144
common: update sha256sum to use OpenSSL 3.0 API
...
As of OpenSSL 3.0, `SHA256_Init`, `SHA256_Update`, and `SHA256_Final`
are deprectaed in favor of the higher-level `EVP_*` class of functions.
This causes compiler warnings, and sooner or later, will cause build
errors as these functions are excluded from distro headers.
Also add some documentation.
2022-05-18 01:34:16 +02:00
moneromooo-monero
2979474221
disable multisig by default
...
There are vulnerabilities in multisig protocol if the parties do not
trust each other, and while there is a patch for it, it has not been
throroughly reviewed yet, so it is felt safer to disable multisig by
default for now.
If all parties in a multisig setup trust each other, then it is safe
to enable multisig.
2022-05-17 19:52:03 +00:00
Jeffrey Ryan
5858f05f9b
GCC: Fix -Wstringop-overflow= warnings
...
Resolves #8320
2022-05-16 19:13:02 -05:00
selsta
1164874afc
src, epee: fix a couple compiler warnings
2022-05-17 00:33:10 +02:00
luigi1111
6e60919e6d
Merge pull request #8315
...
1ddb1ee Give better error messages when missing SSL files (Jeffrey Ryan)
2022-05-16 13:53:16 -05:00
luigi1111
44c0470e1e
Merge pull request #8312
...
5c27fd8 depends: Package cleanup (Howard Chu)
c1d47eb Update randomx: fix Mac linking error (Howard Chu)
02e6af2 Update CI for aarch64 mac build (selsta)
7ea1e21 Make Mac SDK into a regular depends package (Howard Chu)
e81ab9b Silence some protobuf link warnings (Howard Chu)
fe5c2ae Fix arm64 darwin package defs (Howard Chu)
fb68465 Boost 1.64 doesn't recognize arm64 darwin (Howard Chu)
617f908 more... update to clang 9.0.0 (Howard Chu)
83ae3ad Split native_clang out of native_cctools (Howard Chu)
1008318 Update native_cctools for newer SDK support (Howard Chu)
a86c4cb Update to MacOSX SDK 11.1, add Mac M1 (Howard Chu)
2022-05-16 13:52:33 -05:00
luigi1111
5b9724b03d
Merge pull request #8308
...
f63f7dc wallet2: fix a couple unused variable warnings (selsta)
2022-05-16 13:51:18 -05:00
luigi1111
3d1e5db44d
Merge pull request #8307
...
b7978cf Remove src/serialization/list.h (Jeffrey)
2022-05-16 13:50:52 -05:00
luigi1111
f555e3855b
Merge pull request #8266
...
ab9766e depends: update unbound to 1.15.0 (selsta)
2022-05-16 13:50:27 -05:00
luigi1111
f4669bfa2b
Merge pull request #8046
...
df2e680 wallet2: speedup large tx construction: reserve vector memory (moneromooo-monero)
38cdf01 wallet2: speedup large tx construction: batch ringdb lookups (Crypto City)
353cd53 wallet2: speedup large tx construction: no pointless clsag generation (Crypto City)
2b95178 wallet2: speedup large tx construction: batch ringdb updates (Crypto City)
c9cf0b7 wallet2: speedup large tx construction: cache public key validity (moneromooo-monero)
2022-05-16 13:48:23 -05:00
moneromooo-monero
fde7c96b5c
wallet2: fix spurious reorg detection with untrusted nodes
...
When forced to deal with an untrusted node, a wallet will quantize
its current height to disguise the real height to the adversary, to
try and minimize the daemon's ability to distinguish returning
wallets.
Daemons will thus return more blocks than the wallet needs, starting
from earlier in the chain. These extra blocks will be disregarded
by the wallet, which had already scanned them.
However, for the purposes of reorg size detection, the wallet assumes
all blocks the daemon sends are different, which is only correct if
the wallet hasn't been coy, which is only the case for trusted
daemons (which you should use). This causes an issue when the size
of this "fake reorg" is above the sanity check threshold at which
the wallet refuses a reorg.
To fix this, the reorg size check is moved later on, when the reorg
is about to actually happen, after the wallet has checked which
blocks are actually different from the ones it expects.
2022-05-15 11:57:37 +00:00
moneromooo-monero
df2e680825
wallet2: speedup large tx construction: reserve vector memory
...
2.8 seconds -> 2.6 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
38cdf01c64
wallet2: speedup large tx construction: batch ringdb lookups
...
3.3 seconds -> 2.8 seconds on a test case
2022-05-13 17:43:22 +00:00
Crypto City
353cd5355e
wallet2: speedup large tx construction: no pointless clsag generation
...
4.1 seconds -> 3.3 seconds on a test case
2022-05-13 17:43:21 +00:00
Crypto City
2b95178897
wallet2: speedup large tx construction: batch ringdb updates
...
5.2 seconds -> 4.1 seconds on a test case
2022-05-13 17:43:20 +00:00
moneromooo-monero
c9cf0b78f8
wallet2: speedup large tx construction: cache public key validity
...
5.9 second -> 5.2 seconds on a test case
2022-05-13 17:43:16 +00:00
Jeffrey Ryan
62914e7e3d
Ignore gitian build files
2022-05-12 15:42:48 -05:00
j-berman
b9d2c788bc
fix backoff delay logic when re-relaying txs
2022-05-12 08:39:51 -07:00
j-berman
bae4a1ad8f
Don't send peerlist larger than max allowed
2022-05-11 18:41:24 -07:00
luigi1111
8349cfe4a6
Merge pull request #8321
...
7d6c748 Set hf v15 testnet fork heights (j-berman)
2022-05-10 16:57:53 -05:00
luigi1111
c76e33bc44
Merge pull request #8304
...
0226df9 More tests for view tags (SChernykh)
2022-05-10 16:57:23 -05:00
luigi1111
d58ea37a8d
Merge pull request #8302
...
41da2fe Update copyright to 2022 for Hardfork files (Akrit)
2022-05-10 16:56:39 -05:00
luigi1111
9e71901346
Merge pull request #8301
...
6ef945d Doxygen: Hide anonymous namespaces from documentation by default (Jeffrey)
2022-05-10 16:55:36 -05:00
luigi1111
8480575cec
Merge pull request #8300
...
070e41d Change Github to GitHub (Abdullah)
2022-05-10 16:53:48 -05:00
luigi1111
fbd1f1e476
Merge pull request #8293
...
4f08bcd refactor(bp+): save one inversion, use sc_muladd (Dusan Klinec)
2022-05-10 16:51:59 -05:00
luigi1111
ae377a7b23
Merge pull request #8281
...
ca5921d readme: arch/fedora deps + small fixes (hinto.janaiyo)
2022-05-10 16:51:18 -05:00
luigi1111
638b325202
Merge pull request #8280
...
fc9b77d Changes to PORTABLE_STORAGE.md (Jeffrey)
34941ac Docs: Add documentation for EPEE Portable Storage (Jeffrey)
2022-05-10 16:50:48 -05:00
luigi1111
7cdbd25042
Merge pull request #8279
...
f7d50cb EPEE: Remove gzip_encoding.h (Jeffrey)
2022-05-10 16:50:17 -05:00
luigi1111
3f58b8938a
Merge pull request #8278
...
63c7f8b EPEE: Remove hmac-md5 (Jeffrey)
2022-05-10 16:49:47 -05:00
luigi1111
436ca13722
Merge pull request #8277
...
baee2c0 Preserve commitment format inside transactions (kayabaNerve)
2022-05-10 16:49:13 -05:00
luigi1111
156151396e
Merge pull request #8262
...
268a039 Optimized keccak implementation (SChernykh)
2022-05-10 16:47:13 -05:00
luigi1111
7bdda14b8d
Merge pull request #8235
...
9c42b72 CMake: Add missing BUILD_SHARED_LIBS option (mj-xmr)
2022-05-10 16:45:05 -05:00
luigi1111
5e46ab53e7
Merge pull request #8226
...
002bf9c Fix typo: SERIALIZE_TYPE_DUOBLE (Jeffrey)
2022-05-10 16:43:26 -05:00
luigi1111
c1625a8928
Merge pull request #8220
...
0d6ecb1 multisig: add post-kex verification round to check that all participants have completed the multisig address (koe)
2022-05-10 16:41:02 -05:00
Howard Chu
5c27fd853f
depends: Package cleanup
...
All patching should be in _preprocess_cmd. config_cmd should just run
configure and nothing else before it, otherwise $PATH is broken when it runs.
Also remove redundant settings to configure, _autoconf already sets them.
We leave explicit AR_FLAGS settings because the builtin rule uses ARFLAGS,
and so would leave AR_FLAGS unset otherwise.
2022-05-10 21:06:03 +01:00
Howard Chu
c1d47eb476
Update randomx: fix Mac linking error
...
Also silence randomx malloc exceptions
2022-05-10 21:05:55 +01:00
j-berman
7d6c7489a7
Set hf v15 testnet fork heights
2022-05-09 14:38:54 -07:00
selsta
02e6af2fda
Update CI for aarch64 mac build
2022-05-09 17:38:48 +01:00
Howard Chu
7ea1e214c5
Make Mac SDK into a regular depends package
2022-05-09 17:38:48 +01:00
Howard Chu
e81ab9bc2c
Silence some protobuf link warnings
...
4 warnings remain but it's better than before
2022-05-09 17:38:48 +01:00
selsta
af08c83e25
utils: delete outdated windows build script
2022-05-07 21:49:02 +02:00
hinto.janaiyo
ca5921d75b
readme: arch/fedora deps + small fixes
2022-05-07 10:26:27 -04:00
Howard Chu
fe5c2aec35
Fix arm64 darwin package defs
2022-05-06 16:45:45 +01:00
Howard Chu
fb68465c61
Boost 1.64 doesn't recognize arm64 darwin
2022-05-06 16:45:45 +01:00
Howard Chu
617f9082fe
more... update to clang 9.0.0
2022-05-06 16:45:45 +01:00
Howard Chu
83ae3ad178
Split native_clang out of native_cctools
...
Needed for compiling native_libtapi
2022-05-06 16:45:45 +01:00
Howard Chu
1008318715
Update native_cctools for newer SDK support
2022-05-06 16:45:45 +01:00
Jeffrey Ryan
1ddb1ee819
Give better error messages when missing SSL files
...
While copying my data dir to another drive, I missed copying the rpc_ssl.key file b/c of the file permissions.
This change will give a much more clear, descriptive error in that scenario.
2022-05-05 21:48:19 -05:00
Howard Chu
a86c4cb75f
Update to MacOSX SDK 11.1, add Mac M1
2022-05-04 22:33:40 +01:00
Jeffrey
fc9b77d855
Changes to PORTABLE_STORAGE.md
...
* More information about array entries (especially nesting)
* Varint encoding examples
* Expanded string and integer encoding information
2022-05-04 11:08:48 -05:00
selsta
f63f7dc7e2
wallet2: fix a couple unused variable warnings
2022-05-02 21:28:40 +02:00
Jeffrey
b7978cfd4e
Remove src/serialization/list.h
...
Unused ;)
Also a comment from serialization.h
2022-05-02 12:08:05 -05:00
SChernykh
0226df9fae
More tests for view tags
...
P2Pool can create transactions with more than 128 outputs, which make output_index's varint larger than 1 byte. Added this test case.
2022-04-29 22:53:59 +02:00
koe
0d6ecb1136
multisig: add post-kex verification round to check that all participants have completed the multisig address
2022-04-29 14:04:59 -05:00
Akrit
41da2fe6f3
Update copyright to 2022 for Hardfork files
...
Update Makefile and LICENSE
2022-04-29 11:12:36 +02:00
Jeffrey
6ef945d9a5
Doxygen: Hide anonymous namespaces from documentation by default
...
Bonus: little doc fix for net_ssl.h
2022-04-28 19:35:49 -05:00
Abdullah
070e41d88b
Change "Github" to "GitHub"
2022-04-27 18:53:03 +01:00
Dusan Klinec
4f08bcd800
refactor(bp+): save one inversion, use sc_muladd
2022-04-26 13:37:11 +02:00
luigi1111
67e5ca9ad6
Merge pull request #8275
...
9209880 add a sanity check to RPC input data size (moneromooo-monero)
2022-04-25 10:22:03 -05:00
luigi1111
92b3b34464
Merge pull request #8260
...
50ae6ba Tiny: add .vscode/ to .gitignore (mj-xmr)
2022-04-25 10:20:44 -05:00
luigi1111
a092b943d5
Merge pull request #8249
...
a14fdf8 Remove /include (Jeffrey)
2022-04-25 10:20:10 -05:00
luigi1111
4541384075
Merge pull request #8248
...
d1cb9c3 Remove serialization/enableable (Jeffrey)
2022-04-25 10:19:39 -05:00
luigi1111
e13244ea9c
Merge pull request #8178
...
5d388eb Bump ring size to 16 for v15 & remove set default in wallet cli (j-berman)
2022-04-25 10:18:26 -05:00
Jeffrey
34941ac3e1
Docs: Add documentation for EPEE Portable Storage
...
Ripped directly from @jtgrassie 's monero-binary-rpc repo. It's a very helpful little document and I think it deserves a place in the main repo.
2022-04-23 14:14:36 -05:00
Jeffrey
f7d50cbaa8
EPEE: Remove gzip_encoding.h
2022-04-22 14:32:56 -05:00
Jeffrey
63c7f8ba6e
EPEE: Remove hmac-md5
2022-04-22 12:28:17 -05:00
Luke Parker
baee2c06ec
Preserve commitment format inside transactions
2022-04-21 18:58:47 -04:00
moneromooo-monero
9209880e9c
add a sanity check to RPC input data size
...
reported by m31007
2022-04-21 22:22:56 +00:00
luigi1111
9f814edbd7
Merge pull request #8254
...
9df7179 wallet2: use BP+ for cold signing (moneromooo-monero)
2022-04-19 22:21:21 -05:00
luigi1111
d8f73133b1
Merge pull request #8247
...
b99242f readme: small fixes (hinto.janaiyo)
2022-04-19 22:20:53 -05:00
luigi1111
17dad03870
Merge pull request #8246
...
6491700 Makefile: fix spelling of CMAKE_BUILD_TYPE value (selsta)
2022-04-19 22:19:47 -05:00
luigi1111
4abbf442b4
Merge pull request #8245
...
3593a98 simplewallet: fix integrated_address output string (selsta)
2022-04-19 22:18:42 -05:00
luigi1111
5c471005eb
Merge pull request #8240
...
c68d78d randomx: update submodule (selsta)
2022-04-19 22:16:34 -05:00
luigi1111
8ddbe18277
Merge pull request #8232
...
0f7b20a Added support for Ledger Nano S Plus (Mathias Herberts)
2022-04-19 22:15:10 -05:00
luigi1111
96758a7d05
Merge pull request #8061
...
ea87b30 Add view tags to outputs to reduce wallet scanning time (j-berman)
2022-04-19 22:14:03 -05:00
hinto.janaiyo
b99242f310
readme: small fixes
2022-04-19 09:00:37 -04:00
selsta
ab9766ef17
depends: update unbound to 1.15.0
2022-04-19 00:31:03 +02:00
j-berman
5d388eb74d
Bump ring size to 16 for v15 & remove set default in wallet cli
2022-04-18 14:36:28 -07:00
luigi1111
53bf62d114
Merge pull request #8211
...
1137142 Change C-cast to static_cast in net_peerlist.h (Jeffrey)
175b411 Change C-style-casts to static_cast in time_helper.h (Jeffrey)
b49ed59 Remove the only 4 non-UTF8 characters in codebase (Jeffrey)
1f25aa2 Factor out move_it_backward from misc_language.h (Jeffrey)
7764d69 Move copyable_atomic into connection_context (Jeffrey)
801568d Refactor out to_nonconst_iterator.h (Jeffrey)
87ec36c Refactor out pragma_comp_defs (Jeffrey)
441c860 Merge functionality of misc_os_dependent into time_helper.h (Jeffrey)
40f02f9 Add Include statements (Jeffrey)
12b1b74 Trimming Fat (Jeffrey
690ce56 Boring Old Deletes (Jeffrey)
2022-04-18 12:13:32 -05:00
Jeffrey
11371425f5
"Change C-cast to static_cast in net_peerlist.h"
...
Thanks @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r823870855
2022-04-18 09:55:21 -05:00
Jeffrey
175b4117a9
Change C-style-casts to static_cast in time_helper.h
...
At the request of @mj-xmr: https://github.com/monero-project/monero/pull/8211#discussion_r822868321
2022-04-18 09:55:21 -05:00
Jeffrey
b49ed59166
Remove the only 4 non-UTF8 characters in codebase
...
Relevant commit in old PR:
1b798a7042
2022-04-18 09:55:21 -05:00
Jeffrey
1f25aa27c5
Factor out move_it_backward from misc_language.h
...
Relevant commit from old PR:
330df2952c
2022-04-18 09:55:21 -05:00
Jeffrey
7764d69782
Move copyable_atomic into connection_context
...
Relevant commit from old PR:
bd0a511995
2022-04-18 09:55:21 -05:00
Jeffrey
801568d0c6
Refactor out to_nonconst_iterator.h
...
Relevant commit on old PR:
2499269696
2022-04-18 09:55:21 -05:00
Jeffrey
87ec36cacf
Refactor out pragma_comp_defs
...
Relevant commits on the old cleanup PR:
36933c7f5c
21e43de0f3
3c678bb1ce
2022-04-18 09:55:21 -05:00
Jeffrey
441c860738
Merge functionality of misc_os_dependent into time_helper.h
...
Actions:
1. Remove unused functions from misc_os_dependent.h
2. Move three remaining functions, get_gmt_time, get_ns_count, and get_tick_count into time_helper.h
3. Remove unused functions from time_helper.h
4. Refactor get_ns_count and get_internet_time_str and get_time_interval_string
5. Remove/add includes as needed
Relevant commits on the old PR:
a9fbe52b02
9a59b131c4
7fa9e2817d
2022-04-18 09:55:21 -05:00
Jeffrey
40f02f9d73
Add Include statements
2022-04-18 09:55:20 -05:00
Jeffrey
12b1b74d32
Trimming Fat
...
Remove unused include statements or unused definitions.
2022-04-18 09:55:20 -05:00
Jeffrey
690ce560b0
Boring Old Deletes
...
Here lies dozens of unused files. This commit is ONLY file deletions except
for the removing of a couple of #includes and removing filenames from CmakeLists
where appropriate.
2022-04-18 09:55:20 -05:00
SChernykh
268a0393e9
Optimized keccak implementation
...
All tests were conducted on the same PC (Ryzen 5 5600X running at fixed 4.65 GHz).
Before:
test_cn_fast_hash<32> (100000 calls) - OK: 1 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 164 us/call
After:
test_cn_fast_hash<32> (100000 calls) - OK: 0 us/call
test_cn_fast_hash<16384> (1000 calls) - OK: 31 us/call
More than 5 times speedup for cn_fast_hash.
Also noticed consistent 1-2% improvement in test_construct_tx results.
2022-04-18 10:01:13 +02:00
j-berman
ea87b30f89
Add view tags to outputs to reduce wallet scanning time
...
Implements view tags as proposed by @UkoeHB in MRL issue
https://github.com/monero-project/research-lab/issues/73
At tx construction, the sender adds a 1-byte view tag to each
output. The view tag is derived from the sender-receiver
shared secret. When scanning for outputs, the receiver can
check the view tag for a match, in order to reduce scanning
time. When the view tag does not match, the wallet avoids the
more expensive EC operations when deriving the output public
key using the shared secret.
2022-04-18 00:49:53 -07:00
luigi1111
6694597974
Merge pull request #8207
...
4db6aed CMake: Add missing headers via monero_find_all_headers macro (mj-xmr)
2022-04-18 02:14:04 -05:00
luigi1111
2b999f5398
Merge pull request #7819
...
b030f20 Fee changes from ArticMine (moneromooo-monero)
9f786f0 epee: allow copying a rolling_median_t object (moneromooo-monero)
2022-04-18 02:12:55 -05:00
mj-xmr
50ae6bafe9
Tiny: add .vscode/ to .gitignore
2022-04-15 09:59:33 +02:00
moneromooo-monero
9df7179aaf
wallet2: use BP+ for cold signing
...
reported by ukoehb
2022-04-10 21:03:09 +00:00
mj-xmr
9c42b728ba
CMake: Add missing BUILD_SHARED_LIBS option
2022-04-10 21:25:45 +02:00
moneromooo-monero
b030f20751
Fee changes from ArticMine
...
https://github.com/ArticMine/Monero-Documents/blob/master/MoneroScaling2021-02.pdf
with a change to use 1.7 instead of 2.0 for the max long term increase rate
2022-04-10 18:13:34 +00:00
moneromooo-monero
9f786f0550
epee: allow copying a rolling_median_t object
2022-04-10 18:13:31 +00:00
Jeffrey
a14fdf8d5a
Remove /include
...
* `IWallet.h` hasn't been touched since 2014, and has been replaced by `src/wallet/api/wallet2_api.h`
* `INode.h` is in a similar situation with `src/p2p/net_node.h`
2022-04-09 23:47:02 -05:00
Jeffrey
d1cb9c393e
Remove serialization/enableable
...
Currently working on an EPEE [ser/de]ialization library for Rust and at first glance, EPEE seemed to have support for optional wrappers. However, after looking into it, this feature appears to be half-baked and unused. Furthermore, adding support for optional values would be better suited to implement at the storage level, in my opinion. That would make parsing DOMs easier and less error-prone. If anyone is currently using this code, please comment. Thanks!
At the time of writing, this PR has no merge conflicts with #8211
2022-04-09 22:53:46 -05:00
selsta
649170053f
Makefile: fix spelling of CMAKE_BUILD_TYPE value
2022-04-08 18:22:48 +02:00
selsta
3593a986d8
simplewallet: fix integrated_address output string
2022-04-08 16:20:37 +02:00
luigi1111
f49fc9b487
Merge pull request #8242
...
6abe3fe tests: integrated_address: remove missing payment id assertion (reemuru)
2022-04-06 15:13:36 -04:00
reemuru
6abe3fee19
tests: integrated_address: remove missing payment id assertion
...
The integrated address functional test fails in the workflows due
to an assertion for missing payment id that is no longer needed.
Remove the assertion and update the assertion count.
Fixes 7dcfccb : ("wallet_rpc_server: fix make_integrated_address with no payment id")
2022-04-06 06:49:01 -05:00
mj-xmr
4db6aed98c
CMake: Add missing headers via monero_find_all_headers macro
2022-04-06 08:12:44 +02:00
selsta
c68d78dde0
randomx: update submodule
2022-04-06 07:22:14 +02:00
luigi1111
c11385591e
Merge pull request #8228
...
1ce9e9c Remove dead code from parserse_base_utils and fix unit tests (Jeffrey)
2022-04-06 00:22:23 -04:00
luigi1111
bb093ec9a8
Merge pull request #8223
...
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-04-06 00:19:59 -04:00
luigi1111
f096ac1349
Merge pull request #8215
...
d1f1947 wallet_rpc_server: support regex for get_accounts tag (reemuru)
2022-04-06 00:16:20 -04:00
luigi1111
9a124f6811
Merge pull request #8213
...
7dcfccb wallet_rpc_server: fix make_integrated_address with no payment id (moneromooo-monero)
2022-04-06 00:15:40 -04:00
luigi1111
627f04c19a
Merge pull request #8212
...
591c174 Remove footgun doc comment in miner TX validation (Luke Parker)
2022-04-06 00:14:44 -04:00
luigi1111
04e490c8da
Merge pull request #8205
...
0d6fce8 Compil. time: cryptonote_core minus portable_storage header (mj-xmr)
2022-04-06 00:11:14 -04:00
luigi1111
0eb1b570b6
Merge pull request #8197
...
da9aa1f Copyright: Update to 2022 (mj-xmr)
2022-04-06 00:08:53 -04:00
luigi1111
88a5606795
Merge pull request #8195
...
3c82958 wallet2: update stagenet rollback blocks (selsta)
2022-04-06 00:07:36 -04:00
luigi1111
ffe439d38a
Merge pull request #8180
...
3f88fdd simplewallet: add option for exporting tx keys (reemuru)
2022-04-06 00:06:58 -04:00
luigi1111
0285c07d7d
Merge pull request #8179
...
ae0a840 wallet2: decrease the amount of data exchanged for output export (moneromooo-monero)
2022-04-06 00:06:20 -04:00
luigi1111
922acb05fd
Merge pull request #8053
...
cf44349 account info text alignment (im)
2022-04-06 00:03:41 -04:00
luigi1111
50410d1f7d
Merge pull request #7937
...
83bb027 Make RPC server functions that read db thread safe (j-berman)
2022-04-06 00:02:47 -04:00
luigi1111
d054def63f
Merge pull request #7170
...
bd27deb Bulletproofs+ (SarangNoether)
b7713cc Precompute initial transcript hash (SarangNoether)
b535d66 Updates from security audit (SarangNoether)
a0d80b1 plug bulletproofs plus into consensus (moneromooo-monero)
75bd004 ringct: a few minor optimizations from review (moneromooo-monero)
a345060 ringct: port some of vtnerd's review changes from BP+ to BP (moneromooo-monero)
4c94cfe store outPk/8 in the tx for speed (moneromooo-monero)
5acdd0e bulletproofs+: some minor cleanup from vtnerd's review (moneromooo-monero)
2022-04-05 23:56:09 -04:00
luigi1111
fb2f822c52
Merge pull request #7153
...
354e1d9 Make the wallet name optional when locked. (Norman Moeschter)
2022-04-05 23:48:18 -04:00
j-berman
83bb02745a
Make RPC server functions that read db thread safe
...
- grab an lmdb db_rtxn_guard to ensure consistent data from the db
- fixed on_getblockhash error resp when requested height >= blockchain height
- left functions that read shared memory untouched for now
2022-04-05 20:20:12 -07:00
moneromooo-monero
5acdd0e2cb
bulletproofs+: some minor cleanup from vtnerd's review
2022-04-05 18:50:23 +00:00
moneromooo-monero
4c94cfecfc
store outPk/8 in the tx for speed
...
It avoids dividing by 8 when deserializing a tx, which is a slow
operation, and multiplies by 8 when verifying and extracing the
amount, which is much faster as well as less frequent
2022-04-05 18:50:22 +00:00
moneromooo-monero
a345060ace
ringct: port some of vtnerd's review changes from BP+ to BP
2022-04-05 18:50:21 +00:00
moneromooo-monero
75bd004f4e
ringct: a few minor optimizations from review
2022-04-05 18:50:21 +00:00
moneromooo-monero
a0d80b1f95
plug bulletproofs plus into consensus
2022-04-05 18:50:17 +00:00
Sarang Noether
b535d662b9
Updates from security audit
...
https://suyash67.github.io/homepage/assets/pdfs/bulletproofs_plus_audit_report_v1.1.pdf
2022-04-04 08:23:21 +00:00
Sarang Noether
b7713cce26
Precompute initial transcript hash
2022-04-04 08:23:21 +00:00
Sarang Noether
bd27debb2d
Bulletproofs+
2022-04-04 08:23:21 +00:00
Mathias Herberts
0f7b20a1ce
Added support for Ledger Nano S Plus
2022-03-31 18:25:09 +02:00
Jeffrey
1ce9e9cda4
Remove dead code from parserse_base_utils and fix unit tests
...
* Remove `match_string()`, `match_number()`, and `match_word()`
* Remove `match_word_with_extrasymb()` and `match_word_til_equal_mark()`
* Adapt unit test for `match_number()` to `match_number2()`
* Adapt unit test for `match_string()` to `match_string2()`
Note: the unit tests were testing for the old version of the functions, and
the interfaces for these functions changed slightly, so I had to also edit
the tests.
As of writing, this PR has no merge conflicts with #8211
Additional changes during review:
* Explicitly set up is_[float/signed]_val to be changed before each call
* Structify the tests and fix uninitialized variables
2022-03-30 13:29:32 -05:00
Jeffrey
17772ef53e
Eliminate dependence on boost::interprocess #8223
...
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of
`boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example,
when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so
I replaced it with `std::atomic<bool>`.
You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211.
Additional changes from review:
* Make some local variables const
* Change postfix operators to prefix operators where value was not need
2022-03-30 13:18:32 -05:00
moneromooo-monero
ae0a840fda
wallet2: decrease the amount of data exchanged for output export
2022-03-29 08:40:32 +00:00
Jeffrey
002bf9c4fd
Fix typo: SERIALIZE_TYPE_DUOBLE
2022-03-25 12:11:08 -05:00
luigi1111
70ceab6c10
Merge pull request #8216
...
f22051d replace erciccione's seednode with one on haveno's infrastructure (erciccione)
2022-03-18 16:34:16 -05:00
luigi1111
427bd85893
Merge pull request #8187
...
9bde2db Fixes: Don't require --rpc-login with --rpc-access-control-origins #8168 (Jeffrey)
2022-03-18 16:32:25 -05:00
luigi1111
6a0d973dc9
Merge pull request #8186
...
f68f927 Undefined behaviour fixes (SChernykh)
2022-03-18 16:31:18 -05:00
luigi1111
4cb3b422e1
Merge pull request #8170
...
14eb42d systemd: remove outdated torsocks example (selsta)
2022-03-18 16:30:25 -05:00
luigi1111
0ea8519895
Merge pull request #8169
...
5e201fe rpc: add explicit restricted flag to /get_info (tobtoht)
2022-03-18 16:30:00 -05:00
luigi1111
d9e6baac42
Merge pull request #8158
...
e5000a9 Balance includes unconfirmed transfers to self (woodser)
2022-03-18 16:28:16 -05:00
luigi1111
f4d99dcca7
Merge pull request #7675
...
de4413b workflows: don't build PRs if only docs and READMEs are being changed (erciccione)
2022-03-18 16:26:52 -05:00
reemuru
d1f1947995
wallet_rpc_server: support regex for get_accounts tag
...
This commit adds a 'regexp' boolean field to the get_accounts
request. The flag is set to false by default and maintains backwards
compatibility. When set to true the user can search tags by regular
expression filters. An additional error message was added for failed
regular expression searches. Bump minor version to 25.
2022-03-13 11:30:48 -04:00
erciccione
f22051d382
replace erciccione's seednode with one on haveno's infrastructure
2022-03-13 13:15:01 +01:00
moneromooo-monero
7dcfccbaaf
wallet_rpc_server: fix make_integrated_address with no payment id
2022-03-11 17:23:19 +00:00
Luke Parker
591c174235
Remove footgun doc comment in miner TX validation
...
This comment suggests this check is unnecessary, when it is completely necessary as miner TXs can have multiple outputs *which is a statement directly, and incorrectly, contradicted by this comment*. While I don't ever see someone removing this code and getting their edits merged into Monero, someone inexperienced who thinks they're cleaning old code may break their own work, and then there's really just zero benefit to keeping this around.
2022-03-10 14:08:30 -06:00
Norman Moeschter
354e1d9c65
Make the wallet name optional when locked.
2022-03-10 08:16:14 +00:00
mj-xmr
0d6fce8995
Compil. time: cryptonote_core minus portable_storage header
2022-03-04 12:48:35 +01:00
mj-xmr
da9aa1f7f8
Copyright: Update to 2022
2022-03-04 06:59:20 +01:00
luigi1111
d562deaaa9
Merge pull request #8161
...
b8beac3 Fix typos in docs (Robert Theis)
2022-03-02 18:54:06 -05:00
luigi1111
27f1d43547
Merge pull request #8145
...
fb5b2b3 support authentication in monero-wallet-rpc set_daemon (woodser)
2022-03-02 18:53:34 -05:00
luigi1111
abae63c37d
Merge pull request #8052
...
c36ea26 fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order (koe)
2022-03-02 18:52:51 -05:00
luigi1111
5eaa4434e8
Merge pull request #7877
...
e08abaa multisig key exchange update and refactor (koe)
2022-03-02 18:51:54 -05:00
luigi1111
5a1c060632
Merge pull request #7084
...
06e6c8b crypto: fix constant randomx exceptions in large page allocator (moneromooo-monero)
2022-03-02 18:50:37 -05:00
selsta
3c829586be
wallet2: update stagenet rollback blocks
2022-03-01 00:25:41 +01:00
reemuru
3f88fddbfa
simplewallet: add option for exporting tx keys
...
This commit adds an option to export transaction
keys when performing export_transfers all. By passing
option=with_keys a new column 'tx key' will be
populated with respective keys.
2022-02-24 22:22:35 -05:00
koe
e08abaa43f
multisig key exchange update and refactor
2022-02-22 16:37:42 -06:00
Jeffrey
9bde2dbfed
Fixes: Don't require --rpc-login with --rpc-access-control-origins #8168
...
This PR removes the requirement for --rpc-login to be specified if --rpc-access-control-origins is.
This will allow public nodes to serve cross-origin requests. You can still use --rpc-login with
--rpc-access-control-origins, but it is no longer mandatory.
Original Issue: #8168
2022-02-19 13:49:38 -06:00
moneromooo-monero
06e6c8bf4a
crypto: fix constant randomx exceptions in large page allocator
...
If allocating large pages fails, we don't try again.
This has the obvious drawback of not being able to use large pages
if they fail once.
2022-02-19 13:15:10 +00:00
SChernykh
f68f92776b
Undefined behaviour fixes
...
Fixes issues reported in #8120
2022-02-19 10:17:53 +01:00
selsta
14eb42d12d
systemd: remove outdated torsocks example
2022-02-08 19:49:00 +01:00
tobtoht
5e201fedc5
rpc: add explicit restricted flag to /get_info
2022-02-07 17:59:22 +01:00
woodser
e5000a9f0c
Balance includes unconfirmed transfers to self
2022-01-31 07:52:38 -05:00
Robert Theis
b8beac3ecc
Fix typos in docs
2022-01-28 07:07:22 -06:00
koe
c36ea26e5c
fix ge_p3_is_point_at_infinity(), which is evaluating field elements that haven't been reduced by the field order
2022-01-25 07:14:46 -06:00
luigi1111
9aab19f349
Merge pull request #8135
...
2d0a518 Update Copyright year in README.md (IceCruelStuff)
2022-01-24 15:18:13 -05:00
luigi1111
357dbd2032
Merge pull request #8130
...
1051276 Update net_node.inl (Gingeropolous)
2022-01-24 15:16:52 -05:00
luigi1111
459a48352d
Merge pull request #8126
...
e73e1e7 Use CMD in Dockerfile (Kevin Thomas)
2022-01-24 15:16:27 -05:00
luigi1111
d94715fd71
Merge pull request #8123
...
4446cc8 wallet inits cache if file and blob missing (woodser)
2022-01-24 15:15:11 -05:00
luigi1111
c1e7e97cea
Merge pull request #8117
...
505b382 cmake: enable build on riscv{64, 32} (Xeonacid)
2022-01-24 15:14:38 -05:00
luigi1111
cb24b85bde
Merge pull request #8116
...
6366187 Fixed warnings for Clang (used as CMAKE_CXX compiler) (SerHack)
2022-01-24 15:14:08 -05:00
luigi1111
0f9fae5a96
Merge pull request #8112
...
fef0280 Fix docker instructions to account for non-root user (Kevin Thomas)
2022-01-24 15:13:37 -05:00
luigi1111
166c278057
Merge pull request #8101
...
6a46f8c Add copy commands for compiled binaries (Seth For Privacy)
52612e7 Add archive details to post-build section (Seth For Privacy)
03a256e Add git clone and cd commands for initial prep (Seth For Privacy)
cd76011 Add note on adding SSH keys for Github (Seth For Privacy)
9d02531 Update DOCKRUN.md (Seth For Privacy)
eeb0be4 Bump versions in DOCKRUN.md and add log commands (Seth For Privacy)
2022-01-24 15:11:51 -05:00
luigi1111
5283cf51ef
Merge pull request #8044
...
a02b342 Avoid unnecessary 'Invalid hashing blob' error message (rbrunner7)
2022-01-24 15:10:55 -05:00
luigi1111
e9d90de9e1
Merge pull request #8041
...
361f621 Fix typos (Dimitris Apostolou)
2022-01-24 15:09:30 -05:00
woodser
fb5b2b352a
support authentication in monero-wallet-rpc set_daemon
2022-01-17 17:03:56 -05:00
IceCruelStuff
2d0a5189d2
Update Copyright year in README.md
2022-01-07 20:27:24 -08:00
Gingeropolous
1051276425
Update net_node.inl
2022-01-04 16:31:59 -05:00
Kevin Thomas
e73e1e7e6f
Use CMD in Dockerfile
...
According to Dockerfile best practices
(https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#entrypoint )
the best use for ENTRYPOINT is to set the image’s main command and then
use CMD as the default flags. This makes it easier to change the flags
passed to monerod when running the Docker image.
2021-12-31 01:05:22 -08:00
woodser
4446cc88c3
wallet inits cache if file and blob missing
2021-12-24 09:22:57 -05:00
Xeonacid
505b38260c
cmake: enable build on riscv{64, 32}
...
tested on Arch Linux RISC-V.
2021-12-22 15:43:44 +08:00
SerHack
6366187cf3
Fixed warnings for Clang (used as CMAKE_CXX compiler)
2021-12-19 03:16:53 -08:00
luigi1111
319b831e65
Merge pull request #8103
...
e9156d7 functional_tests: update uri test with external pid (selsta)
2021-12-15 20:24:37 -06:00
selsta
e9156d78a3
functional_tests: update uri test with external pid
2021-12-14 23:35:48 +01:00
Kevin Thomas
fef02800c7
Fix docker instructions to account for non-root user
...
Since the non-root user 'monero' is specified in the Dockerfile, the
bind mount when running the container should be set to this user's home
directory be default, not the root user's home directory.
2021-12-13 18:53:06 -08:00
Seth For Privacy
6a46f8c40a
Add copy commands for compiled binaries
2021-12-02 16:54:04 +00:00
Seth For Privacy
52612e7a12
Add archive details to post-build section
...
Also moved the tail of in-progress logs to two distinct and precise tail commands, was a good recommendation by @hyc.
2021-12-02 16:52:32 +00:00
Seth For Privacy
03a256e076
Add git clone and cd commands for initial prep
2021-12-02 15:41:45 +00:00
Seth For Privacy
cd76011e6c
Add note on adding SSH keys for Github
2021-12-02 13:55:18 +00:00
Seth For Privacy
9d02531f0d
Update DOCKRUN.md
2021-12-01 17:44:58 +00:00
Seth For Privacy
eeb0be4905
Bump versions in DOCKRUN.md and add log commands
2021-12-01 15:33:08 +00:00
luigi1111
cc9ca953a9
Merge pull request #8097
...
6e6ad80 Fix Android OpenSSL build (Howard Chu)
2021-11-30 17:07:58 -05:00
luigi1111
3ed0cc6e20
Merge pull request #8067
...
53be72c make_uri disallows standalone payment ids (woodser)
2021-11-30 17:05:48 -05:00
luigi1111
e6e333adc9
Merge pull request #8066
...
7bc261b cmake: find readline on macOS ARM (selsta)
2021-11-30 17:04:38 -05:00
luigi1111
c0cf5bb339
Merge pull request #8057
...
1efe624 device_ledger: fix incorrect macro (selsta)
2021-11-30 17:03:46 -05:00
luigi1111
a723f25041
Merge pull request #8054
...
a491175 cmake: fix incorrect else syntax (selsta)
2021-11-30 17:03:23 -05:00
luigi1111
155c5ecb8e
Merge pull request #8027
...
94dc19a cmake: remove including non-existent directory (selsta)
2021-11-30 17:02:08 -05:00
luigi1111
55fc2335a4
Merge pull request #7943
...
3a90be4 rpc: don't set error code as status string (selsta)
2021-11-30 17:00:20 -05:00
woodser
53be72c08a
make_uri disallows standalone payment ids
2021-11-30 09:28:45 -05:00
Howard Chu
6e6ad80dc4
Fix Android OpenSSL build
...
depends didn't have target-specific overrides for _build_env
so ANDROID_NDK_HOME wasn't being set at build time.
This fix supersedes the manual edit of Configuration/15-android.conf.
Resolves #8095
2021-11-30 04:15:48 +00:00
luigi1111
aeae337c0b
Merge pull request #7910
...
4571d36 Add simple script for running gitian-build (Howard Chu)
2021-11-29 00:50:01 -06:00
luigi1111
105e2304a2
Merge pull request #8083
...
e8e507f rpc: fix DoS vector in get_output_distribution (moneromooo-monero)
2021-11-26 23:05:31 -06:00
luigi1111
7fc93a12d4
Merge pull request #8071
...
22b891c Update RandomX (Jethro Grassie)
2021-11-26 23:01:57 -06:00
luigi1111
9a17f53489
Merge pull request #8070
...
a4ebec9 Add python method (Howard Chu)
0221b01 Add calcpow RPC (Howard Chu)
2021-11-26 23:01:08 -06:00
luigi1111
9c4c28e4f6
Merge pull request #8065
...
82828bf cryptonote_core: fix unused lambda warning (selsta)
2021-11-26 23:00:31 -06:00
luigi1111
41d6db105d
Merge pull request #8055
...
a30928f depends: bump hidapi to 0.11.0 (selsta)
2021-11-26 22:59:27 -06:00
Howard Chu
a4ebec9afb
Add python method
2021-11-21 01:24:10 +00:00
Howard Chu
0221b01519
Add calcpow RPC
...
Calculate PoW hash for a block candidate
2021-11-20 18:52:05 +00:00
Jethro Grassie
22b891c80e
Update RandomX
2021-11-20 00:01:30 -05:00
selsta
7bc261b506
cmake: find readline on macOS ARM
2021-11-17 02:09:58 +01:00
selsta
82828bfcb6
cryptonote_core: fix unused lambda warning
2021-11-16 05:21:56 +01:00
selsta
1efe624e30
device_ledger: fix incorrect macro
...
The current code does work by accident, but it might break if
someone uses ASSERT_SW in a different place, or if variables
get renamed.
2021-11-12 02:56:20 +01:00
luigi1111
6d94953be2
Merge pull request #8048
...
e0a5dce Update RandomX to v1.1.10 (tevador)
2021-11-09 22:55:30 -06:00
luigi1111
97ff1938a3
Merge pull request #8038
...
fbe8358 device: fix ledger error strings, add human friendly messages (selsta)
2021-11-09 22:53:47 -06:00
luigi1111
2844b5b8db
Merge pull request #8031
...
187633c slow_hash: don't blow out Mac stack on ARM64 (Howard Chu)
2021-11-09 22:50:36 -06:00
luigi1111
c3b1b94453
Merge pull request #7169
...
bbe3b27 tx_pool: full tx revalidation on fork boundaries (moneromooo-monero)
2021-11-09 22:44:39 -06:00
selsta
a30928fe1a
depends: bump hidapi to 0.11.0
2021-11-10 03:17:52 +01:00
selsta
a491175f7d
cmake: fix incorrect else syntax
2021-11-10 00:33:16 +01:00
im
cf44349a86
account info text alignment
2021-11-10 02:27:14 +08:00
tevador
e0a5dce14f
Update RandomX to v1.1.10
2021-11-08 20:51:50 +01:00
rbrunner7
a02b342347
Avoid unnecessary 'Invalid hashing blob' error message
2021-11-05 14:19:21 +01:00
luigi1111
eec3a6014c
Merge pull request #8021
...
8f21001 depends: openssl 1.1.1k -> 1.1.1l (selsta)
2021-11-04 14:02:59 -05:00
Dimitris Apostolou
361f621c3c
Fix typos
2021-11-03 19:38:53 +02:00
selsta
fbe8358c9f
device: fix ledger error strings, add human friendly messages
2021-11-03 00:10:12 +01:00
moneromooo-monero
bbe3b276b8
tx_pool: full tx revalidation on fork boundaries
...
avoids mining txes after a fork that are invalid by this fork's
rules, but were valid by the previous fork rules at the time
they were verified and added to the txpool.
2021-11-01 20:56:38 +00:00
luigi1111
e22ec26be4
Merge pull request #8029
...
548cfc8 crypto: fix typo in ifdef (selsta)
2021-11-01 12:32:24 -05:00
luigi1111
d573b3d76c
Merge pull request #8020
...
47e7a43 wallet_api: enable set_strict_default_file_permissions (tobtoht)
2021-11-01 12:31:32 -05:00
luigi1111
ff4ede9356
Merge pull request #8017
...
a15466d wallet2: remove 2 unused variables (selsta)
2021-11-01 12:29:22 -05:00
luigi1111
14e94c6918
Merge pull request #8016
...
b0ec9f8 epee: avoid ADL selecting C++14 std::quoted (selsta)
2021-11-01 12:28:28 -05:00
luigi1111
f405bf3d58
Merge pull request #8013
...
2cad563 wallet2: fix key encryption when changing ask-password from 0/1 to 2 (moneromooo-monero)
2021-11-01 12:25:20 -05:00
Howard Chu
187633c0ca
slow_hash: don't blow out Mac stack on ARM64
2021-10-30 22:24:55 +01:00
selsta
548cfc8d68
crypto: fix typo in ifdef
2021-10-29 17:55:51 +02:00
selsta
94dc19a8b3
cmake: remove including non-existent directory
2021-10-28 14:30:35 +02:00
luigi1111
b328fbecc2
Merge pull request #8019
...
e106bdc epee: add missing header (selsta)
2021-10-25 19:02:49 -05:00
luigi1111
ff96482e38
Merge pull request #8018
...
1f81f5f protocol: fix spurious rejection of downloaded blocks (moneromooo-monero)
2021-10-25 19:02:22 -05:00
luigi1111
919e06bbfd
Merge pull request #8011
...
9c61110 cmake: use CMAKE_CURRENT_LIST_DIR for git version (selsta)
2021-10-25 19:01:59 -05:00
luigi1111
0bd892788d
Merge pull request #8006
...
69c09ad Add README to release archives (Howard Chu)
4881154 README v12 fork occurred on 2019-11-30 as expected (Howard Chu)
2021-10-25 19:00:40 -05:00
luigi1111
e5710b1898
Merge pull request #8004
...
ace4669 simplewallet: fix incoming_transfers index error (selsta)
2021-10-25 18:59:54 -05:00
luigi1111
e7d571c526
Merge pull request #8003
...
75d05b9 download: fix leak (moneromooo-monero)
2021-10-25 18:59:18 -05:00
luigi1111
e161b75201
Merge pull request #8002
...
49441d4 depends: update zeromq package to 4.3.4 (selsta)
2021-10-25 18:58:48 -05:00
luigi1111
00ac048958
Merge pull request #7995
...
797ca97 socks: ignore any exceptions in shutdown/close (selsta)
2021-10-25 18:53:34 -05:00
moneromooo-monero
e8e507f36f
rpc: fix DoS vector in get_output_distribution
...
This will prevent people spending old pre-rct outputs using a
stranger's node, which may be a good thing
2021-10-24 17:17:12 +00:00
selsta
8f210011be
depends: openssl 1.1.1k -> 1.1.1l
2021-10-22 23:17:53 +02:00
selsta
797ca974ab
socks: ignore any exceptions in shutdown/close
2021-10-22 22:00:29 +02:00
tobtoht
47e7a43270
wallet_api: enable set_strict_default_file_permissions
2021-10-22 05:40:23 +02:00
selsta
e106bdc1fc
epee: add missing header
2021-10-22 04:14:25 +02:00
moneromooo-monero
1f81f5f5c1
protocol: fix spurious rejection of downloaded blocks
...
when kicking a peer for inactivity, clear the set of requested blocks,
or next time we requests blocks from it, we'll probably reject the
incoming blocks due to missing the previous requested blocks
2021-10-21 20:34:06 +00:00
selsta
a15466d850
wallet2: remove 2 unused variables
2021-10-20 22:19:15 +02:00
selsta
b0ec9f85a1
epee: avoid ADL selecting C++14 std::quoted
2021-10-20 19:30:21 +02:00
moneromooo-monero
2cad563060
wallet2: fix key encryption when changing ask-password from 0/1 to 2
...
we reuse the wallet_keys_unlocker object, which does the right thing
in conjunction with other users of decrypt/encrypt (ie, refresh).
2021-10-19 22:01:45 +00:00
selsta
9c6111017b
cmake: use CMAKE_CURRENT_LIST_DIR for git version
2021-10-19 17:27:16 +02:00
luigi1111
753dc901a1
Merge pull request #8001
...
9973edd ARMv8: detect AES support dynamically (Howard Chu)
2021-10-17 23:39:50 -05:00
luigi1111
99507da993
Merge pull request #7994
...
84c5257 Decrease the 'recent spend window' in gamma re-select to 15 blocks (j-berman)
2021-10-17 23:38:47 -05:00
luigi1111
7f1a44679c
Merge pull request #7971
...
b00e21d cmake: set cpp14 standard (selsta)
2021-10-17 23:33:33 -05:00
luigi1111
adb2542a6c
Merge pull request #7876
...
5e63f6c Ledger: member 'mode' was shadowing that of base class (mj-xmr)
2021-10-17 23:29:17 -05:00
luigi1111
ebc655c6ad
Merge pull request #7869
...
ad9fde4 UB: virtual methods in destructor at Trezor (mj-xmr)
2021-10-17 23:28:04 -05:00
luigi1111
19a6cc26fc
Merge pull request #7867
...
eed7e79 UB: Not calling virtual method in destructor of WalletImpl (mj-xmr)
2021-10-17 23:26:50 -05:00
luigi1111
e165fdb27c
Merge pull request #7859
...
514f8fa LMDB: protection against UB, by not calling virtual methods from destructor (mj-xmr)
2021-10-17 23:25:34 -05:00
luigi1111
e7974926d5
Merge pull request #7808
...
7caab8d utils/health: separate Clang Tidy tests for C & C++ (mj-xmr)
2021-10-17 23:24:50 -05:00
luigi1111
f8abf3dd61
Merge pull request #7804
...
852f319 Doxygen: Exclude build directories (mj-xmr)
2021-10-17 23:24:22 -05:00
luigi1111
308e601966
Merge pull request #7799
...
76542ea Fix precision of average_output_time (j-berman)
2021-10-17 23:23:15 -05:00
Howard Chu
69c09ad204
Add README to release archives
...
Also add docs/ANONYMITY_NETWORKS.md
Even though there is no "docs" dir in the archive...
2021-10-14 15:30:43 +01:00
Howard Chu
4881154e69
README v12 fork occurred on 2019-11-30 as expected
...
Not just an estimated date.
Also fix whitespace alignment.
Note for future: always use backslash-asterisk if adding this
notation, otherwise it screws up rendering on some MD formatters
2021-10-14 15:26:22 +01:00
luigi1111
c458d5fe40
Merge pull request #7989
...
9cd7aa6 cmake: don't optimize debug build (selsta)
2021-10-11 13:05:25 -05:00
luigi1111
3d9c805e23
Merge pull request #7975
...
48a0997 blockchain: fix pedantic assert (selsta)
2021-10-11 13:00:27 -05:00
luigi1111
260f1d39f2
Merge pull request #7972
...
bc167a1 cmake: fix copy/paste typo (selsta)
2021-10-11 13:00:00 -05:00
luigi1111
a6367693c7
Merge pull request #7960
...
2e8936f rpc: Fix get_transactions failing when not found (Nathan Dorfman)
2021-10-11 12:59:32 -05:00
luigi1111
872d6f86bc
Merge pull request #7958
...
5f54dea LMDB: fix deadlock in resized detection (Howard Chu)
2021-10-11 12:57:53 -05:00
luigi1111
d0a3eb1e7e
Merge pull request #7954
...
313edb2 Doc: building gtest on Debian and Ubuntu (ralphmapper)
2021-10-11 12:57:27 -05:00
luigi1111
8fa21beba1
Merge pull request #7912
...
ae41178 gitian: cleanup more unused packages (Howard Chu)
4ea7832 gitian: omit ccache from gitian builds (Howard Chu)
2021-10-11 12:56:53 -05:00
luigi1111
45920c36f1
Merge pull request #7874
...
9154883 node_server: fix race condition (anon)
8922f96 node_server: add race condition demo (anon)
2021-10-11 12:56:14 -05:00
luigi1111
7f477c1902
Merge pull request #7793
...
13a8a57 trezor: try empty passphrase first (Dusan Klinec)
2021-10-11 12:54:17 -05:00
selsta
48a0997d8c
blockchain: fix pedantic assert
2021-10-11 19:09:45 +02:00
selsta
ace4669543
simplewallet: fix incoming_transfers index error
2021-10-10 23:17:16 +02:00
moneromooo-monero
75d05b9448
download: fix leak
...
A shared_ptr as by value capture will keep the object alive
2021-10-10 19:14:17 +00:00
Howard Chu
9973edd4c3
ARMv8: detect AES support dynamically
2021-10-10 16:52:30 +01:00
selsta
49441d4a2a
depends: update zeromq package to 4.3.4
2021-10-10 12:11:01 +02:00
mj-xmr
5e63f6c292
Ledger: member 'mode' was shadowing that of base class
2021-10-07 12:03:17 +02:00
luigi1111
b58a9fb12e
Merge pull request #7984
...
1346516 workflows: add missing dependency, fix mac build (selsta)
2021-10-05 21:44:39 -05:00
j-berman
84c52571ed
Decrease the "recent spend window" in gamma re-select to 15 blocks
...
- combined with patching integer truncation (#7798 ), this gets the algorithm marginally closer to mirroring empirically observed output ages
- 50 was originally chosen assuming integer truncation would remain in the client for that client release version. But patching integer truncation causes the client to select more outputs in the 10-100 block range, and therefore the benefit of choosing a larger recent spend window of 50 has less merit
- 15 seems well-suited to cover the somewhat sizable observable gap in the early window of blocks
2021-10-04 20:12:42 -07:00
selsta
9cd7aa60f0
cmake: don't optimize debug build
2021-10-04 02:30:34 +02:00
tobtoht
5770265a16
wallet2: keep around transaction prefix for confirmed transfers
2021-10-01 12:42:48 +02:00
selsta
1346516d09
workflows: add missing dependency, fix mac build
2021-09-30 22:09:34 +02:00
Howard Chu
ae41178c8b
gitian: cleanup more unused packages
...
These appear to be leftovers inherited from Bitcoin's builder
2021-09-27 17:14:03 +01:00
Howard Chu
4ea7832ea7
gitian: omit ccache from gitian builds
...
It's just wasted overhead since the build VMs are always deleted
and recreated fresh for each run.
2021-09-27 17:14:03 +01:00
selsta
bc167a1738
cmake: fix copy/paste typo
2021-09-25 06:28:41 +02:00
selsta
b00e21dccc
cmake: set cpp14 standard
...
It's 2021, we can easily switch to C++14 without any troubles.
2021-09-25 06:22:12 +02:00
luigi1111
6b824c9ed0
Merge pull request #7945
...
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
2021-09-23 22:22:42 -05:00
luigi1111
4120098e09
Merge pull request #7942
...
5617a29 unbound: remove leftovers (selsta)
2021-09-23 22:22:00 -05:00
luigi1111
df0408bd37
Merge pull request #7934
...
a95e6e0 Dockerfile: use depends (selsta)
2021-09-23 22:21:26 -05:00
luigi1111
415e290675
Merge pull request #7933
...
43a7279 depends: update unwind, fix build with ubuntu 21.04 (selsta)
2021-09-23 22:19:50 -05:00
luigi1111
4f5e8ccace
Merge pull request #7930
...
807cbcd easylogging++: fix missing logs (moneromooo-monero)
2021-09-23 22:19:16 -05:00
luigi1111
9b5268a27d
Merge pull request #7928
...
e7e28bc CI: ccache common settings variable and apt settings tidying (mj-xmr)
2021-09-23 22:18:06 -05:00
luigi1111
fd48e0af61
Merge pull request #7925
...
ce38f23 update readme research section contacts (Gingeropolous)
2021-09-23 22:17:15 -05:00
luigi1111
e7a1a095ac
Merge pull request #7923
...
5eaedb5 unit_tests: fix use after free in serialization test (moneromooo-monero)
2021-09-23 22:16:38 -05:00
luigi1111
60eddc566e
Merge pull request #7917
...
167cbdf CMake: Add missing SANITIZE option (mj-xmr)
2021-09-23 22:15:55 -05:00
luigi1111
29e3d0aa87
Merge pull request #7911
...
acef6c9 Fix parallel make of OpenSSL (Howard Chu)
2021-09-23 22:14:41 -05:00
luigi1111
298c9a357f
Merge pull request #7891
...
dfee15e RPC and ZeroMQ APIs to support p2pool (SChernykh)
2021-09-23 22:10:03 -05:00
luigi1111
237acd120e
Merge pull request #7890
...
2a8a511 Quicker resource cleanup on p2p socks timeout (Lee *!* Clagett)
2021-09-23 22:06:35 -05:00
luigi1111
75ee729a3a
Merge pull request #7886
...
1b7a708 Mac: UT node server fix IP localhost by aliasing (mj-xmr)
2021-09-23 22:04:20 -05:00
moneromooo-monero
807cbcdbf8
easylogging++: fix missing logs
2021-09-23 20:29:22 +00:00
Howard Chu
5f54dea4ec
LMDB: fix deadlock in resized detection
2021-09-22 15:47:04 +01:00
Nathan Dorfman
2e8936f614
rpc: Fix get_transactions failing when not found
2021-09-20 17:32:01 -06:00
anon
9154883f3e
node_server: fix race condition
2021-09-20 20:58:23 +00:00
anon
8922f96e61
node_server: add race condition demo
2021-09-20 20:58:23 +00:00
ralphmapper
313edb2504
Doc: building gtest on Debian and Ubuntu
2021-09-18 20:16:12 +02:00
selsta
4afd9a7a9e
cmake: set required C/C++ standard to 11
...
Co-authored-by: Jason Rhinelander <jason@imaginary.ca >
2021-09-16 10:44:25 +02:00
mj-xmr
e7e28bcd68
CI: ccache common settings variable and apt settings tidying
2021-09-15 20:51:41 +02:00
selsta
3a90be4bd6
rpc: don't set error code as status string
2021-09-15 08:57:41 +02:00
selsta
5617a292ee
unbound: remove leftovers
2021-09-15 07:32:19 +02:00
mj-xmr
1b7a708fa3
Mac: UT node server fix IP localhost by aliasing
2021-09-12 15:51:14 +02:00
j-berman
76542ea709
Fix precision of average_output_time
...
The fix as suggested by <jberman> on IRC. Before the fix, it would truncate 1.9 to 1 skewing the output selection.
2021-09-12 10:07:31 +02:00
selsta
a95e6e0d43
Dockerfile: use depends
2021-09-12 01:35:14 +02:00
selsta
43a72790ab
depends: update unwind, fix build with ubuntu 21.04
2021-09-11 20:25:43 +02:00
SChernykh
dfee15eee1
RPC and ZeroMQ APIs to support p2pool
...
Adds the following:
- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts
Both provide the necessary data to create a custom block template. They are used by p2pool.
Data provided:
- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
2021-09-11 15:15:07 +02:00
luigi1111
a39b1d56c8
Merge pull request #7899
...
cd76eb7 wallet: fix unused lambda capture warning (selsta)
2021-09-09 15:21:10 -04:00
luigi1111
9273530bff
Merge pull request #7898
...
f353c29 wallet_rpc_server: fix help text remaining bold (selsta)
2021-09-09 15:20:43 -04:00
luigi1111
c278c97f1f
Merge pull request #7884
...
ec6b4cf support cors wildcard (woodser)
2021-09-09 15:20:09 -04:00
luigi1111
e72eedd1ce
Merge pull request #7883
...
d749e0d ringct: silence unused variable warning (selsta)
2021-09-09 15:18:42 -04:00
luigi1111
e48e909911
Merge pull request #7880
...
573a025 core_tests: remove unused typedef, fix warning (selsta)
2021-09-09 15:18:17 -04:00
luigi1111
be94a2fb06
Merge pull request #7875
...
15936bf Device: remove unused and incorrect non-default constructor (mj-xmr)
2021-09-09 15:17:41 -04:00
luigi1111
aa8320671c
Merge pull request #7858
...
426dbf4 fix median overflow bug (koe)
2021-09-09 15:17:06 -04:00
luigi1111
b13110b7b8
Merge pull request #7855
...
ce0a2ce CI: use runner.os instead of OS labels (mj-xmr)
2021-09-09 15:16:31 -04:00
luigi1111
acfe3f8ded
Merge pull request #7828
...
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-09 15:16:06 -04:00
luigi1111
dfa6b58d4d
Merge pull request #7823
...
24d3d65 monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir (Kermit Alexander II)
2021-09-09 15:14:17 -04:00
luigi1111
2a02cd0a5f
Merge pull request #7773 from selsta/unbound
...
external: remove unbound submodule
2021-09-09 15:13:06 -04:00
luigi1111
7848a467c5
Merge pull request #7616
...
4ced092 daemon: allow proxy configuration (anon, selsta, tobtoht)
2021-09-09 15:09:51 -04:00
luigi1111
b7315efc1c
Merge pull request #7342
...
520ce1c Attempt to carve the fee from a partial payment early (lxop)
2021-09-09 15:06:46 -04:00
Gingeropolous
ce38f2399d
update readme research section contacts
...
with edits from @UkoeHB from PR #7922 because I can't sqash because i use the github web gui like a plebe
2021-09-08 14:03:21 -04:00
mj-xmr
ad9fde46a3
UB: virtual methods in destructor at Trezor
2021-09-08 14:44:35 +02:00
mj-xmr
514f8fab14
LMDB: protection against UB, by not calling virtual methods from destructor
2021-09-08 14:08:40 +02:00
moneromooo-monero
5eaedb51b9
unit_tests: fix use after free in serialization test
2021-09-08 01:03:34 +00:00
mj-xmr
eed7e79c04
UB: Not calling virtual method in destructor of WalletImpl
2021-09-07 14:24:53 +02:00
Howard Chu
4571d3686d
Add simple script for running gitian-build
...
This shell script creates a docker image for running the gitian-build.py
script, to avoid version incompatibilities. The builds may be signed
automatically after manually reviewing the build hashes.
Only docker.io and apt-cacher-ng are required to be installed on the
host. The MacOSX SDK should also be present in this directory if Mac
builds are desired. A container named "gitrun" is used to launch
the builds, and all output will reside in this container as well.
2021-09-04 17:20:29 +01:00
selsta
ae85ec0285
external: remove unbound submodule
2021-09-03 07:47:35 +02:00
mj-xmr
167cbdf870
CMake: Add missing SANITIZE option
2021-09-02 16:28:19 +02:00
Howard Chu
acef6c955b
Fix parallel make of OpenSSL
2021-08-31 04:38:38 +01:00
selsta
cd76eb7b8c
wallet: fix unused lambda capture warning
2021-08-28 15:18:32 +02:00
luigi1111
8fde011dbe
Merge pull request #7893
...
e52802b Wallet2: fix optimize-coinbase for p2pool payouts (SChernykh)
2021-08-26 21:13:44 -04:00
luigi1111
3673a679e4
Merge pull request #7850
...
0ac9a04 epee: tidying post-incrementation -> pre-incrementation (mj-xmr)
2021-08-26 21:12:25 -04:00
luigi1111
4ada08ad9a
Merge pull request #7847
...
0a021c3 CMake: document -Werror for add_c_flag_if_supported() from #7718 (mj-xmr)
2021-08-26 21:11:37 -04:00
selsta
f353c295f9
wallet_rpc_server: fix help text remaining bold
2021-08-27 02:59:36 +02:00
SChernykh
e52802baef
Wallet2: fix optimize-coinbase for p2pool payouts
...
RefreshOptimizeCoinbase was an optimization to speed up scanning of coinbase transactions before RingCT (tx version 2) where they split miner reward into multiple denominations, all to the same wallet.
When RingCT was introduced, all coinbase transactions became 1 output only, so this optimization does nothing now.
With p2pool, this optimization will skip scanning p2pool payouts because they use more than 1 output in coinbase transaction.
Fix it by applying this optimization only to pre-RingCT transactions (version < 2).
2021-08-26 11:50:15 +02:00
luigi1111
2d3ce2d64a
Merge pull request #7881
...
301355f epee: link with Boost_SYSTEM_LIBRARY (selsta)
2021-08-20 16:51:18 -04:00
luigi1111
0061da9e63
Merge pull request #7878
...
a9aaa47 wallet_api: add make_uri (tobtoht)
2021-08-20 16:50:24 -04:00
luigi1111
8b9eea92f1
Merge pull request #7849
...
6f15a0c Make sure node returns to wallet that real output is unlocked (j-berman)
2021-08-20 16:49:59 -04:00
luigi1111
1b079e5195
Merge pull request #7845
...
e1af8dc Protect client from divide by 0 caused by integer truncation (j-berman)
2021-08-20 16:45:15 -04:00
luigi1111
294d58c58d
Merge pull request #7832
...
d8e71c8 CMake: ccache fix for FreeBSD at 'depends' (mj-xmr)
2021-08-20 16:40:04 -04:00
luigi1111
5812b757e0
Merge pull request #7821
...
da2955f Apply gamma distr from chain tip when selecting decoys (j-berman)
2021-08-20 16:33:53 -04:00
luigi1111
a8dc9490b5
Merge pull request #7780
...
bb633d3 Workflows: depends cache (static) separated from ccache (volatile) (mj-xmr)
2021-08-20 16:31:22 -04:00
anon
4ced092aae
daemon: allow proxy configuration
...
Co-authored-by: selsta <selsta@sent.at >
Co-authored-by: tobtoht <thotbot@protonmail.com >
2021-08-20 21:24:29 +02:00
woodser
ec6b4cf9e1
support cors wildcard
2021-08-20 14:17:51 -04:00
Kermit Alexander II
24d3d65d42
monero-wallet-rpc: Prevent --password-file from being used with --wallet-dir
2021-08-20 08:54:41 -05:00
j-berman
e1af8dc02c
Protect client from divide by 0 caused by integer truncation
2021-08-19 14:56:36 -07:00
j-berman
da2955feae
Apply gamma distr from chain tip when selecting decoys
...
- matches the paper by Miller et al to apply the gamma from chain tip, rather than after unlock time
- if the gamma produces an output more recent than the unlock time, the algo packs that output into one of the first 50 spendable blocks, respecting the block density factor
2021-08-19 14:51:20 -07:00
selsta
d749e0d97c
ringct: silence unused variable warning
2021-08-19 22:00:44 +02:00
mj-xmr
15936bfa0f
Device: remove unused and incorrect non-default constructor
2021-08-19 21:56:12 +02:00
selsta
301355f88d
epee: link with Boost_SYSTEM_LIBRARY
2021-08-19 19:05:40 +02:00
selsta
573a0255a8
core_tests: remove unused typedef, fix warning
2021-08-19 15:57:13 +02:00
tobtoht
a9aaa47abb
wallet_api: add make_uri
2021-08-19 15:35:37 +02:00
koe
426dbf434b
fix median overflow bug
2021-08-13 06:57:27 -05:00
mj-xmr
ce0a2ce479
CI: use runner.os instead of OS labels
2021-08-12 15:48:55 +02:00
luigi1111
82149bfe44
Merge pull request #7818
...
9c8e3e8 unit_tests: fix broken tests (anon)
2021-08-11 22:40:13 -04:00
luigi1111
460fd4c80a
Merge pull request #7816
...
29296d5 cmake: fix double build (selsta)
2021-08-11 22:39:06 -04:00
luigi1111
0b4e922159
Merge pull request #7812
...
bf96055 Make SSL key/cert storage backward-compatible (Nathan Dorfman)
2021-08-11 22:38:24 -04:00
luigi1111
89664fcee5
Merge pull request #7811
...
3d3a671 Daemon: Update average block size table (rbrunner7)
2021-08-11 22:37:56 -04:00
luigi1111
521b4d9ded
Merge pull request #7809
...
7354ffb p2p: remove blocked addresses/hosts from peerlist (moneromooo-monero)
2021-08-11 22:35:15 -04:00
luigi1111
cb08466394
Merge pull request #7802
...
a3d2b71 wallet_api: expose offline mode status (rating89us)
2021-08-11 22:33:38 -04:00
luigi1111
5cebb8edc0
Merge pull request #7800
...
b48074f Fixed json serialization of rct::RCTTypeNull (SChernykh)
2021-08-11 22:32:39 -04:00
luigi1111
1bb8ec1b97
Merge pull request #7795
...
87a0928 rpc: source file extensions must be explicit (cmake warning) (selsta)
2021-08-11 22:31:34 -04:00
luigi1111
62844a776d
Merge pull request #7786
...
9c6e094 fix #7784 - deinit wallet in wallet dtor (Dusan Klinec)
2021-08-11 22:30:11 -04:00
mj-xmr
0a021c3bd1
CMake: document -Werror for add_c_flag_if_supported() from #7718
2021-08-11 19:53:20 +02:00
mj-xmr
0ac9a04b4c
epee: tidying post-incrementation -> pre-incrementation
2021-08-11 16:47:32 +02:00
j-berman
6f15a0c8d3
Make sure node returns to wallet that real output is unlocked
2021-08-11 07:28:10 -07:00
moneromooo-monero
7354ffb8a7
p2p: remove blocked addresses/hosts from peerlist
2021-08-05 17:29:25 +00:00
mj-xmr
d8e71c8dbe
CMake: ccache fix for FreeBSD at 'depends'
2021-08-04 20:05:42 +02:00
mj-xmr
b2c59af84d
EasyLogging++: new anti-UB test and propagating exception
2021-08-03 17:10:21 +02:00
Dusan Klinec
13a8a576ed
trezor: try empty passphrase first
...
- Try empty passphrase first when opening a wallet, as all Trezors will have passphrase enabled by default by Trezor Suite by default.
This feature enables easier access to all users using disabled passphrase (or empty passhprase)
- If wallet address differs from device address with empty passphrase, another opening attempt is made, without passphrase suppression,
so user can enter his passhprase if using some. In this scenario, nothing changes to user, wallet opening just consumes one more call
to Trezor (get wallet address with empty passphrase)
- also change how m_passphrase is used. Previous version did not work well with recent passphrase entry mechanism change (made in Trezor),
thus this commit fixes the behaviour).
2021-08-03 13:54:04 +02:00
luigi1111
ed506006d2
Merge pull request #7796
...
0c6e1d3 wallet2: chunk get_outs.bin calls to avoid sanity limits (moneromooo-monero)
2021-08-02 18:54:46 -04:00
luigi1111
e3b3fb577a
Merge pull request #7794
...
4414ed4 cmake: test is a reserved keyword (selsta)
2021-08-02 18:54:15 -04:00
luigi1111
eeda76570c
Merge pull request #7790
...
bc8d764 wallet: rephrase error message on invalid device address (Dusan Klinec)
2021-08-02 18:53:05 -04:00
luigi1111
8c41d14ad5
Merge pull request #7788
...
f5eb2ce wallet2: Don't auto lock device on process parsed blocks (tobtoht)
2021-08-02 18:50:25 -04:00
luigi1111
a32da4bc3e
Merge pull request #7787
...
1b80347 CI: Ubuntu-Test reuses Ubuntu-Build cache and building static libs (mj-xmr)
2021-08-02 18:49:49 -04:00
luigi1111
0878207e8d
Merge the coolest pull request #7777
...
30c15a6 Remove obsolete android dockerfiles (malinero)
2021-08-02 18:49:08 -04:00
luigi1111
894e5b2794
Merge pull request #7767
...
5fa1c90 Fix describe_transfer for multiple txes in a txset (Alex Opie)
2021-08-02 18:47:05 -04:00
luigi1111
0cdb8d02e8
Merge pull request #7757
...
d689b94 protocol: fix delayed 'you are now synchronized...' message (moneromooo-monero)
2021-08-02 18:43:44 -04:00
luigi1111
9aa2d4c16e
Merge pull request #7747
...
8cf95c8 wallet2: refresh: check error and throw before potentially breaking out of loop (tobtoht)
2021-08-02 18:42:32 -04:00
Alex Opie
5fa1c90102
Fix describe_transfer for multiple txes in a txset
...
This ensures each list of recipients is only the recipients
for one transaction. It also adds a new field "summary"
that describes the txset as a whole.
Fixes #7344
2021-08-02 20:39:49 +02:00
luigi1111
0b72f46bf2
Merge pull request #7824
...
90d6bed cmake: bodge cmake failure on OSS-Fuzz (moneromooo-monero)
2021-07-31 18:28:38 -04:00
moneromooo-monero
90d6bed804
cmake: bodge cmake failure on OSS-Fuzz
2021-07-31 19:22:57 +00:00
mj-xmr
1b80347513
CI: Ubuntu-Test reuses Ubuntu-Build cache and building static libs
2021-07-30 17:26:02 +02:00
Lee *!* Clagett
2a8a51129f
Quicker resource cleanup on p2p socks timeout
2021-07-29 08:54:13 +00:00
luigi1111
56f7609643
Merge pull request #7814
...
0556572 cmake: don't forbid undefined symbols on openbsd (selsta)
2021-07-28 14:02:20 -04:00
luigi1111
a89c78528a
Merge pull request #7813
...
979d121 blocks: fix cmake syntax (selsta)
2021-07-28 14:01:43 -04:00
anon
9c8e3e832e
unit_tests: fix broken tests
...
boosted_tcp_server: check condition before sleep too
cryptonote_protocol_handler: each instance of BlockchainLMDB requires separate thread due to private thread local fields
2021-07-28 13:38:24 +00:00
selsta
29296d5d52
cmake: fix double build
...
Co-authored-by: perfect-daemon
2021-07-28 15:02:12 +02:00
selsta
055657241d
cmake: don't forbid undefined symbols on openbsd
2021-07-28 01:18:10 +02:00
selsta
979d121ed7
blocks: fix cmake syntax
2021-07-28 00:39:48 +02:00
luigi1111
960376b960
Merge pull request #7782
...
a48db50 device_trezor_base: fix typo (anon)
2021-07-27 17:04:14 -04:00
luigi1111
0073513a05
Merge pull request #7776
...
c26e3ee workflows: fix libwallet ci test (selsta)
2021-07-27 17:02:54 -04:00
luigi1111
d9c9a11c54
Merge pull request #7772
...
eda5c30 Doc: Update blockchain stats with review comments (mj-xmr)
2021-07-27 17:01:42 -04:00
luigi1111
2f6d5fa8c2
Merge pull request #7771
...
5e6762d EasyLogging++: Add UTests, that protect against regressions (mj-xmr)
2021-07-27 17:01:00 -04:00
luigi1111
ef659f8b52
Merge pull request #7769
...
9a24e46 CI: add Ubuntu 18.04 for back. compat. test (mj-xmr)
2021-07-27 16:59:05 -04:00
luigi1111
11cc473d97
Merge pull request #7765
...
0977963 depends: add getmonero package mirror (selsta)
2021-07-27 16:57:53 -04:00
luigi1111
e91e2c4a2b
Merge pull request #7758
...
42b74a3 Include Libusb and hidapi on android (malinero)
2021-07-27 16:57:06 -04:00
luigi1111
69e714c749
Merge pull request #7745
...
d52d21b ledger: don't lock for software device (tobtoht)
2021-07-27 16:56:37 -04:00
luigi1111
62bcdc1d3c
Merge pull request #7744
...
ce40c33 ledger: use software device if we have view key (tobtoht)
2021-07-27 16:56:09 -04:00
luigi1111
2d5b8a6ff7
Merge pull request #7740
...
8cea9d8 wallet: Reset RPC Pay ID on node switch (tobtoht)
2021-07-27 16:55:14 -04:00
luigi1111
8a845f5dc8
Merge pull request #7718
...
9c0e681 cmake: treat warnings as error in compiler flag tests (selsta)
2021-07-27 16:54:36 -04:00
luigi1111
ca4de5f96d
Merge pull request #7698
...
7359d51 cmake: fix non portable code (selsta)
2021-07-27 16:53:55 -04:00
luigi1111
a9cb4c082f
Merge pull request #7692
...
df40d1d cmake: export all symbols (anon)
fe76d7d cmake: fix undefined symbols and multiple definitions (anon)
14be80f cmake: forbid undefined symbols (anon)
2021-07-27 16:51:52 -04:00
Nathan Dorfman
bf96055211
Make SSL key/cert storage backward-compatible
...
This is required to build on OpenBSD (which uses LibreSSL). It also allows building against versions of OpenSSL before 1.0.2.
2021-07-27 13:49:21 -06:00
rbrunner7
3d3a67142c
Daemon: Update average block size table
2021-07-27 13:45:55 +02:00
mj-xmr
7caab8dd74
utils/health: separate Clang Tidy tests for C & C++
2021-07-27 11:17:27 +02:00
mj-xmr
852f319d86
Doxygen: Exclude build directories
2021-07-26 14:05:34 +02:00
rating89us
a3d2b71ee9
wallet_api: expose offline mode status
2021-07-19 00:30:36 +02:00
SChernykh
b48074fb8d
Fixed json serialization of rct::RCTTypeNull
...
rct::RCTTypeNull doesn't have these fields (ecdhInfo, outPk, txnFee).
2021-07-18 10:52:14 +02:00
moneromooo-monero
0c6e1d343e
wallet2: chunk get_outs.bin calls to avoid sanity limits
2021-07-15 17:25:07 +00:00
selsta
4414ed401d
cmake: test is a reserved keyword
2021-07-15 15:35:03 +02:00
selsta
87a092811d
rpc: source file extensions must be explicit (cmake warning)
2021-07-15 09:42:57 +02:00
tobtoht
f5eb2ce968
wallet2: Don't auto lock device on process parsed blocks
2021-07-14 13:02:54 +02:00
Dusan Klinec
bc8d7644d2
wallet: rephrase error message on invalid device address
2021-07-14 11:02:29 +02:00
Dusan Klinec
9c6e0941cb
fix #7784 - deinit wallet in wallet dtor
2021-07-14 10:46:16 +02:00
anon
df40d1dc73
cmake: export all symbols
2021-07-13 08:00:22 +02:00
anon
fe76d7dee7
cmake: fix undefined symbols and multiple definitions
2021-07-13 08:00:20 +02:00
anon
14be80f992
cmake: forbid undefined symbols
2021-07-13 07:59:49 +02:00
mj-xmr
9a24e464ba
CI: add Ubuntu 18.04 for back. compat. test
2021-07-12 08:06:08 +02:00
anon
a48db50b1c
device_trezor_base: fix typo
2021-07-10 23:52:15 +00:00
luigi1111
de3456e127
Merge pull request #7764
...
e24875e simplewallet: don't truncate integ. address in export_transfers (selsta)
2021-07-10 18:01:35 -04:00
luigi1111
1e8cbc995f
Merge pull request #7762
...
8ae6c85 trezor: add #if for ByteSizeLong (selsta)
2021-07-10 18:00:45 -04:00
luigi1111
3c8c8e5a5b
Merge pull request #7761
...
8ef51dc wallet_api: fix typo in exportKeyImages (selsta)
2021-07-10 17:59:56 -04:00
luigi1111
9903b35345
Merge pull request #7754
...
8ff21e1 doc: update IRC references to Libera (fdov)
2021-07-10 17:59:23 -04:00
luigi1111
6043c85afe
Merge pull request #7753
...
f0df726 add singapore.node.xmr.pm to seed nodes (lza_menace)
2021-07-10 17:58:22 -04:00
luigi1111
c53e22c40a
Merge pull request #7748
...
bbeb555 wallet_api: getPassword (tobtoht)
2021-07-10 17:57:39 -04:00
mj-xmr
bb633d3a8e
Workflows: depends cache (static) separated from ccache (volatile)
2021-07-10 17:25:50 +02:00
malinero
30c15a6ca8
Remove obsolete android dockerfiles
2021-07-09 01:05:18 +02:00
selsta
c26e3ee029
workflows: fix libwallet ci test
2021-07-08 05:00:01 +02:00
mj-xmr
eda5c303cd
Doc: Update blockchain stats with review comments
2021-07-06 07:12:33 +02:00
mj-xmr
5e6762d459
EasyLogging++: Add UTests, that protect against regressions
2021-07-06 06:50:52 +02:00
tobtoht
bbeb555f00
wallet_api: getPassword
2021-07-05 02:49:27 +02:00
selsta
09779631f3
depends: add getmonero package mirror
2021-07-01 01:09:00 +02:00
selsta
8ae6c85efd
trezor: add #if for ByteSizeLong
...
Turns out Ubuntu 18.04 ships with an old protobuf version.
2021-06-27 23:43:36 +02:00
luigi1111
9c18f2767b
Merge pull request #7743
...
8a67724 wallet_api: get bytes sent/received (tobtoht)
2021-06-24 14:35:30 -05:00
tobtoht
8a67724218
wallet_api: get bytes sent/received
2021-06-24 21:32:03 +02:00
selsta
e24875e572
simplewallet: don't truncate integ. address in export_transfers
2021-06-24 21:21:26 +02:00
luigi1111
14a1b89122
Merge pull request #7752
...
4251cc0 unit_tests: check for ge_frombytes_vartime failure (moneromooo-monero)
67b97a5 easylogging++: do not delete uninitialized objects (moneromooo-monero)
7b6d959 trezor: fix potential use of uninitialized memory (moneromooo-monero)
2021-06-24 14:13:19 -05:00
luigi1111
4f08d52dfa
Merge pull request #7750
...
8e0b8dd wallet/api: remove Bitmonero namespace alias (selsta)
2021-06-24 14:12:37 -05:00
luigi1111
0a9d218044
Merge pull request #7749
...
e63c110 wallet_api: address_book: don't lose pid on setDescription (tobtoht)
2021-06-24 14:11:45 -05:00
luigi1111
99aa45fd34
Merge pull request #7746
...
1aa1850 wallet_api: signMessage: add sign with subaddress (tobtoht)
2021-06-24 14:06:13 -05:00
luigi1111
7c3629a5ee
Merge pull request #7742
...
f174a8f wallet_api: reconnectDevice (tobtoht)
2021-06-24 14:05:35 -05:00
luigi1111
ce129599d0
Merge pull request #7739
...
6914d5b wallet_api: move adjust_mixin call within try block (tobtoht)
2021-06-24 14:04:42 -05:00
luigi1111
48e59b8064
Merge pull request #7672
...
5bf91fc add documentation for monero-blockchain-stats (donkeydonkey)
2021-06-24 14:03:03 -05:00
luigi1111
ad9956d987
Merge pull request #7634
...
5a2edea db_lmdb: catch exceptions testing for mmap support (moneromooo-monero)
2021-06-24 14:01:42 -05:00
luigi1111
f8abb225fc
Merge pull request #7633
...
f6e2636 blockchain_db: harden code against invalid input types (moneromooo-monero)
2021-06-24 14:00:59 -05:00
luigi1111
3366bd81eb
Merge pull request #7612
...
254a133 core: speed up print_coinbase_tx_sum (moneromooo-monero)
2021-06-24 13:59:44 -05:00
luigi1111
1796b44c67
Merge pull request #7611
...
71741a1 blockchain_import: fix wrong reported block/tx hashes on error (moneromooo-monero)
2021-06-24 13:59:12 -05:00
luigi1111
e028591336
Merge pull request #7380
...
8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
2021-06-24 13:57:53 -05:00
selsta
8ef51dc546
wallet_api: fix typo in exportKeyImages
2021-06-23 20:44:13 +02:00
malinero
42b74a37d3
Include Libusb and hidapi on android
2021-06-21 19:52:56 +02:00
moneromooo-monero
d689b946f9
protocol: fix delayed "you are now synchronized..." message
2021-06-21 15:37:40 +00:00
erciccione
de4413b076
workflows: don't build PRs if only docs and READMEs are being changed
2021-06-21 10:18:09 +02:00
fdov
8ff21e1e84
doc: update IRC references to Libera
2021-06-20 21:44:45 +02:00
lza_menace
f0df72688f
add singapore.node.xmr.pm to seed nodes
2021-06-18 11:14:03 -07:00
luigi1111
282e2ef058
Merge pull request #7738
...
a240453 README: freenode -> libera (selsta)
2021-06-16 14:41:40 -05:00
luigi1111
4e07c8cbbc
Merge pull request #7733
...
cd8901c randomx: bump submodule to v1.1.9 (selsta)
2021-06-16 14:39:51 -05:00
luigi1111
b63442da21
Merge pull request #7730
...
e761577 provide key images of spent outputs in wallet rpc (woodser)
2021-06-16 14:38:06 -05:00
luigi1111
ab0bb31518
Merge pull request #7683
...
41297c1 CMake: strip targets (optional) with -D STRIP_TARGETS=ON (mj-xmr)
2021-06-16 14:37:39 -05:00
luigi1111
f8f1c78984
Merge pull request #7676
...
c19f0cb Compil time: move epee storages/parserse_base_utils.h to parserse_base_utils.cpp (mj-xmr)
2021-06-16 14:36:42 -05:00
woodser
e7615772fa
provide key images of spent outputs in wallet rpc
2021-06-15 15:54:39 -04:00
mj-xmr
c19f0cbdea
Compil time: move epee storages/parserse_base_utils.h to parserse_base_utils.cpp
2021-06-11 21:20:51 +02:00
mj-xmr
41297c10f0
CMake: strip targets (optional) with -D STRIP_TARGETS=ON
2021-06-11 21:19:37 +02:00
luigi1111
ab7df49331
Merge pull request #7751
...
b8b054c python-rpc: add missing python api for new freeze/thaw/frozen RPC (moneromooo-monero)
2021-06-11 12:28:01 -05:00
moneromooo-monero
4251cc0b4d
unit_tests: check for ge_frombytes_vartime failure
...
CID 1446559
2021-06-11 07:51:45 +00:00
moneromooo-monero
67b97a5f16
easylogging++: do not delete uninitialized objects
...
CID 1446562
2021-06-11 07:51:29 +00:00
moneromooo-monero
7b6d959596
trezor: fix potential use of uninitialized memory
...
CID 1446575
2021-06-11 07:11:23 +00:00
moneromooo-monero
b8b054c0f1
python-rpc: add missing python api for new freeze/thaw/frozen RPC
2021-06-11 07:00:27 +00:00
luigi1111
7499837a6f
Merge pull request #7661
...
08e4497 Improve cryptonote (block and tx) binary read performance (Lee Clagett)
2021-06-10 12:00:54 -05:00
luigi1111
ca73284951
Merge pull request #7729
...
b2e1558 support freeze, thaw, and frozen in wallet rpc (woodser)
2021-06-10 11:47:05 -05:00
luigi1111
667d3dd4c2
Merge pull request #7684
...
ed6f053 blockchain: speed up repeated pops (mostly in tests) (moneromooo-monero)
2021-06-10 11:46:27 -05:00
luigi1111
a1a3e970f7
Merge pull request #7662
...
4da1112 rpc: send confirmations in get_transactions result (moneromooo-monero)
2021-06-10 11:34:20 -05:00
luigi1111
f85cab6750
Merge pull request #7481
...
430b758 Warnings: add warnings as errors: 'switch' & 'return-type' (mj-xmr)
2021-06-10 11:19:11 -05:00
luigi1111
25bbb26f63
Merge pull request #7416
...
b4fe7c2 epee linkage dynamic; move monero_add_library to main CMakeLists.txt (mj-xmr)
2021-06-10 11:18:26 -05:00
selsta
8e0b8ddb96
wallet/api: remove Bitmonero namespace alias
2021-06-08 23:29:41 +02:00
tobtoht
e63c1107c0
wallet_api: address_book: don't lose pid on setDescription
2021-06-08 15:20:48 +02:00
tobtoht
8cf95c8f29
wallet2: refresh: check error and throw before potentially breaking out of loop
2021-06-04 18:37:06 +02:00
tobtoht
1aa1850ba5
wallet_api: signMessage: add sign with subaddress
2021-06-04 18:16:10 +02:00
tobtoht
d52d21bd46
ledger: don't lock for software device
2021-06-04 17:41:42 +02:00
tobtoht
f174a8f05f
wallet_api: reconnectDevice
2021-06-04 15:24:53 +02:00
tobtoht
ce40c33a33
ledger: use software device if we have view key
2021-06-04 15:02:06 +02:00
tobtoht
8cea9d8605
wallet: Reset RPC Pay ID on node switch
...
RPC pay client ID is sent with each RPC request, set a new secret every time we switch nodes to mitigate trivial correlation
2021-06-04 13:58:09 +02:00
tobtoht
6914d5b914
wallet_api: move adjust_mixin call within try block
2021-06-04 13:41:10 +02:00
luigi1111
1c8e598172
Merge pull request #7735
...
44cc6d6 Fix boost 1.76.0 compatibility (loqs)
2021-06-01 22:12:12 -05:00
luigi1111
e8bf9003dd
Merge pull request #7726
...
0f45211 CMake: add *.inl to monero_find_all_headers() glob, along *.h* (mj-xmr)
2021-06-01 22:11:04 -05:00
luigi1111
51171d2ca3
Merge pull request #7725
...
a4a154b CMake: glob missing headers for easylogging (mj-xmr)
2021-06-01 22:10:42 -05:00
luigi1111
e31182918c
Merge pull request #7724
...
44e8395 CMake: glob missing headers for wallet2 (mj-xmr)
2021-06-01 22:10:19 -05:00
luigi1111
08726ff0f3
Merge pull request #7723
...
3450f4b Doc: funtional_tests add new mining env vars and how to use them (mj-xmr)
2021-06-01 22:09:54 -05:00
luigi1111
97436399eb
Merge pull request #7719
...
da45d3f trezor: deprecated ByteSize -> ByteSizeLong (selsta)
2021-06-01 22:09:26 -05:00
luigi1111
21c6376f33
Merge pull request #7715
...
0c13623 cmake: fix check_linker_flag (selsta)
2021-06-01 22:09:01 -05:00
luigi1111
fcb347820d
Merge pull request #7713
...
b40129e Warnings: unused var in core_tests:chaingen.h (mj-xmr)
2021-06-01 22:08:40 -05:00
luigi1111
d51e0c38f9
Merge pull request #7712
...
d772f13 epee: include public openssl header in cmake (selsta)
2021-06-01 22:08:15 -05:00
luigi1111
126ff6b0ee
Merge pull request #7711
...
4969f39 cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB (selsta)
2021-06-01 22:07:47 -05:00
luigi1111
39cd392ac3
Merge pull request #7710
...
9165344 CI: depends downloads relax retries (mj-xmr)
2021-06-01 22:07:21 -05:00
luigi1111
381f8f5e24
Merge pull request #7709
...
a1c4307 Warnings: unused variable in core/blockchain.cpp (mj-xmr)
2021-06-01 22:06:54 -05:00
luigi1111
d845a5a0c3
Merge pull request #7705
...
581c3af Warnings: unused var at cryptonote_tx_utils.cpp (mj-xmr)
2021-06-01 22:06:27 -05:00
luigi1111
45007f35cf
Merge pull request #7689
...
f93db0d clang: fix -pie flag (selsta)
2021-06-01 22:05:45 -05:00
selsta
a24045340c
README: freenode -> libera
2021-06-01 03:07:58 +02:00
loqs
44cc6d6762
Fix boost 1.76.0 compatibility
...
Add missing header boost/mpl/contains.hpp
monero-project/monero/issues/7728
2021-05-24 05:31:14 +02:00
selsta
cd8901cc01
randomx: bump submodule to v1.1.9
2021-05-22 23:12:23 +02:00
woodser
b2e1558bde
support freeze, thaw, and frozen in wallet rpc
2021-05-18 20:35:48 -04:00
mj-xmr
0f45211c6b
CMake: add *.inl to monero_find_all_headers() glob, along *.h*
2021-05-14 15:29:57 +02:00
mj-xmr
44e8395d2a
CMake: glob missing headers for wallet2
2021-05-14 14:22:29 +02:00
mj-xmr
a4a154b0e2
CMake: glob missing headers for easylogging
2021-05-14 14:18:16 +02:00
mj-xmr
3450f4bc04
Doc: funtional_tests add new mining env vars and how to use them
2021-05-14 11:27:56 +02:00
selsta
da45d3f5b3
trezor: deprecated ByteSize -> ByteSizeLong
2021-05-13 03:51:31 +02:00
luigi1111
b1873af519
Merge pull request #7697
...
881d81c translations: use full path in cmake (selsta)
2021-05-12 17:03:17 -05:00
luigi1111
fadc112aee
Merge pull request #7696
...
0794811 cmake: set xcode file type (selsta)
2021-05-12 17:02:34 -05:00
luigi1111
4fcbc584f0
Merge pull request #7694
...
004b167 cmake: wallet_api doesn't need wallet_merged (selsta)
2021-05-12 17:00:04 -05:00
luigi1111
b7ee587ddb
Merge pull request #7691
...
cbd54ea cmake: set 3.5 as minimum version (selsta)
2021-05-12 16:59:17 -05:00
luigi1111
342f8c8b97
Merge pull request #7690
...
3cc4428 clang: fix -Wpessimizing-move warning (selsta)
2021-05-12 16:58:34 -05:00
luigi1111
c1a1f2a6ea
Merge pull request #7688
...
451b5a5 clang: fix -Wrange-loop-analysis warnings (selsta)
2021-05-12 16:57:32 -05:00
luigi1111
8da33d2e46
Merge pull request #7686
...
6799e21 Tests: Mining test uses a parametric path for finding the calculation app (mj-xmr)
2021-05-12 16:56:28 -05:00
luigi1111
e505ffef5f
Merge pull request #7677
...
445a9d8 wallet_api: import / export output function (tobtoht)
2021-05-12 16:53:27 -05:00
luigi1111
c91bd17f90
Merge pull request #7670
...
2dfb111 workflows: upload source archive artifact (selsta)
2021-05-12 16:52:50 -05:00
luigi1111
ea5c99f142
Merge pull request #7685
...
8c3c7b8 depends, docker: fix bintray links (selsta)
2021-05-12 15:32:16 -05:00
luigi1111
628c04499b
Merge pull request #7682
...
bbdb612 Wallet2: Update 'approximate_testnet_rolled_back_blocks' (rbrunner7)
2021-05-12 15:30:34 -05:00
luigi1111
7d0927f8ad
Merge pull request #7681
...
c57ef7f wallet2: Fix rescan_bc keep_ki option (Nathan Dorfman)
2021-05-12 15:30:05 -05:00
luigi1111
a88e115c09
Merge pull request #7668
...
2b91806 protocol: remove unreachable code (moneromooo-monero)
2021-05-12 15:21:27 -05:00
selsta
9c0e681dc9
cmake: treat warnings as error in compiler flag tests
2021-05-12 21:55:32 +02:00
luigi1111
661c8f93cf
Merge pull request #7667
...
eb272b1 Add mj-xmr GPG key (mj-xmr)
2021-05-12 14:50:22 -05:00
luigi1111
cf69419316
Merge pull request #7666
...
bd74c6b Doc: Compiling, debugging and testing efficiently see docs/COMPILING_DEBUGGING_TESTING.md (mj-xmr)
2021-05-12 14:49:26 -05:00
luigi1111
ac87ac19b2
Merge pull request #7665
...
15e6275 CMake: new macro - finding all headers (extract from epee) (mj-xmr)
2021-05-12 14:39:39 -05:00
selsta
0c13623411
cmake: fix check_linker_flag
2021-05-12 02:09:55 +02:00
luigi1111
066309cddb
Merge pull request #7664
...
5871e7a net_node: add seed node (selsta)
2021-05-11 18:04:49 -05:00
luigi1111
41b4c4991f
Merge pull request #7663
...
8953f19 CI: Actions' build.yaml uses variables instead of repetitions (mj-xmr)
2021-05-11 17:43:47 -05:00
mj-xmr
b40129e253
Warnings: unused var in core_tests:chaingen.h
2021-05-11 10:22:06 +02:00
selsta
4969f39c09
cmake: use CMAKE_CURRENT_LIST_DIR in FindLibUSB
2021-05-11 01:29:44 +02:00
selsta
d772f1378b
epee: include public openssl header in cmake
2021-05-09 22:22:17 +02:00
mj-xmr
9165344d8e
CI: depends downloads relax retries
2021-05-08 18:00:53 +02:00
mj-xmr
a1c4307128
Warnings: unused variable in core/blockchain.cpp
2021-05-08 12:04:19 +02:00
mj-xmr
581c3af03a
Warnings: unused var at cryptonote_tx_utils.cpp
2021-05-02 18:00:29 +02:00
selsta
881d81cce4
translations: use full path in cmake
2021-04-28 17:06:59 +02:00
selsta
7359d51d56
cmake: fix non portable code
2021-04-28 17:05:59 +02:00
selsta
0794811b40
cmake: set xcode file type
2021-04-28 14:49:13 +02:00
selsta
3cc4428d45
clang: fix -Wpessimizing-move warning
2021-04-28 11:33:37 +02:00
selsta
004b167095
cmake: wallet_api doesn't need wallet_merged
2021-04-27 14:36:56 +02:00
selsta
cbd54ea524
cmake: set 3.5 as minimum version
2021-04-27 11:02:05 +02:00
selsta
8c3c7b8109
depends, docker: fix bintray links
2021-04-27 09:55:32 +02:00
selsta
f93db0d46a
clang: fix -pie flag
2021-04-27 09:52:34 +02:00
mj-xmr
6799e212cc
Tests: Mining test uses a parametric path for finding the calculation app
...
MINING_SILENT and MINING_NO_MEASUREMENT env vars
2021-04-27 06:21:02 +02:00
selsta
451b5a510e
clang: fix -Wrange-loop-analysis warnings
2021-04-27 05:30:27 +02:00
moneromooo-monero
ed6f05357c
blockchain: speed up repeated pops (mostly in tests)
...
The heavy rolling median reset only has to be performed after
all blocks are popped
2021-04-26 14:07:35 +00:00
rbrunner7
bbdb612b51
Wallet2: Update 'approximate_testnet_rolled_back_blocks'
2021-04-25 10:20:39 +02:00
mj-xmr
b4fe7c2401
epee linkage dynamic; move monero_add_library to main CMakeLists.txt
2021-04-24 09:45:51 +02:00
Nathan Dorfman
c57ef7f807
wallet2: Fix rescan_bc keep_ki option
2021-04-23 09:11:45 -06:00
luigi1111
0a1ddc2eff
Merge pull request #7669
...
679d055 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-22 01:51:01 -04:00
luigi1111
b6a8cfc41b
Merge pull request #7658
...
834e23b Doc: Update Gitian (Reproducible Builds) with small code snippets and fixes (mj-xmr)
2021-04-22 01:46:57 -04:00
luigi1111
215976beba
Merge pull request #7656
...
5fe22ac ITS#9496 fix mdb_env_open bug from #8704 (hyc)
2021-04-22 01:43:18 -04:00
luigi1111
9bba3f4767
Merge pull request #7651
...
c8ff1d4 monero-wallet-cli: improve error message when tx amount is zero (Elliot Wirrick)
2021-04-22 01:35:20 -04:00
luigi1111
6d7bb2b8ba
Merge pull request #7643
...
19ed7ab Test: Enable coverage for external repositories (mj-xmr)
2021-04-22 01:34:26 -04:00
luigi1111
3c1ea110d9
Merge pull request #7016
...
dc81e23 Split epee/string_tools.h and encapsulate boost::lexical_cast (mj-xmr)
2021-04-22 01:32:32 -04:00
tobtoht
445a9d8ba3
wallet_api: import / export output function
2021-04-22 04:26:17 +02:00
donkeydonkey
5bf91fc894
add documentation for monero-blockchain-stats
2021-04-19 20:54:44 +02:00
selsta
2dfb111a92
workflows: upload source archive artifact
...
Co-authored-by: xiphon <xiphon@protonmail.com >
2021-04-19 07:33:27 +02:00
moneromooo-monero
2b918068cc
protocol: remove unreachable code
2021-04-17 15:22:26 +00:00
mj-xmr
eb272b12a3
Add mj-xmr GPG key
2021-04-17 06:48:39 +02:00
mj-xmr
bd74c6b8ba
Doc: Compiling, debugging and testing efficiently
...
see docs/COMPILING_DEBUGGING_TESTING.md
2021-04-17 06:37:23 +02:00
mj-xmr
dc81e23e60
Split epee/string_tools.h and encapsulate boost::lexical_cast
2021-04-16 20:54:20 +02:00
luigi1111
e45619e61e
Revert "Merge pull request #7136 "
...
This reverts commit 63c7ca07fb , reversing
changes made to 2218e23e84 .
2021-04-16 13:52:44 -05:00
luigi1111
d544fd0f52
Merge pull request #7653
...
73d3b00 unit_tests: fix boost 1.58 compatibility (anon)
2021-04-16 12:52:42 -05:00
luigi1111
257e7432cb
Merge pull request #7652
...
02f4954 gitian: remove osslsigncode (selsta)
2021-04-16 12:52:05 -05:00
luigi1111
13418dbb98
Merge pull request #7648
...
25e8254 expose set_offline to wallet api (benevanoff)
2021-04-16 12:51:22 -05:00
luigi1111
fa6a6c5cca
Merge pull request #7642
...
82de000 Add base Monero address which is needed to view wallet (Justin Ehrenhofer)
2021-04-16 12:50:42 -05:00
luigi1111
4ca80bd312
Merge pull request #7641
...
a16328e easylogging++: in place log sanitization (moneromooo-monero)
2021-04-16 12:49:00 -05:00
luigi1111
288e5ec350
Merge pull request #7384
...
494f2e1 rpc: fix some error return codes/status (moneromooo-monero)
2021-04-16 12:48:05 -05:00
luigi1111
7cf47d754c
Merge pull request #7258
...
1d1c430 p2p: fix cubic selection in filtered peer list (moneromooo)
2021-04-16 12:46:34 -05:00
luigi1111
63c7ca07fb
Merge pull request #7136
...
23aae55 Remove payload copy in all outgoing p2p messages (Lee Clagett)
2021-04-16 12:45:30 -05:00
luigi1111
2218e23e84
Merge pull request #7002
...
673c6d2 Reduce compilation time of epee/portable_storage_template_helper.h (mj-xmr)
2021-04-16 12:43:42 -05:00
mj-xmr
15e627569b
CMake: new macro - finding all headers (extract from epee)
2021-04-16 09:28:43 +02:00
selsta
5871e7ab19
net_node: add seed node
2021-04-16 03:22:16 +02:00
mj-xmr
8953f19489
CI: Actions' build.yaml uses variables instead of repetitions
2021-04-15 20:18:28 +02:00
moneromooo-monero
4da1112967
rpc: send confirmations in get_transactions result
...
if the wallet does it, it would get a wrong result (possibly even
negative) if its local chain is not synced up to the daemon's yet
2021-04-15 15:31:52 +00:00
mj-xmr
834e23bfcf
Doc: Update Gitian (Reproducible Builds) with small code snippets and fixes
2021-04-11 23:19:38 +02:00
Howard Chu
5fe22ac766
ITS#9496 fix mdb_env_open bug from #8704
...
Broken in 9c6eb75c65
2021-04-09 14:21:15 +01:00
anon
73d3b00b35
unit_tests: fix boost 1.58 compatibility
2021-04-08 11:45:27 +00:00
selsta
02f4954229
gitian: remove osslsigncode
...
Unused and archive is offline
2021-04-08 02:25:33 +02:00
Elliot Wirrick
c8ff1d4d23
monero-wallet-cli: improve error message when tx amount is zero
2021-04-07 10:10:16 -04:00
luigi1111
f6279a633d
Merge pull request #7650
...
e7301ef readme: Add note regarding submodule sync and update (George Lee Ge)
2021-04-06 12:26:24 -05:00
luigi1111
4834bd8aa0
Merge pull request #7646
...
176cea0 Tests: Fix test node_server.bind_same_p2p_port from randomly crashing (mj-xmr)
2021-04-06 12:25:00 -05:00
luigi1111
1475236810
Merge pull request #7639
...
53683d7 Warnings: fix ut/levin.cpp missing braces (mj-xmr)
2021-04-06 12:24:29 -05:00
luigi1111
2098941ca0
Merge pull request #7635
...
447bfae wallet2: fix unlocked mixup in light wallet mode (moneromooo-monero)
2021-04-06 12:23:45 -05:00
luigi1111
8dcb37f190
Merge pull request #7580
...
e8554e8 Doc: Add ccache to README.md and Brewfile (mj-xmr)
2021-04-06 12:23:13 -05:00
luigi1111
e7c1f8eacd
Merge pull request #7489
...
353028d CI: ccache for ubuntu-test; Using 'Default' architecture The cmake logic is in workflows/build.yml (mj-xmr)
2021-04-06 12:22:32 -05:00
luigi1111
3c69596bc9
Merge pull request #7321
...
f9b5b52 fix serialization being different on mac (moneromooo-monero)
2021-04-06 12:20:15 -05:00
mj-xmr
353028d8e9
CI: ccache for ubuntu-test; Using "Default" architecture
...
The cmake logic is in workflows/build.yml
2021-04-06 14:42:53 +02:00
George Lee Ge
e7301ef54a
readme: Add note regarding submodule sync and update
2021-04-06 00:16:41 +02:00
benevanoff
25e82545f3
expose set_offline to wallet api
2021-04-05 13:41:04 -05:00
mj-xmr
176cea0ec6
Tests: Fix test node_server.bind_same_p2p_port from randomly crashing
2021-04-05 17:36:13 +02:00
mj-xmr
19ed7abdf9
Test: Enable coverage for external repositories
...
Add monero_enable_coverage() for reuse in case C/CXX_FLAGS are overwritten.
2021-04-01 19:50:54 +02:00
Justin Ehrenhofer
82de000ffe
Add base Monero address which is needed to view wallet
...
One needs the base Monero donation address to be able to restore the Monero Core Team donation wallet from address and viewkey. Address provided by selsta.
2021-03-30 22:33:13 +02:00
luigi1111
9a5579fc4f
Merge pull request #7387
...
45f01f5 [CI] Adaptive mining timeout, depending on available CPU power Printing also available RAM. Add comprehensive description. (mj-xmr)
2021-03-30 12:04:36 -04:00
luigi1111
39ce27b5d5
Merge pull request #7332
...
57edfd7 p2p: allow CIDR notation in DNS blocklist (moneromooo-monero)
2021-03-30 12:03:56 -04:00
moneromooo-monero
57edfd78fd
p2p: allow CIDR notation in DNS blocklist
2021-03-30 08:57:04 +00:00
mj-xmr
e8554e8c49
Doc: Add ccache to README.md and Brewfile
2021-03-30 06:13:20 +02:00
mj-xmr
45f01f577c
[CI] Adaptive mining timeout, depending on available CPU power
...
Printing also available RAM. Add comprehensive description.
2021-03-30 05:48:55 +02:00
luigi1111
a7663f4ba1
Merge pull request #7476
...
81a4de1 dependencies in openSUSE (cabelo)
2021-03-29 22:40:18 -04:00
luigi1111
08f6d0e185
Merge pull request #7439
...
0f2b5af Reduced executable size; reduced call sequence to 'allowed' log function (Lee Clagett)
2021-03-29 22:39:31 -04:00
luigi1111
0f2eea0a08
Merge pull request #7435
...
1ac7134 Mac: Enable on ARM, by not enforcing x86_64 (mj-xmr)
2021-03-29 22:38:16 -04:00
luigi1111
e1d987aa66
Merge pull request #7430
...
064eeb2 wallet_rpc_server: set seed language in generate_from_keys (moneromooo-monero)
2021-03-29 22:37:19 -04:00
luigi1111
07dc1a8db3
Merge pull request #7636
...
18c7f9c depends: openssl 1.1.1i -> 1.1.1k (selsta)
2021-03-29 21:59:36 -04:00
luigi1111
a5e122bebd
Merge pull request #7632
...
2d1fa5e cmake: Don't default to -march=native on OpenBSD (Nathan Dorfman)
2021-03-29 21:59:12 -04:00
luigi1111
0b0bcbad95
Merge pull request #7622
...
ab5f0ec ITS#9500 fix regression from ITS#8662 (Howard Chu)
2021-03-29 21:56:40 -04:00
luigi1111
b12e195fba
Merge pull request #7620
...
fe63256 cryptonote_protocol_handler: fix race condition (anon)
ded2f3a cryptonote_protocol_handler: add race condition demo (anon)
2021-03-29 21:55:11 -04:00
luigi1111
570e9b9a07
Merge pull request #7549
...
fa54d25 Doc: add only the required boost libraries instead of all of them (mj-xmr)
2021-03-29 21:51:42 -04:00
luigi1111
1a8b6ba8c0
Merge pull request #7542
...
7c4e4c7 wallet_api: add isDeterministic() (tobtoht)
2021-03-29 21:50:53 -04:00
luigi1111
0607a10696
Merge pull request #7538
...
1851f26 wallet_api: add seed_offset param to seed() (tobtoht)
2021-03-29 21:47:40 -04:00
luigi1111
adcd7b05ac
Merge pull request #7520
...
c24f185 README: step by step detail for rpi setup commands (moneromooo-monero)
2021-03-29 21:47:08 -04:00
luigi1111
a2b046dafc
Merge pull request #7460
...
2935a0c async_protocol_handler_config: fix deadlock (anon)
c877705 async_protocol_handler_config: add deadlock demo (anon)
2021-03-29 21:46:29 -04:00
luigi1111
247db4e304
Merge pull request #7373
...
86263b3 Honor LARGE_PAGES flag in randomx umask (Howard Chu)
2021-03-29 21:41:56 -04:00
luigi1111
2cb31c42a8
Merge pull request #7391
...
7b51547 gpg_keys: add anon (anon)
2021-03-29 21:21:38 -04:00
luigi1111
aa8c156e1d
Merge pull request #7396
...
c836dc1 [CI] Use Python3 for funcional tests, instead of Python2 (mj-xmr)
2021-03-29 21:18:25 -04:00
luigi1111
ac091fb539
Merge pull request #7358
...
f346e3e wallet_rpc_payments: implement multithreading (gdmojo)
2021-03-29 21:10:48 -04:00
luigi1111
c2bc829cca
Merge pull request #7326
...
cf266d6 bootstrap_daemon: proxy configuration support (xiphon)
2021-03-29 21:08:36 -04:00
luigi1111
8c8197463f
Merge pull request #7310
...
76fe73b Revert 'fix accessing an network address in a deleted context' (selsta)
2021-03-29 21:08:03 -04:00
luigi1111
1cd1206332
Merge pull request #7238
...
aa3e89a p2p: fix set_peer_just_seen ignoring last_seen (moneromooo)
2021-03-29 21:06:03 -04:00
luigi1111
cf1a95b67d
Merge pull request #7088
...
386ef03 Add TLSA support to DNSSEC fetching (Lee Clagett)
2021-03-29 21:05:00 -04:00
moneromooo-monero
a16328e853
easylogging++: in place log sanitization
...
saves an object ctor/dtor per log
2021-03-29 22:26:46 +00:00
mj-xmr
673c6d2d11
Reduce compilation time of epee/portable_storage_template_helper.h
2021-03-28 15:41:48 +02:00
mj-xmr
53683d7f90
Warnings: fix ut/levin.cpp missing braces
2021-03-27 09:26:44 +01:00
selsta
18c7f9c446
depends: openssl 1.1.1i -> 1.1.1k
2021-03-25 21:38:57 +01:00
moneromooo-monero
447bfae2a4
wallet2: fix unlocked mixup in light wallet mode
2021-03-25 09:33:40 +00:00
moneromooo-monero
5a2edea16b
db_lmdb: catch exceptions testing for mmap support
...
Turns out at least one arch (armel based) does not have unique_path
implemented and throws
2021-03-25 09:24:45 +00:00
Nathan Dorfman
2d1fa5e0ba
cmake: Don't default to -march=native on OpenBSD
2021-03-24 16:43:15 -06:00
moneromooo-monero
f6e2636493
blockchain_db: harden code against invalid input types
...
If an invalid input type were to get to this, the code could
remove key images that might be present already in the chain,
which could allow a double spend, even if this is impossible
with the current code.
Reported by KeyboardWarrior.
2021-03-24 21:43:57 +00:00
Howard Chu
ab5f0ec37a
ITS#9500 fix regression from ITS#8662
...
mdb_load -a patch broke overwriting with MDB_CURRENT
2021-03-23 20:51:19 +00:00
luigi1111
dcba757dd2
Merge pull request #7619
...
2a20434 Fix monerod --rpc-ssl disabled (Lee Clagett)
2021-03-22 20:19:32 -04:00
luigi1111
8e139db454
Merge pull request #7618
...
3bd3a44 python-rpc: add function for new scan_tx RPC (moneromooo-monero)
2021-03-22 20:18:29 -04:00
anon
fe632560f4
cryptonote_protocol_handler: fix race condition
2021-03-22 19:42:46 +00:00
anon
ded2f3aa85
cryptonote_protocol_handler: add race condition demo
2021-03-22 19:42:46 +00:00
moneromooo-monero
3bd3a44aac
python-rpc: add function for new scan_tx RPC
2021-03-20 17:40:46 +00:00
mj-xmr
c836dc11c9
[CI] Use Python3 for funcional tests, instead of Python2
2021-03-20 10:30:57 +01:00
luigi1111
5b8d714a4b
Merge pull request #7422
...
d46d90c return output key for incoming transfers (benevanoff)
2021-03-20 01:57:44 -04:00
luigi1111
42987f93f4
Merge pull request #7418
...
68f1ca6 trezor: simplify recognition of integrated addresses (Dusan Klinec)
2021-03-20 01:53:03 -04:00
luigi1111
23e281716f
Merge pull request #7417
...
bf86e95 added link to moneropedia to pruning in README.md (Luxter77)
b3238a8 Update size figures on the pruning section of README.md (Luxter77)
cf96615 Make pruning section more consistent in README.md (Luxter77)
2021-03-20 01:52:03 -04:00
luigi1111
53f3961259
Merge pull request #7413
...
1fbb33c cmake: fix ccache detection (anon)
2021-03-20 01:49:07 -04:00
luigi1111
e04e208141
Merge pull request #7412
...
6477b47 wallet_rpc: add scan_tx (tobtoht)
2021-03-20 01:47:44 -04:00
luigi1111
f2f33f6230
Merge pull request #7402
...
240d382 Epee: add headers to project files (via glob), to be able to search for them easily. (mj-xmr)
2021-03-20 01:46:34 -04:00
luigi1111
1707cab1a4
Merge pull request #7401
...
b5209a0 functional_tests: hide check_missing_rpc_methods behind requests check (moneromooo-monero)
2021-03-20 01:44:52 -04:00
luigi1111
43402e167a
Merge pull request #7400
...
035e474 README: update libzmq minimum version to 4.2.0 for zmq_send_const (moneromooo-monero)
2021-03-20 01:44:21 -04:00
luigi1111
6776b70140
Merge pull request #7398
...
5984277 python-rpc: adapt urlparse for python3 (moneromooo-monero)
2021-03-20 01:43:50 -04:00
luigi1111
4a7b729025
Merge pull request #7394
...
b900fa0 Fix compiler warning for in keyvalue_serialization.h (mj-xmr)
2021-03-20 01:43:13 -04:00
luigi1111
e2a3f5cadd
Merge pull request #7368
...
dc66115 Formatted markdown in readme.md (Timo Sarkar)
2021-03-20 01:39:02 -04:00
luigi1111
602926fe9d
Merge pull request #7366
...
9867a91 Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
2021-03-20 01:38:03 -04:00
luigi1111
6e1b3d1e0b
Merge pull request #7274
...
daf023d epee: don't log raw packet data (moneromooo-monero)
2021-03-20 01:35:51 -04:00
luigi1111
7bf89dcbd3
Merge pull request #7005
...
249eae5 Allow byte_stream->byte_slice conversion to shrink unused buffer space (Lee Clagett)
2021-03-20 01:35:13 -04:00
luigi1111
8d7c1135b8
Merge pull request #6810
...
19b2283 New add_aux_pow RPC to support merge mining (moneromooo-monero)
2021-03-20 01:33:10 -04:00
moneromooo-monero
71741a1ed6
blockchain_import: fix wrong reported block/tx hashes on error
2021-03-19 11:04:24 +00:00
moneromooo-monero
254a1338ad
core: speed up print_coinbase_tx_sum
...
It only needs to parse the tx headers, not the full tx data
2021-03-18 11:16:08 +00:00
anon
1fbb33c18b
cmake: fix ccache detection
2021-03-16 13:41:15 +00:00
mj-xmr
fa54d25fb2
Doc: add only the required boost libraries instead of all of them
2021-03-13 12:10:58 +01:00
tobtoht
7c4e4c7603
wallet_api: add isDeterministic()
2021-03-12 23:43:58 +01:00
tobtoht
1851f2645a
wallet_api: add seed_offset param to seed()
2021-03-12 19:45:29 +01:00
anon
2935a0c479
async_protocol_handler_config: fix deadlock
2021-03-12 11:59:06 +00:00
anon
c877705a53
async_protocol_handler_config: add deadlock demo
2021-03-12 11:59:06 +00:00
moneromooo-monero
c24f185196
README: step by step detail for rpi setup commands
2021-03-11 18:28:01 +00:00
mj-xmr
430b7586f6
Warnings: add warnings as errors: 'switch' & 'return-type'
2021-03-10 17:41:55 +01:00
cabelo
81a4de1883
dependencies in openSUSE
2021-03-07 20:04:16 -03:00
mj-xmr
1ac7134832
Mac: Enable on ARM, by not enforcing x86_64
2021-03-07 07:42:27 +01:00
moneromooo-monero
064eeb2861
wallet_rpc_server: set seed language in generate_from_keys
...
Also sanity check language name
2021-03-06 10:26:15 +00:00
moneromooo-monero
f9b5b521e8
fix serialization being different on mac
...
On Mac, size_t is a distinct type from uint64_t, and some
types (in wallet cache as well as cold/hot wallet transfer
data) use pairs/containers with size_t as fields. Mac would
save those as full size, while other platforms would save
them as varints. Might apply to other platforms where the
types are distinct.
There's a nasty hack for backward compatibility, which can
go after a couple forks.
2021-03-05 23:42:33 +00:00
luigi1111
0b6bfb1fd8
Merge pull request #7399
...
556af11 epee: return HTTP error 400 (Bad request) on deserialization error (moneromooo-monero)
2021-03-05 13:56:54 -05:00
luigi1111
c20e44df4e
Merge pull request #7389
...
80125a2 async_protocol_handler_config: remove connection correctly (anon)
1b51d39 async_protocol_handler_config: add segfault demo (anon)
2021-03-05 13:54:45 -05:00
luigi1111
e01894672b
Merge pull request #7335
...
8d03bb6 device_trezor: add redundant check (anon)
34f9428 device_trezor: wipe string fields properly (anon)
2021-03-05 13:52:01 -05:00
luigi1111
1cac8e92fa
Merge pull request #7270
...
e767561 cmake: Use CMAKE_COMMAND. (Daniel Wyatt)
2021-03-05 13:49:31 -05:00
benevanoff
d46d90c436
return output key for incoming transfers
2021-03-04 11:09:15 -06:00
Luxter77
bf86e9527f
added link to moneropedia to pruning in README.md
2021-03-04 09:52:30 -03:00
Luxter77
b3238a884d
Update size figures on the pruning section of README.md
2021-03-04 09:49:10 -03:00
Dusan Klinec
68f1ca65e6
trezor: simplify recognition of integrated addresses
...
now it is possible to simplify integrated addresses recognition using transaction destination info directly
fixes https://github.com/monero-project/monero-gui/issues/3346
2021-03-03 14:51:04 +01:00
Lucas Daniel Velazquez M
cf9661509e
Make pruning section more consistent in README.md
...
use syntax highlighting on commands and command line arguments
2021-03-02 15:11:40 -03:00
tobtoht
6477b47ac7
wallet_rpc: add scan_tx
2021-03-01 23:02:43 +01:00
mj-xmr
240d382db4
Epee: add headers to project files (via glob), to be able to search for them easily.
...
Use case: IDEs
2021-02-25 20:16:02 +01:00
moneromooo-monero
b5209a09d2
functional_tests: hide check_missing_rpc_methods behind requests check
2021-02-23 20:10:03 +00:00
moneromooo-monero
035e474912
README: update libzmq minimum version to 4.2.0 for zmq_send_const
2021-02-23 19:47:57 +00:00
moneromooo-monero
556af11d3b
epee: return HTTP error 400 (Bad request) on deserialization error
...
It's better than 404 (Not found)
2021-02-23 18:55:08 +00:00
moneromooo-monero
5984277fe3
python-rpc: adapt urlparse for python3
2021-02-23 11:43:22 +00:00
mj-xmr
b900fa03c1
Fix compiler warning for in keyvalue_serialization.h
2021-02-21 18:35:06 +01:00
gdmojo
f346e3ec0e
wallet_rpc_payments: implement multithreading
2021-02-20 18:23:06 +00:00
anon
7b51547815
gpg_keys: add anon
2021-02-19 23:07:19 +00:00
anon
80125a2f77
async_protocol_handler_config: remove connection correctly
2021-02-19 22:27:29 +00:00
anon
1b51d398fb
async_protocol_handler_config: add segfault demo
2021-02-19 22:27:28 +00:00
luigi1111
b8f3e44a3f
Merge pull request #7381
...
21566fe [CI] Add ccache to Windows build (mj-xmr)
2021-02-18 14:12:28 -05:00
luigi1111
1614be4a41
Merge pull request #7371
...
1aecdcf Increase timeout for the mining test 4 times (to 240s) (mj-xmr)
2021-02-18 14:11:55 -05:00
luigi1111
1b11820187
Merge pull request #7361
...
935bfaa ITS#9007 don't free loose writemap pages (Kris Zyp)
2021-02-18 14:08:20 -05:00
luigi1111
6556c33f13
Merge pull request #7355
...
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9 Removing unused namespace alias (Lee Clagett)
2021-02-18 14:06:47 -05:00
luigi1111
906a62c6b2
Merge pull request #7352
...
a60d3d8 unit_tests: fix wipeable_string parse_hexstr test with latest gtest (xiphon)
2021-02-18 14:05:58 -05:00
luigi1111
8cb63658f0
Merge pull request #7351
...
1957b5a Dockerfile: bump openssl version to 1.1.1i (erciccione)
2021-02-18 14:05:25 -05:00
luigi1111
ce5800a225
Merge pull request #7346
...
85db173 Remove unused variables in monero codebase (Kevin Barbour)
2021-02-18 14:03:31 -05:00
luigi1111
33004ded62
Merge pull request #7343
...
545b982 Remove unnecessary atomic operations in levin code (Lee Clagett)
2021-02-18 14:02:52 -05:00
luigi1111
0e35d46f5e
Merge pull request #7341
...
b587ffa Stop adding more outputs than bulletproof allows (Alex Opie)
2021-02-18 14:02:13 -05:00
luigi1111
98cb68e5a7
Merge pull request #7340
...
ccd0f2b Simplewallet.cpp: Add export_outputs help (SomaticFanatic)
2021-02-18 14:01:29 -05:00
luigi1111
3f55f7df31
Merge pull request #7312
...
186271e monero-wallet-cli: Added command scan_tx (Horia Mihai David)
2021-02-18 14:00:35 -05:00
luigi1111
22460b6898
Merge pull request #7226
...
c3d2e21 [CI] MacOSX ccache: Proper ccache directory used of /Users/runner/Library/Caches/ccache (mj-xmr)
2021-02-18 13:58:40 -05:00
Horia Mihai David
186271e5d1
monero-wallet-cli: Added command scan_tx
...
To implement this feature, the wallet2::scan_tx API was implemented.
2021-02-17 20:25:55 +01:00
mj-xmr
21566fef9b
[CI] Add ccache to Windows build
2021-02-17 14:04:21 +01:00
mj-xmr
c3d2e21269
[CI] MacOSX ccache: Proper ccache directory used of /Users/runner/Library/Caches/ccache
2021-02-17 13:42:46 +01:00
luigi1111
b731f7dca2
Merge pull request #7339
...
45981af docs: Remove outdated bits about anonymity network seed nodes (Nathan Dorfman)
2021-02-16 11:46:22 -05:00
luigi1111
233f368e46
Merge pull request #7331
...
740c369 Updated copyright date in README.md (Joseph Richardson)
2021-02-16 11:44:21 -05:00
luigi1111
ff5da7111c
Merge pull request #7325
...
c26cca6 console: fix syntax for python3 (moneromooo-monero)
2021-02-16 11:43:02 -05:00
luigi1111
3328938d4e
Merge pull request #7319
...
993e9be simplewallet: allow setting --restore-height 0 (selsta)
2021-02-16 11:42:14 -05:00
luigi1111
466e245f26
Merge pull request #7313
...
c66e8d9 build: omit '-pie' linker flag in native non static WIN32 GCC builds (xiphon)
2021-02-16 11:40:40 -05:00
moneromooo-monero
8889f490ce
easylogging++: fix potential memory corruption
...
The m_typedConfigurations pointer is copied from one object to the next,
but deleted in the dtor, leading to potential double free. It is also
deleted first thing in the copy ctor, deleting uninitialized memory.
This does not seem to actually happen in practice (those functions do
not get called), but seems safer that way.
Coverity 1446562
2021-02-16 09:43:18 +00:00
luigi1111
f47651578f
Merge pull request #7311 from selsta/miniupnp
...
miniupnp: set submodule to upstream, disable install
2021-02-15 22:01:01 -05:00
luigi1111
9f6dcbd568
Merge pull request #7308
...
df2f00f boosted_tcp_server: fix connection lifetime (anon)
3833624 boosted_tcp_server: add segfault demo (anon)
2021-02-15 21:53:43 -05:00
luigi1111
2222d90491
Merge pull request #7294
...
f10c9a1 remove obsolete pruning debug code (moneromooo-monero)
2021-02-15 21:51:12 -05:00
luigi1111
bf53f55366
Merge pull request #7288
...
015da03 wallet_rpc_server: don't abort on initial refresh failure (xiphon)
2021-02-15 21:50:34 -05:00
luigi1111
0bbaa9df81
Merge pull request #7275
...
f815740 p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data (moneromooo-monero)
2021-02-15 21:48:48 -05:00
luigi1111
080358ebef
Merge pull request #7273
...
e7f5845 Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
2021-02-15 21:47:55 -05:00
luigi1111
f11e434ae6
Merge pull request #7265
...
bdabcd0 wallet_api: store fee for incoming txs in history (Ben Evanoff)
2021-02-15 21:46:22 -05:00
luigi1111
7c6db2fed1
Merge pull request #7252
...
f208d98 p2p: ignore empty IP from DNS block list (moneromooo-monero)
2021-02-15 21:45:46 -05:00
luigi1111
7439d891bf
Merge pull request #7242
...
021a281 simplewallet: Add input file parameter to sign_transfer (Steff Richards)
2021-02-15 21:44:53 -05:00
luigi1111
ba76a4d26e
Merge pull request #7185
...
50ff106 wallet api: allow wallet to fetch all key images via api (benevanoff)
2021-02-15 21:42:30 -05:00
luigi1111
4c410a1e3a
Merge pull request #7000
...
dc48de7 Reduce compilation time of epee/portable_storage.h (mj-xmr)
2021-02-15 21:39:05 -05:00
luigi1111
4ee301c687
Merge pull request #6986
...
ee58f4f Balance includes unconfirmed payments (woodser)
2021-02-15 21:36:48 -05:00
luigi1111
90df2d7962
Merge pull request #6959
...
4e23107 Doxy - scan whole repo, create subdirs, don't generate LaTeX - mj-xmr (mj-xmr)
2021-02-15 21:34:18 -05:00
luigi1111
c5785c33f0
Merge pull request #6877
...
d643a86 p2p: add --max-connections-per-ip daemon option (moneromooo-monero)
2021-02-15 21:32:34 -05:00
moneromooo-monero
d643a865f3
p2p: add --max-connections-per-ip daemon option
...
Helps daemons behind a proxy get more than one connection.
Defaults to 1 (no change)
2021-02-15 19:08:07 +00:00
moneromooo-monero
494f2e1c21
rpc: fix some error return codes/status
...
Some RPC return an error string in status, and the code must return
true on error (with a status string).
2021-02-15 12:27:19 +00:00
luigi1111
c41e087d46
Merge pull request #6900
...
aaa3289 add more updates domains and make the voting generic, not just 2/3 (moneromooo-monero)
2021-02-14 18:58:37 -05:00
Lee Clagett
9867a913dc
Store RPC SSL key/cert for consistent authentication between runs
2021-02-13 20:26:26 +00:00
Howard Chu
86263b386c
Honor LARGE_PAGES flag in randomx umask
2021-02-11 14:42:49 +00:00
mj-xmr
1aecdcf536
Increase timeout for the mining test 4 times (to 240s)
2021-02-11 13:42:43 +01:00
Timo Sarkar
dc661152c1
Formatted markdown in readme.md
2021-02-10 17:34:40 +01:00
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining
2021-02-09 11:58:21 +00:00
Kevin Barbour
85db1734e7
Remove unused variables in monero codebase
...
There are quite a few variables in the code that are no longer
(or perhaps never were) in use. These were discovered by enabling
compiler warnings for unused variables and cleaning them up.
In most cases where the unused variables were the result
of a function call the call was left but the variable
assignment removed, unless it was obvious that it was
a simple getter with no side effects.
2021-02-09 08:05:05 +01:00
mj-xmr
dc48de74e8
Reduce compilation time of epee/portable_storage.h
2021-02-06 08:18:42 +01:00
Kris Zyp
935bfaa913
ITS#9007 don't free loose writemap pages
...
Broken in ITS#8756
2021-02-01 16:09:08 +00:00
Lee Clagett
bd129849f0
Remove copies from foreach loops (thanks to Clang)
2021-01-28 23:42:40 -05:00
Lee Clagett
1572df9e26
Removing unused namespace alias
2021-01-28 23:40:57 -05:00
Lee Clagett
2a20434705
Fix monerod --rpc-ssl disabled
2021-01-28 17:53:47 +00:00
xiphon
a60d3d8ff7
unit_tests: fix wipeable_string parse_hexstr test with latest gtest
...
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973196
2021-01-27 13:04:08 +00:00
erciccione
1957b5a8ef
Dockerfile: bump openssl version to 1.1.1i
2021-01-26 11:27:08 +00:00
Alex Opie
520ce1ca81
Attempt to carve the fee from a partial payment early
...
Do this for both the estimate and actual fee.
#7337
2021-01-25 12:01:27 +13:00
Alex Opie
b587ffa1fd
Stop adding more outputs than bulletproof allows
...
If more outputs are requested, they are split across
multiple transactions.
#7322
2021-01-25 10:01:38 +13:00
Lee Clagett
08e4497c6e
Improve cryptonote (block and tx) binary read performance
2021-01-23 06:23:39 +00:00
SomaticFanatic
ccd0f2bdc2
Simplewallet.cpp: Add export_outputs help
...
See #6547
2021-01-21 18:39:43 -05:00
Nathan Dorfman
45981af10f
docs: Remove outdated bits about anonymity network seed nodes
2021-01-21 13:59:17 -07:00
xiphon
cf266d66dd
bootstrap_daemon: proxy configuration support
2021-01-21 13:45:44 +00:00
anon
8d03bb688e
device_trezor: add redundant check
2021-01-20 22:06:51 +01:00
anon
34f942867f
device_trezor: wipe string fields properly
2021-01-20 22:06:51 +01:00
Joseph Richardson
740c369ba6
Updated copyright date in README.md
...
2020 -> 2021
2021-01-20 09:51:57 -05:00
anon
df2f00f44d
boosted_tcp_server: fix connection lifetime
2021-01-19 18:15:30 +01:00
anon
3833624ab1
boosted_tcp_server: add segfault demo
2021-01-19 18:15:30 +01:00
Lee Clagett
545b9825d6
Remove unnecessary atomic operations in levin code
2021-01-19 04:44:03 +00:00
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
2021-01-19 02:22:32 +00:00
moneromooo-monero
c26cca6f14
console: fix syntax for python3
2021-01-18 22:23:34 +00:00
Lee Clagett
0f2b5af0dd
Reduced executable size; reduced call sequence to "allowed" log function
2021-01-16 22:55:41 +00:00
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
2021-01-16 22:53:28 +00:00
xiphon
c66e8d92e4
build: omit '-pie' linker flag in native non static WIN32 GCC builds
2021-01-16 19:28:05 +00:00
luigi1111
cb70ae9450
Merge pull request #7260
...
c5c278c p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
2021-01-15 23:52:05 -05:00
luigi1111
7908f848a3
Merge pull request #7245
...
41dfa96 Split fuzz tests during fuzz build (Nym Seddon)
2021-01-15 23:51:23 -05:00
luigi1111
8cb9f3cd80
Merge pull request #7240
...
46cc4a2 Header row for peer list in sync_info (Denis Goddard)
2021-01-15 23:50:28 -05:00
luigi1111
1f3f07d0e7
Merge pull request #7236
...
ab5e185 protocol: fix wrong command in logs (moneromooo-monero)
2021-01-15 23:49:34 -05:00
luigi1111
cc297da0ee
Merge pull request #7204
...
10448eb Update repo copyright year to 2021 (Suriyaa Sundararuban)
2021-01-15 23:48:37 -05:00
luigi1111
cb21ec30a4
Merge pull request #7149
...
0660db3 fuzz_tests: add a test for utf8canonical (moneromooo-monero)
2021-01-15 23:47:49 -05:00
luigi1111
218981eba1
Merge pull request #7137
...
f2ad539 readline_buffer: Avoid consecutive duplicates in the history (codesoap)
2021-01-15 23:46:14 -05:00
luigi1111
d259ed0740
Merge pull request #7119
...
dd5e689 protocol: add calls to reserve where appropriate (moneromooo-monero)
2021-01-15 23:45:25 -05:00
luigi1111
d01f31460e
Merge pull request #7113
...
7f30c49 simplewallet: don't complain about connecting to the daemon when offline (moneromooo-monero)
2021-01-15 23:44:32 -05:00
luigi1111
5c497ed22f
Merge pull request #7112
...
47590fc rpc: report target height as 0 when synced (moneromooo-monero)
2021-01-15 23:43:46 -05:00
luigi1111
01613bd07e
Merge pull request #6989
...
a2bd6de Clang IWYU header checker script (mj-xmr)
2021-01-15 23:42:52 -05:00
luigi1111
55b006ff9b
Merge pull request #6975
...
700d4e9 Run Valgrind checks for any binary in a list (mj-xmr)
2021-01-15 23:41:51 -05:00
selsta
993e9be669
simplewallet: allow setting --restore-height 0
2021-01-13 12:36:58 +01:00
selsta
576bb88628
miniupnp: set submodule to upstream, disable install
2021-01-12 17:14:58 +01:00
selsta
76fe73b8bd
Revert "fix accessing an network address in a deleted context"
...
This reverts commit 4e74385a1a .
2021-01-12 12:18:23 +01:00
moneromooo-monero
f10c9a16c4
remove obsolete pruning debug code
2021-01-08 15:41:59 +00:00
Alexander Blair
964ad0e51a
Merge pull request #7286
...
372754a66 storages: overridable limits for loading portable_storage from binary (moneromooo-monero)
2021-01-07 17:54:19 -08:00
Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc Command max_bytes moved from dynamic map to static switch (Lee Clagett)
2021-01-07 17:54:02 -08:00
moneromooo-monero
372754a66e
storages: overridable limits for loading portable_storage from binary
2021-01-07 20:24:29 +00:00
mj-xmr
700d4e9388
Run Valgrind checks for any binary in a list
2021-01-07 14:40:07 +01:00
xiphon
015da03a6f
wallet_rpc_server: don't abort on initial refresh failure
2021-01-07 13:38:15 +00:00
luigi1111
e144dd5b15
Merge pull request #7281
...
b9092dd epee: also limit number of strings in portable_storage (moneromooo-monero)
2021-01-06 21:11:09 -05:00
luigi1111
e3acd3e6ba
Merge pull request #7278
...
187b4d7 Restrict duplicate keys in epee binary format (Lee Clagett)
2021-01-06 21:10:30 -05:00
luigi1111
69e4a2c62d
Merge pull request #7266
...
38a6e6e protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
2021-01-06 21:09:03 -05:00
moneromooo-monero
b9092ddb5c
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
2021-01-05 17:54:25 +00:00
moneromooo-monero
f815740403
p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data
...
removes a back and forth on connect, and the RPC can be removed
once all peers have updated
2021-01-04 13:33:34 +00:00
Alexander Blair
dbaf95ac77
Merge pull request #7271
...
4e74385a1 fix accessing an network address in a deleted context (moneromooo-monero)
2021-01-03 18:24:50 -08:00
Alexander Blair
71f7d4e71e
Merge pull request #7268
...
1e27f7101 blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
2021-01-03 18:24:22 -08:00
Alexander Blair
7264d64856
Merge pull request #7263
...
b652d598d add a max levin packet size by command type (moneromooo-monero)
2021-01-03 18:23:57 -08:00
Alexander Blair
03cdcd3909
Merge pull request #7261
...
5cd6fda1e portable_storage: better sanity checking (moneromooo-monero)
2021-01-03 18:23:31 -08:00
moneromooo-monero
daf023de6e
epee: don't log raw packet data
2021-01-03 14:41:01 +00:00
moneromooo-monero
b652d598d1
add a max levin packet size by command type
2021-01-03 14:07:45 +00:00
moneromooo-monero
4e74385a1a
fix accessing an network address in a deleted context
...
Both drop_connection and add_host_fail can drop the connection,
which invalidates the context, and thus the address it contains.
Thanks to wfaressuissia[m] for lots of help and prodding when
debugging this
2021-01-03 13:04:55 +00:00
rbrunner7
e7f5845ce8
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
2021-01-03 11:04:53 +01:00
Daniel Wyatt
e767561ab8
cmake: Use CMAKE_COMMAND.
...
The cmake executable name can vary across platforms.
2021-01-02 18:19:58 -05:00
moneromooo-monero
1e27f7101e
blockchain: lock access to m_blocks_hash_of_hashes
...
it is accessed both when adding and when prevalidating a set
of new hashes from a peer
2021-01-02 22:19:54 +00:00
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet
2021-01-02 22:10:31 +00:00
Ben Evanoff
bdabcd01b7
wallet_api: store fee for incoming txs in history
2021-01-02 13:56:57 -06:00
moneromooo-monero
5cd6fda1ee
portable_storage: better sanity checking
2021-01-02 12:34:28 +00:00
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6 Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
2021-01-01 22:35:59 -08:00
Alexander Blair
3bf0721ae6
Merge pull request #7246
...
0aa541b36 protocol: more sanity checks in new chain block hashes (moneromooo-monero)
2021-01-01 22:33:27 -08:00
Alexander Blair
175aa2497a
Merge pull request #7243
...
8e2caf3fb portable_storage: check object limit where appropriate (moneromooo)
2021-01-01 22:32:53 -08:00
Alexander Blair
2d60232355
Merge pull request #7237
...
656b2f7ce p2p: fix deadlock banning while updating peer lists (moneromooo)
2021-01-01 22:32:34 -08:00
Alexander Blair
de8b27d8c2
Merge pull request #7234
...
31c69923b protocol: don't reset last request time on an idle timer (moneromooo-monero)
2021-01-01 22:31:03 -08:00
Alexander Blair
5917aec4a1
Merge pull request #7220
...
20bdbd7aa portable_storage: forbid unnamed sections (xiphon)
2021-01-01 22:28:21 -08:00
moneromooo-monero
c5c278c339
p2p: only log to global when a blocked IP is not already blocked
2021-01-01 19:54:51 +00:00
moneromooo
1d1c430b1f
p2p: fix cubic selection in filtered peer list
...
Integer quantization biased the picks a lot (leading some indices
to never be selected)
2021-01-01 15:44:36 +00:00
moneromooo-monero
f208d98492
p2p: ignore empty IP from DNS block list
...
ie, if the list ends in ;
2021-01-01 12:30:45 +00:00
Nym Seddon
41dfa96e5a
Split fuzz tests during fuzz build
...
Only build fuzz tests in a fuzz build, and don't build other tests.
Keeps fuzz compilers from instrumenting other tests, which are not fuzzed.
Resolves #7232
2021-01-01 09:09:28 +00:00
Denis Goddard
46cc4a253b
Header row for peer list in sync_info
2020-12-31 20:09:35 -05:00
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
2020-12-31 23:33:18 +00:00
moneromooo
8e2caf3fb4
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
2020-12-31 22:35:17 +00:00
Steff Richards
021a28137d
simplewallet: Add input file parameter to sign_transfer
2020-12-31 16:54:01 +01:00
moneromooo
aa3e89a2ba
p2p: fix set_peer_just_seen ignoring last_seen
2020-12-31 03:10:10 +00:00
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists
2020-12-31 03:09:37 +00:00
moneromooo-monero
ab5e185140
protocol: fix wrong command in logs
...
this is not a levin packet, this is just its payload
2020-12-30 21:08:28 +00:00
moneromooo-monero
31c69923ba
protocol: don't reset last request time on an idle timer
...
this prevents losing time of "idle time" for a peer, which could
otherwise be reset by another timed sync command from the peer
2020-12-30 14:22:10 +00:00
Alexander Blair
a1eca8ca7e
Merge pull request #7221
...
1eb14af1a rpc: limit the number of txes for get_blocks.bin (moneromooo-monero)
2020-12-29 10:44:25 -08:00
Alexander Blair
88b7bc394e
Merge pull request #7218
...
353f93ee1 portable_storage: remove array element limit (moneromooo-monero)
2020-12-29 10:44:05 -08:00
Alexander Blair
d4636a9258
Merge pull request #7207
...
f7ab8bc6d ssl: buffered handshake detection (anon)
2020-12-29 10:43:50 -08:00
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
2020-12-29 04:31:58 +00:00
xiphon
20bdbd7aab
portable_storage: forbid unnamed sections
2020-12-28 23:51:25 +00:00
moneromooo-monero
353f93ee1a
portable_storage: remove array element limit
...
some people don't want it
2020-12-28 21:04:58 +00:00
Alexander Blair
2bccbeecb3
Merge pull request #7205
...
bcdc6c62b protocol: fix false positives dropping peers (moneromooo-monero)
2020-12-28 11:39:01 -08:00
Alexander Blair
b880860378
Merge pull request #7202
...
bc97eb8a3 portable_storage: remove overly aggressive cutoff (moneromooo-monero)
2020-12-28 11:38:46 -08:00
Alexander Blair
faaec08fa4
Merge pull request #7196
...
4310780c0 cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
2020-12-28 11:38:07 -08:00
anon
f7ab8bc6d4
ssl: buffered handshake detection
2020-12-28 14:25:37 +01:00
mj-xmr
a2bd6deb12
Clang IWYU header checker script
...
Run with utils/health/clang-include-what-you-use-run.sh
2020-12-28 09:01:24 +01:00
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
2020-12-27 14:41:19 +00:00
Suriyaa Sundararuban
10448eba37
Update repo copyright year to 2021
2020-12-27 14:41:34 +01:00
moneromooo-monero
bc97eb8a33
portable_storage: remove overly aggressive cutoff
2020-12-27 12:44:38 +00:00
Alexander Blair
b2221881a1
Merge pull request #7199
...
025db3d2b Revert "Reject existing claimed blocks in sync mode" (luigi1111)
2020-12-26 21:25:18 -08:00
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
2020-12-27 00:18:05 -05:00
moneromooo-monero
4310780c08
cryptonote_basic: guess what got lost porting patches to branches again
2020-12-26 23:43:59 +00:00
Alexander Blair
7438617bbf
Merge pull request #7192
...
95575cda6 epee: fix some issues using connections after shutdown (moneromooo-monero)
2020-12-26 13:44:10 -08:00
Alexander Blair
bc9fce0d32
Merge pull request #7190
...
7f407c027 portable_storage: add some sanity checks on data size (moneromooo-monero)
2020-12-26 13:43:48 -08:00
Alexander Blair
fe282b1b3a
Merge pull request #7182
...
5ef43355f edited readme version table to include v0.17.1.7 (Gingeropolous)
2020-12-26 13:43:22 -08:00
Alexander Blair
d61fdebaac
Merge pull request #7188
...
efe83982d protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
2020-12-26 13:43:13 -08:00
Alexander Blair
5402121323
Merge pull request #7180
...
56748e1d7 ban lists may now include subnets (moneromooo-monero)
2020-12-26 13:42:37 -08:00
Alexander Blair
d06bae56b3
Merge pull request #7173
...
d2fda6c25 restrict public node checks a little (moneromooo-monero)
2020-12-26 13:41:42 -08:00
Alexander Blair
635ea3df2e
Merge pull request #7172
...
e80f8d7ad apt update before installing (mj-xmr)
2020-12-26 13:41:22 -08:00
Alexander Blair
609dbe6b92
Merge pull request #7154
...
cf7e1571d protocol: reject claimed block hashes that already are in the chain (moneromooo-monero)
af0a25544 protocol: drop peers we can't download anything from in sync mode (moneromooo-monero)
2020-12-26 13:40:36 -08:00
Alexander Blair
cb712bf4f8
Merge pull request #7145
...
68637bca3 p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
2020-12-26 13:40:19 -08:00
Alexander Blair
69ed0e0001
Merge pull request #7138
...
e9abfea16 Optional DNS based blocklist (moneromooo-monero)
2020-12-26 13:38:50 -08:00
Alexander Blair
f191e0a00d
Merge pull request #7099
...
9d2bb586a Add command to sign freebsd assert file for gitian (MoneroArbo)
2020-12-26 13:38:31 -08:00
Alexander Blair
b9e444da5e
Merge pull request #7098
...
c0c75ac19 Fixed issues found by static analysis (SChernykh)
2020-12-26 13:36:01 -08:00
Alexander Blair
133056f625
Merge pull request #7086
...
14bc5c095 db_lmdb: move spammy "not found in db" message to TRACE (moneromooo-monero)
2020-12-26 13:35:42 -08:00
Alexander Blair
d365f2409a
Merge pull request #6931
...
fbb03ef2a simplewallet: add "address mnew" command (codesoap)
2020-12-26 13:35:24 -08:00
codesoap
fbb03ef2a0
simplewallet: add "address mnew" command
2020-12-26 19:33:11 +01:00
moneromooo-monero
95575cda6e
epee: fix some issues using connections after shutdown
2020-12-26 14:14:55 +00:00
moneromooo-monero
7f407c0274
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
2020-12-26 03:22:59 +00:00
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
2020-12-25 20:30:39 +00:00
benevanoff
50ff1066f5
wallet api: allow wallet to fetch all key images via api
2020-12-25 00:40:50 -06:00
moneromooo-monero
d2fda6c25f
restrict public node checks a little
...
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
2020-12-22 23:39:07 +00:00
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
2020-12-22 20:54:16 +00:00
Gingeropolous
5ef43355f0
edited readme version table to include v0.17.1.7
...
edited readme version table to include v0.17.1.7 as recommended version
2020-12-21 23:53:47 -05:00
moneromooo-monero
56748e1d74
ban lists may now include subnets
2020-12-22 02:12:41 +00:00
mj-xmr
e80f8d7ad8
apt update before installing
2020-12-20 08:27:10 +01:00
Lee Clagett
187b4d7521
Restrict duplicate keys in epee binary format
2020-12-20 03:47:32 +00:00
moneromooo-monero
e9abfea165
Optional DNS based blocklist
...
If enabled, pulls IPs to block on blocklist.moneropulse.*, and
blocks then for 8 days (so IPs dropping from the list will
eventually get unblocked, and DNS failures don't result in
instant clearing of the blocklist).
Enable with --enable-dns-blocklist
2020-12-20 02:09:58 +00:00
luigi1111
3bd6ed94d7
Merge pull request #7151
...
4978f69 Fix byte_stream::put_n (Lee Clagett)
2020-12-19 17:26:13 -06:00
luigi1111
0dac64afb3
Merge pull request #7143
...
58651d1 p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
2020-12-19 17:24:21 -06:00
luigi1111
e0d8af253e
Merge pull request #7141
...
9de3787 daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
2020-12-19 17:22:01 -06:00
luigi1111
7ee37e4b38
Merge pull request #7075
...
f3c0d4f protocol: remove unused (and cunningly uninitialized) field (moneromooo-monero)
8e62362 p2p: ifx getting seed nodes for uncommon cases (moneromooo-monero)
2020-12-19 17:20:29 -06:00
luigi1111
b8e4b69915
Merge pull request #7074
...
9024622 add -framework AppKit for Apple (woodser)
2020-12-19 17:18:53 -06:00
luigi1111
eee0452aa8
Merge pull request #7156
...
5a1ac9c rpc: add a busy_syncing field to get_info (moneromooo-monero)
2020-12-17 14:33:03 -06:00
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
2020-12-17 18:03:11 +00:00
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
2020-12-17 02:54:02 +00:00
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
2020-12-17 00:36:10 +00:00
moneromooo-monero
af0a25544e
protocol: drop peers we can't download anything from in sync mode
...
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
2020-12-16 20:19:52 +00:00
moneromooo-monero
f3c0d4f9df
protocol: remove unused (and cunningly uninitialized) field
2020-12-15 01:32:18 +00:00
moneromooo-monero
8e62362cd3
p2p: ifx getting seed nodes for uncommon cases
...
The code is technically correct, but liable to easily become incorrect with changes
2020-12-15 01:32:15 +00:00
Lee Clagett
4978f69d7a
Fix byte_stream::put_n
2020-12-14 14:45:24 -05:00
moneromooo-monero
0660db3e7a
fuzz_tests: add a test for utf8canonical
2020-12-14 19:40:24 +00:00
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename)
2020-12-14 12:26:23 +00:00
moneromooo-monero
68637bca3f
p2p: remove peers from grey and anchors lists when blocked
2020-12-13 23:27:44 +00:00
moneromooo-monero
58651d16c0
p2p: ignore incoming peer list entries when we have them blocked
2020-12-13 23:14:05 +00:00
codesoap
f2ad539f5f
readline_buffer: Avoid consecutive duplicates in the history
2020-12-13 14:47:07 +01:00
luigi1111
e5decd0cde
Merge pull request #7130
...
543733d protocol: include first new block in chain entry response (moneromooo-monero)
2020-12-12 22:05:02 -06:00
luigi1111
a57c95b2f1
Merge pull request #7127
...
5d1849a protocol: stricter checks on received chain hash list (moneromooo)
2020-12-12 22:03:12 -06:00
luigi1111
66c427e863
Merge pull request #7123
...
62e8ca5 protocol: revert incoming chain height check against local chain (moneromooo-monero)
2020-12-12 22:01:37 -06:00
luigi1111
f5a8a8bfaa
Merge pull request #6495
...
12a422c workflows: add ccache support (selsta)
2020-12-12 21:58:48 -06:00
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response
2020-12-12 01:36:35 +00:00
moneromooo
5d1849a9eb
protocol: stricter checks on received chain hash list
2020-12-11 18:47:40 +00:00
selsta
12a422c093
workflows: add ccache support
2020-12-11 12:39:40 +01:00
moneromooo-monero
62e8ca5eaf
protocol: revert incoming chain height check against local chain
...
We can actually request a chain that's further away from what we
have as we buffer more and more
2020-12-11 02:37:15 +00:00
Alexander Blair
ebdc617408
Merge pull request #7102
...
8ee3ec729 cmake: fix "release" version string on tagged releases (moneromooo-monero)
2020-12-10 17:52:18 -08:00
Alexander Blair
0f67569279
Merge pull request #7121
...
cd7e9769d protocol: one more sanity check on usable data from a peer (moneromooo-monero)
2020-12-10 17:44:54 -08:00
Alexander Blair
bdaadf85dc
Merge pull request #7117
...
5dee031b2 protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
2020-12-10 17:43:41 -08:00
Alexander Blair
bb6d2d4b05
Merge pull request #7114
...
eb77790df protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
2020-12-10 17:42:48 -08:00
Alexander Blair
28e5e42986
Merge pull request #7110
...
d660f22ed protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
2020-12-10 17:41:59 -08:00
Alexander Blair
5b62a6f316
Merge pull request #7106
...
0f34cabb9 protocol: more restrictive checks on chain entry response (moneromooo-monero)
2020-12-10 17:40:46 -08:00
Alexander Blair
3b08836397
Merge pull request #7105
...
178ca2906 travis: remove from repo (selsta)
2020-12-10 17:40:21 -08:00
Alexander Blair
6dafeead33
Merge pull request #7104
...
ed884c20d workflows: shorten name (selsta)
2020-12-10 17:40:02 -08:00
Alexander Blair
72e4805d42
Merge pull request #7103
...
7248420c7 workflows: add depends workflow, upload binaries (selsta)
2020-12-10 17:38:26 -08:00
Alexander Blair
25b596ce21
Merge pull request #7100
...
5b30203fe depends: Update OpenSSL to 1.1.1i (Howard Chu)
2020-12-10 17:36:05 -08:00
Alexander Blair
1e9483a2d5
Merge pull request #7009
...
7414e2bac Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
2020-12-10 17:34:50 -08:00
Alexander Blair
6bddd54f9d
Merge pull request #7003
...
08eb0949f Change to more efficient allocation strategy in byte_stream (Lee Clagett)
2020-12-10 17:33:50 -08:00
Alexander Blair
e9c053eac6
Merge pull request #6977
...
e59134123 Clang-tidy integrated into CMakeLists.txt (mj-xmr)
2020-12-10 17:32:56 -08:00
Alexander Blair
ddf59289d6
Merge pull request #6956
...
9f502108b Add ClangBuildAnalyzer under utils/health for analyzing build times (mj-xmr)
2020-12-10 17:32:13 -08:00
Alexander Blair
49f7e961c0
Merge pull request #6947
...
19d1b3590 add a convenience script to start monero with inbound tor (moneromooo-monero)
2020-12-10 17:31:20 -08:00
moneromooo-monero
cd7e9769d8
protocol: one more sanity check on usable data from a peer
2020-12-10 23:02:06 +00:00
moneromooo-monero
d660f22ed1
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
2020-12-10 21:59:18 +00:00
luigi1111
316dcaa399
Merge pull request #7108
...
19f7757 protocol: fix switchting to adding blocks if noone's adding the next span (moneromooo-monero)
2020-12-10 15:48:04 -06:00
moneromooo-monero
dd5e689533
protocol: add calls to reserve where appropriate
2020-12-10 20:47:35 +00:00
luigi1111
34267f419e
Merge pull request #7082
...
a4e42b2 bump my key expiration date by 2 more years (moneromooo-monero)
2020-12-10 13:41:07 -06:00
moneromooo-monero
5dee031b25
protocol: add a sanity check to the number of block hashes sent
2020-12-10 19:26:12 +00:00
moneromooo-monero
eb77790dfb
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
2020-12-10 18:10:45 +00:00
moneromooo-monero
7f30c49731
simplewallet: don't complain about connecting to the daemon when offline
2020-12-10 17:57:13 +00:00
moneromooo-monero
0f34cabb98
protocol: more restrictive checks on chain entry response
2020-12-10 17:23:50 +00:00
moneromooo-monero
47590fc80b
rpc: report target height as 0 when synced
...
since it only makes sense when syncing, and it confuses people
2020-12-10 17:05:34 +00:00
moneromooo-monero
19f77578e0
protocol: fix switchting to adding blocks if noone's adding the next span
2020-12-10 15:46:48 +00:00
selsta
178ca29065
travis: remove from repo
2020-12-10 05:34:25 +01:00
selsta
7248420c72
workflows: add depends workflow, upload binaries
2020-12-10 05:01:17 +01:00
selsta
ed884c20d3
workflows: shorten name
2020-12-10 04:12:19 +01:00
moneromooo-monero
8ee3ec7296
cmake: fix "release" version string on tagged releases
...
It would not say "release" if we're on a previous tag
2020-12-09 22:18:44 +00:00
Howard Chu
5b30203fe9
depends: Update OpenSSL to 1.1.1i
...
Remove some obsolete patches (they were integrated upstream).
Tweak to work with Android support (they second-guess our CC definition, etc).
2020-12-09 19:21:56 +00:00
MoneroArbo
9d2bb586ad
Add command to sign freebsd assert file for gitian
...
Add FreeBSD to "Signing assert files" section of gitian readme / guide
2020-12-08 16:46:09 -05:00
SChernykh
c0c75ac19d
Fixed issues found by static analysis
...
- rolling_median: tried to free uninitialized pointer in a constructor
- net_node.inl: erase-remove idiom was used incorrectly. remove_if doesn't actually remove elements, see http://cpp.sh/6fcjv
- bulletproofs.cc: call to sizeof() instead of vector.size(), luckily it only impacts performance and not code logic there
2020-12-08 18:43:44 +01:00
mj-xmr
9f502108bf
Add ClangBuildAnalyzer under utils/health for analyzing build times
2020-12-08 08:05:56 +01:00
luigi1111
b7425c14c8
Merge pull request #7072
...
bc7cd78 p2p: drop peers that spam peer lists (moneromooo-monero)
2020-12-07 10:24:30 -06:00
luigi1111
fb73f2b2be
Merge pull request #7070
...
281b42a p2p: fix race condition accessing a deleted context (moneromooo-monero)
2020-12-07 10:23:24 -06:00
luigi1111
3d2a50a5c0
Merge pull request #7055
...
ff7fdf6 protocol: drop peers that don't reply to queries (moneromooo-monero)
89e984d keep only the last seen node on a given host in the white list (moneromooo-monero)
c74d8ff protocol: drop peers that decrease claimed height (moneromooo-monero)
61f5001 protocol: add scoring system to drop peers that don't behave (moneromooo-monero)
2020-12-07 10:07:33 -06:00
moneromooo
ff7fdf6db2
protocol: drop peers that don't reply to queries
2020-12-06 15:57:40 +00:00
moneromooo-monero
281b42a281
p2p: fix race condition accessing a deleted context
2020-12-06 12:40:07 +00:00
moneromooo-monero
14bc5c095c
db_lmdb: move spammy "not found in db" message to TRACE
...
These are functions that check whether a tx is in the db, so whether
it is there or not is really not interesting, and it seems to scare
people from time to time
2020-12-06 01:46:21 +00:00
moneromooo-monero
a4e42b2d4c
bump my key expiration date by 2 more years
2020-12-05 18:19:56 +00:00
moneromooo-monero
bc7cd78870
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
2020-12-05 13:12:58 +00:00
Alexander Blair
7ca4ef0d74
Merge pull request #7068
...
2395e0e67 p2p: add a tor seed node (moneromooo-monero)
2020-12-04 13:28:02 -08:00
Alexander Blair
42aa1a6aca
Merge pull request #7062
...
5ed604fe5 crypto: fix non zero scalar being 0 after reducing (moneromooo-monero)
2020-12-04 13:27:05 -08:00
Alexander Blair
6b8db83149
Merge pull request #7043
...
17c537039 wallet2: check imported multisig curve points are in main subgroup (Crypto City)
2020-12-04 13:25:01 -08:00
Alexander Blair
ce564e7ebf
Merge pull request #7030
...
0363476ee rpc: get_info - add 'synchronized' field (xiphon)
2020-12-04 13:21:36 -08:00
Alexander Blair
1eae7574b5
Merge pull request #7017
...
13350f79d Do not use peer_id tracking method over i2p/tor (Lee Clagett)
2020-12-04 13:21:13 -08:00
woodser
90246223c9
add -framework AppKit for Apple
2020-12-04 11:48:41 -05:00
moneromooo
89e984d93b
keep only the last seen node on a given host in the white list
2020-12-04 01:55:22 +00:00
moneromooo
c74d8ffd63
protocol: drop peers that decrease claimed height
2020-12-04 01:55:22 +00:00
moneromooo
61f5001c3f
protocol: add scoring system to drop peers that don't behave
2020-12-04 01:55:21 +00:00
moneromooo-monero
5ed604fe5b
crypto: fix non zero scalar being 0 after reducing
2020-12-04 01:00:03 +00:00
moneromooo-monero
2395e0e678
p2p: add a tor seed node
2020-12-03 23:45:38 +00:00
Alexander Blair
f83203ecef
Merge pull request #7058
...
89bbb802c wallet2: set propagation timeout to current max timeout (selsta)
2020-12-03 12:19:39 -08:00
Alexander Blair
e78669257e
Merge pull request #7056
...
c64b94bd1 p2p: fix endianness when checking IPv6 addresses mapping to IPv4 (moneromooo-monero)
67f2bec2d p2p: make this work with boost <= 1.65 (pffff) (moneromooo-monero)
ffdf1fb1d p2p: rewrite boost's make_address_v4 to cater for < 1.66 (moneromooo)
2020-12-03 12:19:15 -08:00
Alexander Blair
84bae315f8
Merge pull request #6984
...
7a5e11645 net_node: add tor / i2p seed nodes (selsta)
2020-12-03 12:17:44 -08:00
selsta
89bbb802c0
wallet2: set propagation timeout to current max timeout
2020-12-03 02:18:58 +01:00
moneromooo-monero
c64b94bd14
p2p: fix endianness when checking IPv6 addresses mapping to IPv4
2020-12-03 00:31:32 +00:00
moneromooo-monero
67f2bec2df
p2p: make this work with boost <= 1.65 (pffff)
2020-12-03 00:31:32 +00:00
moneromooo
ffdf1fb1de
p2p: rewrite boost's make_address_v4 to cater for < 1.66
2020-12-03 00:31:29 +00:00
mj-xmr
e591341237
Clang-tidy integrated into CMakeLists.txt
...
Can be called from the source directory with:
utils/health/clang-tidy-run.sh
2020-12-02 20:42:38 +01:00
Alexander Blair
4f401f6fca
Merge pull request #7025
...
b10878f10 Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s (Lee Clagett)
2020-12-01 14:23:49 -08:00
Alexander Blair
976fcb5985
Merge pull request #7024
...
aaf837cf5 rpc: skip non-synced bootstrap daemons in --no-sync mode too (xiphon)
2020-12-01 14:23:21 -08:00
Alexander Blair
f41dce49ac
Merge pull request #6954
...
dff1d8067 Fix tx flush callback queueing (Lee Clagett)
2020-12-01 14:22:16 -08:00
Alexander Blair
7cd0c64210
Merge pull request #6948
...
65903d2cf Add rpc-restricted-bind-ip option (Howard Chu)
2020-12-01 14:21:19 -08:00
Alexander Blair
431ec528bc
Merge pull request #6939
...
6c9980a55 p2p: give all hosts the same chance of being picked for connecting (moneromooo)
2020-12-01 14:20:02 -08:00
Alexander Blair
003a06f030
Merge pull request #6923
...
cc034fe0c util: fix escaping more than one ?* in glob_to_regex (moneromooo-monero)
2020-12-01 14:19:21 -08:00
Alexander Blair
d8f9472356
Merge pull request #6910
...
b7dd8349f Allow setting start block on export (Howard Chu)
2020-12-01 14:18:44 -08:00
Alexander Blair
438442ace0
Merge pull request #6890
...
ec14e4b8c wallet2: skip reorgs exceeding max-reorg-depth wallet setting (xiphon)
2020-12-01 14:18:22 -08:00
moneromooo
6c9980a55b
p2p: give all hosts the same chance of being picked for connecting
...
even if some run more than one node
2020-11-29 15:55:58 +00:00
selsta
7a5e11645f
net_node: add tor / i2p seed nodes
...
Co-authored-by: Lee Clagett <code@leeclagett.com >
2020-11-29 13:49:03 +01:00
luigi1111
850edfe419
Merge pull request #7021
...
d73cb95 Fix timeout checks for forwarded and Dandelion++ stem txes (Lee Clagett)
2020-11-29 01:59:35 -06:00
luigi1111
cf816e51ad
Merge pull request #7020
...
2c66894 wallet_api: TransactionHistory - fill unconfirmed out payments dests (xiphon)
2020-11-29 01:58:56 -06:00
luigi1111
36d31ba0be
Merge pull request #7018
...
a9cd5d9 cryptonote_core: dandelion - use local height or median height if syncing (xiphon)
2020-11-29 01:58:13 -06:00
luigi1111
ad843541d5
Merge pull request #7008
...
3247f11 Silence stupid warnings (Howard Chu)
2020-11-29 01:57:24 -06:00
luigi1111
cda966078d
Merge pull request #6999
...
c5f6629 epee: tighten the URL parsing regexp a little (moneromooo-monero)
2020-11-29 01:56:44 -06:00
luigi1111
a15d781707
Merge pull request #6995
...
60bc676 epee: readline_buffer - fix thread safety, fix sync() after stop() (xiphon)
2020-11-29 01:55:15 -06:00
luigi1111
c041550ffa
Merge pull request #6973
...
be84f67 Switch to Dandelion++ fluff mode if no out connections for stem mode (Lee Clagett)
2020-11-29 01:54:43 -06:00
luigi1111
a92b968e35
Merge pull request #6971
...
f9527e6 protocol: reject empty incoming block messages (moneromooo-monero)
2020-11-29 01:54:08 -06:00
luigi1111
9945ca7a62
Merge pull request #6960
...
5569a8e rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P (xiphon)
2020-11-29 01:53:12 -06:00
luigi1111
bb56248acd
Merge pull request #6949
...
aad780b Fix CLI and unrestricted RPC relay_tx with stempool (Lee Clagett)
2020-11-29 01:52:23 -06:00
luigi1111
9a4d813136
Merge pull request #6943
...
cb069d0 p2p: remove banned peers from the white list (moneromooo-monero)
2020-11-29 01:51:41 -06:00
luigi1111
7a0334742a
Merge pull request #6937
...
8a282f6 Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr) Add monero_add_minimal_executable and use in tests (mj-xmr)
2020-11-29 01:49:39 -06:00
luigi1111
2be7a4c04f
Merge pull request #6933
...
1f04a31 p2p: use /16 filtering on IPv4-within-IPv6 addresses (moneromooo-monero)
2020-11-29 01:46:46 -06:00
luigi1111
4d298d4f11
Merge pull request #6924
...
874487f blockchain: remove some dead code (moneromooo-monero)
2020-11-29 01:44:26 -06:00
luigi1111
999e797cea
Merge pull request #6922
...
a25bc71 Make Blockchain::get_fee_quantization_mask() compile time (SChernykh)
2020-11-29 01:40:59 -06:00
luigi1111
bab4495cfb
Merge pull request #6921
...
f1836ac cryptonote_core: Fix missing override warnings (Nathan Dorfman)
2020-11-29 01:39:17 -06:00
luigi1111
c5b3fd1fec
Merge pull request #6920
...
aad2f87 net_node: add --ban-list option (selsta)
2020-11-29 01:38:27 -06:00
luigi1111
84cdb5d914
Merge pull request #6915
...
c67fa32 bump default number of connections from 8 to 12 (moneromooo-monero)
2020-11-29 01:34:02 -06:00
luigi1111
4c2e77854d
Merge pull request #6913
...
fc2f971 wallet2: wait for propagation timeout before marking tx as failed (xiphon)
2020-11-29 01:32:01 -06:00
luigi1111
c3592a5595
Merge pull request #6903
...
453b8e2 README: add OSS-fuzz status banner (moneromooo-monero)
2020-11-29 01:25:15 -06:00
luigi1111
eebd86dc3e
Merge pull request #6898
...
593ae2e device: Ledger - update status codes (xiphon)
2020-11-29 00:44:27 -06:00
luigi1111
52006df9bb
Merge pull request #6897
...
2abdbf6 Add support for i2p and tor seed nodes (vtnerd)
2020-11-29 00:42:27 -06:00
luigi1111
7539d4ac74
Merge pull request #6895
...
b49f489 fix next_seed_height regression in getblocktemplate rpc (xnbya)
2020-11-29 00:41:42 -06:00
luigi1111
678237835f
Merge pull request #6892
...
ad7ea2c core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check (xiphon)
2020-11-29 00:40:03 -06:00
luigi1111
8401d12cf2
Merge pull request #6873
...
3be170d Update README.md (Jkat)
2020-11-29 00:38:48 -06:00
luigi1111
2eb56f9ef6
Merge pull request #6858
...
49a279b docs: Add release checklist (setsimmo)
d00ca88 Move documentation files to their own directory (glv2)
2020-11-29 00:03:57 -06:00
luigi1111
450f1325ab
Merge pull request #6856
...
db70af1 Unit Tests: Remove block reward upper bound size checks (TheCharlatan)
2020-11-28 22:35:07 -06:00
luigi1111
d45a4ba106
Merge pull request #6849
...
f4b2382 rpc_private_headers declaration fix (malbit)
2020-11-28 22:31:25 -06:00
luigi1111
7778384071
Merge pull request #6830
...
64e9526 Extend TransactionInfo with coinbase and description attributes in wallet/api (dsc)
2020-11-28 21:55:16 -06:00
luigi1111
9b743e7c36
Merge pull request #6829
...
016f36a Allow tx note edits via TransactionHistory object in wallet/api (dsc)
2020-11-28 21:52:20 -06:00
dsc
d157196416
Allow tx note edits via TransactionHistory object in wallet/api
2020-11-28 21:48:57 -06:00
luigi1111
b37d6fe368
Merge pull request #6826
...
83da867 Update error messages in daemon (tmoravec)
2020-11-28 21:35:34 -06:00
luigi1111
55a39f8e67
Merge pull request #6747
...
12a78e5 cmake: Use job pool feature to limit concurrent jobs (00-matt)
2020-11-28 21:32:58 -06:00
xiphon
a9cd5d914e
cryptonote_core: dandelion - use local height or median height if syncing
2020-11-25 01:27:42 +00:00
Crypto City
17c5370398
wallet2: check imported multisig curve points are in main subgroup
2020-11-24 16:25:35 +00:00
luigi1111
9c1562c038
Merge pull request #7007
...
91fd634 Better log message for unusable anon networks (hyc)
2020-11-23 16:14:40 -06:00
luigi1111
5f5f6ae705
Merge pull request #6982
...
9f83fe3 workflows: bump msys2 action to v2 (selsta)
2020-11-21 22:19:31 -06:00
xiphon
0363476ee3
rpc: get_info - add 'synchronized' field
2020-11-19 12:51:31 +00:00
Lee Clagett
b10878f108
Change Dandelion++ fluff probability to 20%, and embargo timeout to 39s
...
A 20% fluff probability increases the precision of a spy connected to
every node by 10% on average, compared to a network using 0% fluff
probability. The current value (10% fluff) should increase precision by
~5% compared to baseline.
This decreases the expected stem length from 10 to 5. The embargo
timeout was therefore lowered to 39s; the fifth node in a stem is
expected to have a 90% chance of being the first to timeout, which is
the same probability we currently have with an expected stem length of
10 nodes.
2020-11-17 21:45:37 -05:00
xiphon
aaf837cf5f
rpc: skip non-synced bootstrap daemons in --no-sync mode too
2020-11-17 23:15:36 +00:00
Howard Chu
91fd634768
Better log message for unusable anon networks
2020-11-16 12:36:37 +00:00
Lee Clagett
d73cb95dfa
Fix timeout checks for forwarded and Dandelion++ stem txes
2020-11-15 00:08:10 -05:00
xiphon
5569a8e426
rpc: on_send_raw_tx (bootstrap) - send to bootstrap daemon and P2P
2020-11-15 03:13:07 +00:00
xiphon
2c668940cd
wallet_api: TransactionHistory - fill unconfirmed out payments dests
2020-11-14 14:09:07 +00:00
Howard Chu
3247f11638
Silence stupid warnings
2020-11-11 02:34:14 +00:00
moneromooo-monero
c5f6629f4a
epee: tighten the URL parsing regexp a little
...
fixes massive amounts of time spent on pathological inputs
Found by OSS-Fuzz
2020-11-09 13:05:39 +00:00
xiphon
60bc676c14
epee: readline_buffer - fix thread safety, fix sync() after stop()
2020-11-07 14:15:29 +00:00
woodser
ee58f4f766
Balance includes unconfirmed payments
2020-11-06 15:08:43 -05:00
selsta
9f83fe3940
workflows: bump msys2 action to v2
2020-11-05 01:26:19 +01:00
Lee Clagett
be84f678b9
Switch to Dandelion++ fluff mode if no out connections for stem mode
2020-11-03 13:58:14 -05:00
luigi1111
83f1d863bd
Merge pull request #6927
...
e79c88e functional_tests: inrease mining timeout (selsta)
2020-11-03 11:20:12 -06:00
luigi1111
011b8ebe18
Merge pull request #6886
...
2014a84 Force CMAKE_SKIP_RPATH=ON (hyc)
2020-11-03 11:19:08 -06:00
moneromooo-monero
f9527e608e
protocol: reject empty incoming block messages
2020-11-03 12:59:36 +00:00
moneromooo-monero
1f04a3186b
p2p: use /16 filtering on IPv4-within-IPv6 addresses
...
IPv6 addresses include a range that can map IPv4 addresses,
which allowed those mapped addresses to bypass filtering.
This filter should be replaced by AS filtering at some point.
2020-11-03 00:46:07 +00:00
mj-xmr
4e23107f83
Doxy - scan whole repo, create subdirs, don't generate LaTeX - mj-xmr
2020-11-02 09:25:29 +01:00
Lee Clagett
aad780bcfa
Fix CLI and unrestricted RPC relay_tx with stempool
2020-10-29 00:17:55 -04:00
Howard Chu
65903d2cfc
Add rpc-restricted-bind-ip option
...
Fixes #6369
2020-10-29 00:22:18 +00:00
moneromooo-monero
19d1b35905
add a convenience script to start monero with inbound tor
2020-10-28 22:38:27 +00:00
mj-xmr
8a282f64c9
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
2020-10-28 20:08:26 +01:00
moneromooo
cb069d0a42
p2p: remove banned peers from the white list
2020-10-27 22:35:14 +00:00
luigi1111
8b3b106ad1
Merge pull request #6902
...
70eb0d1 wallet2_api: implement stop() to interrupt refresh() loop once (xiphon)
2020-10-21 22:57:42 -05:00
luigi1111
bd08387165
Merge pull request #6852
...
346381f workflows: don't brew update (selsta)
2020-10-21 22:56:37 -05:00
selsta
e79c88e610
functional_tests: inrease mining timeout
2020-10-22 04:17:11 +02:00
selsta
aad2f87a53
net_node: add --ban-list option
2020-10-20 19:39:44 +02:00
moneromooo-monero
874487fed8
blockchain: remove some dead code
...
This is already done
2020-10-20 16:50:36 +00:00
moneromooo-monero
cc034fe0c3
util: fix escaping more than one ?* in glob_to_regex
2020-10-20 16:46:53 +00:00
SChernykh
a25bc71f3f
Make Blockchain::get_fee_quantization_mask() compile time
...
This also removes potential thread safety bug in that function.
2020-10-20 14:16:09 +02:00
Nathan Dorfman
f1836ac28a
cryptonote_core: Fix missing override warnings
2020-10-19 18:23:07 -06:00
Lee Clagett
2abdbf63cf
Add support for i2p and tor seed nodes
2020-10-19 13:13:07 +00:00
Howard Chu
2014a8410a
Force CMAKE_SKIP_RPATH=ON
...
Fix empty RPATH token issue. Only affects Linux and FreeBSD.
2020-10-19 08:58:38 +01:00
Alexander Blair
faedcded39
Merge pull request #6891
...
4cf3545a3 core_rpc_server: on_get_blocks - forward bootstrap daemon error (xiphon)
2020-10-18 23:26:17 -07:00
Alexander Blair
8e3f46dd0a
Merge pull request #6881
...
11b20229c tx_pool: silence spammy harmless warning till we fix the bug (moneromooo-monero)
2020-10-18 23:25:54 -07:00
Alexander Blair
142489bd60
Merge pull request #6882
...
fcbfb0a00 wallet2: fix missing m_state field in wallet serialization (moneromooo-monero)
2020-10-18 23:25:32 -07:00
Alexander Blair
543d600042
Merge pull request #6875
...
a12a8174e Dandelion++: skip desynced peers in stem phase (xiphon)
2020-10-18 23:25:08 -07:00
Alexander Blair
9bbf66504e
Merge pull request #6862
...
5f228e4b7 Fix lgamma/signgam dependency (Howard Chu)
2020-10-18 23:24:06 -07:00
Riccardo Spagni
27a576ba34
Merge pull request #6917
...
49192a626 README: update fork table recommended version (selsta)
2020-10-18 17:25:04 +02:00
selsta
49192a626f
README: update fork table recommended version
2020-10-18 16:12:34 +02:00
xiphon
fc2f97177b
wallet2: wait for propagation timeout before marking tx as failed
2020-10-18 14:00:56 +00:00
moneromooo-monero
c67fa32496
bump default number of connections from 8 to 12
2020-10-18 13:25:05 +00:00
Howard Chu
b7dd8349f4
Allow setting start block on export
...
And make import honor the starting block# recorded in a bootstrap file
2020-10-18 14:01:44 +01:00
Alexander Blair
519740a1d3
Merge pull request #6905
...
88fde0309 blockchain: fix sync at v14 boundary (moneromooo-monero)
2020-10-18 05:51:43 -07:00
moneromooo-monero
88fde0309a
blockchain: fix sync at v14 boundary
...
Miners with MLSAG txes which they'd already verified included
a couple in that block, but the consensus rules had changed
in the meantime, so that block is technically invalid and any
node which did not already have those two txes in their txpool
could not sync. Grandfather them in, since it has no effect in
practice.
2020-10-18 11:52:33 +00:00
moneromooo-monero
453b8e267c
README: add OSS-fuzz status banner
2020-10-17 16:41:24 +00:00
xiphon
70eb0d1844
wallet2_api: implement stop() to interrupt refresh() loop once
2020-10-17 02:56:15 +00:00
Lee Clagett
13350f79df
Do not use peer_id tracking method over i2p/tor
2020-10-15 16:47:59 +00:00
moneromooo-monero
aaa3289e22
add more updates domains and make the voting generic, not just 2/3
2020-10-15 14:06:44 +00:00
Alexander Blair
bf65b07718
Merge pull request #6867
...
826a84478 cmake: Version - use CMAKE_CURRENT_LIST_DIR (xiphon)
2020-10-14 15:25:00 -07:00
Alexander Blair
abd6aa6ab8
Merge pull request #6863
...
b4c775663 cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests (xiphon)
2020-10-14 15:24:41 -07:00
xiphon
593ae2e9f9
device: Ledger - update status codes
2020-10-13 22:53:19 +00:00
luigi1111
819f9e1d9f
Merge pull request #6889
...
c01d1c1 README: recommend v0.17.1.0 (selsta)
2020-10-13 10:52:16 -05:00
luigi1111
2a093ace37
Merge pull request #6833
...
335ba12 README: update sponsors (selsta)
2020-10-13 10:39:53 -05:00
luigi1111
e503688a6b
Merge pull request #6828
...
1b3f220 Allow AddressBook description edits via wallet/api interface (xmrdsc)
2020-10-13 10:39:05 -05:00
luigi1111
8286f07b26
Merge pull request #6822
...
2e3caa2 Depends: Bump qt to 5.15.1 (TheCharlatan)
2020-10-13 10:38:15 -05:00
luigi1111
6ca2032fd7
Merge pull request #6808
...
d3e7c5a systemd: Don't use Type=forking (ndorf)
2020-10-13 10:37:10 -05:00
xiphon
ec14e4b8cd
wallet2: skip reorgs exceeding max-reorg-depth wallet setting
2020-10-13 15:23:35 +00:00
Lee Clagett
08eb0949f3
Change to more efficient allocation strategy in byte_stream
2020-10-13 15:10:54 +00:00
Lee Clagett
249eae5f4a
Allow byte_stream->byte_slice conversion to shrink unused buffer space
2020-10-13 15:09:18 +00:00
Alexis Enston
b49f48962b
fix next_seed_height regression in getblocktemplate rpc
2020-10-13 11:07:59 +01:00
xiphon
4cf3545a31
core_rpc_server: on_get_blocks - forward bootstrap daemon error
2020-10-13 00:44:59 +00:00
xiphon
ad7ea2c60c
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check
2020-10-12 23:49:37 +00:00
selsta
c01d1c1747
README: recommend v0.17.1.0
2020-10-13 01:21:03 +02:00
moneromooo-monero
fcbfb0a00a
wallet2: fix missing m_state field in wallet serialization
2020-10-12 15:35:52 +00:00
moneromooo-monero
11b20229c9
tx_pool: silence spammy harmless warning till we fix the bug
2020-10-12 14:07:40 +00:00
xiphon
a12a8174e0
Dandelion++: skip desynced peers in stem phase
2020-10-12 13:44:06 +00:00
Lee Clagett
7414e2bac1
Change epee binary output from std::stringstream to byte_stream
2020-10-10 15:28:40 +00:00
Justin Kat
3be170d778
Update README.md
2020-10-08 17:52:11 -04:00
selsta
335ba120c9
README: update sponsors
2020-10-08 01:44:34 +02:00
xiphon
826a84478d
cmake: Version - use CMAKE_CURRENT_LIST_DIR
2020-10-07 20:21:25 +00:00
Lee Clagett
386ef03be3
Add TLSA support to DNSSEC fetching
2020-10-07 15:43:31 +00:00
Howard Chu
5f228e4b7d
Fix lgamma/signgam dependency
...
This is a new indirect dependency due to the use of poisson_distribution,
introduced in PR#6354 commit 67ade8005
2020-10-06 19:25:49 +01:00
Lee Clagett
dff1d8067c
Fix tx flush callback queueing
2020-10-06 16:07:49 +00:00
xiphon
b4c775663a
cmake: CheckTrezor - use ${CMAKE_CURRENT_LIST_DIR} to locate tests
2020-10-06 14:37:00 +00:00
Seth Simmons
49a279bdfa
docs: Add release checklist
2020-10-03 09:42:16 +02:00
Guillaume Le Vaillant
d00ca885bc
Move documentation files to their own directory
2020-10-03 09:18:59 +02:00
TheCharlatan
db70af1bbc
Unit Tests: Remove block reward upper bound size checks
...
Tests running after being compiled with `make debug-test` failed with
```
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_median_size
[ FAILED ] block_reward_and_current_block_weight.fails_on_huge_block_weight
```
With the introduction of the patch in
be82c40703 (diff-1a57d4e6013984c420da98d1adde0eafL113)
the assertions checking the weight of the median and current block
against a size limit were removed. Since the limit is now enforced by a
long divisor and a uint64_t type, checking in a separate test makes
little sense, so they are removed here.
2020-10-03 02:32:17 +02:00
selsta
346381f917
workflows: don't brew update
2020-09-30 02:01:49 +02:00
Alexander Blair
3cbb44a2fd
Merge pull request #6841
...
b6c4f8cd5 fix a couple bugs found by OSS-fuzz (moneromooo-monero)
2020-09-27 16:17:17 -07:00
Alexander Blair
2e83628d02
Merge pull request #6840
...
6ee9f1260 fuzz_tests: fix build error in signature fuzz test (moneromooo-monero)
2020-09-27 16:16:54 -07:00
Alexander Blair
e6108b93d7
Merge pull request #6838
...
7fca814a6 build: ARM - disable stack trace due to segfault in libunwind (xiphon)
2020-09-27 16:16:21 -07:00
Alexander Blair
687f2b3c8d
Merge pull request #6836
...
163f83720 functional_tests: rewrite mining code, clearer timeout info (iamamyth)
2020-09-27 16:15:52 -07:00
Alexander Blair
5eb38d2533
Merge pull request #6834
...
4846743fd daemon: Windows - fix FAT32 warning, trailing backslash is required (xiphon)
2020-09-27 16:15:25 -07:00
Alexander Blair
82631c0884
Merge pull request #6824
...
0b26d380c link libzmq against libgssapi_krb5 if found (moneromooo-monero)
2020-09-27 16:14:37 -07:00
Michal m@lbit Malicki
f4b2382713
rpc_private_headers declaration fix
2020-09-27 13:41:44 +01:00
iamamyth
163f83720f
functional_tests: rewrite mining code, clearer timeout info
2020-09-24 20:04:05 +02:00
moneromooo-monero
b6c4f8cd54
fix a couple bugs found by OSS-fuzz
...
- index out of bounds when importing outputs
- accessing invalid CLSAG data
2020-09-24 15:30:38 +00:00
moneromooo-monero
6ee9f12607
fuzz_tests: fix build error in signature fuzz test
2020-09-24 15:17:57 +00:00
xiphon
7fca814a67
build: ARM - disable stack trace due to segfault in libunwind
2020-09-22 14:23:35 +00:00
xiphon
4846743fdc
daemon: Windows - fix FAT32 warning, trailing backslash is required
2020-09-20 13:57:44 +00:00
dsc
64e9526509
Extend TransactionInfo with coinbase and description attributes in wallet/api
2020-09-19 22:54:23 +02:00
dsc
1b3f220251
Allow AddressBook description edits via wallet/api interface
2020-09-19 18:29:46 +02:00
Tadeas Moravec
83da867474
Update error messages in daemon
...
When given a wrong argument, some daemon commands failed with "unknown
command" error, instead of a meaningful error message. This patch
brings consistency into the error messages.
In several places, this patch removes relatively useful messages,
and replaces them with more generic ones. E.g.,
- std::cout << "use: print_pl [white] [gray] [<limit>] [pruned]
[publicrpc]" << std::endl;
+ std::cout << "Invalid syntax: Too many parameters. For more
details, use the help command." << std::endl;
There are two reasons for this:
1. Consistency.
2. Removing duplicates.
The detailed information about the parameters is present in
the help messages already. Having it in two places increases
the risk that the messages would get out of date.
2020-09-18 14:04:19 +02:00
moneromooo-monero
0b26d380cd
link libzmq against libgssapi_krb5 if found
2020-09-17 14:51:33 +00:00
TheCharlatan
2e3caa2011
Depends: Bump qt to 5.15.1
2020-09-17 09:00:26 +02:00
luigi1111
d27d4526fe
Merge pull request #6819
...
c3f354e simplewallet fix wrong persistent-rpc-client-id name in help (moneromooo-monero)
2020-09-15 19:59:36 -05:00
luigi1111
5b3614e6a9
Merge pull request #6816
...
929ea98 Remove unused macros from cryptonote_config.h (TheCharlatan)
2020-09-15 19:58:39 -05:00
luigi1111
2b1488ef6f
Merge pull request #6793
...
de9a9fb update error message 'No unlocked balance in the specified account' (woodser)
2020-09-15 19:56:49 -05:00
luigi1111
ea587de300
Merge pull request #6745
...
80e535c wallet2: adapt to deterministic unlock time (TheCharlatan)
4971219 blockchain: deterministic UNIX time unlock checks (moneromooo-monero)
2020-09-15 19:55:03 -05:00
TheCharlatan
80e535c95a
wallet2: adapt to deterministic unlock time
2020-09-15 11:40:31 +00:00
moneromooo-monero
4971219c2c
blockchain: deterministic UNIX time unlock checks
...
Based on a patch by TheCharlatan <seb.kung@gmail.com >
2020-09-15 11:40:28 +00:00
moneromooo-monero
c3f354e6c1
simplewallet fix wrong persistent-rpc-client-id name in help
2020-09-14 20:50:35 +00:00
luigi1111
9bba1a24ea
Merge pull request #6815
...
ef4325f wallet2: fix tx sanity check triggering on pre-rct outputs (monermooo-monero)
2020-09-14 11:47:06 -05:00
luigi1111
2993d2004a
Merge pull request #6813
...
a3844e2 Fix typo in command line argument description (reinaldoacosta)
2020-09-14 11:45:55 -05:00
luigi1111
244ae22795
Merge pull request #6812
...
f240b1d build: prepare v0.17 (selsta)
2020-09-14 11:44:06 -05:00
selsta
f240b1dd88
build: prepare v0.17
2020-09-14 16:52:42 +02:00
TheCharlatan
929ea98662
Remove unused macros from cryptonote_config.h
2020-09-14 00:20:58 +02:00
moneromooo-monero
ef4325fd41
wallet2: fix tx sanity check triggering on pre-rct outputs
2020-09-12 17:51:41 +00:00
Reinaldulin
a3844e257e
Fix typo in command line argument description
2020-09-09 10:18:32 -04:00
Nathan Dorfman
d3e7c5a8ba
systemd: Don't use Type=forking
2020-09-08 11:16:43 -06:00
luigi1111
836067b68b
Merge pull request #6805
...
fc2cb22 blockchain: fix pow skipping for old blocks without precalc hash (moneromooo-monero)
2020-09-07 15:31:20 -05:00
luigi1111
9c9c689db4
Merge pull request #6804
...
5498142 rpc: assume randomx from v13 onwards (moneromooo-monero)
2020-09-07 14:34:46 -05:00
luigi1111
df0dcea061
Merge pull request #6803
...
1b9fe07 Revert 'unbound: update to get build fixes' (moneromooo-monero)
2020-09-07 14:33:30 -05:00
luigi1111
3a761e10d2
Merge pull request #6800
...
036da6d Let stagenet hardfork happen before mainnet. (normoes)
2020-09-07 14:32:28 -05:00
luigi1111
fd657c7706
Merge pull request #6798
...
4e44306 enable CLSAG support for Trezor client (ph4r05)
2020-09-07 14:30:41 -05:00
moneromooo-monero
fc2cb224a9
blockchain: fix pow skipping for old blocks without precalc hash
2020-09-07 01:57:19 +00:00
moneromooo-monero
5498142e8f
rpc: assume randomx from v13 onwards
2020-09-07 01:13:06 +00:00
moneromooo-monero
1b9fe0761c
Revert "unbound: update to get build fixes"
...
This reverts commit 541a7c81a1 .
It breaks the depends build
2020-09-06 18:15:52 +00:00
Riccardo Spagni
aefa7740c3
Merge pull request #6111
...
d20ff4f64 functional_tests: add a large (many randomx epochs) p2p reorg test (moneromooo-monero)
6a0b3b1f8 functional_tests: add randomx tests (moneromooo-monero)
9d42649d5 core: fix mining from a block that's not the current top (moneromooo-monero)
2020-09-06 15:49:37 +02:00
Riccardo Spagni
2a7086caa8
Merge pull request #6802
...
541a7c81a unbound: update to get build fixes (moneromooo-monero)
2020-09-06 15:49:08 +02:00
moneromooo-monero
541a7c81a1
unbound: update to get build fixes
2020-09-06 11:47:55 +00:00
Norman Moeschter
036da6d45b
Let stagenet hardfork happen before mainnet.
2020-09-04 22:47:05 +01:00
Dusan Klinec
4e4430603f
enable CLSAG support for Trezor client
2020-09-04 01:24:58 +02:00
luigi1111
9fb2243db0
Merge pull request #6794
...
b09cc3d hardforks: add v13/v14 for testnet (moneromooo-monero)
2020-09-03 12:27:18 -05:00
luigi1111
ee0b02d0db
Merge pull request #6757
...
6a37da8 threadpool: guard against exceptions in jobs, and armour plating (moneromooo-monero)
2020-09-03 12:25:59 -05:00
moneromooo-monero
b09cc3d03d
hardforks: add v13/v14 for testnet
2020-09-02 17:56:48 +00:00
woodser
de9a9fb340
update error message "No unlocked balance in the specified account"
2020-09-01 17:30:00 -04:00
moneromooo-monero
6a37da837e
threadpool: guard against exceptions in jobs, and armour plating
...
Those would, if uncaught, exit run and leave the waiter to wait
indefinitely for the number of active jobs to reach 0
2020-09-01 14:33:33 +00:00
luigi1111
2d8a197b91
Merge pull request #6789
...
bdcf587 net: fix get_tcp_endpoint, boost address_v4 ip in host byte order (xiphon)
2020-08-31 16:58:13 -05:00
luigi1111
77ffea0825
Merge pull request #6788
...
5245ba1 Made spelling, grammar, and punctuation changes. Squashed commits into one as requested. (cryptographicfool)
2020-08-31 16:57:17 -05:00
luigi1111
94b056c06e
Merge pull request #6786
...
975ae22 Fix send scalar z in plaintext (grydz)
333ae55 Update minimal Ledger Monero app version (grydz)
0a3c5a6 Update protocol version with Ledger's HW (grydz)
2020-08-31 16:54:51 -05:00
luigi1111
54d5f098f2
Merge pull request #6783
...
30c1cf8 repo: update 'sponsor' link (selsta)
2020-08-31 16:52:53 -05:00
luigi1111
a70374d3e6
Merge pull request #6782
...
c3f9913 supercop: update submodule (selsta)
2020-08-31 16:51:44 -05:00
luigi1111
a51ccc036f
Merge pull request #6770
...
bdc6b10 Fix ZMQ pruned bulletproof transactions (vtnerd)
2020-08-31 16:50:18 -05:00
luigi1111
61dd04b681
Merge pull request #6600
...
fa06c39 Bind signature to full address and signing mode (SarangNoether)
743608e wallet: allow signing a message with spend or view key (moneromooo-monero)
2020-08-31 16:49:03 -05:00
xiphon
bdcf587c79
net: fix get_tcp_endpoint, boost address_v4 ip in host byte order
2020-08-29 18:07:46 +00:00
Matt Smith
12a78e5e74
cmake: Use job pool feature to limit concurrent jobs
...
Add two new options, MONERO_PARALLEL_COMPILE_JOBS and
MONERO_PARALLEL_LINK_JOBS to try and prevent running out of memory when
building everything.
Requires >= cmake 3.0.0, and the use of the Ninja generator.
Useful links:
* https://cmake.org/cmake/help/latest/prop_gbl/JOB_POOLS.html
* https://reviews.llvm.org/D6304
2020-08-29 16:34:42 +01:00
Sarang Noether
fa06c39d97
Bind signature to full address and signing mode
2020-08-28 19:38:00 -04:00
moneromooo-monero
743608ec16
wallet: allow signing a message with spend or view key
2020-08-28 19:25:17 -04:00
luigi1111
5946002105
Merge pull request #6787
...
e6c81c5 ringct: fix CLSAG serialization after boost/epee changes (moneromooo-monero)
2020-08-28 18:08:03 -05:00
luigi1111
51bf6b5842
Merge pull request #6785
...
4a9bd8f core_tests: remove hardcoded hf version (monermooo-monero)
1dc427d core_tests: fix failures after v13 (moneromooo-monero)
2020-08-28 18:06:23 -05:00
cryptographicfool
5245ba132b
Made spelling, grammar, and punctuation changes. Squashed commits into one as requested.
...
Made some corrections as suggested.
2020-08-28 18:23:54 +00:00
moneromooo-monero
e6c81c5ea7
ringct: fix CLSAG serialization after boost/epee changes
...
also fix a an assert message refering t MLSAG
2020-08-28 11:52:54 +00:00
François Colas
975ae22211
Fix send scalar z in plaintext
...
The scalar z has not been generated on the HW thus it can't be sent
encrypted. The value is derived from the exported private view key.
2020-08-28 12:01:57 +02:00
François Colas
333ae55fef
Update minimal Ledger Monero app version
2020-08-28 12:00:25 +02:00
François Colas
0a3c5a605b
Update protocol version with Ledger's HW
2020-08-28 11:59:02 +02:00
moneromooo-monero
1dc427def9
core_tests: fix failures after v13
...
v13 enforces claiming the full block reward, so we need to keep
track of tx fees to add them to the coinbase
2020-08-28 00:18:39 +00:00
moneromooo-monero
4a9bd8f70f
core_tests: remove hardcoded hf version
2020-08-28 00:14:04 +00:00
Alexander Blair
44cd8a13ec
Merge pull request #6769
...
b641e0a2c Add clear method to byte_stream (Lee Clagett)
2020-08-27 12:05:16 -07:00
Alexander Blair
39a087406d
Merge pull request #6739
...
1660fe8a2 draft support of clsag (cslashm)
703944c4d CLSAG device support (Sarang Noether)
aff87b5f6 Added balance check to MLSAG/CLSAG performance tests (Sarang Noether)
f964a92c5 Updated MLSAG and CLSAG tests for consistency (Sarang Noether)
5aa1575e9 CLSAG verification performance test (Sarang Noether)
641b08c92 CLSAG optimizations (Sarang Noether)
82ee01699 Integrate CLSAGs into monero (moneromooo-monero)
8cd1d6df8 unit_tests: add ge_triple_scalarmult_base_vartime test (moneromooo-monero)
4b328c661 CLSAG signatures (Sarang Noether)
2020-08-27 12:03:24 -07:00
moneromooo-monero
d20ff4f648
functional_tests: add a large (many randomx epochs) p2p reorg test
2020-08-27 15:13:04 +00:00
moneromooo-monero
6a0b3b1f8a
functional_tests: add randomx tests
2020-08-27 15:13:03 +00:00
moneromooo-monero
9d42649d58
core: fix mining from a block that's not the current top
2020-08-27 15:13:00 +00:00
cslashm
1660fe8a25
draft support of clsag
2020-08-27 12:44:18 +00:00
Sarang Noether
703944c4d4
CLSAG device support
2020-08-27 12:44:04 +00:00
Sarang Noether
aff87b5f6a
Added balance check to MLSAG/CLSAG performance tests
2020-08-27 12:44:04 +00:00
Sarang Noether
f964a92c57
Updated MLSAG and CLSAG tests for consistency
2020-08-27 12:44:04 +00:00
Sarang Noether
5aa1575e91
CLSAG verification performance test
2020-08-27 12:44:04 +00:00
Sarang Noether
641b08c920
CLSAG optimizations
2020-08-27 12:44:04 +00:00
moneromooo-monero
82ee01699c
Integrate CLSAGs into monero
...
They are allowed from v12, and MLSAGs are rejected from v13.
2020-08-27 12:44:04 +00:00
moneromooo-monero
8cd1d6df8f
unit_tests: add ge_triple_scalarmult_base_vartime test
2020-08-27 12:44:01 +00:00
Sarang Noether
4b328c6616
CLSAG signatures
2020-08-27 12:43:29 +00:00
selsta
30c1cf83fc
repo: update "sponsor" link
2020-08-27 14:39:30 +02:00
Alexander Blair
c695470cff
Merge pull request #6771
...
7c7ccbd2a depends: fix broken links for ds_store / mac_alias (selsta)
2020-08-27 03:08:01 -07:00
Alexander Blair
0c101f1236
Merge pull request #6767
...
07442a605 Fix build with Boost 1.74 (moneromooo-monero)
2020-08-27 03:07:32 -07:00
Alexander Blair
8aaeff46ee
Merge pull request #6766
...
12ffc79b2 qrcodegen: fix compilation with old gcc, use modern cmake (selsta)
2020-08-27 03:04:10 -07:00
Alexander Blair
27b49033fd
Merge pull request #6763
...
728ba38b1 rpc: always send raw txes through P2P (don't use bootstrap daemon) (xiphon)
2020-08-27 03:02:30 -07:00
Alexander Blair
05390fd2d4
Merge pull request #6762
...
3614f78d5 README: update list of third party monero packages (erciccione)
2020-08-27 03:02:12 -07:00
Alexander Blair
aa56bf66a6
Merge pull request #6761
...
9f05df199 travis: j3 -> j2 on i686-w64-mingw32 (selsta)
2020-08-27 03:01:47 -07:00
Alexander Blair
b04da25e4d
Merge pull request #6760
...
844fb4e94 enforce claiming maximum coinbase amount (moneromooo-monero)
2020-08-27 03:01:28 -07:00
Alexander Blair
4fe2858b4d
Merge pull request #6746
...
20f603c6b Fix broken multisig pubkey sorting (Jason Rhinelander)
2020-08-27 02:58:53 -07:00
Alexander Blair
dd7fd2ef80
Merge pull request #6753
...
4ff2074c7 cryptonote_protocol: don't synced pruned blocks before v11 (cohcho)
2020-08-27 02:58:45 -07:00
Alexander Blair
a06c83db73
Merge pull request #6752
...
85899230d simplewallet: allow setting tx keys when sending to a subaddress (moneromooo-monero)
e916201f1 wallet2: fix setting tx keys when another is already set (moneromooo-monero)
2020-08-27 02:58:23 -07:00
Alexander Blair
42519b48a7
Merge pull request #6731
...
db5d6e460 wallet2: fix wrong name when checking RPC cost (moneromooo-monero)
2020-08-27 02:55:48 -07:00
Alexander Blair
bad5d8d6f0
Merge pull request #6690
...
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
2020-08-27 02:54:30 -07:00
Alexander Blair
3f392341e7
Merge pull request #6660
...
839e1f4ba functional_tests: add p2p functional tests (moneromooo-monero)
2020-08-27 02:53:41 -07:00
Alexander Blair
38914fe6fa
Merge pull request #6613
...
55363c594 Avoid some temporary strings when reading off the database (moneromooo-monero)
2020-08-27 02:52:59 -07:00
selsta
c3f991332f
supercop: update submodule
2020-08-27 01:22:15 +02:00
moneromooo-monero
839e1f4bab
functional_tests: add p2p functional tests
...
Tests tx/block propagation and reorgs
2020-08-26 23:00:27 +00:00
Alexander Blair
aadd72202f
Merge pull request #6610
...
b6e904e54 README: mention pruning (moneromooo-monero)
2020-08-26 12:53:55 -07:00
Alexander Blair
a6f1fa0194
Merge pull request #6607
...
eb1b321fe miner: increase min/max intervals to full extents (moneromooo-monero)
2020-08-26 12:53:09 -07:00
moneromooo-monero
844fb4e940
enforce claiming maximum coinbase amount
...
Claiming a slightly lesser amount does not yield the size gains
that were seen pre rct, so this closes a fingerprinting vector
2020-08-21 12:36:53 +00:00
selsta
7c7ccbd2a5
depends: fix broken links for ds_store / mac_alias
2020-08-20 21:33:23 +02:00
Lee Clagett
bdc6b10d62
Fix ZMQ pruned bulletproof transactions
2020-08-19 00:36:06 -04:00
Lee Clagett
b641e0a2c0
Add clear method to byte_stream
2020-08-17 21:30:34 -04:00
luigi1111
765db1ae7a
Revert "Use domain-separated ChaCha20 for in-memory key encryption"
...
This reverts commit 921dd8dde5 .
2020-08-17 14:08:59 -05:00
moneromooo-monero
7175dcb107
replace most boost serialization with existing monero serialization
...
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.
For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.
Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.
Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
moneromooo-monero
55363c5941
Avoid some temporary strings when reading off the database
2020-08-17 14:02:27 +00:00
Alexander Blair
43a4fd9e16
Merge pull request #6736
...
05ad4fa39 epee: further defending against exceptions in command handlers (moneromooo-monero)
2020-08-16 12:56:35 -07:00
Alexander Blair
43f5369bec
Merge pull request #6733
...
4f01cf4b4 Tweak format, add option for difficulty (Howard Chu)
429d49512 Add options to print daily coin emission and fees (Howard Chu)
d745d2433 Don't forget size of prunable txn part (Howard Chu)
2020-08-16 12:56:03 -07:00
Alexander Blair
d73b1b6560
Merge pull request #6727
...
13eee1d6a rpc: reject wrong sized txid (moneromooo-monero)
92e6b7df2 easylogging++: fix crash with reentrant logging (moneromooo-monero)
6dd95d530 epee: guard against exceptions in RPC handlers (moneromooo-monero)
90016ad74 blockchain: guard against exceptions in add_new_block/children (moneromooo-monero)
2020-08-16 12:55:25 -07:00
Alexander Blair
569d07d60b
Merge pull request #6722
...
c1b03fb1a rpc: return empty txid get_outs rather than 00..00 when not requested (moneromooo-monero)
2020-08-16 12:54:42 -07:00
Alexander Blair
7db379cc82
Merge pull request #6720
...
86abf558c epee: Remove unused functions in local_ip.h (Jean Pierre Dudey)
2020-08-16 12:54:17 -07:00
Alexander Blair
10ad0d7eb2
Merge pull request #6718
...
85efc88c1 Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test (koe)
2020-08-16 12:53:50 -07:00
Alexander Blair
01b512f3a9
Merge pull request #6716
...
76c16822d wallet2_api: implement runtime proxy configuration (xiphon)
2020-08-16 12:52:21 -07:00
Alexander Blair
f40b9e34e0
Merge pull request #6715
...
3d6bc0a68 wallet2: throw a error on wallet initialization failure (xiphon)
2020-08-16 12:51:57 -07:00
Alexander Blair
65d7d8312d
Merge pull request #6712
...
01cd3d934 For NetBSD, add instructions to README.md and define to ea_config.h (thomasvaughan)
2020-08-16 12:51:41 -07:00
Alexander Blair
43f91ee12e
Merge pull request #6703
...
8baa7bb23 daemon: don't print "(pruned)" for coinbase txes (moneromooo-monero)
2020-08-16 12:50:43 -07:00
Alexander Blair
d3e611fda2
Merge pull request #6698
...
a3933a2a5 Update RandomX to v1.1.8 (tevador)
2020-08-16 12:50:26 -07:00
Alexander Blair
79e93a8af8
Merge pull request #6691
...
6111689cf cmake: allow custom openssl path on macOS (selsta)
2020-08-16 12:48:07 -07:00
Alexander Blair
0b0da2aa81
Merge pull request #6689
...
afd002c31 daemon: print sampling time in print_net_stats (moneromooo-monero)
ec7bba079 util: fix kilo prefix typo (K instead of k) (moneromooo-monero)
2020-08-16 12:47:36 -07:00
Alexander Blair
236256f114
Merge pull request #6679
...
2f1ad3b3d updates: mac gui .tar.bz2 -> .dmg (selsta)
2020-08-16 12:46:51 -07:00
Alexander Blair
eba2189925
Merge pull request #6677
...
f9e3fcdf3 add trezor support to sweep_single (Dusan Klinec)
2020-08-16 12:46:27 -07:00
Alexander Blair
6b2d3deb20
Merge pull request #6662
...
e33428012 python-rpc: fix bad in_peers parameter (moneromooo-monero)
2020-08-16 12:45:56 -07:00
Alexander Blair
bc48494731
Merge pull request #6661
...
267ce5b71 avoid a couple needless copies (moneromooo-monero)
2020-08-16 12:45:37 -07:00
Alexander Blair
adcadd9ed0
Merge pull request #6634
...
01c384c5d workflows: update msys2 setup action v0 -> v1 (selsta)
2020-08-16 12:45:14 -07:00
Alexander Blair
8f02e7a7fc
Merge pull request #6632
...
ef694d028 fix warning by removing std::move() on temporary http_client object (woodser)
2020-08-16 12:44:59 -07:00
Alexander Blair
976a9e0c72
Merge pull request #6618
...
2d5d74ff5 Mention correct libusb and libudev dependencies (MaxXor)
2020-08-16 12:44:28 -07:00
Alexander Blair
c6c4ead44e
Merge pull request #6614
...
fb31167b1 Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command (rbrunner7)
2020-08-16 12:44:03 -07:00
Alexander Blair
a08df6eb1b
Merge pull request #6603
...
4e2377995 Change ZMQ-JSON txextra to hex and remove unnecessary base fields (Lee Clagett)
2020-08-16 12:43:38 -07:00
Alexander Blair
009ca6fcd3
Merge pull request #6601
...
98c151ecb Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster (Lee Clagett)
60627c9f2 Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster (Lee Clagett)
fe96e66eb Fix pruned tx for ZMQ's GetBlocksFast (Lee Clagett)
2020-08-16 12:43:11 -07:00
Alexander Blair
9eebe01c58
Merge pull request #6593
...
6f5411d30 tests: fix missing error on missing python entry point (moneromooo-monero)
c6dc2850c python-rpc: add missing sync_txpool python entry point (moneromooo-monero)
2020-08-16 12:41:10 -07:00
Alexander Blair
0f5eb0e70c
Merge pull request #6546
...
eda167585 wallet_rpc_server: use unlock_time in suggested confirmations calc (moneromooo-monero)
2020-08-16 12:40:51 -07:00
Alexander Blair
461651fce5
Merge pull request #6542
...
35665df20 protocol: don't drop a connection if we can't get a compatible chain (moneromooo-monero)
2020-08-16 12:40:37 -07:00
Alexander Blair
b61a9afa5d
Merge pull request #6500
...
a07c8abcc Update expat.mk (ArqTras)
2020-08-16 12:40:17 -07:00
Alexander Blair
6d29ee6c52
Merge pull request #6493
...
921dd8dde Use domain-separated ChaCha20 for in-memory key encryption (Sarang Noether)
2020-08-16 12:39:59 -07:00
Alexander Blair
e2e09d00c2
Merge pull request #6337
...
a11ec4ac1 Support for supercop ASM in wallet, and benchmark for supercop (Lee Clagett)
2020-08-16 12:38:44 -07:00
erciccione
3614f78d5f
README: update list of third party monero packages
...
Removed AUR package, since doesn't seem to exist anymore and added Debian package (the CCS-funded one)
2020-08-16 21:38:11 +02:00
Alexander Blair
13549d590e
Merge pull request #6329
...
6bfcd3101 Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests. (Sarang Noether)
2020-08-16 12:37:43 -07:00
xiphon
728ba38b11
rpc: always send raw txes through P2P (don't use bootstrap daemon)
...
It turns out that some remote (bootstrap) nodes silently drop /
don't broadcast client's transactions.
2020-08-16 17:34:28 +00:00
moneromooo-monero
07442a6059
Fix build with Boost 1.74
...
Thanks iDunk for testing
2020-08-16 16:23:26 +00:00
selsta
12ffc79b27
qrcodegen: fix compilation with old gcc, use modern cmake
2020-08-16 18:06:55 +02:00
selsta
9f05df1996
travis: j3 -> j2 on i686-w64-mingw32
2020-08-15 02:42:23 +02:00
Lee Clagett
4e2377995d
Change ZMQ-JSON txextra to hex and remove unnecessary base fields
2020-08-14 23:01:00 +00:00
Lee Clagett
98c151ecb8
Optimize ZMQ-JSON vector reading; GetBlocksFast reads 24%+ faster
2020-08-14 19:47:19 +00:00
Lee Clagett
60627c9f24
Switch to insitu parsing for ZMQ-JSON; GetBlocksFast reads 13%+ faster
2020-08-14 19:46:59 +00:00
Lee Clagett
fe96e66ebe
Fix pruned tx for ZMQ's GetBlocksFast
2020-08-14 19:46:33 +00:00
moneromooo-monero
85899230d1
simplewallet: allow setting tx keys when sending to a subaddress
...
The tx key derivation is different then
2020-08-10 21:25:51 +00:00
cohcho
4ff2074c74
cryptonote_protocol: don't synced pruned blocks before v11
...
There are a few Borromean proofs txes in the v8 era, and these
aren't supported by get_pruned_transaction_weight. Moreover, only
only the most recent variant of bulletproofs is currently supported.
2020-08-10 16:17:39 +00:00
Sarang Noether
921dd8dde5
Use domain-separated ChaCha20 for in-memory key encryption
2020-08-09 19:11:54 -04:00
Sarang Noether
6bfcd31015
Updates InProofV1, OutProofV1, and ReserveProofV1 to new V2 variants that include all public proof parameters in Schnorr challenges, along with hash function domain separators. Includes new randomized unit tests.
2020-08-09 18:42:15 -04:00
Alexander Blair
c108c5e2f0
Merge pull request #6354
...
67ade8005 Add randomized delay when forwarding txes from i2p/tor -> ipv4/6 (Lee Clagett)
2020-08-09 06:42:49 -07:00
moneromooo-monero
e916201f12
wallet2: fix setting tx keys when another is already set
...
insert doesn't actually insert if another element with the
same key is already in the map
2020-08-08 14:40:03 +00:00
Jason Rhinelander
20f603c6be
Fix broken multisig pubkey sorting
...
The sort predicate is a boolean ordered-before value, but these are
returning the memcmp value directly, and thus returns true whenever the
pubkeys aren't equal. This means:
- it isn't actually sorting.
- it can (and does) segfault for some inputs.
2020-08-05 12:42:27 -03:00
Alexander Blair
9414194b1e
Merge pull request #6571
...
1d31e6c00 net_node: remove dead seed nodes (selsta)
2020-08-05 07:57:54 -07:00
Alexander Blair
d9deb2c2fe
Merge pull request #6418
...
e5214a2ca Adding ZMQ/Pub support for txpool_add and chain_main events (Lee Clagett)
2020-08-05 07:54:31 -07:00
Howard Chu
4f01cf4b46
Tweak format, add option for difficulty
...
Set input, output, ringsize averages to 2 decimal places precision
Add option to show min/max/av per-block difficulty
2020-08-03 13:13:14 +01:00
moneromooo-monero
05ad4fa397
epee: further defending against exceptions in command handlers
2020-08-02 00:22:47 +00:00
Howard Chu
429d495121
Add options to print daily coin emission and fees
...
Closes #6735
2020-08-01 20:48:42 +01:00
Howard Chu
d745d24333
Don't forget size of prunable txn part
...
Fixes #6732
2020-08-01 13:41:38 +01:00
moneromooo-monero
db5d6e4602
wallet2: fix wrong name when checking RPC cost
2020-07-31 14:17:23 +00:00
moneromooo-monero
13eee1d6ab
rpc: reject wrong sized txid
...
Reporter requested credit to be given to Decred
2020-07-30 22:52:14 +00:00
moneromooo-monero
92e6b7df2c
easylogging++: fix crash with reentrant logging
2020-07-30 22:52:13 +00:00
moneromooo-monero
6dd95d5308
epee: guard against exceptions in RPC handlers
2020-07-30 22:52:12 +00:00
moneromooo-monero
90016ad744
blockchain: guard against exceptions in add_new_block/children
...
Reporter requested credit to be given to Decred
2020-07-30 22:52:11 +00:00
moneromooo-monero
c1b03fb1a6
rpc: return empty txid get_outs rather than 00..00 when not requested
...
It's more obvious there's no txid, and it saves space
2020-07-25 17:01:21 +00:00
moneromooo-monero
8baa7bb238
daemon: don't print "(pruned)" for coinbase txes
...
Pruned coinbase txes are the same as unpruned ones, so the
prunable data is empty
2020-07-24 13:42:20 +00:00
rbrunner7
fb31167b12
Wallet, daemon: From 'help_advanced' back to 'help', and new 'apropos' command
2020-07-24 07:12:11 +02:00
koe
85efc88c1e
Fix overflow issue in epee:misc_utils::rolling_median_t and median(), with unit test
2020-07-23 03:36:05 -05:00
Jean Pierre Dudey
86abf558cb
epee: Remove unused functions in local_ip.h
...
Signed-off-by: Jean Pierre Dudey <me@jeandudey.tech >
2020-07-22 19:06:01 -05:00
xiphon
76c16822d0
wallet2_api: implement runtime proxy configuration
2020-07-20 13:45:12 +00:00
xiphon
3d6bc0a680
wallet2: throw a error on wallet initialization failure
2020-07-20 04:40:34 +00:00
thomasvaughan
01cd3d9342
For NetBSD, add instructions to README.md and define to ea_config.h
2020-07-19 12:53:57 +00:00
Alexander Blair
5d850dde99
Merge pull request #6586
...
40b73d2a6 cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH (xiphon)
2020-07-19 03:43:07 -07:00
Alexander Blair
2a82258dff
Merge pull request #6580
...
ed901798d version: update name (selsta)
2020-07-19 03:42:43 -07:00
Alexander Blair
3434cc24a2
Merge pull request #6578
...
a6803231e daemon: complain if data dir resides on FAT32 volume (Windows) (xiphon)
2020-07-19 03:41:55 -07:00
Alexander Blair
9871fefbf9
Merge pull request #6565
...
72cdfa4a2 fix a few typos in error messages (moneromooo-monero)
2020-07-19 03:40:19 -07:00
Alexander Blair
c0a6e1aab9
Merge pull request #6557
...
bd69e3b37 testdb: add override in a couple places where it's missing (moneromooo-monero)
2020-07-19 03:39:53 -07:00
Alexander Blair
bb0241da6e
Merge pull request #6538
...
7178bb5c8 keccak: remove aligned check (moneromooo-monero)
2020-07-19 03:38:53 -07:00
Alexander Blair
61e5208181
Merge pull request #6537
...
5e0ea6e95 simplewallet: add missing calls to on_command (moneromooo-monero)
2020-07-19 03:38:07 -07:00
Alexander Blair
6d6c691a0f
Merge pull request #6536
...
bd9653663 db_lmdb: test for mmap support at init time (moneromooo-monero)
2020-07-19 03:37:15 -07:00
Alexander Blair
36d50d93f2
Merge pull request #6534
...
7bd66b01b daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation (stoffu)
2020-07-19 03:36:39 -07:00
Alexander Blair
912cbad6db
Merge pull request #6529
...
153977aed libzmq should be libzmq4. (russoj88)
2020-07-19 03:35:14 -07:00
Alexander Blair
814e617117
Merge pull request #6526
...
5d882f4f1 blockchain: fix theoretical race getting bulk timestamps (moneromooo-monero)
2020-07-19 03:34:52 -07:00
Alexander Blair
3ba6c7fd30
Merge pull request #6516
...
8656a8c9f remove double includes (sumogr)
2020-07-19 03:34:28 -07:00
Alexander Blair
a0d179e528
Merge pull request #6512
...
5ef0607da Update copyright year to 2020 (SomaticFanatic)
2020-07-19 03:32:59 -07:00
Alexander Blair
616558d512
Merge pull request #6509
...
71693f06 systemd: Make sure required folders exist (Age Bosma)
2020-07-19 03:32:03 -07:00
Alexander Blair
7cd0d7f324
Merge pull request #6501
...
3843a6ab Made ccache optional (opt out) and tidied up the FindCcache.cmake (mj-xmr)
2020-07-19 03:29:26 -07:00
Alexander Blair
65938d26f6
Merge pull request #6497
...
db8563cb performance_tests: some windows fixes (moneromooo-monero)
2020-07-19 03:27:55 -07:00
Alexander Blair
2fa20016a7
Merge pull request #6489
...
7765da6e Keys: Add key for rbrunner7 (rbrunner7)
2020-07-19 03:27:34 -07:00
Alexander Blair
5041de8a3b
Merge pull request #6488
...
99684e3e simplewallet: add show_qr_code command (selsta)
2020-07-16 06:14:30 -07:00
Alexander Blair
66235c7f02
Merge pull request #6476
...
6d41d9e8 contrib: remove codefresh pipeline (selsta)
2020-07-16 06:13:20 -07:00
Alexander Blair
17823be66d
Merge pull request #6475
...
91182330 snap: remove from repo (selsta)
2020-07-16 06:12:26 -07:00
luigi1111
cb882dfc55
Merge pull request #6670
...
332d607 tx_pool: mine stem txes in fake chain mode (moneromooo-monero)
2020-07-09 12:45:05 -05:00
moneromooo-monero
332d60719a
tx_pool: mine stem txes in fake chain mode
...
This fixes the functional tests, since txes would not be mined
after being sent to the daemon (they'd be waiting for the
dandelion timeout first)
2020-07-09 14:52:13 +00:00
luigi1111
9f93a1b632
Merge pull request #6650
...
0fd6cce blockchain: fix timestamp/difficulty cache getting out of sync (moneromooo-monero)
2020-07-08 20:38:03 -05:00
moneromooo-monero
0fd6ccef21
blockchain: fix timestamp/difficulty cache getting out of sync
...
The cache is discarded when a block is popped, but then gets
rebuilt when the difficulty for next block is requested.
While this is all properly locked, it does not take into account
the delay caused by a database transaction being only committed
(and thus its effects made visible to other threads) later on,
which means another thread could request difficulty between
the pop and the commit, which would end up using stale database
view to build the cache, but that cache would not be invalidated
again when the transaction gets committed, which would cause the
cache to not match the new database data.
To fix this, we now keep track of when the cache is invalidated
so we can invalidate it again upon database transaction commit
to ensure it gets calculated again with fresh data next time it
is nedeed.
2020-07-08 22:31:51 +00:00
luigi1111
803f58553b
Merge pull request #6675
...
3721d56 epee: fix array underflow in unicode parsing (moneromooo-monero)
2020-07-08 17:27:53 -05:00
luigi1111
99b14ccd6a
Merge pull request #6647
...
4d8d121 Fix D++ block template check (vtnerd)
2020-07-08 17:25:01 -05:00
luigi1111
18bb011afe
Merge pull request #6629
...
795e186 blockchain: fix total_height in getblocks.bin response (moneromooo-monero)
2020-07-08 17:23:28 -05:00
luigi1111
e8d87fccc2
Merge pull request #6627
...
4df8f9c rpc: fix loading rpc payment data from file (moneromooo-monero)
2020-07-08 17:22:33 -05:00
luigi1111
0376195015
Merge pull request #6611
...
dc1a053 rpc: fix comparison of seconds vs microseconds (moneromooo-monero)
2020-07-08 17:21:31 -05:00
luigi1111
3057f52f89
Merge pull request #6599
...
6e4a55b rpc: fix relay_tx error return mixup (moneromooo-monero)
9b86e14 functional_tests: add simple relay_tx test (moneromooo-monero)
2020-07-08 17:20:29 -05:00
luigi1111
228101a72e
Merge pull request #6597
...
ec46069 Fix incorrect lenght of command INS_PREFIX_HASH (grydz)
2020-07-08 17:18:10 -05:00
luigi1111
81c2586358
Merge pull request #6588
...
bcef52d daemon: remove time based 'update needed' status string (moneromooo-monero)
2020-07-08 17:15:19 -05:00
luigi1111
340e1943ac
Merge pull request #6587
...
94befec fix typo in pick_preferred_rct_inputs (Parean)
2020-07-08 17:14:09 -05:00
luigi1111
be170c485c
Merge pull request #6584
...
78d435a rpc: don't display invalid json errors on default log level (moneromooo-monero)
2020-07-08 17:12:43 -05:00
luigi1111
8b3fa2d373
Merge pull request #6574
...
7ebb351 rpc: lock access to the rpc payment object (moneromooo-monero)
2020-07-08 17:11:32 -05:00
luigi1111
634262f3f5
Merge pull request #6568
...
f037121 cryptonote_core: remove 'We are most likely forked' message (moneromooo-monero)
2020-07-08 17:10:39 -05:00
luigi1111
f1334ebf64
Merge pull request #6566
...
567402c protocol: move the 'peer claims higher version' warning to debug (moneromooo-monero)
2020-07-08 17:08:58 -05:00
luigi1111
35e2520115
Merge pull request #6559
...
15538f7 ByteSlice: Fix persisting ptr to std::moved SSO buffer (Doy-lee)
2020-07-08 17:07:50 -05:00
luigi1111
ee817e00bb
Merge pull request #6550
...
ca60d60 easylogging++: sanitize log payload (moneromooo-monero)
2020-07-08 17:06:26 -05:00
luigi1111
ed903578d7
Merge pull request #6544
...
5741b4d blockchain: detect and log bad difficulty calculations (moneromooo-monero)
2020-07-08 17:04:41 -05:00
luigi1111
7d903bc992
Merge pull request #6528
...
b73f4e7 [master]: Update gitian yml files (iDunk5400)
2020-07-08 17:03:37 -05:00
selsta
ed901798d9
version: update name
2020-07-06 23:22:25 +02:00
tevador
a3933a2a5e
Update RandomX to v1.1.8
2020-07-04 15:24:39 +02:00
selsta
6111689cfa
cmake: allow custom openssl path on macOS
2020-06-25 20:31:16 +02:00
moneromooo-monero
afd002c31f
daemon: print sampling time in print_net_stats
2020-06-25 13:03:59 +00:00
moneromooo-monero
ec7bba0793
util: fix kilo prefix typo (K instead of k)
2020-06-25 13:03:24 +00:00
selsta
2f1ad3b3d2
updates: mac gui .tar.bz2 -> .dmg
2020-06-22 02:55:22 +02:00
Dusan Klinec
f9e3fcdf3e
add trezor support to sweep_single
2020-06-21 23:17:58 +02:00
moneromooo-monero
3721d5688f
epee: fix array underflow in unicode parsing
...
Reported by minerscan
Also independently found by OSS-Fuzz just recently
2020-06-21 18:22:16 +00:00
selsta
99684e3ec3
simplewallet: add show_qr_code command
...
Thanks to iDunk for helping with Windows.
2020-06-21 20:15:10 +02:00
luigi1111
93257997bd
Merge pull request #6656
...
bde7f1c fuzz_tests: fix init check in oss-fuzz mode (moneromooo-monero)
c4b7420 Do not use PIE with OSS-Fuzz (moneromooo-monero)
c4df8b1 fix leaks in fuzz tests (moneromooo-monero)
38ca1bb fuzz_tests: add a tx extra fuzz test (moneromooo-monero)
2020-06-19 10:17:51 -05:00
moneromooo-monero
e334280127
python-rpc: fix bad in_peers parameter
2020-06-17 14:34:16 +00:00
luigi1111
b3d6382d40
Merge pull request #6637
...
58e1c8b repo: update donation fund address (selsta)
2020-06-15 15:54:22 -05:00
moneromooo-monero
267ce5b718
avoid a couple needless copies
2020-06-14 18:05:35 +00:00
moneromooo-monero
bde7f1c5cc
fuzz_tests: fix init check in oss-fuzz mode
2020-06-14 16:10:49 +00:00
moneromooo-monero
c4b74208c7
Do not use PIE with OSS-Fuzz
2020-06-14 14:03:18 +00:00
moneromooo-monero
c4df8b1390
fix leaks in fuzz tests
2020-06-14 12:54:13 +00:00
moneromooo-monero
38ca1bb389
fuzz_tests: add a tx extra fuzz test
2020-06-14 12:54:10 +00:00
Lee Clagett
4d8d121462
Fix D++ block template check
2020-06-12 22:05:52 -04:00
selsta
58e1c8b031
repo: update donation fund address
2020-06-09 12:19:39 +02:00
stoffu
7bd66b01bf
daemon: guard against rare 'difficulty drift' bug with checkpoints and recalculation
...
On startup, it checks against the difficulty checkpoints, and if any mismatch is found, recalculates all the blocks with wrong difficulties. Additionally, once a week it recalculates difficulties of blocks after the last difficulty checkpoint.
2020-06-09 10:40:51 +09:00
luigi1111
ff4d470629
Merge pull request #6576
...
4d3c2d0 rpc: add a sanity limit to a few RPC in restricted mode (moneromooo-monero)
2020-06-08 14:27:05 -05:00
luigi1111
c4f4091dd4
Merge pull request #6561
...
c17fe81 wallet2: fix multisig data clearing stomping on a vector (moneromooo-monero)
2020-06-08 14:21:33 -05:00
luigi1111
445f74c71a
Merge pull request #6556
...
5ed37ba serialization: fix bad rapidjson api usage (moneromooo-monero)
2020-06-08 14:18:09 -05:00
luigi1111
28745b1b63
Merge pull request #6553
...
bb5c5df cryptonote_protocol: reject requests/notifications before handshake (moneromooo-monero)
f1d0457 cryptonote_protocol: stricter limit to number of objects requested (moneromooo-monero)
2020-06-08 14:16:42 -05:00
luigi1111
e17c864ba2
Merge pull request #6549
...
82d21f5 easylogging++: sanitize log payload (moneromooo-monero)
7d0b7e8 [master] MMS: New 'config_checksum' subcommand (rbrunner7)
2020-06-08 14:12:08 -05:00
luigi1111
e27604ff10
Merge pull request #6539
...
85164a8 epee: use memwipe rather than memset for md5 secrets (moneromooo-monero)
2020-06-08 14:09:22 -05:00
luigi1111
3a577f1ce7
Merge pull request #6525
...
86cf811 simplewallet: don't complain about incoming payment ids on change (moneromooo-monero)
2020-06-08 14:07:45 -05:00
luigi1111
967285a9fa
Merge pull request #6522
...
29e563b Fixed bugs for take_slice and byte_stream->byte_slice (vtnerd)
2020-06-08 14:05:05 -05:00
luigi1111
09667700e8
Merge pull request #6519
...
ab44293 trezor: add new firmware version support (ph4r05)
2020-06-08 14:03:57 -05:00
luigi1111
37c359e765
Merge pull request #6514
...
4baee20 build: prepare v0.16.0.0 release (selsta)
2020-06-08 14:02:00 -05:00
selsta
01c384c5de
workflows: update msys2 setup action v0 -> v1
2020-06-07 21:03:33 +02:00
woodser
ef694d028f
fix warning by removing std::move() on temporary http_client object
2020-06-06 11:38:32 -04:00
moneromooo-monero
795e18632c
blockchain: fix total_height in getblocks.bin response
2020-06-05 15:27:07 +00:00
moneromooo-monero
4df8f9c414
rpc: fix loading rpc payment data from file
...
Got broken after making one of those micro optimizations requested on review..
2020-06-05 11:21:24 +00:00
MaxXor
2d5d74ff5c
Mention correct libusb and libudev dependencies
2020-06-02 14:00:31 +02:00
moneromooo-monero
b6e904e547
README: mention pruning
2020-06-01 17:48:11 +00:00
luigi1111
992b7ce30f
Merge pull request #6612
...
7aeb503 Fix boost <1.60 compilation and fix boost 1.73+ warnings (vtnerd)
2020-06-01 08:52:12 -05:00
Lee Clagett
7aeb503547
Fix boost <1.60 compilation and fix boost 1.73+ warnings
2020-05-31 21:18:11 -04:00
moneromooo-monero
dc1a053081
rpc: fix comparison of seconds vs microseconds
2020-05-31 22:28:23 +00:00
moneromooo-monero
eb1b321fe2
miner: increase min/max intervals to full extents
...
This prevents setting target to, eg, 65 being ignored
and remove an unused constant
2020-05-31 12:36:47 +00:00
luigi1111
7e78da7772
Merge pull request #6582
...
2314dae workflows: fix windows build (selsta)
2020-05-28 12:53:58 -05:00
moneromooo-monero
9b86e14c5a
functional_tests: add simple relay_tx test
2020-05-28 12:49:17 +00:00
moneromooo-monero
6e4a55ba7e
rpc: fix relay_tx error return mixup
2020-05-28 11:33:27 +00:00
luigi1111
d6d4a03b85
Merge pull request #6535
...
81773f5 fuzz_tests: refactor and add OSS-Fuzz compatibility (moneromooo-monero)
cb4edc1 cmake: ASAN and PIE don't mix (moneromooo-monero)
2020-05-27 18:27:06 -05:00
luigi1111
463d044f5e
Merge pull request #6531
...
f35ced6 build: fix boost 1.73 compatibility (selsta)
2020-05-27 18:25:33 -05:00
François Colas
ec46069248
Fix incorrect lenght of command INS_PREFIX_HASH
...
buffer_send[4] (LC) is an unsigned char, len should not
exceed 254 (255 - 1 for the option).
2020-05-27 18:06:19 +02:00
moneromooo-monero
6f5411d305
tests: fix missing error on missing python entry point
2020-05-27 13:11:01 +00:00
moneromooo-monero
c6dc2850c2
python-rpc: add missing sync_txpool python entry point
2020-05-27 13:11:00 +00:00
moneromooo-monero
bcef52d430
daemon: remove time based "update needed" status string
2020-05-24 21:44:03 +00:00
xiphon
40b73d2a6c
cmake: insert CMAKE_CURRENT_SOURCE_DIR in CMAKE_MODULE_PATH
2020-05-24 16:47:06 +00:00
rbrunner7
7d0b7e83ef
[master] MMS: New 'config_checksum' subcommand
2020-05-24 10:23:55 +02:00
moneromooo-monero
82d21f5b3c
easylogging++: sanitize log payload
...
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
2020-05-24 08:38:59 +02:00
moneromooo-monero
78d435a5fa
rpc: don't display invalid json errors on default log level
...
It's not something the user needs to know, and will display
attacker controlled data
2020-05-23 12:26:49 +00:00
selsta
2314dae8c8
workflows: fix windows build
2020-05-23 02:30:09 +02:00
xiphon
a6803231e6
daemon: complain if data dir resides on FAT32 volume (Windows)
2020-05-21 15:23:44 +00:00
moneromooo-monero
4d3c2d0b7b
rpc: add a sanity limit to a few RPC in restricted mode
2020-05-20 19:17:49 +00:00
Doyle
15538f7e3f
ByteSlice: Fix persisting ptr to std::moved SSO buffer
...
The Bug:
1. Construct `byte_slice.portion_` with `epee::span(buffer)` which copies a pointer to the SSO buffer to `byte_slice.portion_`
2. It constructs `byte_slice.storage_` with `std::move(buffer)` (normally this swap pointers, but SSO means a memcpy and clear on the original SSO buffer)
3. `slice.data()` returns a pointer from `slice.portion_` that points to the original SSO cleared buffer, `slice.storage_` has the actual string.
2020-05-20 10:13:58 +10:00
selsta
1d31e6c000
net_node: remove dead seed nodes
2020-05-20 01:06:03 +02:00
moneromooo-monero
7ebb351c2d
rpc: lock access to the rpc payment object
2020-05-19 18:26:28 +00:00
moneromooo-monero
f0371210e9
cryptonote_core: remove "We are most likely forked" message
...
It's time based and we don't have forks every 6 months anymore
2020-05-19 16:27:24 +00:00
moneromooo-monero
567402c508
protocol: move the "peer claims higher version" warning to debug
...
Because there's a neverending supply of cunts claiming a wrong
version just to say "look at me" I guess
2020-05-19 16:14:53 +00:00
moneromooo-monero
72cdfa4a20
fix a few typos in error messages
...
Reported by adrelanos
2020-05-19 15:59:26 +00:00
moneromooo-monero
c17fe815a2
wallet2: fix multisig data clearing stomping on a vector
2020-05-19 10:45:40 +00:00
moneromooo-monero
f1d0457523
cryptonote_protocol: stricter limit to number of objects requested
...
Reported by xnbya
2020-05-19 10:33:03 +00:00
moneromooo-monero
bb5c5dff15
cryptonote_protocol: reject requests/notifications before handshake
...
Reported by xnbya
2020-05-19 10:33:02 +00:00
moneromooo-monero
ca60d60fea
easylogging++: sanitize log payload
...
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
2020-05-19 10:31:28 +00:00
moneromooo-monero
bd69e3b37a
testdb: add override in a couple places where it's missing
2020-05-18 14:17:48 +00:00
moneromooo-monero
5ed37ba83c
serialization: fix bad rapidjson api usage
2020-05-18 14:17:23 +00:00
moneromooo-monero
5741b4d74d
blockchain: detect and log bad difficulty calculations
2020-05-17 12:44:45 +00:00
moneromooo-monero
eda1675858
wallet_rpc_server: use unlock_time in suggested confirmations calc
2020-05-17 01:03:32 +00:00
moneromooo-monero
35665df206
protocol: don't drop a connection if we can't get a compatible chain
...
This can now happen if:
- we have a pruned db
- we have not connected to the monero network for a while
- we connect to a node
- that node asks us for history
- we only have a pruned version of the most recent common block
In that case, it's better to not reply but keep the connection alive,
so we can sync off it.
2020-05-16 19:55:31 +00:00
moneromooo-monero
85164a8daf
epee: use memwipe rather than memset for md5 secrets
...
That's used by HTTP auth now
2020-05-16 18:12:55 +00:00
moneromooo-monero
7178bb5c84
keccak: remove aligned check
...
Some tools report the alignment check as UB, which seems a bit
dubious, but since the performance difference between the two
versions is minimal, I'll go with the safe version
2020-05-16 12:28:27 +00:00
Lee Clagett
a11ec4ac1d
Support for supercop ASM in wallet, and benchmark for supercop
2020-05-16 10:25:17 +00:00
moneromooo-monero
5e0ea6e95c
simplewallet: add missing calls to on_command
...
It resets the inactivity time
2020-05-16 00:48:44 +00:00
moneromooo-monero
bd96536637
db_lmdb: test for mmap support at init time
...
It'll make it clearer when a DB init failure is due to being
on a filesystem which does not support mmap
2020-05-16 00:20:22 +00:00
moneromooo-monero
cb4edc1f45
cmake: ASAN and PIE don't mix
...
Binaries built with both crash on startup with maybe 25% probability
2020-05-15 17:18:50 +00:00
moneromooo-monero
81773f55a4
fuzz_tests: refactor and add OSS-Fuzz compatibility
2020-05-15 17:18:27 +00:00
Lee Clagett
67ade80055
Add randomized delay when forwarding txes from i2p/tor -> ipv4/6
2020-05-15 07:57:35 +00:00
selsta
f35ced6d7f
build: fix boost 1.73 compatibility
2020-05-14 22:57:53 +02:00
moneromooo-monero
86cf811a39
simplewallet: don't complain about incoming payment ids on change
2020-05-13 23:28:31 +00:00
russoj88
153977aed4
libzmq should be libzmq4.
2020-05-13 14:21:18 -07:00
iDunk5400
b73f4e78d0
[master]: Update gitian yml files
2020-05-13 22:08:00 +02:00
selsta
4baee200a7
build: prepare v0.16.0.0 release
2020-05-13 16:15:03 +02:00
moneromooo-monero
5d882f4f14
blockchain: fix theoretical race getting bulk timestamps
2020-05-13 13:42:41 +00:00
Dusan Klinec
ab4429346d
trezor: add new firmware version support
2020-05-12 16:31:36 +02:00
Lee Clagett
29e563bb1e
Fixed bugs for take_slice and byte_stream->byte_slice
2020-05-12 01:26:37 -04:00
sumogr
8656a8c9ff
remove double includes
2020-05-11 13:53:17 +00:00
SomaticFanatic
5ef0607da6
Update copyright year to 2020
...
Update copyright year to 2020
2020-05-06 22:36:54 -04:00
Age Bosma
71693f06a1
systemd: Make sure required folders exist
...
The default monero.conf file depends on the existence of the folders `/var/log/monero/` and `/var/lib/monero/`.
This change makes sure systemd will create them, together with the proper permissions, if they don't exist.
`StateDirectory` can be considered an extra safety in case the user `monero` happens to have been created with specifying `/var/lib/monero/` as a home folder but without actually creating it.
2020-05-06 14:57:47 +02:00
mj-xmr
3843a6aba5
Made ccache optional (opt out) and tidied up the FindCcache.cmake
2020-05-04 09:46:31 +02:00
Lee Clagett
e5214a2ca2
Adding ZMQ/Pub support for txpool_add and chain_main events
2020-05-04 02:06:35 +00:00
ArqTras
a07c8abcc1
Update expat.mk
2020-05-03 22:37:58 +02:00
moneromooo-monero
db8563cb46
performance_tests: some windows fixes
...
Too many iterations cause std::bad_alloc for the timings vector,
and the micro prefix displays as some other character, so use u.
Reported by iDunk
2020-05-03 14:11:45 +00:00
rbrunner7
7765da6eb2
Keys: Add key for rbrunner7
2020-04-29 22:15:42 +02:00
selsta
6d41d9e8f9
contrib: remove codefresh pipeline
2020-04-25 00:25:55 +02:00
selsta
91182330d7
snap: remove from repo
2020-04-25 00:15:37 +02:00