Node state.

### Hierarchy

- DynamicGlobalProperties

## Index

### Properties

- average_block_size
- confidential_hbd_supply
- confidential_supply
- current_aslot
- current_hbd_supply
- current_reserve_ratio
- current_supply
- current_witness
- hbd_interest_rate
- hbd_print_rate
- head_block_id
- head_block_number
- id
- last_irreversible_block_num
- max_virtual_bandwidth
- maximum_block_size
- num_pow_witnesses
- participation_count
- pending_rewarded_vesting_hive
- pending_rewarded_vesting_shares
- recent_slots_filled
- time
- total_pow
- total_reward_fund_hive
- total_reward_shares2
- total_vesting_fund_hive
- total_vesting_shares
- virtual_supply
- vote_power_reserve_rate

## Properties

### average_block_size

average_block_size: number

- Defined in chain/misc.ts:183

Average block size is updated every block to be:

    average_block_size = (99 * average_block_size + new_block_size) / 100

This property is used to update the current_reserve_ratio to maintain approximately 50% or less utilization of network capacity.

### confidential_hbd_supply

confidential_hbd_supply: Asset | string

- Defined in chain/misc.ts:160

Total asset held in confidential balances.

### confidential_supply

confidential_supply: Asset | string

- Defined in chain/misc.ts:155

Total asset held in confidential balances.

### current_aslot

current_aslot: number

- Defined in chain/misc.ts:198

The current absolute slot number. Equal to the total number of slots since genesis. Also equal to the total number of missed slots plus head_block_number.

### current_hbd_supply

current_hbd_supply: Asset | string

- Defined in chain/misc.ts:156

### current_reserve_ratio

current_reserve_ratio: number

- Defined in chain/misc.ts:221

Any time average_block_size <= 50% maximum_block_size this value grows by 1 until it reaches MAX_RESERVE_RATIO. Any time average_block_size is greater than 50% it falls by 1%. Upward adjustments happen once per round, downward adjustments happen every block.

### current_supply

current_supply: Asset | string

- Defined in chain/misc.ts:151

### current_witness

current_witness: string

- Defined in chain/misc.ts:139

Currently elected witness.

### hbd_interest_rate

hbd_interest_rate: number

- Defined in chain/misc.ts:173

This property defines the interest rate that HBD deposits receive.

### hbd_print_rate

hbd_print_rate: number

- Defined in chain/misc.ts:174

### head_block_id

head_block_id: string

- Defined in chain/misc.ts:131

### head_block_number

head_block_number: number

- Defined in chain/misc.ts:130

Current block height.

### id

id: number

- Defined in chain/misc.ts:126

### last_irreversible_block_num

last_irreversible_block_num: number

- Defined in chain/misc.ts:204

### max_virtual_bandwidth

max_virtual_bandwidth: Bignum

- Defined in chain/misc.ts:214

The maximum bandwidth the blockchain can support is:

max_bandwidth = maximum_block_size * BANDWIDTH_AVERAGE_WINDOW_SECONDS / BLOCK_INTERVAL

The maximum virtual bandwidth is:

max_bandwidth * current_reserve_ratio

### maximum_block_size

maximum_block_size: number

- Defined in chain/misc.ts:192

Maximum block size is decided by the set of active witnesses which change every round. Each witness posts what they think the maximum size should be as part of their witness properties, the median size is chosen to be the maximum block size for the round.

note

  the minimum value for maximum_block_size is defined by the protocol to prevent the network from getting stuck by witnesses attempting to set this too low.

### num_pow_witnesses

num_pow_witnesses: number

- Defined in chain/misc.ts:149

The current count of how many pending POW witnesses there are, determines the difficulty of doing pow.

### participation_count

participation_count: number

- Defined in chain/misc.ts:203

### pending_rewarded_vesting_hive

pending_rewarded_vesting_hive: Asset | string

- Defined in chain/misc.ts:169

### pending_rewarded_vesting_shares

pending_rewarded_vesting_shares: Asset | string

- Defined in chain/misc.ts:168

### recent_slots_filled

recent_slots_filled: Bignum

- Defined in chain/misc.ts:202

Used to compute witness participation.

### time

time: string

- Defined in chain/misc.ts:135

UTC Server time, e.g. 2020-01-15T00:42:00

### total_pow

total_pow: number

- Defined in chain/misc.ts:144

The total POW accumulated, aka the sum of num_pow_witness at the time new POW is added.

### total_reward_fund_hive

total_reward_fund_hive: Asset | string

- Defined in chain/misc.ts:163

### total_reward_shares2

total_reward_shares2: string

- Defined in chain/misc.ts:167

The running total of REWARD^2.

### total_vesting_fund_hive

total_vesting_fund_hive: Asset | string

- Defined in chain/misc.ts:161

### total_vesting_shares

total_vesting_shares: Asset | string

- Defined in chain/misc.ts:162

### virtual_supply

virtual_supply: Asset | string

- Defined in chain/misc.ts:150

### vote_power_reserve_rate

vote_power_reserve_rate: number

- Defined in chain/misc.ts:227

The number of votes regenerated per day. Any user voting slower than this rate will be "wasting" voting power through spillover; any user voting faster than this rate will have their votes reduced.

Generated using TypeDoc