Commit Graph
100 Commits
Author SHA1 Message Date
dimxy 00a39266aa corr perm costbasis calc 2019-04-25 17:15:27 +05:00
dimxy 10447109dd corr equity compare 2019-04-25 16:16:18 +05:00
dimxy 1c219dbf67 corr costbasis init
corr json vals precision
2019-04-25 16:10:05 +05:00
dimxy ae4d2faa69 corr adding array to json res 2019-04-25 15:59:07 +05:00
dimxy 6005562b6a corr resultbets entry 2019-04-25 15:50:19 +05:00
dimxy 91704c0b0a result to varr 2019-04-25 15:40:55 +05:00
dimxy 879a9fbaf8 corr break from loop 2019-04-25 15:34:55 +05:00
dimxy 1c4c7f677a added prices_scanchain func
added all bets params to json
2019-04-25 15:21:22 +05:00
dimxy f290e2e2b3 corr link err (corr func def) 2019-04-25 13:23:42 +05:00
dimxy 0331607b71 costbasis calc now only for smoothed val
added costbasis calc for added bets
removed test windows 7
2019-04-25 13:15:22 +05:00
dimxy 58577b64e1 changed valid height 2019-04-23 22:49:13 +05:00
dimxy 187ce2a657 costbasis validation logging 2019-04-23 22:04:54 +05:00
dimxy db8619363c added costbasis validation
removed cycling in setcostbasis
2019-04-23 20:07:07 +05:00
dimxy 37a09bf6cd test bettx vout0 to fake pk 2019-04-23 17:24:55 +05:00
dimxy 3de3298e57 test bad pk to bettx 2019-04-23 17:05:30 +05:00
dimxy dee7212413 temp pubkey validation removed 2019-04-23 16:47:58 +05:00
dimxy 36227f2e9c test window=7 2019-04-23 16:39:53 +05:00
dimxy 1bf4baf408 added normal inputs pubkey validation 2019-04-23 15:56:54 +05:00
dimxy 8982ffd918 added opret to test tx spending marker 2019-04-23 15:42:33 +05:00
dimxy a8065c0462 added testtransactions rpc to table 2019-04-23 15:42:32 +05:00
dimxy f341b517a3 corr include, syntax err 2019-04-23 15:42:30 +05:00
dimxy ea96f4d528 moved testtransaction to server lib 2019-04-23 15:42:29 +05:00
dimxy c088fa62d5 testtransactions.cpp added 2019-04-23 15:42:28 +05:00
dimxy 37aa2fbe88 test transaction moved to a separate file
added a new test tx to try to spend bettx marker
2019-04-23 15:42:28 +05:00
dimxy b56dc25c8d added logging to PricesList 2019-04-23 15:42:26 +05:00
dimxy a4aad9e05b corr check vout0 validation in ValidateFinalTX 2019-04-23 15:42:25 +05:00
dimxy 96c82c5208 corr validate for cashout 2019-04-23 15:42:24 +05:00
dimxy 1bdd83f1d1 changed profits calc (prevent conversion to 0) 2019-04-23 15:42:23 +05:00
dimxy 51e5260627 corrected profits calc - cast to int64 2019-04-23 15:42:22 +05:00
dimxy 0e3351557e corr param num check 2019-04-23 15:42:21 +05:00
dimxy b2c7484255 param to lower case 2019-04-23 15:42:19 +05:00
dimxy 8b763d971b added missing return 2019-04-23 15:41:14 +05:00
dimxy c19d636d7d added all|open|close opt param to priceslist, mypriceslist 2019-04-23 15:41:13 +05:00
dimxy a18ab80dde mypriceslist added 2019-04-23 15:41:11 +05:00
dimxy efec12bcf5 if TESTMODE PRICES_DAYWINDOW=3 2019-04-23 15:41:09 +05:00
dimxy 82c6560374 costbasis=0 zero div prevention in logging 2019-04-23 15:41:08 +05:00
dimxy 5d296e44f5 try SATOSHIDEN as signed 2019-04-23 15:41:07 +05:00
dimxy d5d633140e corr calc profits refheight 2019-04-23 15:41:06 +05:00
dimxy 5f30987ad6 outprice 2019-04-23 15:41:05 +05:00
dimxy 71b960a1e1 yet corr profits fraction 2019-04-23 15:41:04 +05:00
dimxy 01dfdc6b67 addfunding now in coins
try correct fraction of profits
2019-04-23 15:41:03 +05:00
dimxy 0684f7ab6e corrected temp costbasis calculation for priceinfo
corrected equity loss check
2019-04-23 15:41:02 +05:00
dimxy 41f5437f09 define for 10000 factor added 2019-04-23 15:41:00 +05:00
dimxy d15e1b3a8f removed bad logging 2019-04-23 15:40:59 +05:00
dimxy bcd6e1a4d9 clear lowest pos in price 2019-04-23 15:40:58 +05:00
dimxy f7912ee8f4 more pricedata log 2019-04-23 15:40:57 +05:00
dimxy 7f59d7c76e pricedata logging 2019-04-23 15:40:56 +05:00
dimxy d36e8227d0 corr costbasis & profits calc
added json params
2019-04-23 15:40:55 +05:00
dimxy 3d2c1ea5e0 calc costbasis for firstheight 2019-04-23 15:40:54 +05:00
dimxy 5fa528c0ab try double profits 2019-04-23 15:40:53 +05:00
dimxy 9642776c0a profits log 2019-04-23 15:40:52 +05:00
dimxy d3dbbacaef set calcCostbasis for temp 2019-04-23 15:40:51 +05:00
dimxy f0f091ba0a lev deser restored 2019-04-23 15:40:50 +05:00
dimxy 7e312afc9e char ptrs 2019-04-23 15:40:49 +05:00
dimxy 24a35a4bb0 more lev log 2019-04-23 15:40:48 +05:00
dimxy d7565e75b2 lev log 2019-04-23 15:40:47 +05:00
dimxy 771273f195 costbasis logging 2019-04-23 15:40:46 +05:00
dimxy acd979ea06 set costbasis before 24 as temp
show it txid
2019-04-23 15:40:45 +05:00
dimxy a031847df5 leverage check 0
coin as double
2019-04-23 15:40:44 +05:00
dimxy 26724cae90 pricesget ret check corr 2019-04-23 15:40:43 +05:00
dimxy f6a0ede386 corr priceget params 2019-04-23 15:40:42 +05:00
dimxy a80dd2763e 1of2 change to 1 for bettx 2019-04-23 15:40:41 +05:00
dimxy 8a46a75d0e skip till 2100 2019-04-23 15:40:40 +05:00
dimxy 52fb9e88cb ccflag = false 2019-04-23 15:40:39 +05:00
dimxy c99acae5fa switched to komodo_pricesget 2019-04-23 15:40:38 +05:00
dimxy 6a1d7d5bbe komodo_defs.h reset 2019-04-23 15:40:37 +05:00
dimxy e66d51a261 komodo_gateway.h back into fsm state plus some comments 2019-04-23 15:40:36 +05:00
dimxy 1eccfc7485 corr errors after rebase
added comments
2019-04-23 15:40:35 +05:00
dimxy c427df8e98 corr vout0 check costbasis 2019-04-23 15:40:34 +05:00
dimxy aa728ec1a9 corr validate code op ! 2019-04-23 15:40:32 +05:00
dimxy 41cad58fe7 yet CheckPriceOpret corr 2019-04-23 15:40:32 +05:00
dimxy 1269c4d9d0 corr CheckPricesOpret 2019-04-23 15:40:31 +05:00
dimxy e5905381df corr not cond 2019-04-23 15:40:29 +05:00
dimxy ec783e9a4e txfee costbasis corr 2019-04-23 15:40:28 +05:00
dimxy bf4f084d08 costbasis tx added txfee input 2019-04-23 15:40:27 +05:00
dimxy ea4fc69f0c test invalid costabasis 2019-04-23 15:40:25 +05:00
dimxy efaedac711 first validation code added 2019-04-23 15:40:24 +05:00
dimxy e0fa061cc9 help message 2019-04-23 15:40:23 +05:00
dimxy 59fbfbcae7 pricesinfo height opt 2019-04-23 15:40:21 +05:00
dimxy e4de8aca2d corr baton vin 2019-04-23 15:40:20 +05:00
dimxy 411f68ab80 corr batontxid change 2019-04-23 15:40:18 +05:00
dimxy b7756c071b txfee 2019-04-23 15:40:17 +05:00
dimxy 505619e202 init batontxid
added checks for rpc
2019-04-23 15:40:16 +05:00
dimxy 5c349ea415 addfunding rpc added 2019-04-23 15:40:14 +05:00
dimxy 2f077d3103 yet logging 2019-04-23 15:40:12 +05:00
dimxy 829fb4d0cd added 'add bet funds'
added comments
2019-04-23 15:40:11 +05:00
dimxy f0c14e77d5 rpc rekt cashout
logging, formatting
2019-04-23 15:40:10 +05:00
dimxy 3cc12f4a02 pricessetcostbasis + 2019-04-23 15:40:09 +05:00
dimxy cf05907024 pricessetcostbasis added 2019-04-23 15:40:08 +05:00
dimxy 2e576d5967 costbasis == 0 2019-04-23 15:40:07 +05:00
dimxy 0aba8374f1 rpc height added 2019-04-23 15:40:06 +05:00
dimxy e6474a62af corr marker 2019-04-23 15:40:05 +05:00
dimxy 7c4b7eb7d4 corr marker 2019-04-23 15:40:04 +05:00
dimxy a2ca1ba661 marker 2019-04-23 15:40:03 +05:00
dimxy 0aa62612aa log 2019-04-23 15:40:01 +05:00
dimxy 346f91ef69 logging pricestack 2019-04-23 15:40:00 +05:00
dimxy 02db697299 loggin pricestack 2019-04-23 15:40:00 +05:00
dimxy f5f94b95a2 more logging 2019-04-23 15:39:59 +05:00
dimxy ca97519ccd loggin 2019-04-23 15:39:58 +05:00
dimxy 81185da88f more logging 2019-04-23 15:39:57 +05:00