Commit Graph

11186 Commits

Author SHA1 Message Date
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
v0.11.0.1
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
v0.11 v0.11.0.0
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
wowario
7e6109d02a silent compiler warnings 2023-02-25 12:11:18 +03:00
wowario
6fe4ceaf09 wallet seed message spacing 2023-02-25 12:11:18 +03:00
wowario
bcdc98a8b0 remove warning reusing keys 2023-02-25 12:11:17 +03:00
wowario
6c97d87295 remove warning about background mining 2023-02-25 12:11:17 +03:00
wowario
d10480a12f add clear screen command 2023-02-25 12:11:17 +03:00
wowario
79a4abdc18 show wallet info 2023-02-25 12:11:17 +03:00
hinto-janaiyo
864255d783 simplewallet/wallet2: set option - show-detailed-prompt 2023-02-25 12:11:16 +03:00
moneromooo-monero
4ac984bc56 blockchain_prune: faster
on my anecdotal SSD, goes from about 9 hours to 1h20.
2023-02-25 12:11:16 +03:00
Offshore Monero
9be78e756b Turn readline off on OpenBSD because it is broken 2023-02-25 12:11:16 +03:00
moneromooo-monero
bd011fcae9 rpc: do not misidentify coinbase txes as pruned 2023-02-25 12:11:16 +03:00
moneromooo-monero
399593a320 heed NO_COLOR environment variable 2023-02-25 12:11:15 +03:00
plowsof
d0bacf4f77 win-service: enable auto startup 2023-02-25 12:11:15 +03:00
Jeffrey Ryan
f25a655cff readline_buffer: disable bracketed paste escape sequences 2023-02-25 12:11:15 +03:00
selsta
ddfefa5dd5 daemonizer: don't uninstall windows service on exit 2023-02-25 12:11:14 +03:00
moneromooo-monero
22e71f9449 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 15:50:41 +03:00