1
0
Fork 0
forked from lthn/blockchain
Commit graph

193 commits

Author SHA1 Message Date
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
2a13a63eb7
coretests: tx_pool_validation_and_chain_switch improved 2025-06-09 05:39:57 +02:00
sowle
c6b1a84461
Merge branch 'master' into develop 2025-06-03 01:58:12 +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
sowle
83234af5b6
coretests: wallet_rpc_cold_signing test added 2025-05-15 05:40:10 +03:00
cryptozoidberg
0662f9bbed
Merge branch 'develop' into rpc_extension 2025-03-28 18:09:38 +04:00
sowle
9a816a090d
coretests: asset_operations_and_chain_switching added (work is still in progress) 2025-03-27 03:46:05 +03:00
cryptozoidberg
64e2e53629
test for RPC API COMMAND_ATTACH_ASSET_DESCRIPTOR (in work) 2025-03-22 14:38:57 +04:00
sowle
fca1194f55
coretests: assets_transfer_with_smallest_amount implemented (exposes a bug) 2025-03-06 14:23:01 +01:00
sowle
d8f12cdcc8
chaingen: zarcanum_in_alt_chain_2 test added (highlights an issue in alt block validation) 2025-02-14 03:20:23 +01:00
sowle
ca9a8f95de
Merge branch 'develop' into txhfid 2025-02-03 18:29:45 +01:00
Stёpa Dolgorukov
1087be7b0a
coretests: implement the tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic" (#493)
* Core tests: implement tests "block_reward_in_main_chain_basic", "block_reward_in_alt_chain_basic"

* Use an automatic variable type deduction

* Call "assert_reward" callback before the callback "assert_balance"

* Update comments for the test "block_reward_in_alt_chain_basic"
2025-01-21 01:12:44 +01:00
Stёpa Dolgorukov
dcd7f62968
coretests: Fix an execution of the core test "fill_tx_rpc_inputs", rename callbacks (#498)
* Core tests: implement a test of the function "blockchain_storage::fill_tx_rpc_inputs"

* Fix test execution when compiling via gcc 8.4.0

* Rename callbacks in the test "fill_tx_rpc_inputs"
2025-01-20 04:21:27 +01:00
sowle
23723ca05e
Merge branch 'develop' into txhfid 2024-12-28 15:21:21 +01:00
sowle
13b09ee914
coretests: fill_tx_rpc_inputs temporarily disabled 2024-12-28 15:17:32 +01:00
sowle
8e2c70de93
Merge branch 'develop' into txhfid 2024-12-24 22:16:36 +01:00
Stёpa Dolgorukov
eda0472f1e
coretests: implemented a test for the function "blockchain_storage::fill_tx_rpc_inputs" (#486) 2024-12-13 23:10:34 +01:00
sowle
b9557dd70e
chaingen: run-single-test made more specific (exact match is now required) 2024-12-09 23:31:39 +01:00
Stёpa Dolgorukov
18c17e48b1
coretests: implemented test "input_refers_to_incompatible_by_type_output" (#480) 2024-12-09 17:34:28 +01:00
Stёpa Dolgorukov
9e3ece1818
coretests: implemented the test "block_with_correct_prev_id_on_wrong_height" (#479) 2024-12-09 17:32:41 +01:00
sowle
13f524defb
tx hardfork id: wip (basic structures, miner tx creation adapted, tests adapted almost all + hard_fork_5_tx_version) 2024-12-06 05:39:18 +01:00
sowle
5ae9b2038e
coretests: several_asset_emit_burn_txs_in_pool test improved and enabled 2024-10-23 23:45:19 +02:00
sowle
ecc6cc4605
coretests: several_asset_emit_burn_txs_in_pool test added 2024-10-21 12:39:33 +02:00
Stёpa Dolgorukov
b836742f66
coretests: improve of the test "tx_pool_semantic_validation" (#465)
* Coretests: implement the test "tx_pool_semantic_validation"

* Play the test "tx_pool_semantic_validation" on the HF 3

* Delete an extra space after the ":"

* Remove an extra adding of objects to the transaction

* Create the input objects of the specified type in the "unsupported input type" case

* Modify the function bodies "inputs_sum", "outputs_sum" to be short

* Remove adding output to the transaction in the cases "inputs amount overflow", "two entries of the same type in extra"

* Get rid of use the object "image" of the type key_image in the case "equal key images in inputs"
2024-10-15 02:30:05 +02:00
sowle
d92a54045b
Merge branch 'develop' into concise 2024-10-10 19:11:50 +02:00
sowle
e58b20ae5b
coretests: test asset_current_and_total_supplies_comparative_constraints was temporary disabled 2024-10-10 19:11:30 +02:00
sowle
3a6e0c0f2f
Merge branch 'develop' into concise
# Conflicts:
#	src/wallet/wallet2.cpp
#	src/wallet/wallet2_base.h
2024-10-09 01:03:02 +02:00
Stёpa Dolgorukov
3daaad6d43
coretests: implemented test "asset_current_and_total_supplies_comparative_constraints" (#464) 2024-10-08 17:30:23 +02:00
Stёpa Dolgorukov
c1264169cc
Coretests: implement "tx_pool_semantic_validation" test (#462) 2024-09-28 03:17:36 +02:00
sowle
8c9582d0f7
coretests: eth_signed_asset_basics, eth_signed_asset_via_rpc made HF5-only 2024-09-24 16:00:25 +02:00
sowle
f0891a36e8
minor improvements 2024-09-24 01:24:42 +02:00
sowle
08281059fb
Merge branch 'develop' into secp256k1
# Conflicts:
#	src/gui/qt-daemon/layout
#	src/simplewallet/simplewallet.cpp
#	src/version.h.in
#	tests/core_tests/chaingen_main.cpp
#	tests/core_tests/multiassets_test.cpp
#	tests/core_tests/multiassets_test.h
#	tests/unit_tests/multiassets_test.cpp
2024-09-23 14:24:00 +02:00
sowle
7c781ca0ff
chaingen: eth_signed_asset_via_rpc test added 2024-09-23 05:40:16 +02:00
Stёpa Dolgorukov
35427f8381
coretests: alt_chain_and_block_tx_fee_median test (#456)
* coretests: alt_chain_and_block_tx_fee_median test

* Run test "alt_chain_and_block_tx_fee_median" on run core tests

* Edit the test preamble
2024-09-16 22:13:49 +02:00
Stёpa Dolgorukov
9d10050325
coretests: asset_operation_in_consolidated_tx test added (#459)
* coretests: Implement "asset_operation_in_consolidated_tx" test
* Define "construct_tx" overload with a generation context argument

---------

Co-authored-by: crypto.sowle <crypto.sowle@gmail.com>
2024-09-12 22:29:09 +02:00
Stёpa Dolgorukov
d74a04d6df
coretests: asset_operation_and_hardfork_checks test added
* Implement "asset_operation_and_hardfork_checks" test

* Run "asset_operation_and_hardfork_checks" test on core tests run
2024-09-06 13:57:14 +02:00
cryptozoidberg
9c2e2bb0f8
multiple fixes 2024-09-04 23:04:44 +04:00
sowle
896eadd77b
coretests: eth_signed_asset_basics test added 2024-08-02 12:35:46 +02:00
sowle
168281f862
coretests: tx_version_against_hardfork test added (not working yet due to few issues left intentionally) 2024-08-01 01:39:13 +02:00
cryptozoidberg
12c5a0237b
fixed asset_emission_and_unconfirmed_balance 2024-07-24 23:49:00 +04:00
sowle
7d442b4c9a
coretests: gen_wallet_mine_pos_block adapted for HF4 2024-07-12 02:17:54 +02:00
sowle
567700635c
coretests: wallet_true_rpc_pos_mining test added 2024-07-11 22:10:37 +02:00
sowle
039b6674c4
coretests: asset_emission_and_unconfirmed_balance test added 2024-07-06 21:57:38 +02:00
cryptozoidberg
cdd435f042
added update alias api + coretest 2024-06-14 15:08:56 +02:00
sowle
66fd58b8ee
coretests: many altchain tests adapted for post-HF4:
pos_altblocks_validation
  chain_switching_when_gindex_spent_in_both_chains
  alt_blocks_validation_and_same_new_amount_in_two_txs
  alt_blocks_with_the_same_txs
  chain_switching_when_out_spent_in_alt_chain_mixin
  chain_switching_when_out_spent_in_alt_chain_ref_id
2024-06-01 21:20:58 +02:00
sowle
fdc8bf19e0
gcc compilation fix 2024-05-31 16:05:52 +02:00
sowle
c92ca6fb93
chaingen: --run-single-test now accepts specific HF, e.g.: --run-single-test=test_name@4 2024-05-31 15:51:42 +02:00
cryptozoidberg
10c451f3b7
Added PoS grinding attack fuse 2024-05-13 16:51:13 +04:00
sowle
f7aab6f332
coretests: restored forgotten multisig_n_participants_seq_signing test 2024-05-04 03:18:40 +02:00
sowle
e38dfc1472
coretests: hardfork_4_pop_tx_from_global_index test added to cover uncovered areas in pop_transaction_from_global_index() 2024-05-04 02:35:51 +02:00