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

Function add_push_sig

bitcoin/script.c:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static void add_push_sig(u8 **scriptp, const struct bitcoin_signature *sig)
101{
102 u8 der[73];
103 size_t len = signature_to_der(der, sig);
104
105 script_push_bytes(scriptp, der, len);
106}
107
108static u8 *stack_key(const tal_t *ctx, const struct pubkey *key)
109{

Callers 1

bitcoin_redeem_p2pkhFunction · 0.85

Calls 2

signature_to_derFunction · 0.85
script_push_bytesFunction · 0.85

Tested by

no test coverage detected