rgb-cln/common/test
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis
Currently the only source for amount_asset is the value getter on a tx output,
and we don't hand it too far around (mainly ignoring it if it isn't the
chain's main currency). Eventually we could bubble them up to the wallet, use
them to select outputs or actually support assets in the channels.

Since we don't hand them around too widely I thought it was ok for them to be
pass-by-value rather than having to allocate them and pass them around by
reference. They're just 41 bytes currently so the overhead should be ok.

Signed-off-by: Christian Decker <@cdecker>
2019-10-03 04:32:57 +00:00
..
Makefile makefiles: move all unit tests under `make check-units` 2019-06-30 16:41:30 +09:30
onion-test-v0.json sphinx: Introduce a `runtest` command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 2019-06-21 03:56:59 +00:00
run-bigsize.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-bolt11.c bolt11: handle `9` fields for new features. 2019-09-05 23:39:05 -05:00
run-cryptomsg.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-derive_basepoints.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-features.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-funding_tx.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-gossip_rcvd_filter.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-ip_port_parsing.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-json.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-json_remove.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-key_derive.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-lock.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
run-param.c json: move param node_id parser to common 2019-09-11 23:56:27 +00:00
run-sphinx.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00