Commit graph

276 commits

Author SHA1 Message Date
Michael Vandeberg
8df58439b1 Opens up cryptographic methods in their own API with serialized wrappers for public and private keys.
Tests for serialization of the wrappers added in serialization_tests.
2016-01-07 17:17:27 -05:00
theoreticalbts
d853aecd3f Merge branch '445-fork-order-create-fee-refund' into develop 2015-12-07 15:14:03 -05:00
theoreticalbts
59d0ddf0f1 operation_tests.cpp: Use BOOST_CHECK instead of BOOST_REQUIRE in margin_call_limit_test 2015-12-07 15:00:52 -05:00
theoreticalbts
15c455dc63 Make margin_call_limit_test pass after hardfork #436 2015-12-07 15:00:46 -05:00
theoreticalbts
6feadd77a5 Fix GRAPHENE_TESTING_GENESIS_TIMESTAMP behavior of asset_claim_fees_test #413 #437 2015-12-07 14:38:05 -05:00
theoreticalbts
5b99cd4faa Allow zero_second_vbo test to run at any timestamp #437 2015-12-07 14:36:21 -05:00
theoreticalbts
32f12b9215 Refund order creation fee when order is cancelled #445 2015-12-03 15:48:52 -05:00
theoreticalbts
e845def98c Add hardfork logic to transfer_whitelist_uia test #419 2015-11-01 11:35:07 -05:00
theoreticalbts
65003ba06c Merge branch 'fork-413' into develop
Conflicts:
	libraries/chain/include/graphene/chain/hardfork.hpp
2015-10-31 17:13:15 -04:00
theoreticalbts
3dc58e435f Merge branches 'fork-409' and 'fork-419' into develop 2015-10-31 17:12:16 -04:00
theoreticalbts
4fa7443922 Merge branches 'history-324', 'bugfix-390', 'wallet-398', 'opt-410', 'script-411', 'bugfix-412', 'bugfix-414', 'bugfix-423' and 'feature-427' into develop 2015-10-31 17:11:41 -04:00
theoreticalbts
d588ac987c operation_tests2.cpp: Implement zero_second_vbo test for issue #390 2015-10-31 17:11:10 -04:00
theoreticalbts
f72ed2f532 uia_tests.cpp: Implement asset_name_test #409 2015-10-31 15:46:54 -04:00
theoreticalbts
28eddf1b6f block_tests.cpp: Fix generate_empty_blocks not working correctly when last_irreversible_block_num skipped over 200
Revealed by #427, related to #407
2015-10-31 15:46:18 -04:00
theoreticalbts
7c9d4584b8 operation_tests2.cpp: Don't use real time for balance_object_test starting_time, breakage revealed by #427 2015-10-31 15:46:18 -04:00
theoreticalbts
ef1c721690 fee_tests.cpp: Implement asset_claim_fees_test #413 2015-10-31 14:40:50 -04:00
theoreticalbts
e1a692b33c operation_tests2.cpp: Fix witness_create test to comply with new witness schedule (breakage revealed by #427) 2015-10-31 14:35:31 -04:00
theoreticalbts
cf4efca17f uia_tests.cpp: Add hardfork logic to issue_whitelist_uia #415 2015-10-31 14:31:24 -04:00
theoreticalbts
fabe83fbad database_fixture.cpp: Make GRAPHENE_TESTING_GENESIS_TIMESTAMP configurable #427 2015-10-31 14:31:19 -04:00
theoreticalbts
1559df551a uia_tests.cpp: Fix transfer_whitelist_uia test broken by issue_whitelist_uia changes #415 2015-10-31 11:31:06 -04:00
theoreticalbts
e8b1deec03 uia_tests.cpp: Mostly rewrite issue_whitelist_uia to test new whitelist logic #415 2015-10-30 18:55:48 -04:00
theoreticalbts
d821d4a993 Get rid of enforce_white_list() #416 2015-10-30 14:35:50 -04:00
theoreticalbts
db045f453c Implement hardfork logic for #415 2015-10-30 13:12:37 -04:00
theoreticalbts
d1d06213e1 block_tests.cpp: Fix generate_empty_blocks 2015-10-29 19:23:23 -04:00
theoreticalbts
9d3652e9ec Fix tests to obey new feed publishing requirement !core_exchange_rate.is_null() 2015-10-29 10:42:32 -04:00
Daniel Larimer
bf4f9ab916 fix some unit tests by renaming BITUSD to USDBIT
Some unit tests broke after making assets with BIT prefix illegal.
2015-10-19 16:49:05 -04:00
theoreticalbts
d0609e8e74 Update copyright notice for BitShares 2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2 Update copyright notice 2015-10-12 13:32:47 -04:00
theoreticalbts
f0f96d5a8f Allow witness-fed and committee-fed BitAsset feeds to be specified in flags.
This is only technically a hardfork, in order to actually desync the chain
the witness account / committee account would need to pass a proposal to do
something in their capacity as the owner of an asset_object.  It should be
fairly safe to say that this will not occur on testnet until witnesses have
upgraded.
2015-10-09 13:23:55 -04:00
theoreticalbts
9b910ee1a4 HARDFORK Allow digits in asset name; fix #359 2015-10-08 15:26:13 -04:00
theoreticalbts
0106a896dc operation_tests.cpp: Fix black_swan_issue_346 test 2015-10-08 15:26:13 -04:00
Daniel Larimer
f05a7bbc97 fix warning 2015-10-02 16:12:06 -04:00
theoreticalbts
db84a492b9 Implement unit test for #350 2015-10-02 10:53:31 -04:00
theoreticalbts
9d5a5dd21c Implement unit test for #346 2015-10-01 12:26:03 -04:00
Eric Frias
74bbde785b In the p2p networking code, request multiple transactions at a time to improve performance during flooding 2015-09-29 17:37:32 -04:00
theoreticalbts
8d52e2dda8 database: Scrub db in open() to force reindex if DB is outdated 2015-09-28 12:15:17 -04:00
theoreticalbts
cb983ced0a block_tests.cpp: Remove logspam, fix compiler warnings 2015-09-22 13:28:53 -04:00
theoreticalbts
53e86fded2 block_tests.cpp: Update transaction_invalidated_in_cache test 2015-09-22 13:27:59 -04:00
theoreticalbts
8de583b0a1 Fix unit tests 2015-09-21 17:36:45 -04:00
Daniel Larimer
966df708a5 fix unit tests 2015-09-18 13:56:32 -04:00
Daniel Larimer
0c1ea181fe commenting out bogus test 2015-09-18 13:48:52 -04:00
Daniel Larimer
26007bb655 update shuffling algorithm 2015-09-18 13:42:12 -04:00
theoreticalbts
b5db094b3b Fix broken unit tests 2015-09-17 12:11:40 -04:00
theoreticalbts
b9727e6e1c Increase logging, improve error messages 2015-09-17 12:11:40 -04:00
theoreticalbts
60f6833795 database_fixture.cpp: Fail assert instead of segfault if asset or account is not found 2015-09-17 12:11:40 -04:00
theoreticalbts
1451f67636 block_tests.cpp: Implement miss_many_blocks test #313 2015-09-16 11:10:57 -04:00
theoreticalbts
422f5762d3 Create unit test for genesis ID reservation #281 2015-09-16 10:18:23 -04:00
Eric Frias
8e9bd890a8 Fix bugs, improve logging in p2p sync 2015-09-10 19:33:11 -04:00
theoreticalbts
15ec55e52d block_tests.cpp: Fix transaction_invalidated_in_cache test, including transaction expiration 2015-09-09 11:03:16 -04:00
theoreticalbts
7317465633 block_tests.cpp: Fix #300 by generating more blocks in generate_empty_blocks() 2015-09-08 16:40:52 -04:00