Module: TxCatcher

Defined in:
lib/txcatcher/config.rb,
lib/txcatcher/logger.rb,
lib/txcatcher/server.rb,
lib/txcatcher/catcher.rb,
lib/txcatcher/cleaner.rb,
lib/txcatcher/initializer.rb,
lib/txcatcher/models/address.rb,
lib/txcatcher/models/deposit.rb,
lib/txcatcher/utils/crypto_unit.rb,
lib/txcatcher/models/transaction.rb

Defined Under Namespace

Modules: Initializer Classes: Address, Catcher, Cleaner, CryptoUnit, Deposit, Logger, Server, Transaction

Constant Summary collapse

VERSION =
File.read(File.expand_path('../../', File.dirname(__FILE__)) + '/VERSION')
LOGGER =
TxCatcher::Logger.new

Class Attribute Summary collapse

Class Attribute Details

.config_dirObject

Returns the value of attribute config_dir.



7
8
9
# File 'lib/txcatcher/initializer.rb', line 7

def config_dir
  @config_dir
end

.current_block_heightObject

Returns the value of attribute current_block_height.



7
8
9
# File 'lib/txcatcher/initializer.rb', line 7

def current_block_height
  @current_block_height
end

.db_connectionObject

Returns the value of attribute db_connection.



7
8
9
# File 'lib/txcatcher/initializer.rb', line 7

def db_connection
  @db_connection
end

.rpc_nodeObject

Returns the value of attribute rpc_node.



7
8
9
# File 'lib/txcatcher/initializer.rb', line 7

def rpc_node
  @rpc_node
end