rgb-cln/wallet
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: Remove global is_elements variable in favor of chainparams 2019-10-03 04:32:57 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
Makefile postgres: Add postgres statement rewriting support 2019-09-22 02:03:43 +00:00
db.c db: use correct backend for retrieving text fields. 2019-09-23 02:05:53 +00:00
db.h db: Switch statement lookup to use the original query instead 2019-09-22 02:03:43 +00:00
db_common.h db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_postgres.c db: Implement postgres driver primitives 2019-09-22 02:03:43 +00:00
db_sqlite3.c db: Move remainder of the sqlite3 into the apropriate file 2019-09-22 02:03:43 +00:00
invoices.c db: Adjust queries to work with postgres 2019-09-22 02:03:43 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
txfilter.c elements: Fix transaction handling for elements transactions 2019-10-03 04:32:57 +00:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c elements: Add amount_asset to support more than just plain satoshis 2019-10-03 04:32:57 +00:00
wallet.h wallet: add flag to specify whether or not to include change output 2019-09-11 23:56:27 +00:00
walletrpc.c fix: remove extra semicolon in `json_prepare_tx` 2019-09-24 11:44:13 +08:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00