Commit Graph

11201 Commits

Author SHA1 Message Date
w0wΔri0
e921c3b8a3 Merge pull request 'upstream' (#479) from wowario/wownero:dns-fix into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/479
2023-05-01 20:20:58 +00:00
moneromooo-monero
f626f0a412
wallet2: do not commit transactions more than once
Fixes #8793
2023-05-01 23:09:59 +03:00
jeffro256
d9c70f5a08
rpc: give reason when sending non-hex raw tx 2023-05-01 23:08:37 +03:00
Jeffro256
8d7701a67d
build: BUILD_DEBUG_UTILITIES fix
Co-authored-by: Jethro Grassie <jtg@xtrabass.com>
2023-05-01 23:07:52 +03:00
moneromooo-monero
2a8a05af56
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-05-01 23:05:59 +03:00
Crypto City
bb88fdfcdd
wallet2: add on_reorg callback 2023-05-01 23:04:08 +03:00
almalh
1a86d67ef4
Handle case where a command line flag is not allowed in the config file 2023-05-01 22:56:52 +03:00
w0wΔri0
2c26e205bd Merge pull request 'revert faster sync' (#478) from wowario/wownero:dns-fix into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/478
2023-05-01 19:53:29 +00:00
wowario
48b8b5287b
revert faster sync 2023-05-01 22:51:31 +03:00
w0wΔri0
a1fde20408 Merge pull request 'update checkpoints, connect to updated seeds, update pgp key' (#477) from wowario/wownero:dns-fix into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/477
2023-05-01 19:50:04 +00:00
wowario
6824ad23f6
update checkpoints 2023-05-01 22:29:01 +03:00
wowario
dee8d4a2e2
bump version 2023-05-01 22:28:36 +03:00
wowario
272ddf78bf
add wowario PGP key 2023-05-01 22:28:16 +03:00
wowario
becc181499
connect to updated seeds 2023-05-01 22:26:35 +03:00
_XxFedexX_
ef8637a396 Enable DNS Blocklist (#476)
This PR enables DNS blocklist, and forces it on. This is meant to be a temporary solution to the massive number of outdated nodes. Once the network has stabilized again, DNS blocklist should be disabled by default again.

Co-authored-by: _xxfedexx_ <>
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/476
Co-authored-by: _XxFedexX_ <_xxfedexx_@noreply.gitgud.wownero.nl>
Co-committed-by: _XxFedexX_ <_xxfedexx_@noreply.gitgud.wownero.nl>
2023-05-01 18:53:35 +00:00
w0wΔri0
085d0f1994 Merge pull request 'Revoke old pgp key' (#475) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/475
2023-04-25 02:13:26 +00:00
w0wΔri0
710430ea51 Revoke old pgp key 2023-04-25 02:10:34 +00:00
w0wΔri0
e292b49308 Merge pull request 'revert num_mainnet_hard_forks fork count' (#474) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/474
2023-04-16 10:30:34 +00:00
wowario
e815479531
revert num_mainnet_hard_forks fork count 2023-04-16 13:28:31 +03:00
w0wΔri0
b0ef1ce118 Merge pull request 'wallet2: fix outdated wallet check' (#473) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/473
2023-04-15 13:55:32 +00:00
Crypto City
ed71a89138
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-04-15 12:54:30 +03:00
w0wΔri0
90f8943da6 Merge pull request 'checkpoints and upstream commits' (#472) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/472
2023-04-11 12:15:06 +00:00
SChernykh
a2dc960250
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-04-11 15:05:34 +03:00
jeffro256
a03e5c3905
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-04-11 15:04:55 +03:00
wowario
e2d02caf67
update checkpoints and bump version 2023-04-11 15:03:33 +03:00
w0wΔri0
a985911453 Merge pull request 'clean up seeds' (#471) from qvqc/wownero:master into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/471
2023-04-11 00:00:39 +00:00
qvqc
f1ca5b5fd1
clean up seeds 2023-04-10 19:45:51 -04:00
moneromooo-monero
eb2a7342b8
link against libz on non Apple/Windows
Needed by libcrypto at least
2023-03-22 11:37:20 +03:00
w0wΔri0
a21819cc22 Merge pull request 'upstream' (#469) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/469
2023-03-19 07:14:47 +00:00
wowario
3341cded57
add checkpoints.dat 2023-03-19 09:22:58 +03:00
tobtoht
4578688c7b
depends: remove unused packages 2023-03-19 09:16:26 +03:00
Jeffrey Ryan
62ae03bfd3
verRctNonSemanticsSimpleCached: fix fragility 2023-03-19 09:10:08 +03:00
Francois Beutin
f8d0f857f6
device: Add ledger Stax device id to device detection 2023-03-19 09:09:47 +03:00
selsta
e44d831d7f
workflows: update dependencies to fix warnings 2023-03-19 09:09:19 +03:00
moneromooo-monero
12ad6748a4
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-03-18 11:31:52 +03:00
tobtoht
b1710a4fcc
cryptonote_basic: remove unused struct 2023-03-18 11:27:41 +03:00
moneromooo-monero
65764dce8c
p2p: do not log to global when re-blocking a subnet 2023-03-18 11:24:51 +03:00
moneromooo-monero
c8b4cdffdc
p2p: avoid spam blocking ipv4 addresses in a blocked subnet 2023-03-18 11:24:40 +03:00
w0wΔri0
a0e4d6b4c2 Merge pull request 'update checkpoints and bump version' (#468) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/468
2023-03-18 08:20:03 +00:00
wowario
b878068e84
update checkpoints and bump version 2023-03-18 11:15:51 +03:00
w0wΔri0
143ac20baf Merge pull request 'Fix Offline transaction signing' (#467) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/467
2023-03-17 01:09:20 +00:00
wowario
215fccb71c
Fix Offline transaction signing 2023-03-17 04:05:55 +03:00
w0wΔri0
4f1fc36c9b Merge pull request 'revert estimate_fee requires new bp+ parameter' (#466) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/466
2023-03-16 17:36:24 +00:00
wowario
0a6465ebcc
revert estimate_fee requires new bp+ parameter 2023-03-16 20:32:17 +03:00
w0wΔri0
6573d10b5b Merge pull request 'support old ass BPs' (#465) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/465
2023-03-04 02:38:16 +00:00
wowario
2482733bc7
support old ass BPs 2023-03-04 00:07:42 +03:00
jwinterm
f2b4a3be47 Merge pull request '[wallet2] comment out get_output_distribution sanity check' (#463) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/463
2023-02-27 13:22:53 +00:00
wowario
a8eb29dbe7
revert sanity check 2023-02-27 13:16:08 +03:00
jwinterm
6b28de1cdc Merge pull request 'wownero rebase v0.11' (#462) from wowario/wownero:wow-v0.11 into master
Reviewed-on: https://git.wownero.com/wownero/wownero/pulls/462
2023-02-26 18:37:19 +00:00
wowario
e78ef8a3a7
faster sync, drop unconfirmed mempool txs after 1 day 2023-02-26 10:58:40 +03:00