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
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
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
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
theoreticalbts
aeabad7364
database_fixture.cpp: Check asset supplies later in verify_asset_supplies() #639
2016-03-25 13:42:05 -04:00
theoreticalbts
194186b63a
Implement vbo_withdraw_different test #625
2016-03-25 13:42:05 -04:00
theoreticalbts
4dbfe53f1f
Merge remote-tracking branch 'graphene/develop' into bitshares
2016-03-16 01:09:52 -04:00
theoreticalbts
e0c4c5e914
Wait for HARDFORK_599_TIME when needed in tests #599
2016-03-16 00:15:49 -04:00
Eric Frias
b175cc7feb
Revert "Merge branch 'graphene_master' into bitshares"
...
This reverts commit 2d0a7a2a4d , reversing
changes made to 6684fb75ac .
2016-03-11 14:19:31 -05:00
theoreticalbts
92cfb96c61
Test serialization of extensions #599
2016-02-26 14:38:28 -05:00
Eric Frias
d3c6cbf4de
Compile fixes for win32 and out-of-source builds
2016-02-17 09:17:00 -05: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
theoreticalbts
e46af9f372
Merge branch '538-fork-buyback' into develop
...
Includes dependencies '555-fork-defer-s4n-cull', '559-test-fix-zero-block-wait' and '566-cleanup-wl-flag-check'
2016-02-11 13:03:19 -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
1a51d87329
Implement test for buyback accounts #538
2016-02-11 04:59:35 -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
68a0ffa1aa
Make is_authorized_asset a free-floating method #566
...
The following sed commands were used to port existing call sites to the new interface:
sed -i -e 's/\([a-zA-Z0-9_]\+\)->is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, *\1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(] \([a-zA-Z0-9_*]\+\), d [)]/is_authorized_asset( d, \1, \2 )/' libraries/chain/*.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[(]db[)][.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\)[(]db[)], db[)]/is_authorized_asset( db, \1(db), \2(db) )/' tests/tests/uia_tests.cpp
sed -i -e 's/\([a-zA-Z0-9_]\+\)[.]is_authorized_asset[(]\([a-zA-Z0-9_*]\+\), db[)]/is_authorized_asset( db, \1, \2 )/' tests/tests/uia_tests.cpp
No new functionality is added by this commit, it is simply re-organizing the existing code in a different place.
2016-02-11 01:57:22 -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
3a968332e8
Remove active_witnesses from global_property_object #562
2016-02-09 04:09:26 -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
a1e8fc0741
Implement top_n special authority #516
2016-01-27 10:30:32 -05:00
theoreticalbts
e9eb050c1e
worker_object.hpp: Move worker objects into own header #466
2016-01-08 11:42:35 -05:00
theoreticalbts
07fb90a7ec
market_object.hpp: Move market objects into own header #466
2016-01-08 11:36:32 -05:00
Michael Vandeberg
fd09669be3
Merge branch '500-crypto-api' into develop
...
Closes cryptonomex/graphene#500
2016-01-07 17:24:13 -05:00
Michael Vandeberg
8df58439b1
Opens up cryptographic methods in their own API with serialized wrappers for public and private keys.
...
Tests for serialization of the wrappers added in serialization_tests.
2016-01-07 17:17:27 -05:00
theoreticalbts
399e0ed9f9
db_update.cpp: Take mia as reference, not copy, in clear_expired_orders(), maybe fix #485
2016-01-07 16:04:16 -05:00
Fabian Schuh
5111084730
[License] Modify cpp and hpp headers to MIT #496
2016-01-07 11:44:52 -05:00
theoreticalbts
d853aecd3f
Merge branch '445-fork-order-create-fee-refund' into develop
2015-12-07 15:14:03 -05:00
theoreticalbts
59d0ddf0f1
operation_tests.cpp: Use BOOST_CHECK instead of BOOST_REQUIRE in margin_call_limit_test
2015-12-07 15:00:52 -05:00