sowle
426ca5a22b
p2p: clients with outdated versions now rejected by p2p upon hf activation as well (+tied to hf min build number)
2024-09-25 04:13:41 +02:00
sowle
b77419afc7
runtime config: min build number introduced and tied to hardfork
2024-09-25 04:10:29 +02:00
sowle
b5e0b21f13
core: asset_operation_ownership_proof_eth is only allowed only since HF5
2024-09-24 05:36:40 +02:00
sowle
f0891a36e8
minor improvements
2024-09-24 01:24:42 +02:00
sowle
d610c38c4e
fixed an error in construct_tx when asset update operation is ongoing with standard owner (non eth)
2024-09-23 20:35:22 +02:00
sowle
7b9c728de2
core: minor readability improvement in validate_asset_operation_against_current_blochain_state()
2024-09-23 20:34:17 +02:00
sowle
c117a76a04
upstream changes
2024-09-23 14:33:22 +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
8ffbfbe60a
minor improvements
2024-09-23 05:38:47 +02:00
sowle
e414752976
refactored asset ownership handling in tx construction
2024-09-23 05:27:46 +02:00
sowle
5f1defc5a1
core validation: additional condition validate_ado_ownership()
2024-09-23 05:19:58 +02:00
sowle
9d06106a78
fxed arguments order for cast_assign_a_to_b()
2024-09-23 05:15:28 +02:00
sowle
37e62ac079
various improvements
2024-09-23 05:13:26 +02:00
sowle
9d213b19b1
construct_miner_tx() doesn't clear result tx anymore, allowing to pass additional data in extra
2024-09-17 17:59:37 +02:00
cryptozoidberg
17aebd29b5
implemented custom seed option(experimental)
2024-09-14 21:46:52 +04:00
sowle
7fbfec3441
minor improvements (now unit_tests should be autoexecuted each commit)
2024-09-12 02:39:20 +02:00
sowle
62c02dab24
minor improvements
2024-08-27 18:52:34 +02:00
Stёpa Dolgorukov
443386489c
unit tests: wallet_seed.{timestamp_from_word, word_from_timestamp} added + typo fixed ( #450 )
...
* Create wallet_seed.{timestamp_from_word, word_from_timestamp} tests
* Rename functions that convert a word to a timestamp, a timestamp to a word
* Make an implementation of the test in the source code shorter
2024-08-20 17:23:21 +02:00
sowle
2c06293f24
added additional check for incorrect asset operation type to get_or_calculate_asset_id()
2024-08-13 01:10:22 +02:00
sowle
bc552ff635
kv serialization for asset_descriptor_operation
2024-08-13 01:04:14 +02:00
sowle
faa95dd555
use boost::optional in asset_descriptor_base to avoid gcc compilation issues
2024-08-12 20:14:31 +02:00
cryptozoidberg
08e2f0fbf1
fixed space-failing of the seed phrase
2024-08-08 15:55:50 +04:00
sowle
e816cd969c
minor improvements
2024-08-02 12:36:08 +02:00
sowle
27ecfad1d6
asset owner eth signer support for currency_format_utils and wallet2
2024-08-02 12:34:28 +02:00
sowle
ef28b3ab71
Merge branch 'develop' into secp256k1
2024-07-26 12:10:57 +02:00
sowle
712f66d3ee
set formal limit on tx input count to 256 (because of the asset surjection proof limits)
2024-07-26 02:22:21 +02:00
sowle
0bc14fa477
eth signature for CA: data structures + validate_ado_ownership() adaptation
2024-07-18 00:14:03 +02:00
sowle
e2998acc9d
print_fixed_decimal_point() and print_money_brief() fixed for too big decimal point values
2024-07-07 20:34:19 +02:00
sowle
4f33eb4078
minor improvements for fill_tx_rpc_payload_items()
2024-07-06 21:55:36 +02:00
sowle
3154c7b72d
fixed select_indices_for_transfer() + several improvements to decimal_point=0 support
2024-07-03 01:40:40 +02:00
sowle
b6e84b460e
added decimal point support to currency::parse_amount() + minor refactoring
2024-07-02 20:49:51 +02:00
sowle
2b9caf2cb3
docs: some asset_descriptor fileds clarified a bit
2024-07-02 17:20:02 +02:00
sowle
d2b60b0090
RPC API: added missing documentation examples
2024-06-27 16:08:44 +02:00
sowle
5ab468be42
validate_tx_details_against_tx_generation_context implemented
2024-06-25 15:46:53 +02:00
sowle
226c3653ac
minor improvements: CHECK_AND_ASSERT_EQ(), stream support for std::type_info
2024-06-24 23:28:47 +02:00
sowle
c21785add4
fix for #440
2024-06-24 12:16:42 +02:00
cryptozoidberg
2f535f011e
fixed get_assets_list api
2024-06-14 23:20:43 +02:00
sowle
dd7d1d3109
greatly refactored alt block verification and improved it for post-HF4 era (now all updated tests should pass)
2024-06-01 22:06:21 +02:00
sowle
092e0f1e60
minor improvements, typos, log msgs
2024-05-31 15:49:55 +02:00
cryptozoidberg
10c451f3b7
Added PoS grinding attack fuse
2024-05-13 16:51:13 +04:00
cryptozoidberg
6655a6feaf
attempt to fix file with wrong item in last m_last_zc_global_indexs
2024-05-08 23:43:52 +04:00
sowle
c6488622eb
temporary fix for ZC outs validation in validate_alt_block_input()
2024-05-05 22:19:16 +02:00
sowle
d9633d5b06
get_block_reward simplified ver
2024-05-04 03:48:14 +02:00
sowle
b3c44598b0
minor improvements & code cleanup
2024-05-04 03:17:56 +02:00
sowle
702817e351
fixed a potential issue in check_ms_input()
2024-05-04 03:16:28 +02:00
sowle
81ac6cf333
removed redundant hardfork check from check_tx_inputs(), because it's already in validate_tx_for_hardfork_specific_terms()
2024-05-04 03:15:13 +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
e57709a67f
prevalidate_miner_transaction() now checks HF condition for the given height instead of the top height
2024-05-04 02:24:11 +02:00
sowle
2e75597365
code clean-up and minor improvements
2024-05-04 02:21:34 +02:00