about summary refs log tree commit diff
path: root/tvix/docs/src/nix-daemon/handshake.md

client -> server

  • 0x6e697863 :: Int (hardcoded, 'nixc' in ASCII)

server -> client

  • 0x6478696f :: Int (hardcoded, 'dxio' in ASCII)
  • protocolVersion :: Int

client -> server

  • clientVersion :: Int

If clientVersion is 1.14 or later

  • sendCpu :: Bool (hardcoded to false in client)

If sendCpu is true

  • cpuAffinity :: Int (obsolete and ignored)

If clientVersion is 1.11 or later

  • reserveSpace :: Bool (obsolete, ignored and set to false)

server -> client

If clientVersion is 1.33 or later

  • nixVersion :: String

If clientVersion is 1.35 or later

  • trusted :: OptTrusted

server -> client