Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added 3 new enhancements #62

Open
knd282 wants to merge 4 commits into
cosme12:master from
knd282:master
Open

Added 3 new enhancements #62
knd282 wants to merge 4 commits into
cosme12:master from
knd282:master

Conversation

@knd282

@knd282 knd282 commented Oct 14, 2020

Copy link
Copy Markdown

(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.

knd282 added 4 commits October 14, 2020 20:26
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /