16 Commits (f62d7bbe45701f657f657365e48cfa8365edb43f)

Author SHA1 Message Date
Rusty Russell fa829f23db amount: add amount_msat_scale, amount_msat_ratio, amount_{msat,sat}_div 4 years ago
Rusty Russell 36d43b871f amount: add amount_msat and amount_sat initializers. 4 years ago
niftynei 28b839f306 amount: add helper to convert u64 sats to amount_sat type 4 years ago
niftynei bc5a817100 elements: convenience methods for dealing with assets 4 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 4 years ago
lisa neigut 3a4a3597a3 amount: add a helper for msat == sat 5 years ago
lisa neigut 82c49db841 amount: helper method for adding sats to an msat amount 5 years ago
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Michael Schmoock 2011bcb397 chore: adds missing WARN_UNUSED to amount_msat_from_sat_u64 6 years ago
Michael Schmoock a26665a421 common: add programatic initialization of msat 6 years ago
Rusty Russell 0ed03648f4 lightningd: minor cleanups in setchannelfee parsing. 6 years ago
Michael Schmoock 5d0390f637 json: add cmd setchannelfee and wire to channeld 6 years ago
Rusty Russell 02faadfb93 amount: make it work with gcc-4.8. 6 years ago
Rusty Russell f5dc8b9d52 JSON: allow any number of decimal points when parsing 'btc' suffix. 6 years ago
Rusty Russell 023923e6a8 amount: minor comment and text improvements and remove unused function. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago