Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ add_op
Function
add_op
bitcoin/script.c:32–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
}
31
32
static void add_op(u8 **scriptp, u8 op)
33
{
34
add(scriptp, &op, 1);
35
}
36
37
void script_push_bytes(u8 **scriptp, const void *mem, size_t len)
38
{
Callers
15
script_push_bytes
Function · 0.85
add_number
Function · 0.85
bitcoin_redeem_2of2
Function · 0.85
scriptpubkey_p2sh_hash
Function · 0.85
scriptpubkey_p2pkh
Function · 0.85
scriptpubkey_opreturn_padded
Function · 0.85
scriptpubkey_p2wsh
Function · 0.85
scriptpubkey_p2wpkh
Function · 0.85
scriptpubkey_p2wpkh_derkey
Function · 0.85
anchor_to_remote_redeem
Function · 0.85
p2wpkh_scriptcode
Function · 0.85
bitcoin_wscript_to_local
Function · 0.85
Calls
1
add
Function · 0.70
Tested by
no test coverage detected