feat(protocol): add gateway transport authority contracts

This commit is contained in:
sechmachine
2026-07-29 05:59:46 +07:00
parent b2c24b3fa3
commit b5558133e3
21 changed files with 1898 additions and 15 deletions
+1
View File
@@ -50,6 +50,7 @@ func classifyDatagram(_ encoded: String) -> String {
case 1: limit = 1024
case 2: limit = 2048
case 3: limit = 65515
case 10, 11, 12: limit = 1179
default: return "invalid:unknown_channel"
}
guard raw[4] == 0 else { return "invalid:flags" }