Select Git revision
ftMessages.proto
ftMessages.proto 1.17 KiB
////////////////////////////////////////////////////////////////////////////////
// Copyright © 2022 xx foundation //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file. //
////////////////////////////////////////////////////////////////////////////////
syntax = "proto3";
package fileTransfer;
option go_package = "gitlab.com/elixxir/client/fileTransfer";
// NewFileTransfer is transmitted first on the initialization of a file transfer
// to inform the receiver about the incoming file.
message NewFileTransfer {
string fileName = 1; // Name of the file
string fileType = 2; // String that indicates type of file
bytes transferKey = 3; // 256-bit encryption key
bytes transferMac = 4; // 256-bit MAC of the entire file
uint32 numParts = 5; // Number of file parts
uint32 size = 6; // The size of the file, in bytes
float retry = 7; // Determines how many times to retry sending
bytes preview = 8; // A preview of the file
}