1
0
Fork 0
forked from lthn/blockchain
Commit graph

118 commits

Author SHA1 Message Date
cryptozoidberg
6441183d25
marketplace documentation and rpc methods renamed 2019-10-05 23:23:44 +02:00
cryptozoidberg
9d3e2dee6b
Merge branch 'develop' into market_rpc_api 2019-10-02 21:06:50 +02:00
sowle
f9a72e3300
unit_tests: fork_choice_rule_test fixed 2019-09-29 22:56:50 +03:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
cryptozoidberg
c8e6498f53
improvements over derivation performance test 2019-09-20 19:24:45 +02:00
sowle
a2d2647840
fix gcc compilation 2019-09-11 14:32:45 +03:00
sowle
bc1a8c0ca0
unit_tests: import advanced lmdb tests from Boolberry (exposes few minor issues) 2019-09-11 13:39:31 +03:00
sowle
62af1716af
tests fixes:
coretests/random_state_manupulation_test
functional_tests/core_concurrency_test
unit_tests/db_accessor_tests.median_db_cache_test
2019-09-11 13:38:04 +03:00
sowle
d742e6ea2d
crypto: safety improvement: use PRNG manipulation from Boolberry, explicitly require USE_INSECURE_RANDOM_RPNG_ROUTINES defined for using it 2019-09-11 13:35:40 +03:00
sowle
e61d8de3df
coretests: hard_fork_1_checkpoint_basic_test completed 2019-09-07 12:48:13 +03:00
sowle
37d447845b
coretests: hard_fork_1_locked_mining_test enhanced 2019-09-07 12:47:31 +03:00
sowle
fd0e7c3f7d
minor fixes and impovements 2019-09-07 12:46:25 +03:00
sowle
eb7bf075cf
coretests: hard_fork_1_pos_locked_height_vs_time greatly improved with additional checks 2019-09-06 18:59:59 +03:00
sowle
589f37bcd9
coretests: pos_block_builder improved 2019-09-06 18:59:02 +03:00
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
cryptozoidberg
ee246bef43
attempt to make common publi interface for wallet 2019-08-27 17:36:53 +02: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