Commit Graph
7553 Commits
Author SHA1 Message Date
wowario becc181499 connect to updated seeds 2023-05-01 22:26:35 +03:00
_XxFedexX_w0wΔri0_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 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 Cityandwowario 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
SChernykhandwowario 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
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
qvqc f1ca5b5fd1 clean up seeds 2023-04-10 19:45:51 -04:00
wowario 3341cded57 add checkpoints.dat 2023-03-19 09:22:58 +03:00
Jeffrey Ryanandwowario 62ae03bfd3 verRctNonSemanticsSimpleCached: fix fragility 2023-03-19 09:10:08 +03:00
Francois Beutinandwowario f8d0f857f6 device: Add ledger Stax device id to device detection 2023-03-19 09:09:47 +03:00
moneromooo-moneroandwowario 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
tobtohtandwowario b1710a4fcc cryptonote_basic: remove unused struct 2023-03-18 11:27:41 +03:00
moneromooo-moneroandwowario 65764dce8c p2p: do not log to global when re-blocking a subnet 2023-03-18 11:24:51 +03:00
moneromooo-moneroandwowario c8b4cdffdc p2p: avoid spam blocking ipv4 addresses in a blocked subnet 2023-03-18 11:24:40 +03:00
wowario b878068e84 update checkpoints and bump version 2023-03-18 11:15:51 +03:00
wowario 215fccb71c Fix Offline transaction signing 2023-03-17 04:05:55 +03:00
wowario 0a6465ebcc revert estimate_fee requires new bp+ parameter 2023-03-16 20:32:17 +03:00
wowario 2482733bc7 support old ass BPs 2023-03-04 00:07:42 +03:00
wowario a8eb29dbe7 revert sanity check 2023-02-27 13:16:08 +03:00
wowario e78ef8a3a7 faster sync, drop unconfirmed mempool txs after 1 day 2023-02-26 10:58:40 +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-janaiyoandwowario 864255d783 simplewallet/wallet2: set option - show-detailed-prompt 2023-02-25 12:11:16 +03:00
moneromooo-moneroandwowario 4ac984bc56 blockchain_prune: faster
on my anecdotal SSD, goes from about 9 hours to 1h20.
2023-02-25 12:11:16 +03:00
moneromooo-moneroandwowario bd011fcae9 rpc: do not misidentify coinbase txes as pruned 2023-02-25 12:11:16 +03:00
plowsofandwowario d0bacf4f77 win-service: enable auto startup 2023-02-25 12:11:15 +03:00
selstaandwowario ddfefa5dd5 daemonizer: don't uninstall windows service on exit 2023-02-25 12:11:14 +03:00
moneromooo-moneroandwowario 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
wowario 15b7b9d05b wownero chan 2023-02-24 15:44:52 +03:00
wowario c36f266520 update checkpoints 2023-02-24 11:36:48 +03:00
wowario e9e18bdf56 set fork height 2023-02-24 11:34:13 +03:00
wowario 83b5e5ada1 from v20, limit tx extra size 2023-02-24 11:34:00 +03:00
tevadorandwowario 2944371b43 Add a size limit for tx_extra in tx pool 2023-02-24 11:33:45 +03:00
wowario b06dd76792 use rx_set_miner_thread after RX_BLOCK_VERSION 2023-02-24 11:33:30 +03:00
wowario 8695701058 Debug level No incoming connections 2023-02-24 11:33:17 +03:00
wowario 99682fb3a7 update checkpoints 2023-02-24 11:32:24 +03:00
thotbotandwowario e84d5ba8c0 Misc. network related
- Add interface for bytes sent/received
- Allow wallet refresh while daemon is not synchronized
- emit success boolean for refreshed()
- don't call refreshThreadFunc (we don't need it)
- lower rpc timeout from 3m30s (?!) to 10 seconds
2023-02-24 11:31:19 +03:00
thotbotandwowario 200586592c Import transaction 2023-02-24 11:31:04 +03:00
dscandwowario b2d752b298 estimate_fee requires new bp+ parameter 2023-02-24 11:30:50 +03:00
thotbotandwowario 3d25c90053 Skip unneeded blocks in fast refresh 2023-02-24 11:30:35 +03:00
thotbotandwowario fd18ad1e60 subaddressIndex() 2023-02-24 11:30:22 +03:00
thotbotandwowario d2a170f6e4 Print wallet cache 2023-02-24 11:30:10 +03:00
thotbotandwowario 60ff2f668e Misc. wallet API and wallet2 changes 2023-02-24 11:29:55 +03:00