Vikram Rajkumar
f13698370b
Clean up replay logic; resolve #175
2017-05-21 18:40:54 -05:00
Vikram Rajkumar
aaf6c5e8f8
Merge remote-tracking branch 'cnx/587-bugfix-witness-reindex-logic'
2017-05-21 17:10:10 -05:00
Vikram Rajkumar
1288a86af6
Update fc submodule
2017-05-21 14:54:51 -05:00
Roman Olearski
3f62223b18
added betting methods to the cli_wallet 2
2017-05-20 11:36:00 +02:00
Roman Olearski
b2e9af164c
added betting methods to the cli_wallet
2017-05-18 13:06:35 +02:00
Vikram Rajkumar
cda895abd6
Update seed node
2017-05-16 13:18:38 -05:00
Vikram Rajkumar
6e9c0adf5d
Update seed nodes
2017-05-10 15:52:10 -05:00
Abit
42afa14012
Merge pull request #274 from bitshares/273-sync-error
...
Fix `block_num != 0` syncing issue #273
2017-05-10 20:22:36 +02:00
Abit
db9669a264
_apply_block: don't skip trx signature validation
2017-05-10 20:20:18 +02:00
oxarbitrage
8dd663aaf6
get_relative_account_history: adding limit > 0 check #279 ( #281 )
2017-05-10 17:33:40 +02:00
oxarbitrage
d482273add
Expose get_relative_account_history to cli_wallet ( #277 )
2017-05-10 01:58:42 +02:00
oxarbitrage
13c3fa0af7
fix get_relative_account_history node api call
...
for issue https://github.com/bitshares/bitshares-core/issues/279 and as discussed in telegram with @abitmore.
2017-05-09 20:20:19 -03:00
Roman Olearski
c18945f592
added reflections for betting API Calls
2017-05-09 13:49:41 +02:00
Eric Frias
428911db02
Fix an bug that was accounting for bets that couldn't be placed due to insufficient
...
funds. Implement (commented-out) automatic random bets, along with invariant
checks between each bet.
2017-05-09 13:46:51 +02:00
Abit
27f2808520
Fix block_num != 0 syncing issue #273
2017-05-06 23:46:09 +02: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
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
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
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
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
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
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
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
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
oxarbitrage
24d1ce8b1f
log unexpected exception in close function for github issue 81
2017-03-13 17:03:15 -07: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
oxarbitrage
b6cb3eeeb9
Update wallet.hpp
2017-03-01 12:07:33 -03:00
oxarbitrage
2c473285b6
issue191
...
Adding date parameters to cli wallet function get_market_history
2017-03-01 12:02:28 -03:00
oxarbitrage
96bd48b6de
issue 193
...
remove note.
2017-03-01 08:54:14 -03:00
Abit
0f7142d9d2
Merge pull request #239 from lafona/lafona-seed-node
...
adds seednode run by lafona
2017-03-01 11:16:36 +01:00
lafona
81039c0b8e
adds seednode run by lafona
2017-02-28 08:24:54 -05:00
root
3d349fbde4
added api function get_account_history_operations
2017-02-22 15:35:37 -08:00
Vikram Rajkumar
4e9d2af6bf
Merge pull request #236 from oxarbitrage/passdump
...
remove log of key in witness start
2017-02-20 13:54:20 -06:00
root
0703447bfd
Print public key on start
2017-02-20 06:18:46 -08:00
root
f50df89826
remove log of key in witness start
2017-02-20 04:52:07 -08: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
alfredo
422d895807
Added withdraw permissions to get_full_account api function. requested in issue #230 .
2017-02-09 17:20:24 -03:00
alfredo
9ea386aa10
added list of assets created by account output to get_full_accounts api function
2017-02-02 18:20:21 -03:00
alfredo
f2c049265e
Asset API Added 2 functions
2017-01-31 21:25:17 -03:00
Vikram Rajkumar
fa9f7a7c0b
Merge pull request #225 from elmato/block-api
...
Add new API (block_api)
2017-01-30 18:37:52 -06:00
Vikram Rajkumar
8cc042a589
Merge pull request #224 from elmato/asset-api
...
Add new API (asset_api)
2017-01-30 18:37:44 -06:00
Vikram Rajkumar
8477b2ea33
Merge pull request #223 from elmato/ws-rpc-auto-login
...
Auto login on every ws/rpc connection using HTTP Authorization header if present
2017-01-30 18:29:28 -06:00
Vikram Rajkumar
8fdd252861
Update fc submodule
2017-01-30 18:18:59 -06:00