Documentation
¶
Overview ¶
Package dbtest makes first flights for tests of destblock and its callers: a real TLS ClientHello and the UDP datagrams of a real QUIC client, produced by crypto/tls and quic-go in memory, no network. Not linked into the node.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientHello ¶
ClientHello returns the first TLS record a Go client sends for the server name sni.
func QUICInitial ¶
QUICInitial returns the datagrams of the first flight of a QUIC client for sni. With classic true the ClientHello offers only X25519 and fits one datagram; otherwise it carries the post-quantum key share and takes two.
Types ¶
This section is empty.