Giter Club home page Giter Club logo

libbitcoin-consensus's Introduction

Build Status

Coverage Status

Libbitcoin Consensus

Bitcoin consensus library

Installation

$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ sudo ldconfig

libbitcoin-consensus is now installed in /usr/local/.

Dependencies

This library requires libsecp256k1. The test cases have a boost dependency.

Configure Options

There is a dependency on boost test for make check builds (tests). The --without-tests option disables test builds and eliminates the boost check during configure.

Supported Platforms

Ubuntu (gcc and clang) and OSX (clang) are regularly tested via a travis build matrix. There are also Visual Studio 2017, 2015 and 2013 solutions for Windows builds, however the VS2013 build is not currently supported due to a compiler incompatibility introduced in recent versions.

About

This library includes the following 35 files considered to be bitcoin script consensus-critical (in bitcoin core). These files are identical to those used in version 0.19.0 of bitcoin core.

amount.h
attributes.h
hash.cpp
hash.h
prevector.h
pubkey.cpp
pubkey.h
serialize.h
span.h
tinyformat.h
uint256.cpp
uint256.h
version.h
compat/byteswap.h
compat/endian.h
crypto/common.h
crypto/hmac_sha512.cpp
crypto/hmac_sha512.h
crypto/ripemd160.cpp
crypto/ripemd160.h
crypto/sha1.cpp
crypto/sha1.h
crypto/sha256.cpp
crypto/sha256.h
crypto/sha512.cpp
crypto/sha512.h
primitives/transaction.cpp
primitives/transaction.h
script/interpreter.cpp
script/interpreter.h
script/script.cpp
script/script.h
script/script_error.h
util/strencodings.cpp
util/strencodings.h

Libbitcoin Integration

Libbitcoin natively implements consensus checks that are redundant with libbitcoin-consensus. Libbitcoin includes a full bitcoin client and server SDK. This includes the full node implementation libbitcoin-node, which builds on libbitcoin and libbitcoin-blockchain.

The libbitcoin-blockchain configuration provides the --with-consensus option. This allows the developer to select either libbitcoin native or libbitcoin-consensus checks. The option defaults to yes so that by default all libbitcoin-node and libbitcoin-server builds use the same script consensus checks as a bitcoin core node.

libbitcoin-consensus's People

Contributors

evoskuil avatar genjix avatar pmienk avatar swansontec avatar kdomanski avatar phantomcircuit avatar pablocastellano avatar bobalot avatar thecodefactory avatar veox avatar bardiharborow avatar benhc123 avatar changlan avatar kevinejohn avatar rafalkrupinski avatar lclc avatar ldz1 avatar

Stargazers

 avatar

Watchers

 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.