Commit graph

1435 commits

Author SHA1 Message Date
Roman Olearski
647ac1fa1e Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2017-04-11 17:06:31 +02:00
Roman Olearski
35ee4e1c92 minor change in tournaments test 2017-04-11 17:03:02 +02:00
Roman Olearski
8be10bc6cf Merge branch 'rock-paper-scissors' of https://bitbucket.org/peerplaysblockchain/peerplays-graphene into rock-paper-scissors 2017-04-11 12:43:49 +02:00
Roman Olearski
db2b397afd Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-paper-scissors 2017-04-11 11:38:08 +02:00
Roman Olearski
73d7dbf092 creating committee settable parameters for a bunch of constants in tournament_evaluator 2017-04-11 10:23:28 +02: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
Eric Frias
2b6be2a65e Verify all account ids on whitelist are valid accounts 2017-04-10 15:50:36 -04:00
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
f935282181 commiting last changes 2 2017-04-01 14:04:38 +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
Eric Frias
1018221812 quiet signed/unsigned warning 2017-01-03 16:44:56 -05:00
Roman Olearski
d9413b8780 enhancing tournaments test 2016-12-05 11:27:19 +01:00
Roman Olearski
21268b92ab correcting conslusion -> conclusion 2016-12-02 22:08:33 +01:00
Roman Olearski
8048d1c35e quality assessment of get_random_bits randomness 2016-12-02 21:43:12 +01:00
Roman Olearski
0f6d312d3e Merge branch 'rock-paper-scissors' of http://syncad.storm.pl:56780/blocktrades/graphene into rock-p
aper-scissors

solving conflict: libraries/chain/game_object.cpp
2016-12-02 12:06:44 +01: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
Eric Frias
e82ed755b2 [DLN] fix non-insurance case to avoid random reveals 2016-11-30 10:12:45 -05:00
Eric Frias
d28d9e96a1 Remove BTS sharedrop 2016-11-29 15:53:39 -05: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
2320be1f55 tournaments tests - correcting max min calculations 2016-11-22 20:30:19 +01:00
Roman Olearski
ac9c301092 tournaments tests - randomizing number of wins 2016-11-21 20:38:49 +01:00
Roman Olearski
cf6f3a15fd generating tournament payout operation 2016-11-21 18:11:31 +01:00
Roman Olearski
16e7104c8e adding two assets tournaments test 2016-11-20 18:39:48 +01:00
Roman Olearski
740b07404a implementing tournament tests 2016-11-18 19:51:38 +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