GithubHelp home page GithubHelp logo

cs-popular-repos / blockchain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from venablc/blockchain

0.0 0.0 0.0 86 KB

C# blockchain implementation

License: GNU General Public License v3.0

C# 100.00%

blockchain's Introduction

Blockchain

Build Status

An extensible and flexible C# blockchain implementation, the main purpose of which is to demonstrate basic blockchain concepts.

Key solution elements / concepts

Node

The core element is the node, responsible for the basic blockchain functionality (e.g. add, retrieve, validate etc.)

Chain store

Every node needs to use a storage provider to store the blockchain, there are currently two chain store implementations, InMemory (default) and Redis.

InMemory

Blockchain is stored in application memory. This is the default and easiest option to use although doesn't provide any persistance between application restarts (although a function of a node is to "persist" a chain to file as a method of backup that can be easily restored on application restart). A node connector can also be used to replicate your blockchain between applications should one of your node quit unexpectedly.

Redis

Blockchain is stored to a specified redis instance, a high performance in memory data store. see https://redis.io/ .

Node host

Using a node host is optional, you can always use a node directly in your own codebase. A node host acts as a wrapper for your node exposing its blockchain functionality in different way.

HTTP

The "http" node host exposes an HTTP API with basic "GET", "ADD" and "COUNT" functions.

Node connector

A node connector connects two or more nodes for purpose of replication to aid scalability, resiliency and redundancy. There are currently no completed connectors.

Future developments

Additional chain stores:

  • MongoDb

Additional connectors:

  • P2Pconnector
  • Mirror

Other:

  • Dockerised blockchain node with HTTP node host
  • Improved documentation
  • Nuget package

Contributions

If you are interested in contributing or taking part this project then contact [email protected]

blockchain's People

Contributors

chris-venables avatar venablc 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.