Skip to content

marius-turtle/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

According Blog: https://hackernoon.com/learn-blockchains-by-building-one-117428612f46

  1. check if python installed
  • Windows 10: open CMD >
python -V

*not installed > [Download Windows x86-64 executable installer] 0

Pitfalls

Dependency in Flask

Source

pip install --upgrade Flask

resolves > AttributeError: 'Request' object has no attribute 'is_xhr'


NoneType is not iterable when checking Post-Body Parameters

Source

    def new_transaction():
        values = request.get_json(force=True)

instead of

    def new_transaction():
        values = request.get_json()

Miscellaneous

For Debugging a Flask App set an environment variable (using CMD)
Source

set FLASK_ENV=development

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages