Commit graph

1672 commits

Author SHA1 Message Date
Eric Frias
e1f79dc58b Initial sandbox for testing betting algorithms (uses the original simplified
algorithm that doesn't allow you to place bets you can't immediately fund)
2017-04-27 19:29:26 -04:00
Vikram Rajkumar
175d3d22da Update README 2017-04-26 12:47:43 -05:00
Vikram Rajkumar
7d77cbf15b Better fix for Clang 4+ 2017-04-26 12:22:54 -05:00
Vikram Rajkumar
5437722299 Fix compilation on Clang 4+ 2017-04-26 11:59:20 -05:00
Vikram Rajkumar
365987e77f Update fc submodule 2017-04-25 21:18:47 -05:00
Vikram Rajkumar
cfb2718a1e Fix build; #262 2017-04-25 21:18:16 -05:00
Vikram Rajkumar
b50409de37 Merge pull request #263 from oxarbitrage/issue262_2
added get_block_header issue #262
2017-04-21 14:34:51 -05:00
Vikram Rajkumar
192a891792 Merge pull request #264 from oxarbitrage/patch-5
additional console log for already in use p2p port
2017-04-21 13:31:36 -05:00
oxarbitrage
0184fb19e8 additional conole log for already in use p2p code
github issue #77
2017-04-20 20:13:43 -03:00
root
0aae0ea40c added get_block_header issue #262 2017-04-19 01:16:49 +00:00
Sigve Kvalsvik
342c8a2976 Update gui_version 2017-04-18 09:12:01 +02:00
Fabian Schuh
0f6e5ae510 .gitmodules update to private bitbucket repo 2017-04-17 18:56:04 +02:00
Vikram Rajkumar
aa6f3e9051 Merge pull request #261 from pch957/master
return force settlement order with the get_full_account api
2017-04-15 14:06:48 -05:00
alt
a3fe0e128c return force settlement order with the get_full_account api 2017-04-15 12:24:51 +10:00
Vikram Rajkumar
8a44c6a2e6 Merge pull request #259 from bitshares/258-account-history-filter-fix
Fix account_history filtering by account #258
2017-04-10 14:54:12 -05:00
Vikram Rajkumar
19dc0e5f8f Merge pull request #257 from bitshares/256-clear-expired-transactions-memory-leak
Fix clear_expired_transactions memory leak #256
2017-04-10 14:41:53 -05:00
Sigve Kvalsvik
4971dba0f5 Update gui_version 2017-04-10 14:09:01 +02:00
Fabian Schuh
01f5a4e1c9 Merge pull request #255 from oxarbitrage/patch-4
market_history plugin fix
2017-04-10 13:43:13 +02:00
Abit
a4a8b67eba Fix account_history filtering by account #258 2017-04-09 00:57:41 +02:00
Abit
2c05590cd4 Fix clear_expired_transactions memory leak #256 2017-04-09 00:20:13 +02:00
oxarbitrage
3d9ae3d86e market_history plugin fix
fix get_trade_history and calls that use it(get_ticker, get_24_volume),
2017-04-07 18:57:31 -03: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
Sigve Kvalsvik
9466d2096a Update gui_version 2017-03-28 11:42:24 +02:00
Vikram Rajkumar
53b40ba5a6 Restore get_ticker batch size to 100 2017-03-24 17:08:48 -05:00
Vikram Rajkumar
b209915a36 Return latest price in get_ticker even if older than 24 hours 2017-03-24 16:50:03 -05:00
Vikram Rajkumar
12be59db79 Fix crashes in get_ticker and get_24_volume; #250 2017-03-24 16:28:04 -05:00
Vikram Rajkumar
63189ab2e8 Update README 2017-03-24 12:32:35 -05:00
Eric Frias
69192a889d Generate a virtual op when a market is resolved 2017-03-24 11:51:35 -04:00
SynaptiCAD User
094004db7b fix peerplays list functions 2017-03-24 11:04:35 -04:00
SynaptiCAD User
e609764df3 cancel all the betting markets of a canceled event 2017-03-24 11:04:35 -04:00
Eric Frias
e74a505622 Fix missing const qualifier, payouts for betting market wins 2017-03-24 10:40:53 -04:00
SynaptiCAD User
c8a9c86ca6 cancel all unmatched bets on betting market when it is resolved 2017-03-24 00:09:43 -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
Vikram Rajkumar
8e0b16a0d5 Merge pull request #249 from elmato/no-spam-sub-function
No spam sub function
2017-03-23 09:56:23 -05:00
SynaptiCAD User
239d8ee885 update global_betting_statistics when new events created, change scores representation to simple vector of strings, working on evaluator for event_update_status_operation 2017-03-23 00:36:18 -04:00
SynaptiCAD User
c0776eb1dc add get_global_betting_statistics api call 2017-03-23 00:36:18 -04:00
SynaptiCAD User
a267741fd1 added global_betting_statistics implementation object. Object is created, but nothing talks to it yet. 2017-03-23 00:36:18 -04:00
elmato
3eb160bed1 Move notification related functions from db_block.cpp to db_notify.cpp 2017-03-22 22:03:45 +00:00
elmato
030577f671 Fix handling of events from database_object in debug_witness_plugin 2017-03-22 20:14:53 +00:00
elmato
0ecdc90d4d Add the array of ids (that are being removed) to the removed_objects signal 2017-03-22 20:14:53 +00:00
elmato
cff792a740 debug_witness: Handle new params in changed/remove signals from database 2017-03-22 20:14:53 +00:00
elmato
31f322c9cd Handle new,changed and removed events from the database_object in one generic function 2017-03-22 20:14:53 +00:00
elmato
6f1d8b548b Replace clear_filter parameter with notify_remove_create 2017-03-22 20:14:53 +00:00
elmato
aab5fddb2f Keep track of subscribed accounts and check for events that reference them 2017-03-22 20:14:53 +00:00
elmato
bfa600c559 handle new database_object signals, refactor 2017-03-22 20:14:53 +00:00
elmato
6d3fbeef55 Include information of impacted accounts relative to the objects created/changed/removed. Only extract the impacted accounts information if there are handlers defined in order prevent useless cpu usage on nodes not exposing the rpc api 2017-03-22 20:14:53 +00:00