Commit Graph

88 Commits

Author SHA1 Message Date
dimxy
41da2aed5f corr call to EncodeAssetOpRet 2019-01-18 01:08:33 +05:00
dimxy
2d8027854d first changes in assets for 2-eval vouts 2019-01-18 01:08:31 +05:00
dimxy
0a76f9d897 AssetXXX() changed to GetTokenBalance, TokenInfo, TokenList
added processing of incorrect tokenid to GetTokenBalance
2019-01-18 01:07:59 +05:00
dimxy
90f682f022 Heir corrected for Tokens contract 2019-01-18 01:04:35 +05:00
dimxy
a0fc5d6ae4 Corrected both Cancels, 'B' and TokenTransfer 2019-01-18 01:04:34 +05:00
Mihailo Milenkovic
da58ead2d3 Prevent sell and buy offers to be canceled by anybody (#9)
- Prevent sell and buy offers to be canceled by anybody
2019-01-18 01:04:33 +05:00
dimxy
675787d676 Asset contract modified to support the Tokens contract 2019-01-18 01:04:32 +05:00
dimxy
be71d108b2 Added CCaddr1of2set and FinalizeCCtx modified to support it
(small test CCerror code added - temp)
2019-01-18 01:04:31 +05:00
dimxy
8e8a94404f Split Asset contract into Tokens and Assets 2019-01-18 01:04:29 +05:00
jl777
0ea9ae3c05 Update copyright to 2019 2018-12-31 21:41:05 -11:00
dim71
933e1b4220 added check for bad tx (sending from normal vins to cc vouts) to asset validation and tx creation code 2018-12-01 03:08:24 +05:00
jl777
a0e51c46b1 Sapling CC tx support 2018-11-27 23:00:15 -11:00
Mihailo Milenkovic
16f5598f36 Gateways (#3)
- Changed gateways withdrawal flow
- Added txnotarizedconfirmed function to check if transaction is confirmed/notarized
- Fixed max number of inputs when adding in varuous CC functions
- Added TESTMODE to set CC confirmation tx to 2 blocks instead of 60
2018-11-26 20:32:57 +01:00
jl777
de7200a2ab Fix CCassetstx 2018-11-09 01:49:48 -11:00
jl777
ce99447bb4 Threshold check in all CC addinputs 2018-11-06 11:54:11 -11:00
jl777
68da1c69bd Test 2018-09-20 03:50:58 -11:00
jl777
ff3116ce3c Chance for AssetConvert to validate 2018-09-20 02:55:45 -11:00
jl777
541e5e9249 Token convert 2018-09-19 21:51:56 -11:00
jl777
f44cd67e82 Prices stub 2018-09-19 21:04:47 -11:00
jl777
79d79ead57 Test 2018-09-11 22:43:49 -11:00
jl777
32bf34f0ca Test 2018-09-11 22:16:12 -11:00
jl777
019206ff84 Filter addassetinputs with signable addresses 2018-09-11 22:14:18 -11:00
jl777
3515c101d4 Initial gateways CC 2018-09-09 21:07:02 -11:00
jl777
58a6817159 Fix 2018-08-28 02:25:28 -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
8a3e1884d6 More token tests and more error checking and better errors from internals 2018-08-16 17:17:54 +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
Jonathan "Duke" Leto
03fb3946a1 Fix various return values which should be std::string 2018-08-11 07:18:31 +02:00
jl777
6deb8c09eb Disable FSM, auction, lotto and add some error checks 2018-08-05 20:43:35 -11:00
jl777
ac8b2c68d2 Disable assets swap 2018-08-03 00:09:53 -11:00
jl777
214e2c4cf1 Fix asset swap vout2 2018-08-01 01:59:37 -11:00
jl777
ecc9806c30 tst 2018-07-27 07:37:15 -11:00
jl777
6e281d1c6a Prevent inputs of CC inputs 2018-07-27 07:28:32 -11:00
jl777
5f3e6795db Fix 2018-07-27 01:49:25 -11:00
jl777
075a1114eb strcpy(cp->normaladdr,AssetsNormaladdr); 2018-07-27 01:48:25 -11:00
jl777
33d124c1d6 Test 2018-07-27 01:42:44 -11:00
jl777
5de1d1aab1 Asset list 2018-07-27 01:41:30 -11:00
jl777
e7066211c6 Tokeninfo rpc 2018-07-27 01:31:30 -11:00
jl777
bc08ba76f7 VOBJ 2018-07-27 01:30:09 -11:00
jl777
1cdfa0b54b Test 2018-07-27 01:25:50 -11:00
jl777
5842e917f3 Fix 2018-07-27 01:17:12 -11:00
jl777
c66eb36d51 Add pause if scriptcheckqueue isn't idle 2018-07-27 01:12:00 -11:00
jl777
0de5ed27ed Error check bidding for assetid that is txid but not asset creation 2018-07-27 00:55:55 -11:00
jl777
e9c43e9e40 Prevent bid for nonexistent assetid 2018-07-27 00:46:54 -11:00
jl777
636517f866 Fix oops 2018-07-27 00:43:31 -11:00
jl777
4b83ae999b Uint64 -> int64 2018-07-27 00:27:34 -11:00
jl777
c1861a13b8 Prevent negative numbers in assets tx 2018-07-27 00:19:58 -11:00
jl777
fff7c5d249 Swap functions 2018-07-26 06:42:17 -11:00
jl777
3ed54ff10c +print 2018-07-26 04:19:15 -11:00
jl777
ddf40bb69e Fix ask fill dest 2018-07-26 02:06:43 -11:00