Module: Bitcoin::Dogecoin

Defined in:
lib/bitcoin/dogecoin.rb

Overview

This module includes (almost) everything necessary to add dogecoin support to bitcoin-ruby. When switching to a :dogecoin network, it will load its functionality into the Script class. The only things not included here should be parsing the AuxPow, which is done in Protocol::Block directly, and passing the txout to #store_doge from the storage backend.

Defined Under Namespace

Modules: Util

Constant Summary collapse

POST_600K_REWARD =

fixed reward past the 600k block

10_000 * Bitcoin::COIN

Class Method Summary collapse

Class Method Details

.loadObject



11
12
13
# File 'lib/bitcoin/dogecoin.rb', line 11

def self.load
  Bitcoin::Util.class_eval { include Util }
end