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
Daniel Larimer
146c0c4d8e
Clean up some non-determisitic behavior, maybe fix #485
...
1. Replace ordered_non_unique indexes with composite keys / ordered_unique, using object_id as tiebreaker.
2. Make some casts more explicit.
This commit was rebased by theoreticalbts due to conflicts with the patches for #466 #562 including bugfixes
- Fix flipped comparison operator
- Implement operator> and operator!= for object_id_type
2016-02-11 13:02:11 -05:00
theoreticalbts
bd22592d19
Merge branches '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check' into 538-fork-buyback
2016-02-11 04:56:47 -05:00
theoreticalbts
078e63a79f
Merge many bugfix branches into develop
...
Merged:
492-bugfix-open-fail #492
523-bugfix-multiple-blind-xfer #523
537-cleanup-remove-operation_get_required_authorities #537
540-cleanup-settle-volume-spam #540
542-bugfix-cancel-fee #542
557-bugfix-pts-address #557
559-test-fix-zero-block-wait #559
561-bugfix-serializer-build-broken #561
562-bugfix-unreflected-fields #562
2016-02-09 10:57:21 -05:00
theoreticalbts
10fca25acc
database_fixture.cpp: Fix integer overflow bug waiting for zero blocks #559
2016-02-08 10:04:34 -05:00
theoreticalbts
07fb90a7ec
market_object.hpp: Move market objects into own header #466
2016-01-08 11:36:32 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
32f12b9215
Refund order creation fee when order is cancelled #445
2015-12-03 15:48:52 -05:00
theoreticalbts
f72ed2f532
uia_tests.cpp: Implement asset_name_test #409
2015-10-31 15:46:54 -04:00
theoreticalbts
fabe83fbad
database_fixture.cpp: Make GRAPHENE_TESTING_GENESIS_TIMESTAMP configurable #427
2015-10-31 14:31:19 -04:00
theoreticalbts
9d3652e9ec
Fix tests to obey new feed publishing requirement !core_exchange_rate.is_null()
2015-10-29 10:42:32 -04:00
theoreticalbts
d0609e8e74
Update copyright notice for BitShares
2015-10-12 13:48:40 -04:00
theoreticalbts
60f0812de2
Update copyright notice
2015-10-12 13:32:47 -04:00
theoreticalbts
f0f96d5a8f
Allow witness-fed and committee-fed BitAsset feeds to be specified in flags.
...
This is only technically a hardfork, in order to actually desync the chain
the witness account / committee account would need to pass a proposal to do
something in their capacity as the owner of an asset_object. It should be
fairly safe to say that this will not occur on testnet until witnesses have
upgraded.
2015-10-09 13:23:55 -04:00