Commit Graph

18562 Commits

Author SHA1 Message Date
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
jl777
cf18d2df9d Merge pull request #810 from letolabs/cctests
First cryptoconditions sync
2018-08-11 07:38:16 -11:00
Jonathan "Duke" Leto
012613d7ac Undo this, it should be on a diff branch 2018-08-11 19:24:19 +02:00
Jonathan "Duke" Leto
941619eb46 Make the REGTEST AC special in our test suite, so we get a predictable rpc port number 2018-08-11 19:14:51 +02:00
Jonathan "Duke" Leto
2f1319dcfc Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-11 16:47:51 +02:00
Jonathan "Duke" Leto
88e714577b More rewards tests 2018-08-11 16:47:24 +02:00
jl777
87c2402f54 Merge branch 'dev' into jl777 2018-08-10 20:54:06 -11:00
jl777
4f054db067 Fix reward calc check 2018-08-10 20:53:43 -11:00
jl777
f319b61363 Merge pull request #808 from jl777/jl777
Jl777
2018-08-10 20:25:41 -11:00
jl777
076a9ee19b -MGNX exception 2018-08-10 20:24:50 -11:00
Jonathan "Duke" Leto
15b76bd76a More rewards tests 2018-08-11 08:58:56 +02: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
Jonathan "Duke" Leto
f1084b8898 Refactor faucet/rewards/dice/token tests into their own functions 2018-08-11 00:34:38 +02:00
Jonathan "Duke" Leto
b5d4eaf3ab Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 23:45:24 +02:00
jl777
7a0727d585 Filter out CC utxo for normal add inputs 2018-08-10 10:37:00 -11:00
Jonathan "Duke" Leto
ae55065235 Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 19:55:24 +02: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
Jonathan "Duke" Leto
9b30af9799 Fix bug in FaucetGet where it returns an int instead of a string 2018-08-10 18:10:21 +02:00
jl777
0c3cdfb4f3 MAX APR to 25*COIN == 25% 2018-08-09 22:45:53 -11:00
Jonathan "Duke" Leto
ba0f55ac2f Add tests for tokencreate and rewardsaddress 2018-08-10 10:46:07 +02:00
Jonathan "Duke" Leto
4adca0ce76 Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 09:26:22 +02:00
jl777
2b6315fd13 Fix utxo selection 2018-08-09 20:24:33 -11:00
Jonathan "Duke" Leto
a6a826c625 Add more tests, fails sometimes still due to bad-txns-inputs-duplicate 2018-08-10 09:23:04 +02:00
Jonathan "Duke" Leto
7b9e2b3c60 faucetget tests 2018-08-10 08:40:28 +02: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
9e432c97ad -print 2018-08-09 19:08:20 -11:00
jl777
066c16e5f6 segid print 2018-08-09 19:06:05 -11:00
Jonathan "Duke" Leto
200d60b17f Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-10 08:04:42 +02:00
Jonathan "Duke" Leto
fe6882f14c More faucet tests, currently sendrawtransaction failing with bad-txns-inputs-duplicate 2018-08-10 08:04:34 +02:00
jl777
eccd52f4cc Check for duplicate utxo in available coins 2018-08-09 18:59:18 -11:00
Jonathan "Duke" Leto
ae7e9b7263 Merge remote-tracking branch 'origin/jl777' into cctests 2018-08-09 23:38:49 +02:00
Jonathan "Duke" Leto
2098a4c9bb Disallow negative funding in faucetfund 2018-08-09 23:37:38 +02:00
Jonathan "Duke" Leto
700c1fcfc3 Improve error checking on funds argument to faucetfund 2018-08-09 22:54:23 +02:00
Jonathan "Duke" Leto
de3a68db84 add more tests for faucetfund edge cases 2018-08-09 22:52:29 +02:00