Interface DandelionMeshOptions

Hierarchy

  • DandelionMeshOptions

Properties

bootstrapPeers?: string[]

Known peer IDs to connect to on startup

cryptoKeyBundle?: CryptoKeyBundle | Promise<CryptoKeyBundle>

Pre-generated crypto key bundle. When provided, the mesh skips key generation and uses these keys directly. Accepts either a resolved bundle or a Promise (e.g. from a prior generateKeyBundle() call). If omitted, a new key pair is generated automatically.

modulusLength?: number

RSA modulus length in bits (default 4096)

Raft configuration

raftLog?: RaftLog<MeshLogCommand<unknown>>

Raft log implementation (default: InMemoryRaftLog)

Generated using TypeDoc