Commit Graph

150 Commits

Author SHA1 Message Date
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
jl777
a0e51c46b1 Sapling CC tx support 2018-11-27 23:00:15 -11:00
jl777
13b038a9b9 maxinputs+1 2018-11-21 01:36:32 -11:00
miketout
6e2a502b0e Merge of Komodo and Verus Technologies Post Sapling, Pre-VerusPoP with Support for Time locked coinbases 2018-11-14 16:40:10 -08:00
jl777
013c54955c Better error checking 2018-11-07 00:53:32 -11:00
jl777
4148e39f73 Return eval->error 2018-11-07 00:29:34 -11:00
jl777
1242e65eff make unsupported funcid illegal 2018-11-06 22:50:13 -11:00
jl777
ce99447bb4 Threshold check in all CC addinputs 2018-11-06 11:54:11 -11:00
miketout
8a727a26a7 Beginning of N@S solution using CoinbaseGuard CC 2018-10-02 19:49:54 -07:00
jl777
50dfc22403 Baton for data from mempool 2018-09-12 00:39:43 -11:00
jl777
bea5d28567 Merge 2018-08-31 22:08:25 -11:00
jl777
9a44d9ea32 Merge branch 'jl777' into FSM
# Conflicts:
#	src/cc/rewards.cpp
#	src/main.cpp
2018-08-31 22:07:10 -11:00
jl777
58a6817159 Fix 2018-08-28 02:25:28 -11:00
jl777
6265d22574 Rebase 2018-08-26 23:42:26 -11:00
jl777
717ede079e Required locked tx 2018-08-25 09:43:48 -11:00
jl777
8254d65aa1 Prevent unlocking the fundingtxid 2018-08-25 09:36:07 -11:00
jl777
4208083103 +print 2018-08-25 09:20:57 -11:00
jl777
3e30e9e4dc Prevent unlocking fundingtxid 2018-08-25 09:01:05 -11:00
Jonathan "Duke" Leto
a03146b340 Lots more error checking in rewards and dice 2018-08-22 09:26:37 +02:00
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