Commit graph

28 commits

Author SHA1 Message Date
Miha Čančula
56be94edd6
Adapt to variant API with max_depth argument 2019-08-20 15:24:32 +02:00
Peter Conrad
517c86c60f
Refactored handling of asset_id 2018-10-10 14:25:57 +02:00
Peter Conrad
fdd7c193a6
Implemented affiliate payouts 2018-10-10 14:25:56 +02:00
Peter Conrad
1ab596952e
Rake calculation fix as outlined by Dan Notestein 2018-10-10 14:25:39 +02:00
Eric Frias
06a297d811 Pay the rake fee to the dividend account of the core asset, not
the dividend account of the buy-in asset
2018-05-09 10:27:39 -04:00
Eric Frias
f7113d3d05 [DLN] change parameters to tournament_leave_operation to specify the account canceling the registration instead of the payer. The canceling acount must be either the payer or the player. Don't allow a player to leave a tournament once registration has been closed. Require player to be authorized for the asset being paid as tournament prize winnings during tournament_join_operation. Tests still need to be made for these changes. 2017-04-10 23:29:02 -04:00
Roman Olearski
94ba6266c6 Implementing missing functionality (5)
Peerplays Blockchain pre-launch settings & modifications I II III
2017-04-08 15:50:13 +02:00
Roman Olearski
33e2f4fd14 Implementing missing functionality
Peerplays Blockchain pre-launch settings & modifications I II III

Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors-ro
2017-04-07 17:28:53 +02:00
Roman Olearski
2fd34ef6ab commiting last changes 2017-04-01 13:59:52 +02:00
Roman Olearski
e16b9d0610 fxing #11 Fix operation of "insurance" parameter
implementing	#12 Add tournament rules to prevent a game from lasting too long due to ties
2016-11-29 17:38:37 +01:00
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
f2c0157bb7 avoiding generating tournament payout operation if zero payout
updating tournaments tests
2016-11-25 18:01:32 +01:00
Roman Olearski
85d7a30f87 improving tournament prize distributing for assets other then core asset 2016-11-24 17:17:59 +01:00
Roman Olearski
a66af8b072 enhancing tournament_payout operation according issues 8 9 2016-11-23 11:33:24 +01:00
Roman Olearski
cf6f3a15fd generating tournament payout operation 2016-11-21 18:11:31 +01:00
Roman Olearski
b1a8a3e503 cleaning unnecessary dumps and comments 2016-11-17 19:04:14 +01:00
Roman Olearski
39b6bfd85e fixing problem : tournament never ends if "bye" matches present
adding tournaments' prize_pool to total  balances
2016-11-16 15:10:10 -05: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
b72eae0941 Merge branch 'rock-paper-scissors-ro' into rock-paper-scissors 2016-11-08 16:26:43 +01:00
Roman Olearski
6abffc0963 Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2016-11-08 15:57:57 +01:00
Roman Olearski
26f47189f0 Creating default dividend asset 2016-11-07 10:18:18 +01:00
Eric Frias
0ebcf00ae0 Fix tournament end_time not set bug #20 2016-11-02 10:57:39 -04: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
f078fed4fd Properly sequence matches when there are more than two players in the tournament 2016-10-23 13:12:06 -04:00
Eric Frias
30874697cc Rework the API calls for tournaments, add an index for getting tournaments
registered by a given account
2016-10-21 12:14:37 -04:00
Eric Frias
c4ad900026 Fix build error in member_enumerator when an operation includes an enum.
Implement the commit/reveal timeouts in RPS games, and generate automatic
("insurance") moves.  Make the CLI wallet watch for new games in
tournaments you're registered for.
2016-10-18 17:36:59 -04:00
Eric Frias
7c30da6b6d Simple two-player tournaments are working if you don't do anything fancy 2016-10-14 19:43:38 -04:00
Eric Frias
e57a5e84db Add missing source files 2016-10-03 13:45:24 -04:00