Claude
7ee2265cae
fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants
...
The crypto test PRNG was non-deterministic because setup_random() seeded
the state but grant_random_initialize_no_lock() overwrote it with
/dev/urandom on the first random call. Calling it before memset ensures
the initialized flag is set, preventing the overwrite.
Also adds --generate mode to crypto-tests for future vector regeneration,
updates checkpoint hashes for multisig_and_checkpoints (height 15) and
gen_no_attchments_in_coinbase (height 12), and replaces hardcoded Zano
addresses/URLs with Lethean equivalents in manual test scaffolding.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 13:17:11 +00:00
sowle
035a441efe
wallet2: dump_transfers now prints asset id instead of key images +typo fixed
2025-07-08 02:42:42 +03:00
sowle
ad2b10116d
coretests: presumably all tests fixed: multisig_and_unlock_time, multisig_and_coinbase, pos_altblocks_validation@5, gen_wallet_alias_and_unconfirmed_txs@5, hard_fork_4_consolidated_txs@5, multisig_and_checkpoints@0
2024-12-30 15:37:14 +01:00
sowle
8dd8a6ac1c
tx hf id: WIP
2024-12-27 07:27:43 +01:00
cryptozoidberg
ca09405491
core tests working
2024-09-02 21:44:41 +04:00
sowle
9f8ce4cc09
daemon RPC documentation added
2024-04-21 04:41:43 +02:00
sowle
f538fc3a76
coretests: gen_crypted_attachments and fixed-hash tests
2024-03-14 22:04:38 +01:00
cryptozoidberg
ebb8f7b6ff
wallet sync state moved to separate base structure
2023-10-31 18:29:57 +01:00
sowle
1ec3bac95d
coretests: adapted few tests to fit redesigned test environment (hardforks)
2023-06-05 18:19:39 +02:00
cryptozoidberg
681daeea21
fixed multisig_and_checkpoints and reset checkpoint to original mainnet value to keep all binary compatible
2023-05-20 21:21:45 +02:00
cryptozoidberg
11939bc4b6
fixed multisig_and_checkpoints
2023-05-19 19:21:02 +02:00
cryptozoidberg
fd50b3ad8d
fixed hard_fork_1_pos_and_locked_coins test
2023-05-03 22:16:40 +02:00
cryptozoidberg
44e22b611d
Multiple fixes here and there, mostly fixing compilation problems
2023-04-18 16:55:25 +02:00
sowle
e1bec6cc2f
chaingen: pos_block_builder improved (WIP), moved from construct_homemade_pos_miner_tx() to the standard one
2022-11-08 00:06:52 +01:00
sowle
fe0042df6a
chaingen: pos_block_builder: WIP
2022-11-03 01:25:44 +01:00
sowle
fadb925d5b
coretests: multisig_and_unlock_time fixed (more strict check for unlock time in chaingen) + helper macros for chaingen
2022-10-27 23:58:52 +02:00
sowle
70df00f7df
coretests: pos_block_builder adaptation
2022-10-22 21:00:14 +02:00
sowle
5b89eaed6f
coretests: gen_no_attchments_in_coinbase and multisig_and_checkpoints fixed (hash change)
2022-10-02 01:04:00 +02:00
cryptozoidberg
4f80c7c334
signature refactoring with []
2022-06-19 19:47:43 +02:00
cryptozoidberg
217a54c8b1
fixed all core tests
2022-05-25 22:31:23 +02:00
cryptozoidberg
7070cecaf2
tx strcture and signature varian refactoring(compilation is still broken)
2022-05-23 21:03:13 +02:00
cryptozoidberg
389209ff02
tx stracture changes: in progress 3 + signatures converting to varian signature: in progress
2022-05-20 21:32:27 +02:00
cryptozoidberg
17d1245db1
serializations forks as magic
2022-05-17 17:32:53 +02:00
cryptozoidberg
240b5808b9
trasaction binary versions transaction implementation
2022-05-16 23:32:28 +02:00
cryptozoidberg
b9f750d132
fixed multisig_and_unlock_time
2022-05-14 19:47:47 +02:00
cryptozoidberg
ca760a237a
fixed all coretests
2022-05-13 23:35:56 +02:00
cryptozoidberg
186e1fdcf9
multiple fixes over core_tests(transition to tx_version 2)
2022-05-11 23:52:33 +02:00
cryptozoidberg
1cf6d337d3
introducing tx_version(in progress, everything is broken so far)
2022-05-10 23:49:20 +02:00
cryptozoidberg
e3ef3dc704
fixed chain_switching_when_out_spent_in_alt_chain_ref_id
2021-02-04 21:28:53 +01:00
cryptozoidberg
3b3dbd6fa2
fixed core tests
2020-09-01 18:48:10 +02:00
cryptozoidberg
c39bd62748
renamed api response codes to more general way, fixed loggin
2020-05-07 23:26:41 +02:00
sowle
f532e4637e
coretests fixed
2020-04-23 15:41:40 +03:00
sowle
e9e61a05d0
coretests: adapted few tests to new tx pool rule (no standalone txs acceptable while BCS is in CP zone):
...
gen_checkpoints_attachments_basic, gen_checkpoints_invalid_keyimage, multisig_and_checkpoints_bad_txs, prun_ring_signatures, hard_fork_1_checkpoint_basic_test, multisig_and_checkpoints, gen_checkpoints_prun_txs_after_blockchain_load
2020-02-12 15:59:51 +03:00
sowle
0d72922877
coretests: multisig_and_checkpoints fixed (changes in account_base shifted random sequence)
2020-01-28 02:35:07 +03:00
cryptozoidberg
cf07085e68
fixed two coretests
2019-11-20 23:03:27 +01:00
cryptozoidberg
9d3e2dee6b
Merge branch 'develop' into market_rpc_api
2019-10-02 21:06:50 +02:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo
2019-09-27 17:16:18 +02:00
cryptozoidberg
ee246bef43
attempt to make common publi interface for wallet
2019-08-27 17:36:53 +02:00
sowle
abb4517bd3
coretests: gen_no_attchments_in_coinbase and multisig_and_checkpoints fixed
2019-08-15 06:16:37 +03:00
cryptozoidberg
676ad16fca
fixed most of the coretests
2019-07-26 18:53:42 +02:00
sowle
4987bfe6c5
gcc compilation fixup
2019-04-30 19:36:53 +02:00
sowle
e5c28e4642
Merge branch 'master' into offsig (2)
...
# Conflicts:
# tests/core_tests/multisig_wallet_tests.cpp
2019-04-30 18:45:12 +02:00
sowle
5435bdbc01
Merge branch 'master' into offsig
...
# Conflicts:
# tests/core_tests/multisig_wallet_tests.cpp
2019-04-30 18:44:15 +02:00
crypro.zoidberg
7fc1eb4d8a
multiple fixes on coretests
2019-04-25 23:37:43 +02:00
sowle
060d829f3a
Merge branch 'master' into offsig
2019-04-20 02:16:35 +03:00
crypro.zoidberg
d69f4b9095
testnet3
2019-04-19 21:46:22 +02:00
sowle
2c1fca9453
Merge branch 'master' into offsig
...
# Conflicts:
# src/currency_core/currency_format_utils.h
2019-04-11 13:49:18 +03:00
crypro.zoidberg
d977521c17
fixed checkpoints in coretests
2019-04-11 00:12:32 +02:00
sowle
b08905c1cc
Merge branch 'master' into offsig
...
# Conflicts:
# src/currency_core/currency_format_utils.h
# tests/unit_tests/pow_hash_test.cpp
2019-04-08 01:37:32 +03:00
sowle
9e05f08024
coretests adapted
2019-04-03 17:53:49 +03:00