Method: Casper::RpcClient#initialize
- Defined in:
-
lib/rpc/rpc.rb,
lib/rpc/rpc_client.rb
Constructor
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/rpc/rpc.rb', line 18 def initialize(ip_address) @ip_address = ip_address @url = "http://" + @ip_address + ":7777/rpc" @state_root_hash = "" @peer_array = [] @block_hash = "" @deploy = {} @node_status = {} @block_transfers = [] @block_info = {} @era_summary = {} @balance_value = "" @auction_state = {} @peers = [] end |