Module: Lapidar
- Defined in:
- lib/lapidar.rb,
lib/lapidar/block.rb,
lib/lapidar/chain.rb,
lib/lapidar/miner.rb,
lib/lapidar/runner.rb,
lib/lapidar/version.rb,
lib/lapidar/assessment.rb,
lib/lapidar/persistence.rb
Defined Under Namespace
Classes: Assessment, Block, Chain, Miner, Persistence, Runner
Constant Summary collapse
- VERSION =
"0.4.1"
Class Method Summary collapse
Class Method Details
.runner(host:, port:, neighbors:) ⇒ Object
13 14 15 16 17 18 19 20 21 |
# File 'lib/lapidar.rb', line 13 def self.runner(host:, port:, neighbors:) buschtelefon_endpoint = Buschtelefon::NetTattler.new(host: host, port: port) neighbors.each do |neighbor_location| buschtelefon_endpoint.connect_remote(neighbor_location) end Runner.new(buschtelefon_endpoint) end |