Commit Graph

1513 Commits

Author SHA1 Message Date
wowario 6824ad23f6
update checkpoints 2023-05-01 22:29:01 +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
Jeffrey Ryan 62ae03bfd3
verRctNonSemanticsSimpleCached: fix fragility 2023-03-19 09:10:08 +03:00
wowario b878068e84
update checkpoints and bump version 2023-03-18 11:15:51 +03:00
wowario c36f266520
update checkpoints 2023-02-24 11:36:48 +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 99682fb3a7
update checkpoints 2023-02-24 11:32:24 +03:00
wowario b5fb9aea88
change to debug level 2023-02-24 11:28:31 +03:00
wowario a636325df3
support old BP 2023-02-24 11:27:46 +03:00
wowario 47f78dc11a
vote by block 2023-02-24 11:27:32 +03:00
wowario 7d1b51ebf7
miner block header signing 2023-02-24 11:27:00 +03:00
wowario dd4556c5e1
difficulty is fun 2023-02-24 11:26:48 +03:00
wowario e52d622592
shorten timestamp check window 2023-02-24 11:26:37 +03:00
wowario 6cbf952315
limit future blk time to 10 min 2023-02-24 11:26:26 +03:00
wowario a2013707e2
bump unlock time to 288 blks 2023-02-24 11:24:20 +03:00
wowario 37e2666915
broadcast donation sub-address 2023-02-24 11:23:53 +03:00
wowario 5c29f2b10c
set pow variants 2023-02-24 11:16:28 +03:00
wowario 84f49bed65
set quick height for syncing 2023-02-24 11:16:17 +03:00
wowario 970ec88436
send dump log to wowario 2023-02-24 11:16:06 +03:00
wowario 35b1f07d86
set genesis block timestamp 2023-02-24 11:15:49 +03:00
wowario d4675d8527
add forks and checkpoints 2023-02-24 11:12:49 +03:00
wowario 2581457497
remove monero tx bug fixes 2023-02-24 11:11:00 +03:00
wowario 3817d559d6
bump ring size to 22 2023-02-24 11:10:37 +03:00
wowario 6526020b08
v0.11 ASCII art 2023-02-24 11:09:54 +03:00
wowario ddef0b1b8b
wownero skin pack 2023-02-24 11:09:41 +03:00
selsta dc18efa3d7
build: prepare v0.18.2.0 2023-02-08 22:18:30 +01:00
luigi1111 c48f572e46
Merge pull request #8676
29208a3 Cache successful erRctNonSemanticsSimple calls (SChernykh)
2023-01-11 12:28:08 -05:00
SChernykh 29208a33cb Cache successful `verRctNonSemanticsSimple` calls 2022-12-20 22:19:00 +01:00
SChernykh f698f2b708 Refactored rx-slow-hash.c
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2022-12-14 07:21:00 +01:00
selsta 853171bbf0
build: prepare v0.18.1.2 2022-09-26 22:41:36 +02:00
luigi1111 1f27fdf6a5
Merge pull request #8588
802c4bb Move update_checkpoints() to a later stage (SChernykh)
2022-09-26 15:00:59 -05:00
SChernykh 802c4bb0e4 Move update_checkpoints() to a later stage
update_checkpoints() makes a few DNS requests and can take up to 20-30 seconds to complete (3-6 seconds on average). It is currently called from core::handle_incoming_block() which holds m_incoming_tx_lock, so it blocks all incoming transactions and blocks processing while update_checkpoints() is running. This PR moves it to until after a new block has been processed and relayed, to avoid full monerod locking.
2022-09-22 13:06:39 +02:00
SChernykh 6adf03cdc5 Second thread pool for IO 2022-09-20 10:22:12 +02:00
j-berman 864a78ee5f wallet2: check wallet compatibility with daemon's hard fork version 2022-09-12 21:23:08 -06:00
luigi1111 3178bbe083
Merge pull request #8552
93db74a rpc: skip bootstrap nodes that are lower than last checkpoint (selsta)
2022-09-09 12:55:40 -05:00
selsta 93db74a91e
rpc: skip bootstrap nodes that are lower than last checkpoint 2022-09-06 22:09:39 +02:00
selsta 09ee78197c
build: prepare v0.18.1.1 2022-09-06 20:22:29 +02:00
luigi1111 b9e8504cfb
Merge pull request #8467
fac7c43 continue pool pruning even if a tx can't be found (j-berman)
2022-08-09 17:43:32 -05:00
luigi1111 dc2f548a68
Merge pull request #8470
309f6ba build: prepare v0.18.1.0 (selsta)
2022-08-09 15:00:16 -05:00
luigi1111 5c33f40cd8
Merge pull request #8455
099fc1f Fixed get_block_template_backlog performance (SChernykh)
2022-08-08 20:29:56 -05:00
selsta 309f6ba3f5
build: prepare v0.18.1.0 2022-07-28 23:14:02 +02:00
j-berman fac7c43644 continue pool pruning even if a tx can't be found 2022-07-26 17:28:02 -07:00
SChernykh 099fc1f8a9 Fixed get_block_template_backlog performance
Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load.

After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).
2022-07-22 13:50:21 +02:00
j-berman 8cc3c9af4d Publish submitted txs via zmq 2022-07-21 11:53:31 -07:00
luigi1111 f982163fc9
Merge pull request #8425
fe5d1be build: prepare v0.18.0.0 (selsta)
2022-07-15 11:23:54 -04:00
selsta fe5d1bef56
build: prepare v0.18.0.0 2022-07-13 22:07:31 +02:00
anon c7b2944f89 multisig: fix critical vulnerabilities in signing 2022-06-30 12:56:40 -05:00
j-berman b9d2c788bc fix backoff delay logic when re-relaying txs 2022-05-12 08:39:51 -07:00