Commit Graph

791 Commits

Author SHA1 Message Date
jl777
ca9af9a1f6 Test 2018-08-15 00:54:42 -11:00
jl777
b940bb4abd Fix 2018-08-15 00:53:17 -11:00
jl777
300b9ceeb8 Test 2018-08-15 00:52:08 -11:00
jl777
a6c2a2fe36 Test 2018-08-15 00:51:13 -11:00
jl777
f4fc4a80f9 Add nonceto faucet get 2018-08-15 00:50:04 -11:00
jl777
97e4544b10 Test 2018-08-15 00:33:12 -11:00
jl777
6986a67b5c Syntax 2018-08-15 00:23:23 -11:00
jl777
76fb8636ec Syntax 2018-08-15 00:22:18 -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
1da742e71e Test 2018-08-14 04:48:07 -11:00
jl777
2b4374d705 nValue 2018-08-14 03:45:58 -11:00
jl777
db871af56f Fix dice finish 2018-08-14 03:44:36 -11:00
jl777
0e03d55920 Fix dice finish 2018-08-14 02:18:44 -11:00
jl777
cb2ee04b35 Fix dice finish 2018-08-13 05:46:11 -11:00
jl777
a5a2c7cb3a Test 2018-08-13 03:16:59 -11:00
jl777
a4a96df9e5 Skip adding CC vin if CCchange is big enough 2018-08-13 03:15:16 -11:00
jl777
944aed48a8 Test 2018-08-13 03:12:15 -11:00
jl777
a85ad9d32b Prevent reporting locked funds as part of reward funds 2018-08-12 23:22:31 -11:00
jl777
8608399cb5 Numvouts 2018-08-12 23:16:48 -11:00
jl777
7300a1c117 Constrain dice vins to be for exact plan 2018-08-12 23:14:56 -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
jl777
d043ec4f27 Non-consensus portion of dice bet fix 2018-08-11 09:16:43 -11:00
jl777
9a017060c0 +print 2018-08-11 09:08:34 -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
jl777
076a9ee19b -MGNX exception 2018-08-10 20:24:50 -11:00
Jonathan "Duke" Leto
efa644f28e Add some rewards tests 2018-08-11 08:21:32 +02:00
Jonathan "Duke" Leto
03fb3946a1 Fix various return values which should be std::string 2018-08-11 07:18:31 +02:00
jl777
7a0727d585 Filter out CC utxo for normal add inputs 2018-08-10 10:37:00 -11:00
jl777
1ed46fb837 return("") for std::string 2018-08-10 05:16:48 -11:00
jl777
309ee4e3a1 Return string in faucet 2018-08-10 05:13:14 -11:00
jl777
0c3cdfb4f3 MAX APR to 25*COIN == 25% 2018-08-09 22:45:53 -11:00
jl777
2b6315fd13 Fix utxo selection 2018-08-09 20:24:33 -11:00
jl777
0d84fb208e Error check add inputs loop 2018-08-09 19:38:55 -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
c4a4cd05ec Fix 2018-08-09 19:25:25 -11:00
jl777
278a61fd5e uint64_t -> int64_t for coin values other than three 2018-08-09 19:23:40 -11:00
jl777
eccd52f4cc Check for duplicate utxo in available coins 2018-08-09 18:59:18 -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
eea3a3cdb1 N 2018-08-05 23:39:57 -11:00
jl777
6facc0ea06 Syntax 2018-08-05 23:39:16 -11:00
jl777
718255b3fd smart utxo selection without press release to coin telegraph 2018-08-05 23:36:00 -11:00
jl777
b24e0ff44e ) 2018-08-05 20:49:12 -11:00
jl777
8a78bd9d8c Test 2018-08-05 20:47:51 -11:00
jl777
6deb8c09eb Disable FSM, auction, lotto and add some error checks 2018-08-05 20:43:35 -11:00
jl777
dec9218b77 Combat/endian.h 2018-08-03 22:57:45 -11:00