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
Roman Olearski
c18094abd8
implementing rake fee in resolve_betting_market_group #1
...
improving net profit calculation
2017-07-08 18:30:23 +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
67d0898394
Fixes to paying out non-core assets using their fee pools
2017-07-06 19:39:04 +02:00
Eric Frias
5b437d7363
Cherry-picked commit b584ee1.
...
Separate out unit tests for dividend-assets into their own test suite
2017-07-06 19:22:33 +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
Roman Olearski
b158950404
moved betting tests to seprarate executable 2
2017-07-03 13:51:02 +02:00
Roman Olearski
61d5f43774
removed betting tests to seprarate executable
...
found generate_block(s) after ACTORS macro
2017-07-03 13:30:37 +02:00
Eric Frias
fe82e85d8d
Merge commit '9bbbefd3913ccfe01b8e8ef2007ca3eb74ab9d81' into betting
2017-06-21 09:33:53 -04:00
Eric Frias
c20978bae6
Merge commit '1e80d8a01e6181711bba3d6462e64286d79935b1' into betting
2017-06-20 19:34:52 -04:00
Eric Frias
627dba3a46
Merge commit '0ad83697f08a11431eece565f0386a849bed25c9' into betting
2017-06-20 18:36:19 -04:00
Eric Frias
bd525ef55d
Merge commit 'c777a88649d50edf6c5e4a8c3b13dda88a66e9d0' into betting
2017-06-20 18:15:43 -04:00
Eric Frias
8549cef70c
Merge commit '92cfb96c618e1c051dd7a7224e5392d56c496c06' into betting
2017-06-20 16:39:27 -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
Roman Olearski
90ec694446
integrating scheduled (old) and shuffled (current) witnesses
2017-04-19 20:31:00 +02:00
Roman Olearski
94d681181c
adding tournament test case for joinig with buy-in with different asset
2017-04-14 17:44:36 +02:00
Roman Olearski
83c5be13f6
completing creating tournament test cases for assertions
2017-04-14 13:49:55 +02:00
Roman Olearski
7463cc28c6
implementing creating tournament test cases for assertions
2017-04-13 21:00:14 +02:00
Roman Olearski
c351abc09a
completing tournament test cases for assertions - joining, leaving
2017-04-13 16:36:39 +02:00
Roman Olearski
509867655f
implementing tournament test cases for assertions
2017-04-12 17:26:51 +02:00
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
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
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
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
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
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
e74a505622
Fix missing const qualifier, payouts for betting market wins
2017-03-24 10:40:53 -04:00
Eric Frias
784b11059f
Start implementing bettimg_market_resolve op
2017-03-23 19:35:10 -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
9f6edc649d
Sort bets by odds for use in an order book
2017-03-23 16:24:47 -04:00
Eric Frias
5aedb65e5c
Implement the apparently-unused feature allowing later operations in a transaction to
...
reference objects created by earlier operations. Change all betting operations
to allow use of this feature, and test it in operation_tests2
2017-03-16 18:38:35 -04:00
Vikram Rajkumar
8ae1f6b3a5
Remove NTP time
2017-03-16 12:53:52 -05:00
Eric Frias
2470af6eb9
Initial work on creating blockchain objects for sports betting
2017-03-15 17:04:27 -04:00
Taconator
eb4db2963e
- CLI: Derive possible owner keys from a brain key
...
- Test: Derive possible owner keys from a brain key
- CLI enhanced to permit checking of whether a public key is currently linked to a registered account
- Database API enhanced to permit checking of whether a public key is currently linked to a registered account
- Test: Check whether a public key is currently registered/associated with an account
2017-02-16 16:22:35 -05:00
Eric Frias
1018221812
quiet signed/unsigned warning
2017-01-03 16:44:56 -05:00