Commit Graph

7561 Commits

Author SHA1 Message Date
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
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
wowario 48b8b5287b
revert faster sync 2023-05-01 22:51:31 +03: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 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 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
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 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
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
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-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
moneromooo-monero bd011fcae9
rpc: do not misidentify coinbase txes as pruned 2023-02-25 12:11:16 +03:00
plowsof d0bacf4f77
win-service: enable auto startup 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
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
tevador 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