@bitgo/public-types 6.80.0 → 6.80.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,16 +5,16 @@ import { MPCv2SignatureShareBase } from "./signingRound";
|
|
|
5
5
|
/**
|
|
6
6
|
* RedPallas MPCv2 rerand — User to BitGo round 1
|
|
7
7
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* `handleIncomingMessages` in `WaitMsg1`
|
|
11
|
-
* carrying WASM-serialized bytes with a rerand prefix. Round 0 is
|
|
12
|
-
* locally and never crosses the wire
|
|
8
|
+
* Rerand exchanges signed messages over two wire rounds — the producer's
|
|
9
|
+
* `getFirstMessage()` yields the round 1 payload and
|
|
10
|
+
* `handleIncomingMessages` in `WaitMsg1` the round 2 payload, each
|
|
11
|
+
* carrying WASM-serialized bytes with a rerand prefix. Round 0 is
|
|
12
|
+
* computed locally and never crosses the wire; there is no round 3.
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* `
|
|
14
|
+
* Wire literals reuse the shared signing-round states and the envelope
|
|
15
|
+
* reuses `EddsaMPCv2SignedMessage` (shared with EdDSA despite the name),
|
|
16
|
+
* so disambiguation from DSG signing is by which codec is passed to
|
|
17
|
+
* `decodeWithCodec`, not by the payload.
|
|
18
18
|
*/
|
|
19
19
|
export const RedpallasMPCv2RerandShareRound1Input = t.intersection([
|
|
20
20
|
MPCv2SignatureShareBase,
|