1
0
Fork 0
forked from lthn/blockchain
Commit graph

278 commits

Author SHA1 Message Date
cryptozoidberg
ef2f523bf1
fixed test for proper creating wrong tx(redeem after expiration) 2021-02-20 21:51:35 +01:00
cryptozoidberg
71708ca673
htlc: added test for validating before and after expiration conditions 2021-02-20 15:54:58 +01:00
cryptozoidberg
7f902f27c1
htlc: refund process fixed 2021-02-19 20:18:37 +01:00
cryptozoidberg
38f342b62c
extended test for refund validation(fails so far) 2021-02-17 00:40:24 +01:00
cryptozoidberg
367a786642
fixed last issues with redeem atomics, worked first time ever 2021-02-16 17:45:20 +01:00
cryptozoidberg
d8f276b30b
multiple fixes over atomics 2021-02-15 02:17:59 +01:00
cryptozoidberg
06ca6e035d
implemented taking origin from redeemed tx 2021-02-14 00:28:39 +01:00
cryptozoidberg
82d0e335e6
added double spend protection in htlc(great that i've thought about it now), wallet loading optimization 2021-02-13 00:57:24 +01:00
cryptozoidberg
b4a3a404b4
atomics: bugfixing 2021-02-06 00:02:48 +01:00
cryptozoidberg
e3ef3dc704
fixed chain_switching_when_out_spent_in_alt_chain_ref_id 2021-02-04 21:28:53 +01:00
cryptozoidberg
41ca8cff41
atomics: started to work on tests + light refactoring 2021-02-04 01:49:38 +01:00
cryptozoidberg
a7363cfcd3
Merge branch 'develop' into atomics 2021-02-03 18:38:45 +01:00
cryptozoidberg
447d11e02d
htlc: fixes here and there2 2021-02-03 18:37:57 +01:00
sowle
dd679a1117
experimental crypto: Hp and Hs calculator impelemented 2021-01-26 23:21:44 +03:00
sowle
dd095f205c
experimental crypto: ml2s_lnk_sig_verif implemented completely 2021-01-26 23:19:26 +03:00
sowle
5843f6964c
crypto: fe_isnonzero made public, point_t::is_zero() added 2021-01-26 23:14:46 +03:00
cryptozoidberg
16f37ed4c2
merge from develop 2021-01-18 22:00:36 +01:00
sowle
3c3f7ee7b6
experimental crypto: point and scalar test helpers, exception-safe tests running 2021-01-13 10:57:47 +03:00
sowle
a2fac71ab8
experimental crypto: L2S wip and hash helper + test 2021-01-12 23:56:53 +03:00
sowle
7f5e519277
experimental crypto: scalar_t & point_t improvements 2021-01-11 23:56:43 +03:00
sowle
515a089a46
experimental crypto: sha3 added 2021-01-10 23:08:45 +03:00
sowle
a98317cd52
coretests: chain_switching_when_out_spent_in_alt_chain_mixin and chain_switching_when_out_spent_in_alt_chain_ref_id tests improved 2021-01-08 23:54:01 +03:00
sowle
e625539758
coretests: construct_tx_with_many_outputs made familiar with ref_by_id 2021-01-08 23:52:46 +03:00
sowle
00976d5f65
coretests: chain_switching_when_out_spent_in_alt_chain_ref_id test added 2021-01-08 02:24:43 +03:00
sowle
7cc220c8bd
coretests: count_ref_by_id_and_gindex_refs_for_tx_inputs added 2021-01-08 02:22:29 +03:00
sowle
0801a9db16
coretests: chain_switching_when_out_spent_in_alt_chain_mixin added, exposes a bug 2021-01-07 18:21:52 +03:00
cryptozoidberg
b2a7423ab4
htlc in work: scanning for outputs and validation agains internal errors 2021-01-06 00:10:54 +01:00
cryptozoidberg
3c51c95941
massive fixes over htlc, sha256/RIPEMD160 basic test(passing) 2021-01-04 22:41:16 +01:00
sowle
add0f39302
crypto: L2S protocol introduced (WIP) 2020-12-30 13:13:00 +03:00
sowle
c82aacd437
experimental crypto: sc_invert2, performance comparison, point_G arithmetic fixed 2020-12-25 23:33:01 +03:00
sowle
25b1eed3da
experimental crypto: arithmetics assignment operators added to scalar_t, more tests, profiling 2020-12-24 01:46:04 +03:00
sowle
f05f533a0c
experimental crypto: tests moved to functional_tests, few tests added, gtest-like infrastructure added 2020-12-23 01:40:02 +03:00
sowle
20dd1cafc3
crypto helpers improved, sc_exp and sc_invert implemented (using Fermat little theorem) 2020-12-15 23:57:17 +03:00
sowle
754c4b1fa9
crypto helpers + unit tests (WIP) 2020-12-14 21:37:18 +03:00
sowle
5ce299e23c
coretests fixed 2020-12-01 12:49:39 +03:00
cryptozoidberg
5889b84acd
unit tests expended to cover secure seed cases 2020-11-20 16:40:54 +01:00
cryptozoidberg
6349ed8341
fixed seed loading functions, fixed unit_tests 2020-11-18 21:20:08 +01:00
sowle
2613423d19
coretests: wallet_watch_only_and_chain_switch test added 2020-10-02 16:31:31 +03:00
sowle
f512f948a1
perf tests: minor fix in chacha_stream_performance_test 2020-09-18 02:26:05 +03:00
cryptozoidberg
3b3dbd6fa2
fixed core tests 2020-09-01 18:48:10 +02:00
sowle
66f212715b
coretests: gcc crazy linking fixed once again 2020-08-20 20:09:19 +03:00
sowle
179b41cabb
fixed multi-line comment warnings 2020-08-20 17:05:03 +03:00
cryptozoidberg
5a0cfe1b4a
chacha stream integrated into load/store functions 2020-08-18 21:54:25 +02:00
cryptozoidberg
a4b31c081c
implemented chachastream performance tests(results are pretty good: only 2% slowdown of load/save operations on wallet) 2020-08-18 21:54:25 +02:00
cryptozoidberg
579e4826ed
modifications for chacha stream test 2020-08-18 21:54:24 +02:00
cryptozoidberg
947af8c22b
cleaned up tests, fixed bug with not croped buff on flush 2020-08-18 21:54:24 +02:00
cryptozoidberg
67d2d7f200
implemented right version of stream filter for input 2020-08-18 21:54:24 +02:00
cryptozoidberg
88c76ea4e1
encryption sink transformed to out stream and in stream 2020-08-18 21:54:23 +02:00
cryptozoidberg
79777feda2
converted sink to filter 2020-08-18 21:54:23 +02:00
cryptozoidberg
e4aef3f036
Implemented encryption stream 'sink' 2020-08-18 21:54:23 +02:00