pub fn new(
        executor: MainExecutor,
        blockchain: Blockchain,
        public_key: PublicKey,
        channel: ApiSender,
    ) -> Self {
        NodeContext {
            executor,
            blockchain,
            public_key,
            channel,
        }
    }
/// Creates a node context for a service.
Creates a node context for a service.
Creates a node context for a service .
pub fn new(
        executor: MainExecutor,
        blockchain: Blockchain,
        public_key: PublicKey,
        channel: ApiSender,
    ) -> Self {
        NodeContext {
            executor,
            blockchain,
            public_key,
            channel,
        }
    }
pub fn new ( executor : MainExecutor , blockchain : Blockchain , public_key : PublicKey , channel : ApiSender , ) -> Self { NodeContext { executor , blockchain , public_key , channel , } }
Creates a node context for a service.
Creates a node context for a service .
executor
MainExecutor
blockchain
Blockchain
public_key
PublicKey
channel
ApiSender