jl777
799f664f5f
Fix
2018-08-18 05:05:47 -11:00
jl777
de70190c2a
Add opret
2018-08-18 04:40:23 -11:00
jl777
8b10fb48e0
Handle partial but not enough rewards funding
2018-08-18 04:32:42 -11:00
jl777
093487f6f0
Fix not enough rewards case
2018-08-18 04:09:51 -11:00
jl777
276c654852
-s
2018-08-17 23:40:12 -11:00
jl777
bc32996926
Reduce faucetget opreturn size, add rewards recover funds mode
2018-08-17 23:02:49 -11:00
Jonathan "Duke" Leto
e4f4e63bf5
Merge remote-tracking branch 'origin/jl777' into cctests
...
Tests failing right now due to change in behavior:
CC Eval EVAL_FAUCET Invalid: faucet is only for brand new addresses
2018-08-16 17:40:57 +02:00
Jonathan "Duke" Leto
8e0ff2b732
Test refactoring, more tests, and lots of error checking improvements and uint64_t fixes
2018-08-15 23:24:59 +02:00
jl777
5159767093
+print
2018-08-15 08:09:21 -11:00
jl777
f344c69338
+prints
2018-08-15 05:18:01 -11:00
jl777
fefaa934a9
Cap reward to a doubling
2018-08-15 01:51:22 -11:00
jl777
e65c27b52e
-print
2018-08-15 01:47:10 -11:00
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