MCPcopy Create free account
hub / github.com/ElementsProject/lightning / fromwire_amount_sat

Function fromwire_amount_sat

common/amount.c:770–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

768}
769
770struct amount_sat fromwire_amount_sat(const u8 **cursor, size_t *max)
771{
772 struct amount_sat sat;
773
774 sat.satoshis = fromwire_u64(cursor, max);
775 return sat;
776}
777
778void towire_amount_msat(u8 **pptr, const struct amount_msat msat)
779{

Callers 11

fromwire_penalty_baseFunction · 0.70
fromwire_channel_configFunction · 0.70
fromwire_chain_coin_mvtFunction · 0.70
fromwire_hsm_utxoFunction · 0.50
fromwire_inflightFunction · 0.50
runFunction · 0.50
create_open_channel_msgFunction · 0.50
runFunction · 0.50
runFunction · 0.50

Calls 1

fromwire_u64Function · 0.50

Tested by 1