1
0
Fork 0
forked from lthn/blockchain
Commit graph

103 commits

Author SHA1 Message Date
sowle
d111e014bb
coretests: hard_fork_1_pos_locked_height_vs_time added (exposes an issue) 2019-09-05 19:06:35 +03:00
sowle
62242c448b
coretests: hard_fork_1_pos_and_locked_coins improvements 2019-09-05 16:16:11 +03:00
sowle
073a12f0ff
minor fixes 2019-09-05 16:15:21 +03:00
cryptozoidberg
0383fb78d4
fixed misprint in the fork choise rule 2019-08-31 22:56:25 +02:00
sowle
28659827c3
lmdb: reverting back to v 18 due to complex issues with resizing/synchronization
lmdb v 24 requires manual resizing/growing during it's normal function
Zano core is purely async so it's not easy to prevent all DB txs from starting on lmdb adapter level, because it will lead to random deadlocks in the core due to many high-level cross-thread dependencies.
We will rethink this later.
Many thanks to @leo-yuriev who helped us to discover these issues!
2019-08-28 17:58:35 +03:00
sowle
ec8dd9ee25
unit_tests: compilation fixup 2019-08-17 07:54:55 +03:00
sowle
abb4517bd3
coretests: gen_no_attchments_in_coinbase and multisig_and_checkpoints fixed 2019-08-15 06:16:37 +03:00
cryptozoidberg
3cf4b87a07
Merge branch 'develop' into pos_impr 2019-08-14 10:23:56 +02:00
cryptozoidberg
84bb66a513
got rid of max supply variable 2019-08-14 10:23:20 +02:00
sowle
c8ec3f59ce
unittests: lmdb test improved 2019-08-13 19:57:03 +03:00
sowle
ad7bffbd0e
unit tests: lmdb.2gb_test added 2019-08-10 04:51:29 +03:00
sowle
b723b0151f
coretests: hard_fork_1_checkpoint_basic_test and hard_fork_1_pos_and_locked_coins : work in progress 2019-08-09 07:36:19 +03:00
sowle
6f5762f0c1
coretests: generic improvements in chaingen 2019-08-09 07:34:27 +03:00
sowle
bdd76b28c8
coretests: hardfork tests improved, hard_fork_1_chain_switch_pow_only added 2019-08-08 16:03:47 +03:00
sowle
b3906e1437
coretests: compilation fixed for gcc, hard_fork_1_unlock_time_2_in_normal_tx and hard_fork_1_unlock_time_2_in_coinbase improved 2019-08-07 08:00:17 +03:00
sowle
457d175808
coretests: added hard_fork_1_unlock_time_2_in_normal_tx and hard_fork_1_unlock_time_2_in_coinbase 2019-08-06 14:17:52 +03:00
cryptozoidberg
6847fa5b89
added missing tests, reset blockchain from db 2019-08-05 21:43:10 +02:00
sowle
a6ab2adf86
zlib_helper::pack() fixed for small amount of data + unit test added (resolves #62) 2019-08-05 17:07:10 +03:00
cryptozoidberg
74ce613bde
added test against detecting 'unpowed' stakes in pos blocks 2019-08-03 19:15:56 +02:00
cryptozoidberg
67212dab51
fixed few bugs in locked pos mining, implemeted proper test 2019-08-03 00:22:04 +02:00
cryptozoidberg
1ae2da4983
merge from develop 2019-08-01 23:22:43 +02:00
cryptozoidberg
20f0b2c702
added first test for consensus, added alt block limitation, added traching of burned coins 2019-08-01 18:47:20 +02:00
cryptozoidberg
b740205f02
fixed offers-related tests 2019-07-26 21:51:35 +02:00
cryptozoidberg
676ad16fca
fixed most of the coretests 2019-07-26 18:53:42 +02:00
sowle
e8fe7b8124 coretests: offer_removing_and_selected_output fixed, offer_cancellation_with_zero_fee added 2019-07-20 05:12:41 +03:00
cryptozoidberg
c9f93364ad
changed difficulty adjustment 2019-07-19 18:39:00 +02:00
sowle
2b2aebdd03 coretests: corrected gen_wallet_offers_basic, offer_lifecycle_via_tx_pool, offer_removing_and_selected_output 2019-07-19 18:59:31 +03:00
sowle
5777e2b848 coretests: more cases for escrow_custom_test (zero pledges + contract cancellation) -- exposes a bug 2019-07-16 15:19:04 +03:00
sowle
0e08571f60 wallet & coretests: made contract validation more correct (zero A pledge is acceptable but B pledge + amount_to_pay must be > 0) 2019-06-18 20:42:37 +03:00
sowle
71515cded2 coretests: escrow_zero_amounts added (exposes a minor issue in contract handling) 2019-06-18 13:20:20 +03:00
sowle
f8f0e7a817 coretests: wallet_rpc_integrated_address_transfer fixed 2019-05-23 03:47:41 +03:00
sowle
75506f6180 coretests: wallet_unconfimed_tx_balance added (exposes a minor bug) 2019-05-06 19:36:16 +02:00
cryptozoidberg
5243833bb3
Reserved more outs in tests 2019-05-03 17:31:33 +02:00
anonimal
282214036c
contrib: update miniupnpc to 2.1, use submodule
Resolves the following implemented client vulnerabilities:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-6031
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8798

There are other client fixes as well and I would advise to
semi-regularly bump to master because of the lead developer's release
habits. In the meantime, version 2.1 should be good enough for now.

Note: the adding of TTL argument to upnpDiscover came with the API_VERSION 14.
2019-05-01 23:03:09 +00:00
crypro.zoidberg
36c4dffb1a re-fixed stresstest preparation phase 2019-05-01 21:44:09 +02:00
crypro.zoidberg
992171456b fixed stresstest preparation phase 2019-05-01 21:38:08 +02:00
sowle
a58cab8f9f coretests: gcc warnings fixed 2019-05-01 21:35:53 +02:00
sowle
303cb9b4ea various tests fixes for gcc 2019-05-01 21:25:56 +02:00
sowle
2143dc6779 functional_tests : fixed linkage for gcc 2019-05-01 21:02:33 +02:00
sowle
cbca150265 difficulty test removed as outdated 2019-05-01 21:01:40 +02:00
crypro.zoidberg
3c68509745 added more logs to exception in tests 2019-05-01 16:44:11 +02:00
sowle
976ed481d0 coretests adapted for serializable_pair 2019-05-01 16:01:10 +02:00
sowle
4987bfe6c5 gcc compilation fixup 2019-04-30 19:36:53 +02:00
crypro.zoidberg
76ce7518e7 added proper backward capability to wallet 2019-04-30 19:07:54 +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
sowle
fab4a7ddf1 coretest wallet_chain_switch_with_spending_the_same_ki + wallet fixes 2019-04-26 19:08:38 +03:00
crypro.zoidberg
7fc1eb4d8a multiple fixes on coretests 2019-04-25 23:37:43 +02:00
sowle
c28f32de5f tests fixed 2019-04-23 02:03:34 +03:00
sowle
a13a5b270a Merge branch 'master' into offsig 2019-04-22 01:20:19 +03:00