Class: Chain::Config::Info
Defined Under Namespace
Classes: BuildConfig, Snapshot
Instance Attribute Summary collapse
Method Summary
#[], #[]=, #initialize, #to_h, #to_json
Instance Attribute Details
#block_height ⇒ Integer
84
|
# File 'lib/chain/config.rb', line 84
attrib :block_height
|
#blockchain_id ⇒ String
80
|
# File 'lib/chain/config.rb', line 80
attrib :blockchain_id
|
#build_commit ⇒ String
118
|
# File 'lib/chain/config.rb', line 118
attrib :build_commit
|
130
|
# File 'lib/chain/config.rb', line 130
attrib(:build_config) { |raw| BuildConfig.new(raw) }
|
#build_date ⇒ String
Date when the core binary was compiled.
The API may not return this field as an RFC3399 timestamp, so it is not converted into a Time object.
126
|
# File 'lib/chain/config.rb', line 126
attrib :build_date
|
60
|
# File 'lib/chain/config.rb', line 60
attrib :configured_at, rfc3339_time: true
|
#core_id ⇒ String
110
|
# File 'lib/chain/config.rb', line 110
attrib :core_id
|
#crosscore_rpc_version ⇒ Integer
100
|
# File 'lib/chain/config.rb', line 100
attrib :crosscore_rpc_version
|
#generator_access_token ⇒ String
76
|
# File 'lib/chain/config.rb', line 76
attrib :generator_access_token
|
#generator_block_height ⇒ Integer
88
|
# File 'lib/chain/config.rb', line 88
attrib :generator_block_height
|
#generator_block_height_fetched_at ⇒ Time
92
|
# File 'lib/chain/config.rb', line 92
attrib :generator_block_height_fetched_at, rfc3339_time: true
|
#generator_url ⇒ String
72
|
# File 'lib/chain/config.rb', line 72
attrib :generator_url
|
#health ⇒ Hash
134
|
# File 'lib/chain/config.rb', line 134
attrib :health
|
56
|
# File 'lib/chain/config.rb', line 56
attrib :is_configured
|
#is_generator ⇒ Boolean
68
|
# File 'lib/chain/config.rb', line 68
attrib :is_generator
|
#is_production ⇒ Boolean
96
|
# File 'lib/chain/config.rb', line 96
attrib :is_production
|
#is_signer ⇒ Boolean
64
|
# File 'lib/chain/config.rb', line 64
attrib :is_signer
|
#network_rpc_version ⇒ Integer
Ignore in 1.2 or greater. Superseded by crosscore_rpc_version.
106
|
# File 'lib/chain/config.rb', line 106
attrib :network_rpc_version
|
138
|
# File 'lib/chain/config.rb', line 138
attrib(:snapshot) { |raw| Snapshot.new(raw) }
|
#version ⇒ String
114
|
# File 'lib/chain/config.rb', line 114
attrib :version
|