1
0
Fork 0
forked from lthn/blockchain
Commit graph

174 commits

Author SHA1 Message Date
sowle
b9557dd70e
chaingen: run-single-test made more specific (exact match is now required) 2024-12-09 23:31:39 +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
sowle
021fbb7d37
coretests: added test hardfork_4_wallet_sweep_bare_outs which exposes a bug in sweep_bare_outs() where it fails if there's not enough decoys 2024-04-09 21:43:13 +02:00
sowle
92c6a9d51d
coretests: hardfork_4_wallet_transfer_with_mandatory_mixins test added, exposing a bug where a wallet cannot spend coins before a specific sync process was done 2024-04-05 13:56:24 +02:00
sowle
f4da18cc3f
Merge branch 'master' into develop
# Conflicts:
#	src/currency_core/tx_pool.cpp
2024-03-27 23:52:24 +01:00
cryptozoidberg
320816fd99
added test for getblocktemplate 2024-03-27 19:10:26 +01:00
sowle
c5a55f1e85
coretests: hard_fork_4_consolidated_txs test finished, now it also checks derivation hints for normal and consolidated txs before and after HF4 2024-03-13 21:30:43 +01:00
sowle
9d67f8aedf
coretests: test wallet_and_sweep_below added 2024-02-22 17:47:50 +01:00
cryptozoidberg
c4be6e120a
adaptation of zarcanum era codebase to pre_zarcanum api(for backward compatibility with exchanges) 2024-02-15 06:14:51 +04:00
cryptozoidberg
dcdffce051
legacy api test in mainnet master 2024-02-15 06:14:51 +04:00
cryptozoidberg
65dc4be419
packing_outputs_on_pos_minting_wallet disabled for hardfork 4 2024-02-04 11:48:07 +01:00
cryptozoidberg
ca9f44967d
fixed very dumb bug with cheching minimum coinage condition + fixed test for auditable wallet against the hardfork 4 2024-01-28 19:30:36 +01:00
cryptozoidberg
95e8954c38
Merge branch 'cryptoassets' into decoy_selection 2024-01-20 16:39:50 +01:00
cryptozoidberg
6365b55343
tweaks over coretests logging 2024-01-17 19:43:25 +01:00
sowle
929d741916
coretests: forgotten changes (wip for hard_fork_4_consolidated_txs) 2024-01-15 23:15:24 +01:00
sowle
00b663e425
gcc warning fixed 2023-11-02 19:06:17 +01:00
sowle
88ec0706da
coretests: pos_mining_with_decoys was pinned to HF3 2023-11-02 18:34:04 +01:00
sowle
46a0db21ec
Merge branch 'develop' into cryptoassets
# Conflicts:
#	CMakeLists.txt
#	README.md
#	contrib/epee/include/net/http_client.h
#	src/currency_core/blockchain_storage.cpp
#	src/currency_core/currency_core.cpp
#	src/currency_core/currency_format_utils.cpp
#	src/gui/qt-daemon/layout
#	src/rpc/core_rpc_server.cpp
#	src/rpc/core_rpc_server.h
#	src/rpc/core_rpc_server_commands_defs.h
#	src/version.h.in
#	src/wallet/wallet2.cpp
#	src/wallet/wallet2.h
#	src/wallet/wallet_public_structs_defs.h
#	src/wallet/wallet_rpc_server.h
#	tests/core_tests/chaingen.cpp
#	tests/core_tests/pos_validation.cpp
#	tests/core_tests/wallet_tests.cpp
#	tests/performance_tests/main.cpp
2023-11-01 23:48:36 +01:00
sowle
299124877e coretests: pos_mining_with_decoys test added 2023-10-31 21:22:15 +01:00
sowle
6343812006 mixins support implemented in wallet2::prepare_and_sign_pos_block() 2023-10-31 15:45:35 +01:00
sowle
87831eaf1a
coretests: ionic_swap_exact_amounts_test added which uncovers a bug in separately signed tx creation 2023-10-21 23:40:39 +02:00