Function multi_validator_libp2p::infra::main_entry_point

source ·
pub async fn main_entry_point<TYPES: NodeType<Transaction = TestTransaction, BlockHeader = TestBlockHeader, InstanceState = TestInstanceState>, NETWORK: ConnectedNetwork<TYPES::SignatureKey>, NODE: NodeImplementation<TYPES, Network = NETWORK, Storage = TestStorage<TYPES>, AuctionResultsProvider = TestAuctionResultsProvider<TYPES>>, V: Versions, RUNDA: RunDa<TYPES, NETWORK, NODE, V>>(
    args: ValidatorArgs,
)
where <TYPES as NodeType>::ValidatedState: TestableState<TYPES>, <TYPES as NodeType>::BlockPayload: TestableBlock<TYPES>, Leaf<TYPES>: TestableLeaf,
Expand description

Main entry point for validators

§Panics

if unable to get the local ip address