forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added unspent cc index and cc txns in mempool improvements (#64)
* fixed name conflict (global namespace) * CCtokens_impl.h renamed * more global namespace fix * fixed libcc.so dependencies * all templated to impl.h * fix single def for helpers; restore global namespaces; restore fix for tokentransfer inputs check * fix tokenv2balance evalcode * first ver of Unspent CC Index; SetCCUnspentsInMempool added, AddNormalInpustRemote mempool flag; tokencreate use normals in mempool (temp) * TestBlockValidity call surrounded by crit section * fixed maxOutputs * deb logging * added TokenV2List with unspent cc index support * added if-cc-active condition like in other places * refactored critical section for TestBlockValidity * changed cc index key (txid index added) and value; revuint used for creationid; template GetNonFungible calls fixed; * lost in the prev commit * old token logging refactored * del extra logging * deleted more trace logging * fix mempool index keyType for cryptoconditions * added opt ver IsSpentInMempool using spent index; calls profiling * added mempool cs around TestBlockValidity * try LOCK2 for TestBlockValidity * restored cs_main around TestBlockValidity; formatting (justification) in BitcoinMiner * removed time profiling * restored mempool index in AddNormalInputsRemote * tx param changed to const in myAddToMempool * added mempool.check and a loop to update mempool indexes in CheckBlock (instead of CCTxFix...) * removed txhash and index from unspent cc index key, fixed mempool address and spent index for cc txns type, added unspent cc index for mempool tokentransfer usemempool input * restored txhash and index in the cc index key (needed to allow multiple cc tx for one creationid) * added listccunspents rpc (to browse unspent cc index)
- Loading branch information
Showing
22 changed files
with
2,180 additions
and
954 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.