mirror of
https://github.com/SwingbyProtocol/tss-lib.git
synced 2026-01-09 13:57:58 -05:00
* move curve into tss.Parameters * regen proto with full package name * pass curve through parameter * add curve name in ecpoint json serialization
56 lines
1.3 KiB
Protocol Buffer
56 lines
1.3 KiB
Protocol Buffer
// Copyright © 2019 Binance
|
|
//
|
|
// This file is part of Binance. The full Binance copyright notice, including
|
|
// terms governing use, modification, and redistribution, is contained in the
|
|
// file LICENSE at the root of the source code distribution tree.
|
|
|
|
syntax = "proto3";
|
|
package binance.tsslib.ecdsa.resharing;
|
|
option go_package = "ecdsa/resharing";
|
|
|
|
/*
|
|
* The Round 1 data is broadcast to peers of the New Committee in this message.
|
|
*/
|
|
message DGRound1Message {
|
|
bytes ecdsa_pub_x = 1;
|
|
bytes ecdsa_pub_y = 2;
|
|
bytes v_commitment = 3;
|
|
}
|
|
|
|
/*
|
|
* The Round 2 data is broadcast to other peers of the New Committee in this message.
|
|
*/
|
|
message DGRound2Message1 {
|
|
bytes paillier_n = 1;
|
|
repeated bytes paillier_proof = 2;
|
|
bytes n_tilde = 3;
|
|
bytes h1 = 4;
|
|
bytes h2 = 5;
|
|
}
|
|
|
|
/*
|
|
* The Round 2 "ACK" is broadcast to peers of the Old Committee in this message.
|
|
*/
|
|
message DGRound2Message2 {
|
|
}
|
|
|
|
/*
|
|
* The Round 3 data is sent to peers of the New Committee in this message.
|
|
*/
|
|
message DGRound3Message1 {
|
|
bytes share = 1;
|
|
}
|
|
|
|
/*
|
|
* The Round 3 data is broadcast to peers of the New Committee in this message.
|
|
*/
|
|
message DGRound3Message2 {
|
|
repeated bytes v_decommitment = 1;
|
|
}
|
|
|
|
/*
|
|
* The Round 4 "ACK" is broadcast to peers of the Old and New Committees from the New Committee in this message.
|
|
*/
|
|
message DGRound4Message {
|
|
}
|