Commit Graph
1244 Commits
Author SHA1 Message Date
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 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
Jack Grigg 554e00e8f9 Disable Sapling features on mainnet
Also places them behind an experimental features flag on testnet
2018-08-13 14:18:18 +01:00
Jonathan "Duke" Leto 66027c0219 Add rewards tests 2018-08-13 09:55:17 +02:00
Jonathan "Duke" Leto 88e714577b More rewards tests 2018-08-11 16:47:24 +02: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
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
jl777 81915d9fce Fix rewards unlock help trigger 2018-08-09 06:47:24 -11:00
Za Wilcox da85cdfe27 Revise help output for z_sendmany
The previous version of the usage message for z_sendmany used the word "Change"
in an ambiguous way.

The intent was to describe "Change" the noun that indicates the portion of a
transaction's funds that are returned to the payer, however the context did not
provide an immediate cue to differentiate from the verb form meaning
"to alter".  Indeed, in other help strings in the same file that meaning of the
word is correct, i.e. the verb form is used.  Moreover a typo in the form of a
missing "a" later in the same sentence exacerbated the problem, by decreasing
readability precisely where context could reduce confusion.
2018-08-08 12:57:27 -06:00
Michael Toutonghi 5034d1c134 Sync with latest Komodo changes 2018-08-06 12:52:22 -07:00
Jonathan "Duke" Leto 6358342934 debug valid pubkey error 2018-08-06 10:59:33 -07:00
Eirik Ogilvie-Wigley 7929851626 Only include the change field if we have a spending key 2018-08-06 09:58:40 -06:00
jl777 6deb8c09eb Disable FSM, auction, lotto and add some error checks 2018-08-05 20:43:35 -11:00
Jack Grigg 25d5e80cbe Rename *SpendingKey -> *SproutSpendingKey
Also GetPaymentAddresses -> GetSproutPaymentAddresses
2018-08-03 10:10:26 +01:00
Jack Grigg 4c77517772 Rename *ViewingKey* -> *SproutViewingKey* 2018-08-03 02:23:38 +01:00
jl777 3bb6e2335e Test 2018-08-02 04:40:20 -11:00
jl777 096cfeb8a3 Test 2018-08-02 04:33:18 -11:00
jl777 7b44d4c123 Test 2018-08-02 04:27:46 -11:00
jl777 75dbd47819 Status zero 2018-08-02 04:26:06 -11:00
jl777 d74d791ae0 Test 2018-08-02 04:07:15 -11:00
jl777 598e88cec5 Test 2018-08-02 03:39:53 -11:00
jl777 cd2a5d0af0 Test 2018-08-02 03:33:03 -11:00
jl777 4e525e48e9 Test 2018-08-02 03:19:48 -11:00
jl777 7e9887593d Dice status 2018-08-02 03:05:37 -11:00
Homu 871e1726c6 Auto merge of #3340 - Eirik0:rename-merkle-typedefs, r=str4d
Rename merkle tree typedefs to include Sprout

This is to be consistent with the naming convention we have been using to distinguish Sprout/Sapling.
2018-08-01 20:48:17 -07:00
Eirik Ogilvie-Wigley 8ea8ef9850 Rename Witnesses to include sprout or sapling 2018-08-01 10:41:36 -06:00
Eirik Ogilvie-Wigley 4fc309f0f5 Rename Merkle Trees to include sprout or sapling 2018-08-01 10:31:09 -06:00
jl777 d9cf43a556 Test 2018-07-31 19:31:58 -11:00
jl777 7137a0223e FSM skeleton 2018-07-31 19:19:33 -11:00
Jack Grigg fbd029d99d Formatting 2018-07-31 23:28:42 +01:00
jl777 ec48f0c361 Test 2018-07-31 05:37:35 -11:00
jl777 cfdc377065 Test 2018-07-31 05:36:16 -11:00
jl777 b47b17439b Add locks 2018-07-31 03:19:36 -11:00
jl777 4608d17092 Faucet info 2018-07-30 23:24:21 -11:00
jl777 0240997499 Dice refund -> timeout 2018-07-30 08:13:29 -11:00
jl777 a03bb7faac winloserefund 2018-07-30 06:45:21 -11:00
jl777 9025093e5a Relax vout constraint 2018-07-30 05:18:11 -11:00
Jack Grigg eec85c4388 Add Sapling support to z_getnewaddress and z_listaddresses 2018-07-30 16:24:20 +01:00
jl777 544593c6ab Dice refund 2018-07-30 02:14:52 -11:00
jl777 05177cfb4e Diceinit fund 2018-07-30 02:08:32 -11:00
jl777 2c42e02c62 Test 2018-07-30 01:54:24 -11:00
jl777 5d3d3a8712 test 2018-07-30 01:51:32 -11:00
jl777 1702dceff3 CCaddress fixes 2018-07-30 01:13:05 -11:00
jl777 135ead85b2 Test 2018-07-29 05:46:28 -11:00
jl777 4d5488bbab Test 2018-07-29 05:45:12 -11:00
jl777 7d82111255 Dice bet 2018-07-29 05:42:18 -11:00
jl777 c857567a62 Dice list and dice info 2018-07-29 05:31:42 -11:00
jl777 587e715dc9 Diceaddfunds 2018-07-29 05:20:48 -11:00