dumbcoin

Learning and science

blockchain education

SHOW HN2017

Legend

dumbcoin

An educational blockchain implementation in Python

github.com

#blockchain#python#proof of work#educational#jupyter notebook

412points
41comments
#32of 2,242 in 2017
Top 2%of 2017 by points

How HN took it

DebatedReal support and real criticism

4 positive, 3 neutral or asking, 3 mixed, 4 critical, out of 14 comments about the project. Thread score +0.12.

Idea: 3 for, 1 againstDocs: 1 for, 2 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Simplest, clear walkthrough of blockchain steps

    From 3 comments
    • Thanks! Simplest explanation I've seen. Here's an nbviewer link (which, like base58, works on/over a phone):…
      westurner on HN
    • Very good writeup that shows all the steps. Note it uses MD5 hash instead of SHA256 so not exactly bitcoin. I wonder how much more work would be to make the code fully implement…
      ivan_ah on HN
    • This is great. Just last weekend I did the same thing, coding a very basic blockchain in Python for educational purposes. You tackled wallets, which I didn't get to yet, so that…
      heynk on HN
  • Good resource for learning by building from scratch

    From 2 comments
    • FYI: Great blockchain (from sratch) starter article. At the Awesome Blockchains page [1] I collect starter blockchains and articles (in Python, Ruby, JavaScript, etc.) the idea…
      geraldbauer on HN
    • Coll project. I think having educational * implementations in Python is great in general. Better then having just an article about it...
      brodo on HN

Objections

  • Insecure in places, and only one disclaimer rather than marking which parts are insecure

    From 2 comments
    • > It is NOT secure neither a real blockchain and you should NOT use this for anything else than educational purposes. It would be nice if non-secure parts of implementation or…
      magnat on HN
    • > I'm not sure how much clearer you could mark that. It's not about this warning. It's about that it's the only warning. From the intro and from discussion here on HN, I imply…
      magnat on HN
  • Uses MD5 instead of SHA256 and omits Merkle trees and networking

    From 2 comments
    • Very good writeup that shows all the steps. Note it uses MD5 hash instead of SHA256 so not exactly bitcoin. I wonder how much more work would be to make the code fully implement…
      ivan_ah on HN
    • nice walkthrough. also, not sure why folks are nitpicking about minor things like security disclaimers, number of sha256 hashes, md5, etc. while ignoring nontrivial gaps (eg no…
      vinn124 on HN
  • Several bugs in verify_block, transaction validation and mining

    From 1 comment
    • > I'll also try to point out more explicitly which parts I think are not secure. Things I've noticed: * Use of floating point arithmetic. * Non-reproducible serialization in…
      magnat on HN

Requests

  • Mark insecure parts more explicitly

    From 1 comment
    • > It is NOT secure neither a real blockchain and you should NOT use this for anything else than educational purposes. It would be nice if non-secure parts of implementation or…
      magnat on HN
  • Explain how nodes communicate and broadcast blocks

    From 1 comment
    • This is great. Just last weekend I did the same thing, coding a very basic blockchain in Python for educational purposes. You tackled wallets, which I didn't get to yet, so that…
      heynk on HN

Questions

  • How to convert an educational implementation to a serious one

    From 1 comment
    • So is there a non educational implementation of blockhain that someone could use/parametrize/configure? Something that is not educational but more industrial strength? What must…
      antman on HN
  • Where error messages get logged

    From 1 comment
    • Thanks! Simplest explanation I've seen. Here's an nbviewer link (which, like base58, works on/over a phone):…
      westurner on HN

Alternatives named

  • basiccoin

    From 1 comment
    • For the last couple of months, there have been many educational, simple implementations that explains blockchain technology, I guess thanks to crypto bubble. I wish these were…
      h4l0 on HN
  • halocoin

    From 1 comment
    • For the last couple of months, there have been many educational, simple implementations that explains blockchain technology, I guess thanks to crypto bubble. I wish these were…
      h4l0 on HN
  • tinychain

    From 1 comment
    • Something from a few months back that's a bit closer to Bitcoin's actual implementation but at a similar level of readability: https://github.com/jamesob/tinychain
      jobeirne on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/15945490)