types/key: delete legacy NodeKey type.

Fixes #3206

Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
David Anderson
2021-11-02 14:14:32 -07:00
parent 7e6a1ef4f1
commit 17b5782b3a
4 changed files with 0 additions and 116 deletions

View File

@@ -79,12 +79,6 @@ func (u StableNodeID) IsZero() bool {
return u == ""
}
// NodeKey is the WireGuard public key for a node.
//
// Deprecated: prefer to use key.NodePublic instead. If you must have
// a NodeKey, use NodePublic.AsNodeKey.
type NodeKey = key.NodeKey
// DiscoKey is the curve25519 public key for path discovery key.
// It's never written to disk or reused between network start-ups.
type DiscoKey [32]byte