Struct forest_actor::miner::MinerInfo
source · [−]pub struct MinerInfo {
pub owner: Address,
pub worker: Address,
pub control_addresses: Vec<Address>,
pub pending_worker_key: Option<WorkerKeyChange>,
pub peer_id: Vec<u8>,
pub multi_address: Vec<BytesDe>,
pub window_post_proof_type: RegisteredPoStProof,
pub sector_size: SectorSize,
pub window_post_partition_sectors: u64,
pub consensus_fault_elapsed: ChainEpoch,
pub pending_owner_address: Option<Address>,
}
Expand description
Static information about miner
Fields
owner: Address
Account that owns this miner
- Income and returned collateral are paid to this address
- This address is also allowed to change the worker address for the miner
worker: Address
Worker account for this miner This will be the key that is used to sign blocks created by this miner, and sign messages sent on behalf of this miner to commit sectors, submit PoSts, and other day to day miner activities
control_addresses: Vec<Address>
Additional addresses that are permitted to submit messages controlling this actor (optional).
pending_worker_key: Option<WorkerKeyChange>
Optional worker key to update at an epoch
peer_id: Vec<u8>
Libp2p identity that should be used when connecting to this miner
multi_address: Vec<BytesDe>
Vector of byte arrays representing Libp2p multi-addresses used for establishing a connection with this miner.
window_post_proof_type: RegisteredPoStProof
The proof type used by this miner for sealing sectors.
sector_size: SectorSize
Amount of space in each sector committed to the network by this miner
window_post_partition_sectors: u64
The number of sectors in each Window PoSt partition (proof). This is computed from the proof type and represented here redundantly.
consensus_fault_elapsed: ChainEpoch
The next epoch this miner is eligible for certain permissioned actor methods and winning block elections as a result of being reported for a consensus fault.
pending_owner_address: Option<Address>
A proposed new owner account for this miner. Must be confirmed by a message from the pending address itself.