Giter Club home page Giter Club logo

blockchain's Introduction

bitcoin源码分析

btcd是用golang编写的bitcoin全节点客户端。分析源码的过程类似于树的两种遍历算法,深度优先或者广度优先。如果按深度优先去看,会陷入非常复杂的细节方法中,前期会非常难懂,坚持不下去。因此,我会先以广度优先为主,理出一条条线索,按着线索把各个组件的功能功用有个大致的了解。所以在一些章节中我不会把所有的细节方法写上来,只要知道它的意思就行了。重点不是看我写的代码说明,而是代码本身及英文注释。

如果你对bitcoin基本技术不了解,建议你可以先看看Mastering Bitcoin ,否则你很难读懂,因为我不会说一些理论。

目录

  1. 源码结构
  2. 系统启动过程
  3. blockchain
  4. 节点发现与维护
  5. 连接管理
  6. 节点peer
  7. 同步管理
  8. 处理区块
  9. 挖矿

blockchain's People

Contributors

klintcheng avatar

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.