Το MuSig2 είναι έτοιμο σε εκκρεμότητα δύο νέων BIP: Εισαγωγή μιας νέας εποχής για το απόρρητο Multisig

By Bitcoin Περιοδικό - 5 μήνες πριν - Χρόνος ανάγνωσης: 3 λεπτά

Το MuSig2 είναι έτοιμο σε εκκρεμότητα δύο νέων BIP: Εισαγωγή μιας νέας εποχής για το απόρρητο Multisig

Traditionally, creating an n-of-n multisig using CHECKMULTISIG means you’ll publish a proportional number of signatures and public keys on the blockchain to signers in the transaction. This approach not only reveals the total number of participants in the transaction, but also incurs progressively higher transaction fees as the number of signers grow. MuSig, on the other hand, allows a group of users to συλλογικά generate a single signature and public key to validate a transaction, which enhances privacy and lowers the transaction costs for all the signers involved.

When MuSig was initially introduced in 2018, its main shortcoming compared to CHECKMULTISIG was user experience, specifically the requirement for three rounds of interactive communication between signers. With the introduction of MuSig2 (BEEP 327) in 2020, as the successor to the 2018 MuSig (also called MuSig1), we made significant progress in non-interactive signing, bringing us a much more desired experience.

Πως δουλεύει

Αντικατοπτρίζοντας τη λειτουργικότητα του προκατόχου του, το MuSig2 μειώνει τους απαιτούμενους γύρους επικοινωνίας από τρεις σε δύο. Η ρύθμιση του πορτοφολιού για το MuSig2 ξεκινά με τη συλλογή όλων των εκτεταμένων δημόσιων κλειδιών (xpubs) των συμμετεχόντων και την κατασκευή περιγραφικών παραμέτρων από κάθε ένα από τα πορτοφόλια, τα οποία είναι όλα συνεπή με τις υπάρχουσες πρακτικές multisig.

Στη συνέχεια, η φάση υπογραφής MuSig2 περιλαμβάνει:

First-Round Message: During the wallet setup, nonces are generated, added to the Partially Signed Bitcoin Transactions (PSBTs), and shared amongst the other signers.Second-Round Message: The nonces received are used to create a partial signature and are sent back to each of the other signers.

Μια εναλλακτική λύση στο να επικοινωνεί απευθείας κάθε υπογράφον τη μη και μερική υπογραφή του σε κάθε άλλο υπογράφοντα είναι η εισαγωγή ενός συντονιστή τρίτου μέρους για τον εξορθολογισμό της διαδικασίας επικοινωνίας.

In the signing process, each signer's nonce is composed of two elliptic curve points. These points are transmitted to other signers through the Partially Signed Bitcoin Transactions (PSBTs). These nonces require careful handling for accuracy and integrity in the process, but secure storage is not necessary since they are not confidential information. If all the individuals partial signatures are valid, then the produced Schnorr signatures are valid.

Επόμενα βήματα για την υλοποίηση

Τον προηγούμενο μήνα, Άντι Τσόου put forward two BIP drafts, MuSig2 PSBTs και MuSig2 Descriptors, which are a necessary step in MuSig2 adoption and wallet integration. The first BIP adds fields for the nonces, public keys, and partial signatures in the PSBTs, and the second BIP provides a method for describing transaction outputs that are controlled by a MuSig2 wallet. Together, these BIPs and specifications are all we need for integration of MuSig2 wallets!

Many wallet developers and collaborative custody λύσεις have long requested this standardization of the MuSig2 protocol. Now, with the formalized BIPs in place, it's in the community's hands to review, give feedback, and help raise awareness. At Blockstream, we look forward to participating in the public discussions and letting the formal BIP review process take place.

This is a guest post by Kiara Bickers. Opinions expressed are entirely their own and do not necessarily reflect those of BTC Inc or Bitcoin Περιοδικό.

Πρωτότυπη πηγή: Bitcoin περιοδικό