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

Function add_push_sig

bitcoin/script.c:89–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static void add_push_sig(u8 **scriptp, const struct bitcoin_signature *sig)
90{
91 u8 der[73];
92 size_t len = signature_to_der(der, sig);
93
94 script_push_bytes(scriptp, der, len);
95}
96
97static u8 *stack_key(const tal_t *ctx, const struct pubkey *key)
98{

Callers 1

bitcoin_redeem_p2pkhFunction · 0.85

Calls 2

signature_to_derFunction · 0.85
script_push_bytesFunction · 0.70

Tested by

no test coverage detected