Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ towire_amount_msat
Function
towire_amount_msat
common/amount.c:778–781 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
776
}
777
778
void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
779
{
780
towire_u64(pptr, msat.millisatoshis);
781
}
782
783
void towire_amount_sat(u8 **pptr, const struct amount_sat sat)
784
{
Callers
9
towire_channel_config
Function · 0.70
make_v0_hop
Function · 0.70
towire_added_htlc
Function · 0.70
towire_existing_htlc
Function · 0.70
towire_chain_coin_mvt
Function · 0.70
run
Function · 0.50
towire_onchain_fee
Function · 0.50
towire_opt_amount_msat
Function · 0.50
towire_dstore_channel
Function · 0.50
Calls
1
towire_u64
Function · 0.50
Tested by
no test coverage detected