Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ bolt12_has_request_prefix
Function
bolt12_has_request_prefix
common/bolt12.c:936–939 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
934
}
935
936
static bool bolt12_has_request_prefix(const char *str)
937
{
938
return strstarts(str,
"lnr1"
) || strstarts(str,
"LNR1"
);
939
}
940
941
bool bolt12_has_offer_prefix(const char *str)
942
{
Callers
1
bolt12_has_prefix
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected