1
0
Fork 0
forked from lthn/blockchain
Commit graph

4736 commits

Author SHA1 Message Date
Dmitry Matsiukhov
5340c6db32
coretests: test for miner tx with non-empty extra_nonce before and after HF4 (#532)
* try check extra nonce in miner_tx

* update c1

* write extra nonces, create pow pos block, checkers for exnonce, bug with HF4

* success check pos block

* correct pos/pos extra nonce validation for hf3+

* clean code, separate to methods, add template test, pos/pow extra nonce check in block

* delete logs

* back normal naming

* fix review comments
2025-06-27 20:16:24 +02:00
cryptozoidberg
a0c1c8b4df
fixed typo 2025-06-25 16:46:37 +04:00
cryptozoidberg
2b3360f66a
added more logs 2025-06-25 16:41:52 +04:00
Dmitry Matsiukhov
ffa94febc6
coretests: block_choice_rule_bigger_fee test added (#530)
* add bigger fee block choice test

* fix block_validation

* remove c1, add check_top_block callback

* added more checks

* update test case

* delete: cmake fix for linux

* part of fixs

* add new check

* delete unused declareted

* add comments

* fix comment

* fix comments
2025-06-23 20:54:52 +02:00
Dmitry Matsiukhov
f8600d9fe4
fix cmake for linux build (#531) 2025-06-23 18:38:55 +04:00
zano build machine
afd479fa62 === build number: 412 -> 413 === 2025-06-23 14:10:04 +03:00
sowle
aaf878419d
ui update (PR 151) 2025-06-23 13:03:26 +02:00
sowle
0c77467c7b
=== version bump: 2.1.7 -> 2.1.8 === 2025-06-20 01:36:09 +02:00
zano build machine
a3905348f1 === build number: 411 -> 412 === 2025-06-20 02:32:11 +03:00
sowle
c6614912b1
wallet: 1) tx_comment is only allowed in extra; 2) tx_comment temporary allowed only if destinations addresses are the same; 3) integrated address can be only the first if there are many 2025-06-20 01:31:42 +02:00
sowle
46eab64834
rename: encrypt_attachments() -> encrypt_payload_items() + test gen_wallet_decrypted_attachments -> gen_wallet_decrypted_payload_items improved (tx_comment put in extra) 2025-06-20 01:30:00 +02:00
sowle
1b0f64176d
wallet rpc: tx_comment is now put into tx's extra for consistency with wallet_manager's approach 2025-06-19 17:42:00 +02:00
sowle
430cbffd25
wallet rpc: WALLET_RPC_ERROR_CODE_GENERIC_ERROR (-9) added 2025-06-19 17:40:47 +02:00
sowle
ab01ce4fd6
ui update (PR 150) 2025-06-19 12:55:44 +02:00
sowle
2fb8f499e1
Merge remote-tracking branch 'origin/p2pdbgcmd' into develop 2025-06-19 12:53:34 +02:00
cryptozoidberg
2bab917700
fixed typo 2025-06-19 14:35:11 +04:00
cryptozoidberg
90a4a68eb5
added sanitize_utf8 to invoke() in plain_wallet 2025-06-18 22:45:28 +04:00
cryptozoidberg
166b683295
tiny format tweak 2025-06-17 17:06:35 +04:00
sowle
ecabd4a73a
functional tests: core_concurrency_test.cpp compilation fix 2025-06-09 11:51:08 +02:00
sowle
23f874f142
=== build number: 410 -> 411 === 2025-06-09 05:45:54 +02:00
sowle
48176b6a72
chaingen: "clear_tx_pool" now clears tx pool indeed 2025-06-09 05:44:49 +02:00
sowle
2bb1113b43
core: HF4 coinage rule is not checked while adding a tx to the pool, letting it being confirmed later 2025-06-09 05:43:39 +02:00
sowle
2a13a63eb7
coretests: tx_pool_validation_and_chain_switch improved 2025-06-09 05:39:57 +02:00
cryptozoidberg
7ac70737dc
fix that makes sure that daemon and wallet are 'on the same page' in terms of hardfork recognition 2025-06-07 16:17:54 +04:00
cryptozoidberg
9efce2ddb3
added check if console is available #510 2025-06-07 14:10:45 +04:00
cryptozoidberg
87fae9440c
bug that have been there for ages 2025-06-06 21:18:41 +04:00
zano build machine
79f4c3ef75 === build number: 409 -> 410 === 2025-06-06 03:24:10 +03:00
sowle
06af2ea879
ui update (PR 149) 2025-06-06 02:02:08 +02:00
sowle
1131d25725
ui update (PR 148) 2025-06-04 17:16:11 +02:00
sowle
cb3891ac0c
minor improvements 2025-06-04 16:48:53 +02:00
sowle
e0acea65b8
=== version bump: 2.1.6.408 -> 2.1.7.409 === 2025-06-03 01:59:16 +02:00
sowle
c6b1a84461
Merge branch 'master' into develop 2025-06-03 01:58:12 +02:00
sowle
c86a19de08
Merge branch 'mempool_blacklist_fix' 2025-06-03 01:56:32 +02:00
sowle
e725b784c1
version bump: 2.1.5.397 -> 2.1.6.399 2025-06-03 01:55:58 +02:00
sowle
f84ecf579e
improved condition in tx_memory_pool::is_transaction_ready_to_go() limited to >=HF4 to please old tests 2025-06-03 01:38:55 +02:00
sowle
7fb2fcc188
minor fix 2025-06-03 00:33:26 +02:00
sowle
411cda4ad4
improved condition in tx_memory_pool::is_transaction_ready_to_go() 2025-06-03 00:22:30 +02:00
sowle
7eb6986f4d
txpool fixed: txs with too small max_related_block_height will wait in the pool till the current height is okay + coretests tx_pool_validation_and_chain_switch added 2025-06-03 00:01:11 +02:00
cryptozoidberg
3d2ce52b8e
small performance tweak of fill_block_template and more logs related to pool txs blacklisting 2025-06-02 23:50:31 +04:00
sowle
7793efaeac
msvc: EHa exception mode enabled to catch both structured and standard C++ exceptions 2025-06-02 19:12:50 +02:00
zano build machine
25056b751e === build number: 407 -> 408 === 2025-05-30 16:03:48 +03:00
sowle
1c045d0732
ui update (PR 147) 2025-05-30 15:00:22 +02:00
sowle
c4c8d65798
fixed a rare issue with printing random control characters to the console, breaking it 2025-05-30 14:49:31 +02:00
sowle
be0b6ab35e
callstack_helper: fixed a potential issue in get_mod_info::operator() 2025-05-30 14:45:24 +02:00
Anton Mikhailov
99bcf712df
feat: install includes on android (#524) 2025-05-29 14:20:47 +04:00
sowle
8a91bccea3
an attempt to make all callstack-retrieval routines exception-safe 2025-05-28 01:15:28 +02:00
cryptozoidberg
686c137332
added wallet_transfer_info to transfer() RPC 2025-05-23 23:52:49 +04:00
sowle
e66b21085b
wallet2: keep tx_keys while resetting wallet's history 2025-05-23 05:35:06 +03:00
sowle
ffe5051d8b
wallet2 : store_watch_only fixed 2025-05-23 05:34:22 +03:00
sowle
0066e75c39
minor improvements (formatting, logging) 2025-05-23 05:33:32 +03:00