NodeIdentityExpectation
@hardkas/core / NodeIdentityExpectation
Interface: NodeIdentityExpectation
Defined in: packages/core/src/node-identity.ts:13
The node HardKAS treats as real localnet, and how to prove a running node is it.
The container name is only an operational identifier (how HardKAS finds and manages the node). Trust comes from the combination checked by evaluateNodeIdentity: the container's image digest, the container owning the RPC endpoint, and the network and version the node itself reports. A container that merely carries the canonical name is not accepted.
Properties
containerName
readonlycontainerName:string
Defined in: packages/core/src/node-identity.ts:14
host
readonlyhost:string
Defined in: packages/core/src/node-identity.ts:23
image
readonlyimage:string
Defined in: packages/core/src/node-identity.ts:16
Pinned image reference the node is started from.
imageDigest
readonlyimageDigest:string
Defined in: packages/core/src/node-identity.ts:18
Digest the running container's image must carry.
network
readonlynetwork:string
Defined in: packages/core/src/node-identity.ts:20
Network id the node must report via getServerInfo.
rpcPort
readonlyrpcPort:number
Defined in: packages/core/src/node-identity.ts:25
Host port of the wRPC (JSON) endpoint HardKAS talks to.
serverVersion
readonlyserverVersion:string
Defined in: packages/core/src/node-identity.ts:22
Server version the node must report via getServerInfo.