GithubHelp home page GithubHelp logo

watchhub / bitpeer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tvdw/bitpeer

0.0 3.0 0.0 344 KB

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.92% M4 0.81% C 98.27%

bitpeer's Introduction

bitpeer

Bitpeer is an experimental Bitcoin relay server. Its event-driven architecture makes it extremely fast, and it was designed to be very lightweight.

The target memory limit is 10MB for handling 1000 peers, plus 15 for the block indexes.

Features

  • Transaction relaying using a small in-memory pool
  • Block relaying using disk-based block storage
  • Handling several thousands of peers, if the network allows it
  • Extremely lightweight (below 25MB memory usage up to 1000 peers)
  • Extremely fast (using sendfile support and a lot of caching)
  • Address relaying (getaddr coming soon)

Usage

./bitpeer <listen_port> <public_ip[:port]> -n <seed_addr[:port]>

./bitpeer 8333 1.2.3.4 -n 5.6.7.8:8333

Installation

When building from git:

autoreconf -i
./configure
make

When building from a tarball:

./configure
make

Requirements

The code currently only requires the libevent2 and openssl libraries. Kernel support for IPv4 to IPv6 mapping is also required.

bitpeer's People

Contributors

tvdw avatar

Watchers

 avatar  avatar  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.