benevanoff
25e82545f3
expose set_offline to wallet api
3 years ago
moneromooo-monero
57edfd78fd
p2p: allow CIDR notation in DNS blocklist
3 years ago
luigi1111
e1d987aa66
Merge pull request #7430
...
064eeb2
wallet_rpc_server: set seed language in generate_from_keys (moneromooo-monero)
3 years ago
luigi1111
b12e195fba
Merge pull request #7620
...
fe63256
cryptonote_protocol_handler: fix race condition (anon)
ded2f3a
cryptonote_protocol_handler: add race condition demo (anon)
3 years ago
luigi1111
1a8b6ba8c0
Merge pull request #7542
...
7c4e4c7
wallet_api: add isDeterministic() (tobtoht)
3 years ago
luigi1111
0607a10696
Merge pull request #7538
...
1851f26
wallet_api: add seed_offset param to seed() (tobtoht)
3 years ago
luigi1111
247db4e304
Merge pull request #7373
...
86263b3
Honor LARGE_PAGES flag in randomx umask (Howard Chu)
3 years ago
luigi1111
ac091fb539
Merge pull request #7358
...
f346e3e
wallet_rpc_payments: implement multithreading (gdmojo)
3 years ago
luigi1111
c2bc829cca
Merge pull request #7326
...
cf266d6
bootstrap_daemon: proxy configuration support (xiphon)
3 years ago
luigi1111
8c8197463f
Merge pull request #7310
...
76fe73b
Revert 'fix accessing an network address in a deleted context' (selsta)
3 years ago
luigi1111
1cd1206332
Merge pull request #7238
...
aa3e89a
p2p: fix set_peer_just_seen ignoring last_seen (moneromooo)
3 years ago
luigi1111
cf1a95b67d
Merge pull request #7088
...
386ef03
Add TLSA support to DNSSEC fetching (Lee Clagett)
3 years ago
mj-xmr
673c6d2d11
Reduce compilation time of epee/portable_storage_template_helper.h
3 years ago
moneromooo-monero
447bfae2a4
wallet2: fix unlocked mixup in light wallet mode
3 years ago
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
3 years ago
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.
3 years ago
anon
fe632560f4
cryptonote_protocol_handler: fix race condition
3 years ago
luigi1111
5b8d714a4b
Merge pull request #7422
...
d46d90c
return output key for incoming transfers (benevanoff)
3 years ago
luigi1111
42987f93f4
Merge pull request #7418
...
68f1ca6
trezor: simplify recognition of integrated addresses (Dusan Klinec)
3 years ago
luigi1111
e04e208141
Merge pull request #7412
...
6477b47
wallet_rpc: add scan_tx (tobtoht)
3 years ago
luigi1111
602926fe9d
Merge pull request #7366
...
9867a91
Store RPC SSL key/cert for consistent authentication between runs (Lee Clagett)
3 years ago
luigi1111
8d7c1135b8
Merge pull request #6810
...
19b2283
New add_aux_pow RPC to support merge mining (moneromooo-monero)
3 years ago
moneromooo-monero
71741a1ed6
blockchain_import: fix wrong reported block/tx hashes on error
3 years ago
moneromooo-monero
254a1338ad
core: speed up print_coinbase_tx_sum
...
It only needs to parse the tx headers, not the full tx data
3 years ago
tobtoht
7c4e4c7603
wallet_api: add isDeterministic()
3 years ago
tobtoht
1851f2645a
wallet_api: add seed_offset param to seed()
3 years ago
moneromooo-monero
064eeb2861
wallet_rpc_server: set seed language in generate_from_keys
...
Also sanity check language name
3 years ago
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.
3 years ago
luigi1111
e01894672b
Merge pull request #7335
...
8d03bb6
device_trezor: add redundant check (anon)
34f9428
device_trezor: wipe string fields properly (anon)
3 years ago
benevanoff
d46d90c436
return output key for incoming transfers
3 years ago
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
3 years ago
tobtoht
6477b47ac7
wallet_rpc: add scan_tx
3 years ago
gdmojo
f346e3ec0e
wallet_rpc_payments: implement multithreading
3 years ago
luigi1111
6556c33f13
Merge pull request #7355
...
bd12984
Remove copies from foreach loops (thanks to Clang) (Lee Clagett)
1572df9
Removing unused namespace alias (Lee Clagett)
3 years ago
luigi1111
ce5800a225
Merge pull request #7346
...
85db173
Remove unused variables in monero codebase (Kevin Barbour)
3 years ago
luigi1111
0e35d46f5e
Merge pull request #7341
...
b587ffa
Stop adding more outputs than bulletproof allows (Alex Opie)
3 years ago
luigi1111
98cb68e5a7
Merge pull request #7340
...
ccd0f2b
Simplewallet.cpp: Add export_outputs help (SomaticFanatic)
3 years ago
luigi1111
3f55f7df31
Merge pull request #7312
...
186271e
monero-wallet-cli: Added command scan_tx (Horia Mihai David)
3 years ago
Horia Mihai David
186271e5d1
monero-wallet-cli: Added command scan_tx
...
To implement this feature, the wallet2::scan_tx API was implemented.
3 years ago
luigi1111
3328938d4e
Merge pull request #7319
...
993e9be
simplewallet: allow setting --restore-height 0 (selsta)
3 years ago
luigi1111
2222d90491
Merge pull request #7294
...
f10c9a1
remove obsolete pruning debug code (moneromooo-monero)
3 years ago
luigi1111
bf53f55366
Merge pull request #7288
...
015da03
wallet_rpc_server: don't abort on initial refresh failure (xiphon)
3 years ago
luigi1111
0bbaa9df81
Merge pull request #7275
...
f815740
p2p: make REQUEST_SUPPORT_FLAGS optional, pass flags in node data (moneromooo-monero)
3 years ago
luigi1111
080358ebef
Merge pull request #7273
...
e7f5845
Only INFO log for short seed words with ALLOW_SHORT_WORDS active (rbrunner7)
3 years ago
luigi1111
f11e434ae6
Merge pull request #7265
...
bdabcd0
wallet_api: store fee for incoming txs in history (Ben Evanoff)
3 years ago
luigi1111
7c6db2fed1
Merge pull request #7252
...
f208d98
p2p: ignore empty IP from DNS block list (moneromooo-monero)
3 years ago
luigi1111
7439d891bf
Merge pull request #7242
...
021a281
simplewallet: Add input file parameter to sign_transfer (Steff Richards)
3 years ago
luigi1111
ba76a4d26e
Merge pull request #7185
...
50ff106
wallet api: allow wallet to fetch all key images via api (benevanoff)
3 years ago
luigi1111
4c410a1e3a
Merge pull request #7000
...
dc48de7
Reduce compilation time of epee/portable_storage.h (mj-xmr)
3 years ago
luigi1111
4ee301c687
Merge pull request #6986
...
ee58f4f
Balance includes unconfirmed payments (woodser)
3 years ago
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)
3 years ago
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).
3 years ago
luigi1111
c41e087d46
Merge pull request #6900
...
aaa3289
add more updates domains and make the voting generic, not just 2/3 (moneromooo-monero)
3 years ago
Lee Clagett
9867a913dc
Store RPC SSL key/cert for consistent authentication between runs
3 years ago
Howard Chu
86263b386c
Honor LARGE_PAGES flag in randomx umask
3 years ago
moneromooo-monero
19b228393f
New add_aux_pow RPC to support merge mining
3 years ago
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.
3 years ago
mj-xmr
dc48de74e8
Reduce compilation time of epee/portable_storage.h
3 years ago
Lee Clagett
bd129849f0
Remove copies from foreach loops (thanks to Clang)
3 years ago
Lee Clagett
1572df9e26
Removing unused namespace alias
3 years ago
Lee Clagett
2a20434705
Fix monerod --rpc-ssl disabled
3 years ago
Alex Opie
b587ffa1fd
Stop adding more outputs than bulletproof allows
...
If more outputs are requested, they are split across
multiple transactions.
#7322
3 years ago
Lee Clagett
08e4497c6e
Improve cryptonote (block and tx) binary read performance
3 years ago
SomaticFanatic
ccd0f2bdc2
Simplewallet.cpp: Add export_outputs help
...
See #6547
3 years ago
xiphon
cf266d66dd
bootstrap_daemon: proxy configuration support
3 years ago
anon
8d03bb688e
device_trezor: add redundant check
3 years ago
anon
34f942867f
device_trezor: wipe string fields properly
3 years ago
Lee Clagett
679d05567d
Remove payload copy in all outgoing p2p messages
3 years ago
Lee Clagett
23aae5571b
Remove payload copy in all outgoing p2p messages
3 years ago
luigi1111
cb70ae9450
Merge pull request #7260
...
c5c278c
p2p: only log to global when a blocked IP is not already blocked (moneromooo-monero)
3 years ago
luigi1111
8cb9f3cd80
Merge pull request #7240
...
46cc4a2
Header row for peer list in sync_info (Denis Goddard)
3 years ago
luigi1111
1f3f07d0e7
Merge pull request #7236
...
ab5e185
protocol: fix wrong command in logs (moneromooo-monero)
3 years ago
luigi1111
d259ed0740
Merge pull request #7119
...
dd5e689
protocol: add calls to reserve where appropriate (moneromooo-monero)
3 years ago
luigi1111
d01f31460e
Merge pull request #7113
...
7f30c49
simplewallet: don't complain about connecting to the daemon when offline (moneromooo-monero)
3 years ago
luigi1111
5c497ed22f
Merge pull request #7112
...
47590fc
rpc: report target height as 0 when synced (moneromooo-monero)
3 years ago
selsta
993e9be669
simplewallet: allow setting --restore-height 0
3 years ago
selsta
76fe73b8bd
Revert "fix accessing an network address in a deleted context"
...
This reverts commit 4e74385a1a
.
3 years ago
moneromooo-monero
f10c9a16c4
remove obsolete pruning debug code
3 years ago
Alexander Blair
747699541e
Merge pull request #7285
...
927141bcc
Command max_bytes moved from dynamic map to static switch (Lee Clagett)
3 years ago
xiphon
015da03a6f
wallet_rpc_server: don't abort on initial refresh failure
3 years ago
luigi1111
69e4a2c62d
Merge pull request #7266
...
38a6e6e
protocol: handle receiving a block hash we've not added yet (moneromooo-monero)
3 years ago
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
3 years ago
Alexander Blair
dbaf95ac77
Merge pull request #7271
...
4e74385a1
fix accessing an network address in a deleted context (moneromooo-monero)
3 years ago
Alexander Blair
71f7d4e71e
Merge pull request #7268
...
1e27f7101
blockchain: lock access to m_blocks_hash_of_hashes (moneromooo-monero)
3 years ago
moneromooo-monero
b652d598d1
add a max levin packet size by command type
3 years ago
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
3 years ago
rbrunner7
e7f5845ce8
Only INFO log for short seed words with ALLOW_SHORT_WORDS active
3 years ago
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
3 years ago
moneromooo-monero
38a6e6eb26
protocol: handle receiving a block hash we've not added yet
3 years ago
Ben Evanoff
bdabcd01b7
wallet_api: store fee for incoming txs in history
3 years ago
Alexander Blair
16c780d568
Merge pull request #7250
...
61b6e4cc6
Add aggressive restrictions to pre-handshake p2p buffer limit (Lee Clagett)
3 years ago
Alexander Blair
3bf0721ae6
Merge pull request #7246
...
0aa541b36
protocol: more sanity checks in new chain block hashes (moneromooo-monero)
3 years ago
Alexander Blair
2d60232355
Merge pull request #7237
...
656b2f7ce
p2p: fix deadlock banning while updating peer lists (moneromooo)
3 years ago
moneromooo-monero
c5c278c339
p2p: only log to global when a blocked IP is not already blocked
3 years ago
moneromooo
1d1c430b1f
p2p: fix cubic selection in filtered peer list
...
Integer quantization biased the picks a lot (leading some indices
to never be selected)
3 years ago
moneromooo-monero
f208d98492
p2p: ignore empty IP from DNS block list
...
ie, if the list ends in ;
3 years ago
Denis Goddard
46cc4a253b
Header row for peer list in sync_info
3 years ago
moneromooo-monero
0aa541b361
protocol: more sanity checks in new chain block hashes
3 years ago
Steff Richards
021a28137d
simplewallet: Add input file parameter to sign_transfer
3 years ago
moneromooo
aa3e89a2ba
p2p: fix set_peer_just_seen ignoring last_seen
3 years ago
moneromooo
656b2f7ce1
p2p: fix deadlock banning while updating peer lists
3 years ago
moneromooo-monero
ab5e185140
protocol: fix wrong command in logs
...
this is not a levin packet, this is just its payload
3 years ago
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
3 years ago
moneromooo-monero
1eb14af1a3
rpc: limit the number of txes for get_blocks.bin
4 years ago
Alexander Blair
2bccbeecb3
Merge pull request #7205
...
bcdc6c62b
protocol: fix false positives dropping peers (moneromooo-monero)
4 years ago
Alexander Blair
faaec08fa4
Merge pull request #7196
...
4310780c0
cryptonote_basic: guess what got lost porting patches to branches again (moneromooo-monero)
4 years ago
moneromooo-monero
bcdc6c62b7
protocol: fix false positives dropping peers
...
it'd trigger on reorgs
4 years ago
luigi1111
025db3d2b4
Revert "Reject existing claimed blocks in sync mode"
4 years ago
moneromooo-monero
4310780c08
cryptonote_basic: guess what got lost porting patches to branches again
4 years ago
Alexander Blair
d61fdebaac
Merge pull request #7188
...
efe83982d
protocol: drop nodes if they claim new data but only give stale data (moneromooo-monero)
4 years ago
Alexander Blair
5402121323
Merge pull request #7180
...
56748e1d7
ban lists may now include subnets (moneromooo-monero)
4 years ago
Alexander Blair
d06bae56b3
Merge pull request #7173
...
d2fda6c25
restrict public node checks a little (moneromooo-monero)
4 years ago
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)
4 years ago
Alexander Blair
cb712bf4f8
Merge pull request #7145
...
68637bca3
p2p: remove peers from grey and anchors lists when blocked (moneromooo-monero)
4 years ago
Alexander Blair
69ed0e0001
Merge pull request #7138
...
e9abfea16
Optional DNS based blocklist (moneromooo-monero)
4 years ago
Alexander Blair
b9e444da5e
Merge pull request #7098
...
c0c75ac19
Fixed issues found by static analysis (SChernykh)
4 years ago
Alexander Blair
133056f625
Merge pull request #7086
...
14bc5c095
db_lmdb: move spammy "not found in db" message to TRACE (moneromooo-monero)
4 years ago
Alexander Blair
d365f2409a
Merge pull request #6931
...
fbb03ef2a
simplewallet: add "address mnew" command (codesoap)
4 years ago
codesoap
fbb03ef2a0
simplewallet: add "address mnew" command
4 years ago
moneromooo-monero
efe83982d3
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
4 years ago
benevanoff
50ff1066f5
wallet api: allow wallet to fetch all key images via api
4 years ago
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
4 years ago
Lee Clagett
927141bcc4
Command max_bytes moved from dynamic map to static switch
4 years ago
moneromooo-monero
56748e1d74
ban lists may now include subnets
4 years ago
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
4 years ago
luigi1111
0dac64afb3
Merge pull request #7143
...
58651d1
p2p: ignore incoming peer list entries when we have them blocked (moneromooo-monero)
4 years ago
luigi1111
e0d8af253e
Merge pull request #7141
...
9de3787
daemon: the ban command can now load IPs from a file (ban @filename) (moneromooo-monero)
4 years ago
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)
4 years ago
moneromooo-monero
5a1ac9c0ef
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
4 years ago
moneromooo-monero
cf7e1571d3
protocol: reject claimed block hashes that already are in the chain
4 years ago
Lee Clagett
61b6e4cc67
Add aggressive restrictions to pre-handshake p2p buffer limit
4 years ago
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.
4 years ago
moneromooo-monero
f3c0d4f9df
protocol: remove unused (and cunningly uninitialized) field
4 years ago
moneromooo-monero
8e62362cd3
p2p: ifx getting seed nodes for uncommon cases
...
The code is technically correct, but liable to easily become incorrect with changes
4 years ago
moneromooo-monero
9de3787c47
daemon: the ban command can now load IPs from a file (ban @filename)
4 years ago
moneromooo-monero
68637bca3f
p2p: remove peers from grey and anchors lists when blocked
4 years ago
moneromooo-monero
58651d16c0
p2p: ignore incoming peer list entries when we have them blocked
4 years ago
luigi1111
e5decd0cde
Merge pull request #7130
...
543733d
protocol: include first new block in chain entry response (moneromooo-monero)
4 years ago
luigi1111
a57c95b2f1
Merge pull request #7127
...
5d1849a
protocol: stricter checks on received chain hash list (moneromooo)
4 years ago
moneromooo-monero
543733d42c
protocol: include first new block in chain entry response
4 years ago
moneromooo
5d1849a9eb
protocol: stricter checks on received chain hash list
4 years ago
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
4 years ago
Alexander Blair
0f67569279
Merge pull request #7121
...
cd7e9769d
protocol: one more sanity check on usable data from a peer (moneromooo-monero)
4 years ago
Alexander Blair
bdaadf85dc
Merge pull request #7117
...
5dee031b2
protocol: add a sanity check to the number of block hashes sent (moneromooo-monero)
4 years ago
Alexander Blair
bb6d2d4b05
Merge pull request #7114
...
eb77790df
protocol: fix asking for pruned blocks for v10 (moneromooo-monero)
4 years ago
Alexander Blair
28e5e42986
Merge pull request #7110
...
d660f22ed
protocol: drop origin IP if a block fails to verify in sync mode (moneromooo-monero)
4 years ago
Alexander Blair
5b62a6f316
Merge pull request #7106
...
0f34cabb9
protocol: more restrictive checks on chain entry response (moneromooo-monero)
4 years ago
Alexander Blair
1e9483a2d5
Merge pull request #7009
...
7414e2bac
Change epee binary output from std::stringstream to byte_stream (Lee Clagett)
4 years ago
moneromooo-monero
cd7e9769d8
protocol: one more sanity check on usable data from a peer
4 years ago
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
4 years ago