Commit graph

1077 commits

Author SHA1 Message Date
Roman Olearski
a74e66dd24 little fix in libraries/chain/tournament_evaluator.cpp, corrected comparison asset with integer 2017-04-10 20:07:08 +02:00
Roman Olearski
c60e88d054 Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2017-04-10 19:07:56 +02:00
Dan Notestein
3b36205555 Limit games to 3 gestures because GUI wallet only supports 3 gesture games currently. Note that cli-wallet also supports 5 gesture games in theory, and the code can be expanded to support any odd number of gestures by giving the gestures names. 2017-04-10 11:55:31 -04:00
Dan Notestein
1aad7e4b74 Document limits on number_of_players in a tournament. 2017-04-10 14:42:34 +00:00
Dan Notestein
d5358c6eb0 Prevent creation of tournament with negative buy-in 2017-04-10 13:54:40 +00:00
Roman Olearski
c16454890c Implementing missing functionality (6)
Peerplays Blockchain pre-launch settings & modifications I II III
2017-04-08 20:16:05 +02: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
66208a2d9e I. DEX
Task: The Peerplays DEX should only allow UIA and sidechain assets to be paired (traded) with the core token (PPY).
2017-04-06 09:46:17 +02:00
Roman Olearski
2fd34ef6ab commiting last changes 2017-04-01 13:59:52 +02:00
kstdl
6b2927a693 limit check added 2017-03-07 13:28:07 +03:00
kstdl
895fbec5bc get_tournaments and get_tournaments_by_state method added 2017-02-20 18:09:37 +03:00
Eric Frias
4674fc53ab Allow generate_genesis plugin to quietly do nothing when you don't specify the block number on the witness's command line. 2017-01-04 17:19:48 -05:00
Eric Frias
2012fe6e90 Allow generate_genesis plugin to quietly do nothing when you don't specify the block number on the witness's command line. 2017-01-03 16:45:14 -05:00
Roman Olearski
ac73f34045 little correction for #12 Add tournament rules to prevent a game from lasting too long due to ties 2016-12-02 12:01:37 +01: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
b9508c6da8 little correction for solution ...issues/#10 avoid generating dividend_payout virtual operations for zero-size payouts 2016-11-28 09:06:29 +01:00
Roman Olearski
eadbae0808 solution ...issues/#10 avoid generating dividend_payout virtual operations for zero-size payouts 2016-11-26 16:03:33 +01:00
Roman Olearski
81c9e98d7b solution ...issues/#7 Allow vesting core tokens to vote and receive dividends 2016-11-25 19:40:25 +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
278c9b1683 solution proposal for ...issues/#7 Allow vesting core tokens to vote and receive dividends 2016-11-25 11:23:06 +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
bf8e46bf8d Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2016-11-23 11:35:58 +01:00
Roman Olearski
a66af8b072 enhancing tournament_payout operation according issues 8 9 2016-11-23 11:33:24 +01:00
Eric Frias
85914fb3b4 Remove code that was resetting the game timer each time a player made a move 2016-11-22 18:30:34 -05:00
Eric Frias
a00b6cc8a1 Disalbe excessive logging, fix a bug that was preventing a game from ending
even after all reveal moves  moves were made
2016-11-22 17:47:33 -05: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
1530f04882 added operation tournament_payout_operation 2016-11-17 18:04:32 +01:00
Eric Frias
935dac7ae6 Fix crash in logging when one player fails to reveal their move 2016-11-16 15:57:35 -05: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
Eric Frias
4ac87291ec Update fc 2016-11-16 15:08:31 -05:00
Eric Frias
749ffb8688 Don't make the core asset a bitasset 2016-11-15 10:23:58 -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
32b53434f9 Implementing propose_dividend_asset_update 2016-11-08 11:34:04 +01:00
Roman Olearski
58f1fdc46d Setting the core asset as test dividend asset inn genesis 2016-11-07 22:27:58 +01:00
Roman Olearski
0d8e3a31d5 Removing redundant line 2016-11-07 11:05:04 +01:00
Roman Olearski
26f47189f0 Creating default dividend asset 2016-11-07 10:18:18 +01:00
Roman Olearski
41f11bd63c Merge branch 'rock-paper-scissors' into rock-paper-scissors-ro 2016-11-02 18:11:59 +01:00
Roman Olearski
322c6472ba Merge remote-tracking branch 'origin/rock-paper-scissors' into rock-paper-scissors-ro 2016-11-02 18:10:00 +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
Roman Olearski
a17f2e48ed correcting "then" -> "than" 2016-10-28 20:27:24 +02:00
Roman Olearski
8b0cdacb11 Create new blockchain parameters for peerplays that can be voted on by committee members part 1 2016-10-28 19:35:49 +02: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
72d48cf3d2 Remove redundant type_of_game field 2016-10-19 18:19:13 -04:00