Conversation
I added the code for login and register function
I added the code for email function
I added my code for email function
I added my enhanced "check transactions" function
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.
(No 1 Enhancement )
Login and Register- I made the login and register with database system
(No 2 Enhancement)
Program will automatically share transfer details with email- After the user transfers the money to other people,
the user can easily share this transfer details with email by entering the receiver email address.
(No 3 Enhancement)
Enhanced the old "check_transactions" def - I enhanced it because the old function is complicated and hard to read. For instance it show the user like this
{"index": 14, "timestamp": "1601195086.559453", "data": {"proof-of-work": 583852032, "transactions": [{"from": "WYLMvvTYkqxVYpWq2y7CGyz6aCO4DVkeeDrJx59FdApUhRNNV+D5iItr5wOB0iY5KYQ5fCDERg4xLw0Cu/fAjg==", "to": "eNcAW03xvdsCi9t4pH+ZwU+d1lirROMuDpxelnT5O4nnknUJBo50tDkz3RP5e3o17daExRwc2YdEXuy2W7D/kg==", "amount": "2200", "signature": "AiOG/Io9dPeBW384pPOGL4wWcxIbUUE+R5P1ZdjO7eXqJYHx+a+TWaXfkBgHojmRHsM6PEelQI6U8fwHj5cAcg==", "message": "1601195020"}, {"from": "network", "to": "q3nf394hjg-random-miner-address-34nf3i4nflkn3oi", "amount": 1}]}, "hash": "f1911b9b1bc99a002c54f9416401f5550c6dd9e4e8924318c68fa24b83e7462f"} {"index": 14, "timestamp": "1601195086.559453", "data": {"proof-of-work": 583852032, "transactions": [{"from": "WYLMvvTYkqxVYpWq2y7CGyz6aCO4DVkeeDrJx59FdApUhRNNV+D5iItr5wOB0iY5KYQ5fCDERg4xLw0Cu/fAjg==", "to": "eNcAW03xvdsCi9t4pH+ZwU+d1lirROMuDpxelnT5O4nnknUJBo50tDkz3RP5e3o17daExRwc2YdEXuy2W7D/kg==", "amount": "2200", "signature": "AiOG/Io9dPeBW384pPOGL4wWcxIbUUE+R5P1ZdjO7eXqJYHx+a+TWaXfkBgHojmRHsM6PEelQI6U8fwHj5cAcg==", "message": "1601195020"}, {"from": "network", "to": "q3nf394hjg-random-miner-address-34nf3i4nflkn3oi", "amount": 1}]}, "hash": "f1911b9b1bc99a002c54f9416401f5550c6dd9e4e8924318c68fa24b83e7462f"}
This history also disappeared when the user closed the program. This is why I created a database and stored every transaction in db. Users can easily retrieve their transaction history from the database and check them.
Moreover, I also added the data and time log in this.