Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ add_op
Function
add_op
bitcoin/script.c:43–46 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
static void add_op(u8 **scriptp, u8 op)
44
{
45
add(scriptp, &op, 1);
46
}
47
48
void script_push_bytes(u8 **scriptp, const void *mem, size_t len)
49
{
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_p2wsh
Function · 0.85
scriptpubkey_p2wpkh
Function · 0.85
scriptpubkey_p2wpkh_derkey
Function · 0.85
scriptpubkey_raw_p2tr
Function · 0.85
scriptpubkey_p2tr
Function · 0.85
bitcoin_wscript_to_remote_anchored
Function · 0.85
p2wpkh_scriptcode
Function · 0.85
Calls
1
add
Function · 0.70
Tested by
no test coverage detected