Roman Olearski
787019617f
Summary commiting changes made since the last commit
...
modified: libraries/app/impacted.cpp
modified: libraries/chain/db_init.cpp
modified: libraries/chain/db_maint.cpp
modified: libraries/chain/game_object.cpp
modified: libraries/chain/include/graphene/chain/protocol/operations.hpp
modified: libraries/chain/include/graphene/chain/protocol/tournament.hpp
modified: libraries/chain/protocol/tournament.cpp
modified: libraries/chain/tournament_object.cpp
modified: libraries/wallet/wallet.cpp
modified: programs/witness_node/main.cpp
modified: tests/CMakeLists.txt
modified: tests/common/database_fixture.cpp
new file: tests/tournament/tournament_tests.cpp
2016-11-28 12:36:18 +01:00
Roman Olearski
5c3c8d9a8a
fixing problem : tournament never ends if "bye" matches present
...
adding tournaments' prize_pool to total balances
2016-11-14 20:18:44 +01:00
Roman Olearski
7f36b261bf
Merge remote-tracking branch 'origin/dividends' into rock-paper-scissors
...
Adding new chain parameters
Distribute prize money when a tournament ends
2016-11-02 15:30:18 +01:00
Eric Frias
9b101cefcf
Restore secret hashes from witnesses -- this is a selective restore of the parts of commits 59a3ca32b7 and c2e5432a30 that generated the secret hashes (it omits the changes to the witness scheduling algorithm)
2016-09-10 15:28:09 -04:00
Eric Frias
be6ad130d9
Code cleanups -- renaming variables, adding comments, fix one bug with override transfers
...
and dividend assets
2016-08-26 11:29:37 -04:00
Eric Frias
bc212b7d59
Fixes to paying out non-core assets using their fee pools
2016-08-25 10:41:01 -04:00
Eric Frias
b584ee15dd
Separate out unit tests for dividend-assets into their own test suite
2016-06-30 12:05:16 -04:00
Eric Frias
7857ac48a4
Correctly generating virtual transactions for payouts
2016-06-27 16:24:13 -04:00
Eric Frias
abc7853c99
Initial work on dividend-paying assets. Basic functionality works in simple
...
cases.
2016-06-26 15:41:07 -04:00
theoreticalbts
e0c4c5e914
Wait for HARDFORK_599_TIME when needed in tests #599
2016-03-16 00:15:49 -04:00
theoreticalbts
92cfb96c61
Test serialization of extensions #599
2016-02-26 14:38:28 -05:00
Eric Frias
d3c6cbf4de
Compile fixes for win32 and out-of-source builds
2016-02-17 09:17:00 -05:00
theoreticalbts
32f07de4e2
Fix unit test failure due to skip_flags changes caused by #492 fix
2016-02-15 21:02:20 -05:00
theoreticalbts
92685af364
Merge branch '563-fork-stealth-fee-routing' into develop
...
Includes dependency '572-fork-reenable-asset-perms'
2016-02-15 15:37:22 -05:00
theoreticalbts
36a8c3d6f1
Unit test for STEALTH fee routing #563
2016-02-15 15:33:21 -05:00
theoreticalbts
e46af9f372
Merge branch '538-fork-buyback' into develop
...
Includes dependencies '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check'
2016-02-11 13:03:19 -05:00
Daniel Larimer
146c0c4d8e
Clean up some non-determisitic behavior, maybe fix #485
...
1. Replace ordered_non_unique indexes with composite keys / ordered_unique, using object_id as tiebreaker.
2. Make some casts more explicit.
This commit was rebased by theoreticalbts due to conflicts with the patches for #466 #562 including bugfixes
- Fix flipped comparison operator
- Implement operator> and operator!= for object_id_type
2016-02-11 13:02:11 -05:00
theoreticalbts
1a51d87329
Implement test for buyback accounts #538
2016-02-11 04:59:35 -05:00
theoreticalbts
bd22592d19
Merge branches '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check' into 538-fork-buyback
2016-02-11 04:56:47 -05:00
theoreticalbts
68a0ffa1aa
Make is_authorized_asset a free-floating method #566
...
The following sed commands were used to port existing call sites to the new interface:
sed -i -e 's/\([a-zA-Z0-9_]\+\)->is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, *\1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, \1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[(]db[)][.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\)[(]db[)], db[)]/is_authorized_asset( db, \1(db), \2(db) )/' tests/tests/uia_tests.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\), db[)]/is_authorized_asset( db, \1, \2 )/' tests/tests/uia_tests.cpp
No new functionality is added by this commit, it is simply re-organizing the existing code in a different place.
2016-02-11 01:57:22 -05:00
theoreticalbts
078e63a79f
Merge many bugfix branches into develop
...
Merged:
492-bugfix-open-fail #492
523-bugfix-multiple-blind-xfer #523
537-cleanup-remove-operation_get_required_authorities #537
540-cleanup-settle-volume-spam #540
542-bugfix-cancel-fee #542
557-bugfix-pts-address #557
559-test-fix-zero-block-wait #559
561-bugfix-serializer-build-broken #561
562-bugfix-unreflected-fields #562
2016-02-09 10:57:21 -05:00
theoreticalbts
3a968332e8
Remove active_witnesses from global_property_object #562
2016-02-09 04:09:26 -05:00
theoreticalbts
10fca25acc
database_fixture.cpp: Fix integer overflow bug waiting for zero blocks #559
2016-02-08 10:04:34 -05:00
theoreticalbts
a1e8fc0741
Implement top_n special authority #516
2016-01-27 10:30:32 -05:00
theoreticalbts
e9eb050c1e
worker_object.hpp: Move worker objects into own header #466
2016-01-08 11:42:35 -05:00
theoreticalbts
07fb90a7ec
market_object.hpp: Move market objects into own header #466
2016-01-08 11:36:32 -05:00
Michael Vandeberg
fd09669be3
Merge branch '500-crypto-api' into develop
...
Closes cryptonomex/graphene#500
2016-01-07 17:24:13 -05:00
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
399e0ed9f9
db_update.cpp: Take mia as reference, not copy, in clear_expired_orders(), maybe fix #485
2016-01-07 16:04:16 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -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