MCPcopy Create free account
hub / github.com/ElementsProject/lightning / create_peer_id

Function create_peer_id

plugins/lsps-plugin/src/core/lsps2/handler.rs:686–688  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

684 ];
685
686 fn create_peer_id() -> PublicKey {
687 PublicKey::from_slice(&PUBKEY).expect("Valid pubkey")
688 }
689
690 /// Build a pair: policy params + buy params with a Promise derived from `secret`
691 fn params_with_promise(secret: &[u8; 32]) -> (PolicyOpeningFeeParams, OpeningFeeParams) {

Calls 1

expectMethod · 0.80