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

Function add_push_key

bitcoin/script.c:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static void add_push_key(u8 **scriptp, const struct pubkey *key)
93{
94 u8 der[PUBKEY_CMPR_LEN];
95 pubkey_to_der(der, key);
96
97 script_push_bytes(scriptp, der, sizeof(der));
98}
99
100static void add_push_sig(u8 **scriptp, const struct bitcoin_signature *sig)
101{

Calls 2

pubkey_to_derFunction · 0.85
script_push_bytesFunction · 0.85

Tested by

no test coverage detected