lnd+server+keychain: remove unused code

This commit is contained in:
Oliver Gugger committed 2020-05-20 09:07:21 +02:00
1 parent 08d6a61e2a
commit 36b90382d3
5 files changed
+2 -58

No files matched your search

-10
View File
@@ -186,16 +186,6 @@ type SecretKeyRing interface {
// MaxKeyRangeScan keys. In order for this to work, the caller MUST set
// the KeyFamily within the partially populated KeyLocator.
DerivePrivKey(keyDesc KeyDescriptor) (*btcec.PrivateKey, error)
// ScalarMult performs a scalar multiplication (ECDH-like operation)
// between the target key descriptor and remote public key. The output
// returned will be the sha256 of the resulting shared point serialized
// in compressed format. If k is our private key, and P is the public
// key, we perform the following operation:
//
// sx := k*P
// s := sha256(sx.SerializeCompressed())
ScalarMult(keyDesc KeyDescriptor, pubKey *btcec.PublicKey) ([]byte, error)
}
// DigestSignerRing is an interface that abstracts away basic low-level ECDSA