Interface ISecureKeyManager
- Namespace
- NLightning.Domain.Protocol.Interfaces
- Assembly
- NLightning.Domain.dll
public interface ISecureKeyManager
Properties
ChannelKeyPath
BitcoinKeyPath ChannelKeyPath { get; }
Property Value
- BitcoinKeyPath
HeightOfBirth
uint HeightOfBirth { get; }
Property Value
- uint
Methods
GetChannelKeyAtIndex(uint)
ExtPrivKey GetChannelKeyAtIndex(uint index)
Parameters
index uint
Returns
- ExtPrivKey
GetDepositP2TrKeyAtIndex(uint, bool)
ExtPrivKey GetDepositP2TrKeyAtIndex(uint index, bool isChange)
Parameters
index uint
isChange bool
Returns
- ExtPrivKey
GetDepositP2WpkhKeyAtIndex(uint, bool)
ExtPrivKey GetDepositP2WpkhKeyAtIndex(uint index, bool isChange)
Parameters
index uint
isChange bool
Returns
- ExtPrivKey
GetNextChannelKey(out uint)
ExtPrivKey GetNextChannelKey(out uint index)
Parameters
index uint
Returns
- ExtPrivKey
GetNodeKeyPair()
CryptoKeyPair GetNodeKeyPair()
Returns
- CryptoKeyPair
GetNodePubKey()
CompactPubKey GetNodePubKey()
Returns
- CompactPubKey