Main webpage
show info about a block (by n) EXPOSED
show whole blockchain EXPOSED
show info about a block (by hash)
to submit a new block
For instructor use only (password protected)
Erase the list of pending transactions. Use only in case there are any problematic transactions in the list of transactions!
See coinexplorer.check_password() for info on how to set the password
get last block
show pending transaction list
show info about a public key
For instructor use only (password protected)
Allows to temporarily disable posting of any new transactions
See coinexplorer.check_password() for info on how to set the password
For instructor use only (password protected)
Set the current difficulty.
See coinexplorer.check_password() for info on how to set the password
show info about a transaction (by hash)
to submit a transaction
show wallet for public key
page with info about a block (not exposed)
Basic authentication for accessing features that only the instructor should access (like erasing list of pending transactions or changing difficulty)
The hidden symbol _password in module coinexplorer is the md5 hash of the actual password. To change the password to something else, say for example KoalaBear you would:
>>> import hashlib
>>> hashlib.md5("KoalaBear").hexdigest()
'd445aa703dabaf0159ac02947793874f'
and set _password = 'd445aa703dabaf0159ac02947793874f' in module coinexplorer
Note that this is not a very secure way of doing things, as the password is sent in clear text and may just appear in the browsing history.
Return type: | bool |
---|---|
Returns: | True if passwd matches the password |
pretty print in html classes associated with a blockchain
an html page with body s