internal/musig2: rename to musig2v040 to avoid confusion
Since we explicitly keep an old version of a library in lnd for backward compatibility we want to make sure the purpose and version of it is clear and not misleading.
This commit is contained in:
7 files changed
+16
-6
No files matched your search
@@ -0,0 +1,10 @@
|
|||||||
|
# MuSig2 v0.4.0
|
||||||
|
|
||||||
|
This package contains an exact copy of the MuSig2 code as found in
|
||||||
|
`github.com/btcsuite/btcec/v2/schnorr/musig2` at the tag `btcec/v2.2.2`.
|
||||||
|
|
||||||
|
This corresponds to the [MuSig2 BIP specification version of
|
||||||
|
`v0.4.0`](https://github.com/jonasnick/bips/blob/musig2/bip-musig2.mediawiki).
|
||||||
|
|
||||||
|
We only keep this code here to allow implementing a backward compatible,
|
||||||
|
versioned MuSig2 RPC.
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by an ISC
|
// Use of this source code is governed by an ISC
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright (c) 2013-2022 The btcsuite developers
|
// Copyright (c) 2013-2022 The btcsuite developers
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2013-2022 The btcsuite developers
|
// Copyright 2013-2022 The btcsuite developers
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2013-2022 The btcsuite developers
|
// Copyright 2013-2022 The btcsuite developers
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2013-2022 The btcsuite developers
|
// Copyright 2013-2022 The btcsuite developers
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
// Copyright 2013-2022 The btcsuite developers
|
// Copyright 2013-2022 The btcsuite developers
|
||||||
|
|
||||||
package musig2
|
package musig2v040
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
Reference in new issue
Block a user