-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added new -nftindex param * Added missing declaration * Added missing declaration * Updated ALLINDEX * Updated some whitespace in rpcwallet * Added nftindex flags to blocktree logic * Added txdb functions for nft index * Added nft index update calls to Connect/Disconnect block * Added nftunspendindex.h * Added nftunspendindex.h * Updates based on alex's input * Added new DB_NFTUNSPENTINDEX char to txdb.h * Fixed some references * Moved a line down that I think should not be on the end of the previous line * Removed tokenId from CNftUnspendIndexValue * Updated nftunspentindex to serialize the blockHeight as big indian * Changed blockHeight to uint32_t * Updated nftunspentindex calls to not have the tokenId in value param * Added a Read func for nftunspentindex * Removed tokenId from CNftUnspentIndexValue * Ops * Added -ntfindex=1 to stressor for tokens * Revert "Ops" This reverts commit ce50c30. * Revert "Removed tokenId from CNftUnspentIndexValue" This reverts commit c517ba4. * Added UTXO data to listtokens * Replaced tokenId uint256 with tokenId TokenId instead * Replaced tokenId uint256 with tokenId TokenId instead * Replaced tokenId uint256 with tokenId TokenId instead * Fixed a crash * Updated the way the token is loaded for adding to the index * Removed redundant checks * Fixed reading method for nft index * Changed some logic and stored the index in a more efficient way * Removed a commit that is no longer needed * Added (with_utxo) to gettoken rpc command * Added new viewstate functions for token utxos * Added new viewstate functions for token utxos * Updated the nftindex logic * Updated TokenUtxoModified logic * Updated TokenUtxoValue * Updated TokenUtxoValue * Renamed DB_NFTUNSPENTINDEX to DB_TOKEN_UTXO * Updated BatchWrite logic for CStateView flush * Updated BatchWrite logic for txdb batchwrite * Fixed a crash and added some logging * Removed a log * Fix gettoken * Check for null entries in TokenUtxoValues * Replaced TokenId with unint256 from SerializeHash(TokenId) * Added more logging for now * Removed some logging * Updated some logging * Updated some logging * Add a call to view.HaveTokenUtxos to reload the cache with old values before running view.AddTokenUtxo * Fixed rpcwallet listtokens and gettoken to use latest non-null entry from GetTokenUtxos * Moved nftindex call to navcoind * Made rpc function changes discussed with alex, added getnft and listnft functions * Updated stressor_token * Updates to the stressor for tokens/nfts * Updates to the stressor for tokens/nfts * Updates to the stressor for tokens/nfts
- Loading branch information
Showing
13 changed files
with
1,568 additions
and
982 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.