Skip to content

Conversation

@blondfrogs
Copy link
Contributor

@blondfrogs blondfrogs commented Aug 22, 2018

Because reissue transaction require a state based check from memory or database to verify the validity of the reissue transaction. Only one reissue transaction can be made per asset until the transaction is accepted into a block.

If a transaction doesn't contain a necessary fee to get accepted into a block, the owner of the asset will have to wait until the transaction is removed/expires from the mempool to be able to reissue the asset again.

Copy link
Contributor

@cfox cfox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. A functional test around the reissue chaining would be nice.

// 50000 * 82 Bytes == 4.1 Mb
#define MAX_CACHE_ASSETS_SIZE 50000

extern std::map<uint256, std::string> mapReissuedTx;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe a couple of brief comments here to explain semantics

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, done

@blondfrogs blondfrogs merged commit f2a0d74 into develop2 Aug 22, 2018
@blondfrogs blondfrogs deleted the remove_reissue_chaining branch September 21, 2018 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants