Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[UNMANTAINED] A Bitcoin wire protocol implementation in pure Ruby

branch: master

typo

latest commit 1fdae46a87
Michelangelo Altamore authored August 25, 2011
Octocat-spinner-32 lib initial import April 19, 2011
Octocat-spinner-32 tasks initial import April 19, 2011
Octocat-spinner-32 test initial import April 19, 2011
Octocat-spinner-32 .autotest initial import April 19, 2011
Octocat-spinner-32 .gemtest initial import April 19, 2011
Octocat-spinner-32 .gitignore initial import April 19, 2011
Octocat-spinner-32 Gemfile initial import April 19, 2011
Octocat-spinner-32 LICENSE initial import April 19, 2011
Octocat-spinner-32 README initial import April 19, 2011
Octocat-spinner-32 README.md typo August 25, 2011
Octocat-spinner-32 Rakefile initial import April 19, 2011
Octocat-spinner-32 bitcoin-protocol.gemspec initial import April 19, 2011
README.md

Bitcoin Protocol

An implementation of Bitcoin wire protocol in pure Ruby. Source code strives for an equilibrium between readability, flexibility and performance.

Requirements

Ruby version 1.8.7 or newer.

Install

$ gem install bitcoin-protocol

Examples

A simple monitor Client

Usage with Event Machine

Configuring a new Message

open and modify:

~/.bitcoin/protocol/configuration.rb

Source Code

Bitcoin Protocol repository is available on GitHub. You can clone it with:

git clone ....

Development

You will need the following gems to run/test this gem:

Profiling

Contributing

If you'd like to hack on, please follow these instructions. To get all of the dependencies, install the gem first.

  1. Fork the project and clone down your fork
  2. Create a branch with a descriptive name to contain your change
  3. Hack away
  4. Add tests and make sure everything still passes by running rake
  5. Do not change the version number, I will do that on my end
  6. If necessary, rebase your commits into logical chunks, without errors
  7. Push the branch up to GitHub
  8. Send me (altamic) a pull request for your branch

Credits

This software is a liberal implementation of the protocol used in the Bitcoin software by Satoshi Nakamoto.

Thanks for information and encouragement go to Artforz, davout MagicalTux from the #bitcoin-dev channel on IRC.

I am particularly grateful to Ryan Davis and Eric Hodel of SeattleRB for their unparalleled Ruby software tools.

Copyright

© Copyright 2011 Michelangelo Altamore. See LICENSE for details.

Something went wrong with that request. Please try again.