Open
Conversation
…e extension (mime type)
… in sync. Add new config options. Add check if sync already running. Add updating mem status (block number)
…check images exists.
addmeme method example: http POST localhost:1337/api/addmeme addr==KMMqGN1AQ6fzrjy6t3UTnu6L5FrwiNLyou Content-Type:image/png < /media/psf/Home/Pictures/py7.png
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LIST OF CHANGES:
added: Check for a running synchronization process (the sequence may be broken if 2 synchronization processes are running) (setting in the config)
change: Image extensions in the config (cosmetic change)
added: Logging the reason why the meme does not fit (to understand the reason the meme was rejected)
added: Checking the folder with images (if there is an image in the folder but not in the database, it will be deleted and if there is a file in the database and there is no folder then it will download) ((setting in the config))
fix: burn amount for meme (now it charges 0.01 and does not leave as much)
fix: Deleting files (could delete a picture due to duplicate and as a result there will be no picture at all)
fix: [Errno 99] Cannot assign requested address (written to the log but processed in the code)
fix: The sequence is now composed as correctly as possible (the old lane in the blockchain can no longer be changed)
fix: Image expansion checks in the addition of a meme (could lead to duplicates and sequence outages)
fix: Check for synchronization at the time of adding a meme (waiting for the end of synchronization also breaks the sequence)