Commit Graph

22807 Commits

Author SHA1 Message Date
dimxy
401737d208 corr dualevalUnspendableAddr in AssetValidateCCvin 2019-01-18 01:10:42 +05:00
dimxy
778bc04009 corr cpAssets use for 'S' in AssetValidate 2019-01-18 01:10:41 +05:00
Mihailo Milenkovic
e23073fff5 Channels adaptation to TokensCC (#3)
* Initial changes

* ChannelsCC adaptation

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix

* Fix
2019-01-18 01:10:40 +05:00
dimxy
dae431eaa5 corr vopretStripped use in DecodeAssetsTokenOpret 2019-01-18 01:10:39 +05:00
dimxy
830b54cf20 corr unmarshal vopretStripped 2019-01-18 01:10:38 +05:00
dimxy
b807d8eb29 corr dummy evalcode in DecodeAssetTokenOpRet 2019-01-18 01:10:38 +05:00
dimxy
029d3af05a add logging origpubkey to FillSell 2019-01-18 01:10:37 +05:00
dimxy
457b9aff54 more corr othertokenscond, set cp->unspendable 2019-01-18 01:10:36 +05:00
dimxy
f67a849be0 corr CCaddr2set for tokens support in FillSell 2019-01-18 01:10:35 +05:00
dimxy
a16e80dac4 more corr in tokensunspendable 2019-01-18 01:10:35 +05:00
dimxy
4903298fc3 corr tokesnunspenable priv and pk 2019-01-18 01:10:34 +05:00
dimxy
406fc53925 removed extra CCaddr2set 2019-01-18 01:10:33 +05:00
dimxy
a7833f272f added othertokenscond to FinalizeCCtx 2019-01-18 01:10:32 +05:00
dimxy
ee848abde9 corr mysingletokenscond in FinalizeCCtx
(corr err message in rpc call)
2019-01-18 01:10:32 +05:00
dimxy
dddda4e32b corr logging in IsTokensVout 2019-01-18 01:10:30 +05:00
dimxy
c66787ada6 added support for 2 check pubkeys for single-eval token vouts 2019-01-18 01:10:30 +05:00
dimxy
114d7779d6 added support for 2 check pubkeys in IsTokenVout 2019-01-18 01:10:29 +05:00
dimxy
ffba12b55b added single-eval token cond to FinalizeCCtx 2019-01-18 01:10:28 +05:00
dimxy
8d8b253138 first time changed eval usage and MakeTokenCCcond.. for assets 2019-01-18 01:08:35 +05:00
dimxy
4379cffe74 corr call to EncodeAssetOpet in prices.cpp 2019-01-18 01:08:34 +05:00
dimxy
41da2aed5f corr call to EncodeAssetOpRet 2019-01-18 01:08:33 +05:00
dimxy
a7d7451c88 corr call to DecodeAssetTokenOpRet 2019-01-18 01:08:32 +05:00
dimxy
2d8027854d first changes in assets for 2-eval vouts 2019-01-18 01:08:31 +05:00
dimxy
96a6530044 corr getting 1of2 addr in 1of2 validator 2019-01-18 01:08:29 +05:00
dimxy
395fac4173 corr cp param to ...addr1of2set 2019-01-18 01:08:29 +05:00
dimxy
46406f3c25 corr CCinit in HeirClaim 2019-01-18 01:08:28 +05:00
dimxy
9e7b031466 corr ccinit in HeirAdd 2019-01-18 01:08:27 +05:00
dimxy
ec954480a8 added more variants checking vouts in IsTokenVout
corr vouts1 in Heir.cpp to single-eval token
changed result type for HeirFund
2019-01-18 01:08:26 +05:00
dimxy
849d60f4d9 eval changed back to EVAL_HEIR in CCinit in HeirAdd 2019-01-18 01:08:24 +05:00
dimxy
99c5484b66 corr cp usage in helper funcs 2019-01-18 01:08:24 +05:00
dimxy
fd0c4b8978 corr CCinit in HeirAdd HeirClaim 2019-01-18 01:08:23 +05:00
dimxy
1fb94e5a34 corr DecodeHeirEitherOpRet in validators
added EVAL_TOKENS check in DecodeTokenOpRet
2019-01-18 01:08:22 +05:00
dimxy
08c0a5a8c6 corr "is token" check in HeirInfo 2019-01-18 01:08:21 +05:00
dimxy
d3c804c50c corr DecodeHeirEitherOpRet call in LifeTimeHeirContractFund
restores !ismempool.. check
2019-01-18 01:08:20 +05:00
dimxy
a684909b7a corr cpTokens usage in TokensExactAmounts 2019-01-18 01:08:19 +05:00
dimxy
dbae803774 added loggin into isTokensVout 2019-01-18 01:08:18 +05:00
dimxy
5c35c03d60 added isTokenVout call to Add1of2address func in heir.cpp
corrected ExtractTokensVinPubkeys call -> in isTokensVout
2019-01-18 01:08:17 +05:00
dimxy
42a48b9653 corrected call to DecodeHeirEitherOpRet in Heirinfo 2019-01-18 01:08:16 +05:00
dimxy
1a5999e0bd _DecodeHeirEitherOpRet corrected vopretStripped proc 2019-01-18 01:08:16 +05:00
dimxy
d41cd8b991 corr unmarshal retcode proc in _DecodeHeirEitherOpRet
GetTokenBalance returns error always, obsolete
2019-01-18 01:08:15 +05:00
dimxy
97a030d05a corrected passing vopretStripped to DecodeHeirOpRet (instead CScript) 2019-01-18 01:08:14 +05:00
dimxy
39731c231f try to construct secod opret w/o serialization 2019-01-18 01:08:13 +05:00
dimxy
ab87b673eb iterator increment corr 2019-01-18 01:08:13 +05:00
dimxy
400b798cd2 try to add second opret w/o serialization 2019-01-18 01:08:12 +05:00
dimxy
7b7b5bdbc0 corr encode token opret plus no opcode cscript 2019-01-18 01:08:11 +05:00
dimxy
32469f37c1 Added DecodeHeirEitherOpret handy func
corr serialization second opret via payload
2019-01-18 01:08:10 +05:00
dimxy
9edec18b96 heirinfo logging enabled 2019-01-18 01:08:10 +05:00
dimxy
20bd5c88b7 opret processing returned to the variant without OP_RETURN opcode (cause this caused validation err) 2019-01-18 01:08:09 +05:00
dimxy
e24039f137 corr concat opret1+opret2 2019-01-18 01:08:09 +05:00
dimxy
fe0cc96584 corr second opret building more 2019-01-18 01:08:08 +05:00