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

Function amount_sat

common/amount.c:550–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550struct amount_sat amount_sat(u64 satoshis)
551{
552 struct amount_sat sat;
553
554 sat.satoshis = satoshis;
555 return sat;
556}
557
558double amount_msat_ratio(struct amount_msat a, struct amount_msat b)
559{

Callers 3

penalty_base_newFunction · 0.70
amount_msat_add_sat_s64Function · 0.70
amount_sat_add_sat_s64Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected