Roman Olearski
2c8b9ce17a
Merge branch 'betting-merge' of https://bitbucket.org/peerplaysblockchain/peerplays-graphene into betting-merge
2017-08-09 17:59:25 +02:00
Roman Olearski
ec77685264
added is_live_market to event_update operation
2017-08-09 17:58:01 +02:00
Eric Frias
a8d5fded26
Remove the code for charging beting fees up-front now that rake fees are taken from your net winnings.
...
Change the bet matching algorithm to only match at exactly the maker's odds, no rounding.
Implement binned order books in the betting market plugin. Keep betting market groups,
betting markets, and bet objects around forever in the plugin (not yet exposed to the api).
2017-08-09 11:15:12 -04:00
Roman Olearski
f417dc0391
removed betting_market_group_freeze operation
...
added freeze to betting_market_group_update operation
2017-08-09 11:08:50 +02:00
Roman Olearski
b96459045b
added get_total_matched_bet_amount_for_betting_market_group to bookie_plugin
2017-07-28 18:23:57 +02:00
Roman Olearski
3ac447b8a7
Add missing 'description' field to betting_market_update operation
2017-07-27 09:50:37 +02:00
Roman Olearski
b6682fa69a
added betting_market_group_update_operation betting_market_update_operation
2017-07-24 20:59:47 +02:00
Roman Olearski
b9badec2f1
added testing exceptions in betting
2017-07-24 11:43:18 +02:00
Roman Olearski
ea3818cf4f
extended event_update_operation
2017-07-21 13:42:15 +02:00
Roman Olearski
cd40ef0715
extended event_group_update_operation
2017-07-20 21:01:10 +02:00
Roman Olearski
78100f9fb5
added betting_market_rules_update_operation
2017-07-20 14:28:12 +02:00
Roman Olearski
2acd4dd187
added event_update_operation
2017-07-20 12:19:18 +02:00
Roman Olearski
7b8fad0bfa
added event_group_update_operation
2017-07-19 18:10:55 +02:00
Roman Olearski
a24f671c02
added sport_update_operation
2017-07-19 13:05:28 +02:00
Roman Olearski
67c134a138
changed cancel_all_bets to cancel_unmatched_bets
2017-07-19 10:29:51 +02:00
Roman Olearski
c7c03c4aab
added cancel_all_bets operation
2017-07-18 12:02:16 +02:00
Roman Olearski
6aa9057d12
improving try_create_sport test
2017-07-17 22:17:43 +02:00
Roman Olearski
054423dce0
added new betting test - try_create_sport_and_try_again
2017-07-17 18:59:01 +02:00
Roman Olearski
fb22da620d
minor cosmetic changes ...
2017-07-14 13:31:04 +02:00
Roman Olearski
d3482f3a08
Merge branch 'rock-paper-scissors' of https://bitbucket.org/peerplaysblockchain/peerplays-graphene into betting-merge
2017-07-13 16:07:30 +02:00
Eric Frias
790bfe3704
WIP Force all betting markets in a group to use the same asset_id for betting
2017-07-09 18:41:26 -04:00
Roman Olearski
5de1437d24
Merge branch 'betting-ro4' into betting-merge
2017-07-08 20:41:45 +02:00
Eric Frias
a8a64e530b
Add an informational betting_market_rules object, linked to betting market groups
2017-07-06 18:07:39 -04:00
Eric Frias
90722fc0a4
Cherry-picke commit be6ad13.
...
Code cleanups -- renaming variables, adding comments, fix one bug with override transfers and dividend assets
2017-07-06 19:41:13 +02:00
Eric Frias
b8e1165290
Cherry-picked commit 7857ac4.
...
Correctly generating virtual transactions for payouts
2017-07-06 19:18:48 +02:00
Eric Frias
b9304caffa
Cherry-picked commit abc7853.
...
Initial work on dividend-paying assets. Basic functionality works in simple cases.
2017-07-06 19:14:02 +02:00
Eric Frias
cd2940c8a8
Remove competitor and market options objects from the blockchain
2017-07-06 11:57:45 -04:00
Roman Olearski
9b08b502be
implementing betting_market_resolve_group_operation (3) #1
2017-07-06 12:56:32 +02:00
Eric Frias
21661eb12c
Disable incomplete bookie_plugin
2017-07-03 12:12:34 -04:00
Eric Frias
627dba3a46
Merge commit '0ad83697f08a11431eece565f0386a849bed25c9' into betting
2017-06-20 18:36:19 -04:00
SynaptiCAD User
29402ddff3
[DLN] experimenting with RNG vs shuffle algorithm in tests
2017-06-01 11:38:27 -04:00
SynaptiCAD User
50f474a8bf
[DLN] added code to test participation rate using ./tests/chain_test --run_test=operation_tests/witness_create, currently passes when test is set to use shuffle (which I've set as default) but fails for RNG
2017-05-30 18:49:15 -04:00
Eric Frias
672fad6d40
Start of a plugin to track deleted events (and other deleted objects) needed by the
...
bookie ui
2017-04-04 17:02:19 -04:00
Eric Frias
6045b8b096
Add a simple test fixture to verify a bet plays out correctly in all three
...
outcomes.
Fix refunding fees on market cancelation
2017-03-31 17:56:00 -04:00
Eric Frias
39093df26c
Create a bunch of utility functions to make writing betting market tests easier
2017-03-31 11:10:37 -04:00
Eric Frias
fd38d385ca
Fix an error using the wrong scaling constant for bet odds
2017-03-23 18:16:18 -04:00
Eric Frias
1018221812
quiet signed/unsigned warning
2017-01-03 16:44:56 -05: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
740b07404a
implementing tournament tests
2016-11-18 19:51:38 +01:00
Eric Frias
0a6e25507e
Fix compile warning
2016-11-16 15:10:10 -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
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
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
aeabad7364
database_fixture.cpp: Check asset supplies later in verify_asset_supplies() #639
2016-03-25 13:42:05 -04: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