Commit Graph

160 Commits

Author SHA1 Message Date
dimxy
8de1d2cd1b corr calc average costbasis 2019-04-27 13:15:26 +05:00
dimxy
13fdf95907 add ave costbasis and liq price (not normalized) 2019-04-27 13:01:09 +05:00
dimxy
8d272e1c5f val state cleared 2019-04-26 19:43:50 +05:00
dimxy
25b86870c1 all return invalid captured 2019-04-26 12:05:57 +05:00
dimxy
eb7d77de1d off costbasis validation 2019-04-26 01:51:51 +05:00
dimxy
50adff8b8c corr vintx validation for add tx 2019-04-26 01:46:25 +05:00
dimxy
1141ce95d8 bettx comment validation for add fund tx 2019-04-26 01:33:49 +05:00
dimxy
fc1e3209fd more relaxed validation 2019-04-26 01:09:51 +05:00
dimxy
94d6916ca4 final tx vout check commented 2019-04-26 00:59:30 +05:00
dimxy
d9a1ff1695 added check vout==index 2019-04-26 00:48:35 +05:00
dimxy
2d677f3add logging 2019-04-26 00:27:58 +05:00
dimxy
d1c206b347 corr addrindex 2019-04-26 00:01:59 +05:00
dimxy
7b17cd8a36 changed to cc marker
cc marker excluded for addpricesinputs
2019-04-25 23:52:53 +05:00
dimxy
4f5d16905a corr check open/closed 2019-04-25 20:28:26 +05:00
dimxy
c3854b8084 corr cashout amount 2019-04-25 20:22:04 +05:00
dimxy
82557a93a4 added checks for closed 2019-04-25 19:47:33 +05:00
dimxy
02858d9103 corr Cashout and Rekt funcs 2019-04-25 18:59:37 +05:00
dimxy
fe3e906c46 added height > firstheight check 2019-04-25 17:33:07 +05:00
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
1bf4baf408 added normal inputs pubkey validation 2019-04-23 15:56:54 +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
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