Basically we tell it that every field ending in '_msat' is a struct amount_msat, and 'satoshis' is an amount_sat. The exceptions are channel_update's fee_base_msat which is a u32, and final_incorrect_htlc_amount's incoming_htlc_amt which is also a 'struct amount_msat'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| build-release.sh | ||
| check-bolt.c | ||
| check-includes.sh | ||
| check-manpage.sh | ||
| check-markdown.sh | ||
| check-setup_locale.sh | ||
| check-spelling.sh | ||
| docker-entrypoint.sh | ||
| generate-wire.py | ||
| headerversions.c | ||
| mockup.sh | ||
| refresh-submodules.sh | ||
| rel.sh | ||
| update-mocks.sh | ||