1
0
Fork 0
forked from lthn/blockchain
Commit graph

214 commits

Author SHA1 Message Date
Snider
763d70bec2
Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
sowle
11d4bbf1da
crypto: generate_system_random_bytes_* refactored: improved error handling, win32 version moved to BCrypt API, split into normal and _or_die funcs
Thanks to @gitToki for spotting the error handling issue!
2025-08-10 05:24:25 +03:00
sowle
3a9245f743
crypto::random refactoring and improvements (credits to @dimmarvel for spotting the thread safety issue) 2025-07-31 04:14:10 +03:00
sowle
c241cb3f9b
wallet2: restore_key_images_in_wo_wallet() implemented 2025-07-09 14:40:24 +03:00
sowle
dfbda0a77f
minor improvements for wallet/simplewallet (logs, comments, error handling) 2025-07-03 16:13:44 +02:00
cryptozoidberg
647b5c80f6
fixes related to USE_OPEN_SSL_FOR_ECDSA 2024-10-26 15:36:31 +04:00
cryptozoidberg
b0efef8ef1
temporary disabled secp256k1 library 2024-10-26 14:28:27 +04:00
cryptozoidberg
13e67e23e1
very intial code for ECDSA from OpenSSL 2024-10-25 23:57:59 +04:00
cryptozoidberg
844e5b823f
wallet2.cpp compilation fixed 2024-10-19 18:50:11 +04:00
sowle
3c23d42ae4
minor refactoring around crypto::pod_to_hex (added generalized buff_to_hex + performance test) 2024-10-16 00:01:43 +02:00
sowle
4bb068f056
point_t::operator==() fixed and optimized + various tests 2024-10-12 03:05:07 +02:00
cryptozoidberg
744522f3ca
minor changes relatd to secp256k1_ecdsa integration 2024-09-29 23:31:22 +04:00
sowle
c117a76a04
upstream changes 2024-09-23 14:33:22 +02:00
sowle
37e62ac079
various improvements 2024-09-23 05:13:26 +02:00
sowle
389662b8c9
gcc compilation fix (2) 2024-08-02 16:14:23 +02:00
sowle
f8c54492f1
gcc compilation fix 2024-08-02 14:11:32 +02:00
sowle
e97b585659
crypto: eth_secret_key_to_public_key() implemented, other useful stuff for eth sig added 2024-08-02 12:00:35 +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
f05d14a944
crypto: basic eth signature implementation + functional test 2024-07-02 13:15:48 +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
7fdc82a630
minor code cleanup 2024-04-25 16:46:36 +02:00
sowle
60e8fcdc47
an attempt to fix macOS compilation 2024-04-04 18:01:26 +02:00
sowle
5bb31e3282
warning fixed (thanks to @crypto_zoidberg) 2024-02-23 12:57:09 +01:00
cryptozoidberg
18609e296f
attempt to fix build for macos 2024-02-20 20:14:10 +04:00
cryptozoidberg
f8d0e96d95 fixes related to build under vc2022 on windows arm64 2024-02-20 11:26:12 +04:00
sowle
159d305fcf
calculate_asset_id refactored into get_or_calculate_asset_id 2024-02-19 21:49:27 +01:00
cryptozoidberg
188b8c447f
fixes related multriasset tests 2024-02-14 02:10:29 +04:00
sowle
268632d6da
crypto: generate_schnorr_sig version for public_key and secret_key types 2024-02-14 02:10:28 +04:00
sowle
e0bb0138cb
crypto: default template argument for generate/verify_schnorr_sig 2024-02-14 02:10:27 +04:00
sowle
ddcfa36a90
crypto: general_double_schnorr_sig implemented 2024-02-08 17:32:41 +01:00
sowle
8198f1dbcb
comment added (size calculation) 2024-02-07 17:21:54 +01:00
sowle
1ef05b36e1
comments & code cleanup 2024-02-04 23:51:15 +01:00
sowle
7e9c24d4b9
crypto: hs(str, s, pk) added 2024-02-04 23:45:22 +01:00
cryptozoidberg
e7c73e8860
unused var in one_out_of_many_proofs 2024-02-01 17:28:38 +01:00
cryptozoidberg
1be00ea3c8
got rid of warnings 2024-01-28 19:40:34 +01:00
sowle
27bb395542
Merge branch 'add_block_performance_mes' into decoy_selection 2024-01-28 16:01:02 +01:00
sowle
92f09f424f
crypto: CLSAG: auxiliary key images added to the input hash + code cleanup + minor improvements + tests 2024-01-28 15:44:56 +01:00
sowle
e239389768
crypto: fixed generators with precomputed data improved (data made static) + more tests 2023-12-27 02:04:59 +01:00
sowle
4200669f5b
crypto: experimental optimizations: ge_scalarmult_base_vartime, ge_scalarmult_vartime_p3, ge_scalarmult_precomp_vartime (point_pc_t) + performance tests for msm pippenger v3-v4 2023-12-25 23:48:14 +01:00
sowle
f95791a723
crypto: much faster pippenger/bucket-style multi-scalar multiplication for range proofs + tests 2023-12-25 19:14:31 +01:00
sowle
77d6f94280
crypto: scalar_t::get_bits + test + performance test + cn_hash performance test 2023-12-25 18:10:14 +01:00
sowle
30299724fd
crypto::point_t::is_zero() now treats non-points (0, 0, 0, ?) or incorrectly encoded points (0, x, x, !0) as not an identity and thus returns false + test 2023-12-04 22:33:38 +01:00
sowle
3402da561c
Merge branch 'asset_update' into cryptoassets
# Conflicts:
#	tests/core_tests/multiassets_test.cpp
2023-08-29 14:13:15 +02:00
sowle
8fdd15f584
crypto: implemented point_t::operator-() + test 2023-08-23 19:32:28 +02:00
sowle
46e4919245
Zarcanum PoS proofs & wallet's mining code made compatible with non-explicit asset id outputs 2023-08-08 16:58:49 +02:00
sowle
d852119e5e
range proofs: max outputs count changed: 16 -> 32 2023-08-02 22:53:00 +02:00
sowle
f164335e4e
coretests: zarcanum_in_alt_chain fixed by temporary disabling altchain checks for ZC inputs (+few improvements) 2023-05-22 04:27:40 +02:00
sowle
52f941c748
hopefully final fixes for gcc errors 2023-04-10 21:01:35 +02:00
sowle
382f6ab574
fixing gcc errors while trying not to screw up msvc compilation at the same time 2 (wip) 2023-04-08 22:38:50 +02:00