Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_tx_role
Function
towire_tx_role
common/tx_roles.c:5–8 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
#include <wire/wire.h>
4
5
void towire_tx_role(u8 **pptr, const enum tx_role tx_role)
6
{
7
towire_u8(pptr, tx_role);
8
}
9
10
enum tx_role fromwire_tx_role(const u8 **cursor, size_t *max)
11
{
Callers
nothing calls this directly
Calls
1
towire_u8
Function · 0.50
Tested by
no test coverage detected