hs init recv logic, + fs send init ack (not tracking it yet)

This commit is contained in:
2022-10-08 00:15:51 +02:00
parent bd0c45f885
commit e6803275a0
3 changed files with 59 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ enum _PacketType : uint8_t {
// - peer_key bytes (the msg_ids are from)
// - 1 byte (uint8_t count ids, can be 0)
// - array [
// - msg_id bytes (the message id
// - msg_id bytes (the message id)
// - ]
HS1_RESPONSE_LAST_IDS,
@@ -49,7 +49,7 @@ enum _PacketType : uint8_t {
// acknowlage init (like an accept)
// like tox ft control continue
// - 1 byte (temporary_file_tf_id)
// - 1 byte (transfer_id)
FT1_INIT_ACK,
// TODO: init deny, speed up non acceptance