22 Commits (d4ec0526682505fbf0c7d105ec03dc537b263a9e)

Author SHA1 Message Date
Rusty Russell 2de467274e common/amount: make fmt_amount_sat / fmt_amount_msat etc take copy. 4 years ago
Antoine Poinsot ae4dc231c1 amount: correctly parse amount strings we generate 4 years ago
Rusty Russell 5eb121ffc3 common/amount: fix OpenBSD compile warning. 4 years ago
niftynei 470f5fabc9 amount: fix typo in parse_amount_msat doc 4 years ago
Rusty Russell fa829f23db amount: add amount_msat_scale, amount_msat_ratio, amount_{msat,sat}_div 4 years ago
Rusty Russell ffbb409b47 amount: use initializers everywhere. 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 5 years ago
Rusty Russell 13356b75bf wire: move towire/fromwire_amount from wire/ into common/amount.c 5 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
darosior 13fbce90ca common/amount: accept 0msat in parse_amount_sat() 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
arowser b17b05b8ae correct tx_fee in 32bit system 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 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