Commit graph

2226 commits

Author SHA1 Message Date
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
elmato
29c636fcef add get_market() function to call_order_object 2017-03-22 20:14:53 +00:00
alfredo
73abb804ae make less false positives( no false positive given in tests with this setting) 2017-03-22 20:14:53 +00:00
elmato
b2b895ac94 allow to apply_block when exception in database signal handler 2017-03-22 20:14:53 +00:00
elmato
02b2672a39 split notifications (notify_changed_objects) in three signals: new_objects, changed_objects, removed_objects 2017-03-22 20:14:53 +00:00
elmato
823beb7fe5 remove call to notify_changed_objects in _push_transaction 2017-03-22 20:14:53 +00:00
elmato
0bc0513e20 set_subscribe_callback: always initialize bloom filter 2017-03-22 20:14:53 +00:00
elmato
342e33008c Restore bloom filter usage: Check if the object changed/removed was previously subscribed (read) before sending updates back to ws clients 2017-03-22 20:14:53 +00:00
Eric Frias
3feea69a4c Stub out bet fill virtual op 2017-03-22 16:02:57 -04:00
Eric Frias
4cdcbe32da Validate the fee paid when placing a bet. Add virtual op for canceling bet 2017-03-22 15:04:11 -04:00
SynaptiCAD User
58d5affe40 fix merge conflict 2017-03-22 12:48:02 -04:00
SynaptiCAD User
c42a56d332 implement bet_cancel_operation 2017-03-22 12:06:08 -04:00
Eric Frias
46ef911f8e Add more checks when placing bets 2017-03-21 19:47:57 -04:00
Eric Frias
06c56484de Add blockchain parameters to limit the allowed bet odds, start data structure to
track an account's market position
2017-03-21 18:10:02 -04:00
Eric Frias
ccd570874f Updated data structures to take bets with explicit odds 2017-03-21 12:27:13 -04:00
Eric Frias
1b0b2b77d5 use fc from peerplays repo 2017-03-21 11:30:46 -04:00
Eric Frias
65aa509ec9 Support enums in blockchain objects (fix serialization) 2017-03-21 09:24:08 -04:00
SynaptiCAD User
f99bf1c6e6 [DLN] implement list_betting_markets(betting_market_group) 2017-03-19 22:44:16 -04:00
SynaptiCAD User
2d4f18280f [DLN] implement list_betting_market_groups(event_id) 2017-03-19 22:12:31 -04:00
SynaptiCAD User
20a64be400 [DLN] implement list_event_groups(sport_id) 2017-03-19 20:40:17 -04:00
Vikram Rajkumar
9bbbefd391 Update fc submodule 2017-03-18 11:52:06 -05:00
Vikram Rajkumar
e7d62222c0 Merge pull request #248 from ThomasFreedman/master
Updated definition of Thom seed nodes
2017-03-18 11:34:04 -05:00
Thomas Freedman
15066260f2 Updated definition of Thom seed nodes 2017-03-17 16:02:11 -05:00
Eric Frias
db6b312784 Stub out the bet object and the operation for placing it (currently breaks
json_serializer builds, until I port over some code into fc)
2017-03-16 19:37:26 -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
SynaptiCAD User
43f91d83fc [DLN] implement list_sports() API call 2017-03-15 19:06:39 -04:00
Eric Frias
2470af6eb9 Initial work on creating blockchain objects for sports betting 2017-03-15 17:04:27 -04:00
Vikram Rajkumar
974a7fc0c8 Merge pull request #246 from oxarbitrage/issue81
log unexpected exception in close function for github issue 81
2017-03-14 00:34:17 -05:00
oxarbitrage
24d1ce8b1f log unexpected exception in close function for github issue 81 2017-03-13 17:03:15 -07:00
kstdl
6b2927a693 limit check added 2017-03-07 13:28:07 +03:00
Vikram Rajkumar
f1f1e59664 Add README TOC 2017-03-04 17:18:38 -06:00
Vikram Rajkumar
b39997fc77 Update README 2017-03-04 17:13:10 -06:00
Vikram Rajkumar
9231d05d07 Fix comment 2017-03-02 13:05:25 -06:00
Vikram Rajkumar
c149a5b9b1 Update seed nodes 2017-03-01 17:12:04 -06:00
Vikram Rajkumar
1e80d8a01e Merge pull request #242 from oxarbitrage/patch-3
Change wallet function get_market_history
2017-03-01 17:09:37 -06:00
Vikram Rajkumar
9469c957f1 Merge pull request #240 from oxarbitrage/patch-1
issue 193
2017-03-01 15:54:15 -06:00
oxarbitrage
b6cb3eeeb9 Update wallet.hpp 2017-03-01 12:07:33 -03:00