Module: CoinOp

Defined in:
lib/coin-op.rb,
lib/coin-op/bit.rb,
lib/coin-op/crypto.rb,
lib/coin-op/version.rb,
lib/coin-op/encodings.rb

Overview

establish the namespace

Defined Under Namespace

Modules: Bit, Crypto, Encodings

Constant Summary collapse

VERSION =
"0.4.6"

Class Method Summary collapse

Class Method Details

.syncbit(network, &block) ⇒ Object



240
241
242
243
244
245
# File 'lib/coin-op/bit.rb', line 240

def self.syncbit(network, &block)
  @bitcoin_mutex.synchronize do
    Bitcoin.network = network
    block.call
  end
end