1
0
Fork 0
forked from lthn/blockchain
Commit graph

53 commits

Author SHA1 Message Date
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
c6b1a84461
Merge branch 'master' into develop 2025-06-03 01:58:12 +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
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
f087117a33
tx_pool: allow incoming txs to register alias to address, that already has associated alias only for testnet (for a while) 2025-04-18 00:58:13 +03:00
sowle
ed7597e6b9
tx pool: allow incoming txs to register alias to address, that already has associated alias 2025-04-11 02:07:50 +03:00
cryptozoidberg
78293c32d6
couple tweaks for hf5 transition 2025-03-21 21:38:40 +04:00
cryptozoidberg
9dc293ec04
core and wallet fixed, coretests still broken 2024-10-19 22:53:43 +04:00
sowle
df7b6a3674
tx pool: added ability to disable tx validation for tests 2024-03-27 22:13:43 +01:00
sowle
709d16eb75
tx pool: asset operations basic validation on tx add 2024-03-27 17:18:17 +01:00
sowle
3eb711fbf8
tx_pool: is_tx_blacklisted() 2024-03-27 17:08:19 +01:00
sowle
806eb326d1
(cherry picked) tx_pool: add post-HF4 txs are now being check for balance proof. Core test hard_fork_4_consolidated_txs changed accordingly 2024-03-27 15:59:57 +01:00
sowle
6740a0df28
tx pool: short tx listing improved 2024-03-26 19:52:30 +01:00
sowle
e11ee0fa07
tx_pool: remove HF4-incompatible txs on load 2024-03-21 19:52:18 +01:00
cryptozoidberg
1c404348a0
added tx semantics test in tx_pool 2024-01-14 19:00:24 +01:00
cryptozoidberg
b363b893e4
Bunch of improvements over the wallet 2024-01-02 21:57:43 +01:00
sowle
30a54790a6
useful warnings and other logging improvements 2023-06-03 04:05:12 +02:00
cryptozoidberg
ac4a62a5c9
fixed API for explorer 2023-04-17 23:04:30 +02:00
sowle
7ce49e4e82
tx_pool: correct handling of key images regardless of input type + get_key_image_from_txin_v refactoring 2022-10-03 20:34:09 +02:00
cryptozoidberg
217a54c8b1
fixed all core tests 2022-05-25 22:31:23 +02:00
cryptozoidberg
0833566d96
transition to multi-types vout(in progress) 2022-05-18 23:39:08 +02:00
sowle
10ed5dc433
getting rig of "using namespace epee" in headers 2022-05-10 21:05:15 +02:00
cryptozoidberg
72bfd89717
improved p2p protocol for relaying tx over tor 2022-03-21 16:47:11 +02:00
cryptozoidberg
3962e6153d
fixed multiple bugs related to recent refactoring 2021-03-10 22:35:34 +03:00
cryptozoidberg
f0e41e1980
htlc: added hardfork2 rules, improved core tests for atomics 2021-03-08 02:09:08 +03:00
sowle
578043559c
tx_memory_pool::validate_alias_info adapted to extra_alias_entry/extra_alias_entry_old scheme 2020-06-25 16:43:05 +03:00
sowle
6bd9a73448
db_backend_selector is used only locally to make things simplier 2020-03-16 17:48:02 +03:00
sowle
5d5c63c1f8
db_backend_selector introduced 2020-03-12 13:21:22 +03:00
sowle
67e416b862
tx pool: fill_block_template rewritten to avoid dangerous pointers manipulations 2020-02-17 13:13:07 +03:00
sowle
966cb52343
tx pool: fixed potential rare access violation issue 2020-02-14 15:53:39 +03:00
sowle
2a12f5ecb5
tx pool: new soft rule: standalone txs will be rejected while BCS is in CP zone (more security when checkpoints will be enabled)
(also, this should fix gen_checkpoints_and_invalid_tx_to_pool test that was especially written to cover this case)
2020-02-13 15:55:58 +03:00
cryptozoidberg
03f04c9dd9
implemented exented wallet api, finished plain wallet test(but not tested yet) 2020-01-23 03:26:25 +01:00
cryptozoidberg
41d4a9b0d3
added class drafts for plain wallet api for mobile app 2020-01-14 23:30:17 +01:00
cryptozoidberg
e82bd6b575
added new test, fixed multiple bugs 2019-11-29 21:43:17 +01:00
cryptozoidberg
57e0aa063d
pool code modificated to work with onboard transactions 2019-11-16 20:26:40 +01:00
cryptozoidberg
d1e6ef429b
refactoring of tx pool/core block's transactions handling 2019-11-15 01:04:51 +01:00
cryptozoidberg
19d3ba7fb2
merged from develop 2019-10-28 19:52:15 +01:00
cryptozoidberg
1ade55eb17
libmdbx set as an option for command line parameter(--db-engine) 2019-10-25 00:13:38 +02:00
sowle
2ba3f5afac
tx pool: remove stuck txs with key image conflicts from pool once conflicted tx has enough confirmations in the blockchain (closes #52) 2019-10-17 14:07:32 +03:00
cryptozoidberg
7eb7849f86
Merge branch 'develop' into libmdbx 2019-09-26 15:04:39 +02:00
sowle
d66e07ef1a
filesystem unicode refactoring WIP3 2019-09-25 17:09:38 +03:00
cryptozoidberg
7dd61aede6
make low fee message less dramatic 2019-09-08 20:02:42 +02:00
cryptozoidberg
84dfc6917a
added cmake paramter to have mdbx as an option 2019-08-31 14:41:18 +02:00
sowle
28659827c3
lmdb: reverting back to v 18 due to complex issues with resizing/synchronization
lmdb v 24 requires manual resizing/growing during it's normal function
Zano core is purely async so it's not easy to prevent all DB txs from starting on lmdb adapter level, because it will lead to random deadlocks in the core due to many high-level cross-thread dependencies.
We will rethink this later.
Many thanks to @leo-yuriev who helped us to discover these issues!
2019-08-28 17:58:35 +03:00
sowle
1caa86c499
DB: fixed a bug in tx pool major compartibility option storing, implemented more robust two-stage lmdb opening for blockchain and tx pool; added handling for 0.9.18->0.9.24 lmdb migration for case, when a user has >128GB of free space 2019-08-17 07:10:37 +03:00
cryptozoidberg
41695ef275
got rid of cancel offer exception 2019-07-11 19:38:14 +02:00
sowle
13ea200399 tx_pool: do not remove txs with "future" receive_time as outdated 2019-04-30 16:58:01 +03:00
crypro.zoidberg
18c35f2274 attempt to fix bug with unreturned key_images to tx_pool on reorganize 2019-04-25 01:41:57 +02:00