Commit Graph

119 Commits

Author SHA1 Message Date
jl777
6986a67b5c Syntax 2018-08-15 00:23:23 -11:00
jl777
6ca2e99883 Backwards compatibility breaking changes
Assets:
change tokeninfo to return "supply" in satoshis
Max description length to 4096

Rewards:
Fix  rewardsunlock without giving it a locked txid always gives error
Fix (nonconsensus) allow anybody to unlock only AFTER maxtime
Fix rewards unlock to use mempool
fix could you add a locked_funds value to rewardsinfo?
Fix i deposited 100000 at 20% apr for one day i only got back
100000.01140669 seems like too little for 20% APR

Faucet:
Fix txid with 0x00 at beginning and end required for faucetget txid
(65536 average iterations needed)
Change reduce faucet get to 0.1 coins
Can’t reproduce: it seems that if you re-run faucetget twice in the
same block is when it pegs the cpu to max

Dice:
fix Dice status always returning loss
Wont fix Profit margin for dice plan sounds good. -> use -ac_commission
2018-08-15 00:18:13 -11:00
jl777
a85ad9d32b Prevent reporting locked funds as part of reward funds 2018-08-12 23:22:31 -11:00
jl777
2156597439 Use tx not vents 2018-08-12 23:07:40 -11:00
jl777
c269ecf5d9 Get right total to unlock! 2018-08-12 23:05:56 -11:00
jl777
674e0bbebb Fix rewards error check 2018-08-11 09:22:26 -11:00
Jonathan "Duke" Leto
2f1319dcfc Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-11 16:47:51 +02:00
jl777
4f054db067 Fix reward calc check 2018-08-10 20:53:43 -11:00
Jonathan "Duke" Leto
efa644f28e Add some rewards tests 2018-08-11 08:21:32 +02:00
jl777
1ed46fb837 return("") for std::string 2018-08-10 05:16:48 -11:00
jl777
984a9dc30a %% 2018-08-09 19:33:02 -11:00
jl777
59da6d30dd REWARDSCC_MAXAPR and use int64_t for all coin values 2018-08-09 19:31:25 -11:00
jl777
278a61fd5e uint64_t -> int64_t for coin values other than three 2018-08-09 19:23:40 -11:00
jl777
112803d8e1 Require sbits/fundingtxid matches for rewards vins 2018-08-07 21:25:51 -11:00
jl777
d587c96cfc Minimum rewardsfunding 2018-08-07 04:46:54 -11:00
jl777
6deb8c09eb Disable FSM, auction, lotto and add some error checks 2018-08-05 20:43:35 -11:00
jl777
da07d84b84 Implement dice timeout 2018-08-02 23:02:51 -11:00
jl777
fb89b4411d Test 2018-07-31 03:52:05 -11:00
jl777
94ada5ec58 Rewards funding <- use actual total 2018-07-30 23:16:47 -11:00
jl777
93ac96fa61 Bigger spam prevention 2018-07-30 09:31:28 -11:00
jl777
c2342f7b24 Add spam prevention 2018-07-30 09:25:51 -11:00
jl777
d0d96ab044 Initial dice morph from rewards.cpp 2018-07-29 05:06:39 -11:00
jl777
ba30129fa6 Test 2018-07-29 04:27:59 -11:00
jl777
10078e85a9 +print 2018-07-29 03:54:39 -11:00
jl777
572ce78169 Activate CCduration constraint 2018-07-28 01:02:00 -11:00
jl777
43b91cca46 Test 2018-07-28 00:47:41 -11:00
jl777
763ec3cae7 Test 2018-07-28 00:44:12 -11:00
jl777
85afb4f060 Test 2018-07-28 00:40:42 -11:00
jl777
5641892d0b Test 2018-07-28 00:39:03 -11:00
jl777
cb35ec92b8 Test 2018-07-28 00:38:25 -11:00
jl777
93637d45bf Test 2018-07-28 00:34:09 -11:00
jl777
1cbb6e1390 Test 2018-07-28 00:30:27 -11:00
jl777
242ba73999 Test 2018-07-28 00:27:50 -11:00
jl777
6e801a8243 Trim funding input 2018-07-28 00:23:07 -11:00
jl777
9f2d38b39c Test 2018-07-28 00:17:41 -11:00
jl777
0af767e098 Validate rewards 2018-07-28 00:15:31 -11:00
jl777
4f839b5c9c Test 2018-07-27 23:10:00 -11:00
jl777
d5dae053ea Fix rewards unlock 2018-07-27 23:07:06 -11:00
jl777
386a408f74 Teest 2018-07-27 09:18:16 -11:00
jl777
82381395c6 Test 2018-07-27 08:55:49 -11:00
jl777
d2aba1d67b Test 2018-07-27 07:41:57 -11:00
jl777
6e281d1c6a Prevent inputs of CC inputs 2018-07-27 07:28:32 -11:00
jl777
31ffb5c5d4 Test 2018-07-27 07:07:11 -11:00
jl777
59f69770d3 Test 2018-07-27 06:59:13 -11:00
jl777
9f92a69728 Test 2018-07-27 06:55:26 -11:00
jl777
21281e14aa Test 2018-07-27 06:54:20 -11:00
jl777
2e2244a2aa Test 2018-07-27 06:52:48 -11:00
jl777
a736f830f8 Test 2018-07-27 06:49:15 -11:00
jl777
e426fab9b6 Test 2018-07-27 06:45:33 -11:00
jl777
d40b8630e7 Test 2018-07-27 06:42:18 -11:00