Coder Social home page Coder Social logo

blockchain_python's Introduction

blockchain_python

A simplified blockchain implementation in Python Originally from blockchain_go by Jeiwan

blockchain_python's People

Contributors

eltneg avatar hskang9 avatar

Watchers

 avatar

blockchain_python's Issues

add requirements.txt for pip install

Is your feature request related to a problem? Please describe.
Not exactly related to a problem but a requirements.txt file will allow contributors to easily install dependencies with pip install -r requirements.txt

Describe the solution you'd like
I added a requirements.txt file here in my branch containing external packages used. I will like to create a pull request from this branch

Describe alternatives you've considered

  • Based on this issue and from experience, it is a bit difficult to install plyvel on windows. A leveldb prebuilt version for windows can be found here.

Note
My branch makes changes to .gitignore file. pycache/block.cpython-36.pyc, pycache/blockchain.cpython-36.pyc, pycache/pow.cpython-36.pyc and other *.pyc files will be ignored if pycache folder is ignored.

Contribution Guide

Since you have chosen to use leveldb, I intent to use a pre-compiled one found here. It is quite easy to use. I will like to hear your feedback before creating a pull request for part_3.

Tasks to do

  • part3: LevelDB is using lexicographical only to handle data, so blocks will not be ordered in insertion. Use 'b{height}' prefix to identify block's data.

  • part4

  • part5

  • part6

  • part7

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.