core-lightning/wire
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
..
test elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
extracted_onion_wire_csv wire: update csv to current bolt. 2019-09-22 01:17:11 +00:00
extracted_peer_wire_csv Make option_static_remotekey non-EXPERIMENTAL now it's in spec. 2019-09-30 01:50:44 +00:00
fromwire.c elements: Remove global is_elements variable in favor of chainparams 2019-10-03 04:32:57 +00:00
Makefile wire: update how experimental csv patches are managed 2019-09-16 05:09:15 +00:00
onion_defs.h wire: add onion_defs.h to bolt-check, update quote. 2018-09-13 17:38:13 -07:00
peer_wire.c common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
peer_wire.h chainparams: Move the BOLT2 quote to the chainparams where we set it 2018-09-14 21:18:11 +02:00
tlvstream.c BOLT: update bolt quotes now that TLVs are not experimental. 2019-09-22 01:17:11 +00:00
tlvstream.h bolt-gen: fixup the devtool/decodemsg printing facility 2019-07-24 02:52:53 +00:00
towire.c elements: Move from a global is_elements to a global chainparams 2019-10-03 04:32:57 +00:00
wire_io.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
wire_io.h gossipd: make more compact getchannels entries. 2019-04-09 12:37:16 -07:00
wire_sync.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
wire_sync.h wire_sync_write: support take() 2017-06-27 10:25:53 +09:30
wire.h elements: Move from a global is_elements to a global chainparams 2019-10-03 04:32:57 +00:00