Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions simpleCoin/miner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from os import system
import time
import hashlib
import json
Expand Down Expand Up @@ -249,6 +250,8 @@ def validate_signature(public_key, signature, message):


def welcome_msg():
# Clear the screen before welcome message
_ = system('clear')
print(""" =========================================\n
SIMPLE COIN v1.0.0 - BLOCKCHAIN SYSTEM\n
=========================================\n\n
Expand Down
4 changes: 3 additions & 1 deletion simpleCoin/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
transaction with same timestamp was added, they should remove it from the
node_pending_transactions list to avoid it get processed more than 1 time.
"""

from os import system
import requests
import time
import base64
Expand Down Expand Up @@ -126,6 +126,8 @@ def sign_ECDSA_msg(private_key):


if __name__ == '__main__':
# Clear the screen before welcome message
_ = system('clear')
print(""" =========================================\n
SIMPLE COIN v1.0.0 - BLOCKCHAIN SYSTEM\n
=========================================\n\n
Expand Down