1
0
Fork 0
forked from lthn/blockchain
Commit graph

538 commits

Author SHA1 Message Date
sowle
5e8cfb9ee3
coretests: hard_fork_2_incorrect_alias_update fixed due to change in logic of wallet2::request_alias_update() 2024-06-25 14:41:36 +02:00
cryptozoidberg
cdd435f042
added update alias api + coretest 2024-06-14 15:08:56 +02:00
cryptozoidberg
47e10e7209
added new api to update alias 2024-06-06 21:24:31 +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
7da72fcc89
chaingen: pos_block_builder adapted for HF4 and now can generate correct Zarcanum PoS blocks 2024-06-01 21:15:42 +02:00
sowle
66f2761f67
chaingen: find_global_index_for_output, generate_pos_block_with_given_coinstake adapted for HF4; decode_output_amount_and_asset_id, decode_native_output_amount_or_throw added 2024-06-01 21:12:26 +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
5500e943dd
did some refactoring around validate_miner_transaction()
code simplified
fixed an issue with already_generated_coins not taking block size penalty into consideration
2024-05-04 02:33:05 +02:00
sowle
15e653a8ae
minor refactoring: get_base_block_reward() now requires only block height (for clarity) 2024-04-22 17:45:10 +02:00
sowle
9f8ce4cc09
daemon RPC documentation added 2024-04-21 04:41:43 +02:00
sowle
e8280f7e42
coretests: fixed compilation & warnings 2024-04-10 12:16:45 +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
a142d39fc9
coretests: hardfork_4_wallet_transfer_with_mandatory_mixins test fixed 2024-04-05 17:20:40 +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
cryptozoidberg
b646939113
merge from release2 2024-03-28 19:28:13 +01:00
sowle
d933a22154
wallet: set_pos_utxo_count_limits_for_defragmentation_tx() added, coretests: packing_outputs_on_pos_minting_wallet, pos_minting_tx_packing fixed 2024-03-28 13:29:00 +01:00
sowle
f4da18cc3f
Merge branch 'master' into develop
# Conflicts:
#	src/currency_core/tx_pool.cpp
2024-03-27 23:52:24 +01:00
sowle
dd04d6367b
coretests: multiassets_basic_test improved to reflect recent changes with tx pool validation 2024-03-27 22:18:06 +01:00
cryptozoidberg
320816fd99
added test for getblocktemplate 2024-03-27 19:10:26 +01:00
sowle
69e68807bf
coretests: minor forgotten change 2024-03-27 18:57:30 +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
cryptozoidberg
46a7c9662e
Merge branch 'release2' into develop 2024-03-26 21:16:28 +01:00
cryptozoidberg
582fe4c8b1
merge from release2 2024-03-26 21:11:42 +01:00
sowle
e1d7ea6302
asset emission: 1) fixed simplewallet's emit_asset command; 2) wallet2:emit_asset() now fix destinations for asset emission ad-hoc (null_pkey); 3) typos corrected 2024-03-26 19:57:31 +01:00
cryptozoidberg
9af876ccaa
decoy selection algo refactoring 2024-03-25 21:56:46 +01:00
cryptozoidberg
721b027000
merge from release2 2024-03-24 15:56:58 +01:00
cryptozoidberg
3fb4f16db9
fore get rid of WALLET_GLOBAL_OUTPUT_INDEX_UNDEFINED 2024-03-24 15:50:53 +01:00
sowle
7f851205a0
tx_pool: add post-HF4 txs are now being check for balance proof. Core test hard_fork_4_consolidated_txs changed accordingly 2024-03-16 14:57:25 +01:00
sowle
66cf29ccd3
coretests: hard_fork_2_alias_update_using_old_tx<> fixed 2024-03-15 19:58:44 +01:00
sowle
f538fc3a76
coretests: gen_crypted_attachments and fixed-hash tests 2024-03-14 22:04:38 +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
3d0d93c625
fixed unused variables 2024-02-19 00:10:33 +04: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
c2368fbb64
added todo to test 2024-02-14 02:10:30 +04:00
cryptozoidberg
91813968aa
fixes over multiasset tests to fix transfer ownership of asset 2024-02-14 02:10:29 +04:00
cryptozoidberg
42bee0eee8
transfer asset ownership - implemented first test 2024-02-14 02:10:29 +04:00
cryptozoidberg
188b8c447f
fixes related multriasset tests 2024-02-14 02:10:29 +04:00
sowle
0b77c8f934
chaingen: minor fix for proper initialization of gen_context 2024-02-08 18:57:22 +01:00
sowle
31101bc788
PoS mining, construct_block_template, and chaingen infrastructure adapted for fee burning after HF4 2024-02-07 18:48:18 +01:00
cryptozoidberg
75f1c5461f
fix related to multiassets_basic_test and burning fees 2024-02-07 20:31:58 +04:00
cryptozoidberg
761fd4d6db
fixed few tests for mainnet-compiled version 2024-02-04 22:03:27 +01:00
cryptozoidberg
65dc4be419
packing_outputs_on_pos_minting_wallet disabled for hardfork 4 2024-02-04 11:48:07 +01:00
cryptozoidberg
cc91951eff
fixed few coretests in relation to validation of selected decoys results 2024-02-03 22:11:57 +01:00
cryptozoidberg
1ba6fe0571
fixed last zarcanum tests 2024-01-31 20:47:08 +01:00