Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fromwire_u8
Function
fromwire_u8
wire/fromwire.c:59–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
u8 fromwire_u8(const u8 **cursor, size_t *max)
60
{
61
u8 ret;
62
63
if (!fromwire(cursor, max, &ret, sizeof(ret)))
64
return 0;
65
return ret;
66
}
67
68
u16 fromwire_u16(const u8 **cursor, size_t *max)
69
{
Callers
15
fromwire_s8
Function · 0.70
fromwire_secp256k1_ecdsa_recoverable_signature
Function · 0.70
fromwire_bitcoin_signature
Function · 0.50
fromwire_compact_size
Function · 0.50
run
Function · 0.50
fuzz_exchange_commits
Function · 0.50
run
Function · 0.50
new_test_case
Function · 0.50
test_sync_read
Function · 0.50
fromwire_new_state
Function · 0.50
create_open_channel_msg
Function · 0.50
run
Function · 0.50
Calls
1
fromwire
Function · 0.70
Tested by
1
test_sync_read
Function · 0.40