Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ scripteq
Function
scripteq
bitcoin/script.c:986–992 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
984
}
985
986
bool scripteq(const u8 *s1, const u8 *s2)
987
{
988
size_t s1_len = tal_count(s1), s2_len = tal_count(s2);
989
memcheck(s1, s1_len);
990
memcheck(s2, s2_len);
991
return memeq(s1, s1_len, s2, s2_len);
992
}
Callers
3
main
Function · 0.85
negotiated_close_fee
Function · 0.85
close_tx_check
Function · 0.85
Calls
1
memeq
Function · 0.85
Tested by
1
main
Function · 0.68