Commit Graph
100 Commits
Author SHA1 Message Date
dimxy 8a7fc182f0 Fixed tokenfillbid failure (#1312)
* commented preventcc call

* preventcc call restored
preventccvouts ++ added for 'B'
2019-03-06 00:36:12 -11:00
dimxy 6b6f4ee29f corr condition to '>=2' in detect old-style data (for 'o' asset cancels) 2019-03-01 00:25:31 +05:00
dimxy 792dab26b6 corr opretid for old-style assets 2019-03-01 00:10:50 +05:00
dimxy be8befeed5 detect old style opret: assets support, more funcids support 2019-02-28 23:37:47 +05:00
dimxy e385253b47 logging added 2019-02-28 21:01:46 +05:00
dimxy f459487cd8 added decoding of old rogue data in token opret 2019-02-28 20:59:19 +05:00
dimxy a3b3459642 corr getting non-funglible data in rogue_highlanderopretdecode 2019-02-28 20:04:05 +05:00
dimxy b436bb4291 corr opretid for assets 2019-02-28 15:54:52 +05:00
dimxy f9776e877f corr FilterOutNonCCOprets ref param 2019-02-28 15:19:27 +05:00
dimxy faff472bc1 corr EncodeTokenCreateOpRet check non fungible empty 2019-02-28 14:54:29 +05:00
dimxy 2a32401ef8 corr FilterOutNonCCOprets checking cc opret data 2019-02-28 13:54:56 +05:00
dimxy b5a02a6b5f corr call to EncodeTokenOpRet in test func 2019-02-28 00:58:47 +05:00
dimxy 9cba4bbf79 merged changes from Fix gatewaysbind #1289 and GatewaysCC small fixes (#1290) 2019-02-28 00:25:56 +05:00
dimxy de6828ec7c tokens blob support 2019-02-28 00:07:08 +05:00
dimxy d41134cb97 token marker moved to vout
tokeninfo validates vouts
2019-02-18 00:03:48 +05:00
dimxy 3c3531627f comment added 2019-02-16 22:15:55 +05:00
dimxy 7b312f6ce6 added burn tx nExpiryHeight validation 2019-02-16 22:07:08 +05:00
dimxy a994a2c015 corrected invalid non-canonical
corrected burntx nExpiryHeight to prevent duplication of importtx (malleability)
added importcoin validation for amount, ac_pubkey
added sourcetx creation with amount in opret
2019-02-16 22:07:07 +05:00
dimxy dc739bc9da empty if{} removed 2019-02-14 23:33:34 +05:00
dimxy a37e1ae633 vopretStripped eliminated in heir cc 2019-02-14 23:02:38 +05:00
dimxy 9e855f8224 changed to strtol in mytokenorders 2019-02-13 17:57:22 +05:00
dimxy 0b16f3942c added non-fungible eval code param 2019-02-13 17:45:45 +05:00
dimxy 1446f33ba8 corr cp init 2019-02-13 14:36:15 +05:00
dimxy ea78447b3b corr if selecting ordertx 2019-02-13 13:49:04 +05:00
dimxy 3774bde4bb added mytokenorders rpc 2019-02-13 13:15:10 +05:00
dimxy 9eed81089b corr check for non-existing eval
in CCLogPrintStream -debug=cat-0 added

declr corrected

comment added to check for non supported eval

added check if eval not supported

СCLogPrintStream moved to CCutils.cpp
2019-02-12 15:05:52 +05:00
dimxy 9fdb634a4e cc log levels corr 2019-02-12 02:01:52 +05:00
dimxy 0b8fffc501 logging corrected 2019-02-12 01:40:59 +05:00
dimxy 0a9f2e0b8e added additionalEvalcode2 in test_burntx 2019-02-12 01:29:49 +05:00
dimxy e15764f362 added vin for vout0 in test_burntx 2019-02-12 01:20:21 +05:00
dimxy 1754fb8821 added CCaddr2set for test_burntx 2019-02-12 00:47:19 +05:00
dimxy 7a4072b4f1 test_burntx added 2019-02-12 00:14:08 +05:00
dimxy cb0db91e9f added playertxid check for non zero 2019-02-11 23:31:37 +05:00
dimxy 672b3939f6 added cc marker spending in rogue_register 2019-02-11 23:27:39 +05:00
dimxy 73c33eb2a3 added burned non-fungible tokens validation 2019-02-11 23:26:06 +05:00
dimxy 08be0457e6 corr call to DecodeTokenOpRet 2019-02-11 20:04:50 +05:00
dimxy e583658d14 removed non-fungible data from 't' opret
added fieldId for non-fungible data in 'c' opret
changed to cc marker int tokencreate, added in rogue_finishgame
(tokenlist supports old and new markers)
2019-02-11 19:04:52 +05:00
dimxy 917501e7c0 token vout changed to empty pk 2019-02-11 00:19:29 +05:00
dimxy 4c3e9226b6 corrected for both token and no token vintx 2019-02-11 00:16:53 +05:00
dimxy f86c6a07e8 added token support in register tx 2019-02-10 23:54:08 +05:00
dimxy 502195f02d changed vout0 for tokens,
added token opret with non-fungible data
2019-02-10 19:37:01 +05:00
dimxy a42b9198df logging param changed to "cctokens" "ccassets" 2019-02-10 17:48:24 +05:00
dimxy 14f1da959c non-fungible tokens support (three-eval token vouts) added in CCtokens (additional opret data)
non-fungible tokens support added in assets
logging changed in CCtokens.cpp for bitcon LogPrintStr with -debug=<category> support
2019-02-10 17:04:55 +05:00
dimxy 43f5b8c00f added MGNX chain old token support 2019-02-02 21:56:22 +05:00
dimxy 6ecbc31948 added skipping asset validation for SEC chain 2019-02-02 21:41:40 +05:00
dimxy 134534b384 var naming improved 2019-01-27 17:56:08 +05:00
dimxy daf34e2315 corrected rpc param size check 2019-01-27 17:17:27 +05:00
dimxy fdcc9d71c2 heirinfo var names corrected
memo field added
2019-01-27 17:03:38 +05:00
dimxy 82956c357a removed heir list header - simply txid array 2019-01-26 20:31:48 +05:00
dimxy 9bad115496 in heirlist added list header 2019-01-26 20:18:00 +05:00
dimxy 2ac92d7d6e result changed to VARR 2019-01-26 19:10:46 +05:00
dimxy 4b6b2a5540 'throw' changed to 'return result' on incorrect params
tx hex name = 'hex'
heirlist returns simple txid array now
2019-01-26 18:31:46 +05:00
dimxy defe854383 set fixed precision for total funds, too 2019-01-23 11:49:07 +05:00
dimxy 5f116e5d13 removed incorrect debug logging in IsTokensvout 2019-01-23 11:38:56 +05:00
dimxy 81fc7ca05b set fixed precision for coins for heirinfo 2019-01-23 11:36:56 +05:00
dimxy 6481576883 restored 1of2 validator for C (was off to test markerValidator) 2019-01-22 23:04:09 +05:00
dimxy de8af6cc93 debug logging disabled 2019-01-22 23:04:08 +05:00
dimxy da00a3d021 isVinValidator flag corrected = true 2019-01-22 23:04:08 +05:00
dimxy fb69b514b2 added logging to marker validator 2019-01-22 23:04:07 +05:00
dimxy 61f1d8771d removed 1of2 validator for test marker spending 2019-01-22 23:04:06 +05:00
dimxy 8a15610e44 corr marker validator 2019-01-22 23:04:06 +05:00
dimxy 098ba877fb corr test code for spending marker F 2019-01-22 23:04:05 +05:00
dimxy 3865cae643 added test to try to spend heir marker F 2019-01-22 23:04:04 +05:00
dimxy 28d090c05e corr adding marker vout for F 2019-01-22 23:04:02 +05:00
dimxy 6c26e91376 corr cpHeir init in _heirFund for marker
enabled logging
2019-01-22 23:04:01 +05:00
dimxy 426aa32dd5 corr F tx marker protection validation code 2019-01-22 23:04:00 +05:00
dimxy 98c5280e6b corr marker to cc unspendable for F, added validation to prevent its spending
added marker to prevent archiving for A
2019-01-22 23:03:59 +05:00
dimxy 2d20276606 better var naming for check vin's pubkey algo 2019-01-22 23:03:58 +05:00
dimxy 92ab8dd7d8 linux sleep added 2019-01-22 23:03:58 +05:00
dimxy a87816f551 test rpc serialization Sleep added 2019-01-22 23:03:56 +05:00
dimxy bd29037628 string "sec" (seconds) added to heirinfo 2019-01-22 23:03:56 +05:00
dimxy e6f41e085e added real owner inactivity time in heirinfo 2019-01-22 23:03:55 +05:00
dimxy 56d68d8166 corr checking for owner pubkey in vins (is owner's or is other's) 2019-01-22 23:03:54 +05:00
dimxy 21ad10ac15 check of vin's owner pubkeys added 2019-01-22 23:03:53 +05:00
dimxy 9c526cce7d corr heir rpc coins -> satoshi conversion 2019-01-22 23:03:52 +05:00
dimxy 50b9f4fe83 test_ac added 2019-01-22 23:03:51 +05:00
dimxy d9de6b7cde extra logging disabled in validator 2019-01-18 01:11:03 +05:00
dimxy d63d43c8ef heir funcs changed to one set 2019-01-18 01:11:02 +05:00
dimxy 80a1ef04f2 added proc of incorrect tokenid to tokenorders 2019-01-18 01:11:00 +05:00
dimxy 4b71e62557 disabled debug loggin in FinalizeCCtx 2019-01-18 01:10:58 +05:00
dimxy 9dc403f331 corr call to IsTokenVout in heir 2019-01-18 01:10:55 +05:00
dimxy 0455243118 more debug logging removed 2019-01-18 01:10:53 +05:00
dimxy 7c16ba9ca2 some debug loggin removed 2019-01-18 01:10:52 +05:00
dimxy c51e239400 corr FillSell self now single-eval token addr 2019-01-18 01:10:52 +05:00
dimxy 65dfecadf8 corr userCCaddr calc 2019-01-18 01:10:51 +05:00
dimxy a645af7ee4 corrected user cc addr for 'x' 2019-01-18 01:10:50 +05:00
dimxy 29052b0790 corr 'x' validation code
corr logging in FinalizeCCtx
2019-01-18 01:10:49 +05:00
dimxy 9657b5ce43 added CCaddr2set to CancelSell 2019-01-18 01:10:48 +05:00
dimxy f79531a29a corr asset unspents addr in AssetOrders 2019-01-18 01:10:47 +05:00
dimxy 9584d6db7f corr cond (single tokens) for buy in GetAssetorigaddrs 2019-01-18 01:10:47 +05:00
dimxy a99fd7502d added conds for ask/bid in GetAssetorigaddrs 2019-01-18 01:10:46 +05:00
dimxy 9293af0f1b added conditions for x S o B in AssetValidateCCvin 2019-01-18 01:10:45 +05:00
dimxy c18a655baf corr uninited cpAssets var in FillBuyOffer 2019-01-18 01:10:45 +05:00
dimxy 06e5d6fc6e corr dualUnspendable use in AssetOrders 2019-01-18 01:10:44 +05:00
dimxy 0588f5dc67 corr unspendable addr for 'S' 2019-01-18 01:10:43 +05:00
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
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