core-lightning/common
Christian Decker ad4b9204ab wallet: Add function to annotate transactions aposteriori
Since we add the transactions while processing the blockchain, and before we
have enough context to annotate them correctly, i.e., in the txwatches, we add
them first and then annotate them aposteriori.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
2019-06-08 02:58:27 +00:00
..
test bolt11: fix decoding and encoding of unknown fields. 2019-05-10 11:25:36 +00:00
amount.c chore: adds missing WARN_UNUSED to amount_msat_from_sat_u64 2019-04-16 15:01:28 -07:00
amount.h chore: adds missing WARN_UNUSED to amount_msat_from_sat_u64 2019-04-16 15:01:28 -07:00
base32.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
base32.h common/base32: make this a simple tal-wrapper around ccan/base32. 2018-05-10 02:28:44 +00:00
bech32_util.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
bech32_util.h common: Moving some bech32 related utilities to bech32_util 2018-04-25 12:34:55 +02:00
bech32.c bech32: fix overflow bug. 2018-11-02 05:58:01 +00:00
bech32.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
bip32.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00
bip32.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
bolt11.c bolt11: fix decoding and encoding of unknown fields. 2019-05-10 11:25:36 +00:00
bolt11.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
channel_config.c struct channel_config: use amount_sat / amount_msat. 2019-02-21 08:01:37 +00:00
channel_config.h struct channel_config: use amount_sat / amount_msat. 2019-02-21 08:01:37 +00:00
close_tx.c wally: Remove tx->input and tx->output, wally all the way! 2019-04-08 00:00:00 +00:00
close_tx.h daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
configdir.c lightningd: fix double-specified args. 2018-05-05 17:55:10 +02:00
configdir.h options: don't leak memory when people override options. 2017-12-13 22:46:10 +01:00
crypto_state.c crypto_state: move to its own file. 2017-10-20 18:31:32 +02:00
crypto_state.h crypto_state: move to its own file. 2017-10-20 18:31:32 +02:00
crypto_sync.c common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
crypto_sync.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
cryptomsg.c common/cryptomsg: remove unused async routines. 2018-09-28 04:14:28 +00:00
cryptomsg.h common/cryptomsg: remove unused async routines. 2018-09-28 04:14:28 +00:00
daemon_conn.c status: suppress status_trace/status_debug messages if queue too long. 2019-05-03 11:42:48 +02:00
daemon_conn.h status: suppress status_trace/status_debug messages if queue too long. 2019-05-03 11:42:48 +02:00
daemon.c update libwally to latest version 0.6.9 2019-04-23 15:18:57 +02:00
daemon.h pytest: backtrace on internal errors in subdaemons. 2019-04-08 04:41:43 +00:00
decode_short_channel_ids.c utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
decode_short_channel_ids.h Update to latest BOLT version. 2018-07-01 17:37:03 +02:00
derive_basepoints.c derive_basepoints: harden checking. 2018-08-23 14:46:22 +02:00
derive_basepoints.h derive_basepoints: harden checking. 2018-08-23 14:46:22 +02:00
dev_disconnect.c Spelling corrections (#824) 2018-01-29 04:46:54 +00:00
dev_disconnect.h Add DEVELOPER flag, set by default. 2017-10-26 12:53:09 +02:00
features.c openingd: support receipt of upfront_shutdown_script. 2019-05-02 01:18:33 +00:00
features.h features: add local_feature_negotiated / global_feature_negotiated helpers. 2018-12-06 23:11:51 +01:00
funding_tx.c wally: Migrate the funding transaction 2019-04-08 00:00:00 +00:00
funding_tx.h bitcoin: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
gossip_store.c common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
gossip_store.h common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
hash_u5.c common/hash_u5: routines to hash 5 bit values. 2017-11-01 01:09:23 +00:00
hash_u5.h common/hash_u5: routines to hash 5 bit values. 2017-11-01 01:09:23 +00:00
htlc_state.c common: absorb remaining files from daemon/ 2017-08-29 17:54:14 +02:00
htlc_state.h Fix a-vs-an typos 2018-02-08 22:49:34 +01:00
htlc_tx.c wally: Migrate main daemon to use wally transactions 2019-04-08 00:00:00 +00:00
htlc_tx.h commit_tx & htlc_tx: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
htlc_wire.c daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
htlc_wire.h daemons: use amount_msat/amount_sat in all internal wire transfers. 2019-02-21 08:01:37 +00:00
htlc.h Remove unused functions not covered by unit tests 2018-03-28 11:22:05 +02:00
initial_channel.c chore: err_reason for initial_channel_tx initial_commit_tx 2019-04-09 13:20:52 +02:00
initial_channel.h chore: err_reason for initial_channel_tx initial_commit_tx 2019-04-09 13:20:52 +02:00
initial_commit_tx.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
initial_commit_tx.h chore: err_reason for initial_channel_tx initial_commit_tx 2019-04-09 13:20:52 +02:00
io_lock.c common/io_lock: add helper to query if lock is taken. 2018-10-19 22:02:11 +00:00
io_lock.h common/io_lock: add helper to query if lock is taken. 2018-10-19 22:02:11 +00:00
json_command.h param: make command_fail/command_success WARN_UNUSED_RESULT. 2018-12-20 03:22:32 +00:00
json_escaped.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
json_escaped.h Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
json_helpers.c json: add a param parser for a txid 2019-06-06 04:47:44 +00:00
json_helpers.h json: add a param parser for a txid 2019-06-06 04:47:44 +00:00
json_tok.c common/json_tok: add param_msat / param_sat. 2019-02-21 03:44:44 +00:00
json_tok.h jsontok: fixup spelling error in code comment 2019-05-24 16:06:35 +02:00
json.c json: add more efficient iterators for objects and arrays. 2019-01-17 16:22:32 +01:00
json.h json: add more efficient iterators for objects and arrays. 2019-01-17 16:22:32 +01:00
jsonrpc_errors.h openingd/json_fund_channel: 2019-01-29 04:50:01 +00:00
key_derive.c pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
key_derive.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
keyset.c bolt: Updated the BOLT specification to the latest version 2019-01-15 02:19:56 +00:00
keyset.h common/keyset: use struct basepoints rather than open-coding fields. 2018-07-24 00:40:01 +02:00
Makefile wallet: Add function to annotate transactions aposteriori 2019-06-08 02:58:27 +00:00
memleak.c ccan: update to get ccan/io exclusive helpers. 2019-04-08 01:56:17 +00:00
memleak.h memleak: allow for scanning non-talloc regions. 2018-08-24 19:54:32 +02:00
msg_queue.c status: suppress status_trace/status_debug messages if queue too long. 2019-05-03 11:42:48 +02:00
msg_queue.h status: suppress status_trace/status_debug messages if queue too long. 2019-05-03 11:42:48 +02:00
node_id.c common/node_id: new type. 2019-04-09 12:37:16 -07:00
node_id.h common/node_id: new type. 2019-04-09 12:37:16 -07:00
overflows.h The overflow check mul_overflows_s64(int64_t, int64_t) overflows and triggers UB :-) Remove it 2018-03-27 23:18:48 +00:00
param.c libplugin: quick fix for bad JSON produced by plugins on bad paramters. 2019-01-21 11:20:11 +01:00
param.h param: make json_tok_ handlers all return command_result, rename to param_ 2018-12-20 03:22:32 +00:00
peer_billboard.c common: peer_billboard() helper for updating the billboard. 2018-02-23 18:02:00 +01:00
peer_billboard.h common: peer_billboard() helper for updating the billboard. 2018-02-23 18:02:00 +01:00
peer_failed.c common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
peer_failed.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
peer_status_wire.csv common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
per_peer_state.c common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
per_peer_state.h common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
permute_tx.c wally: Remove tx->input and tx->output, wally all the way! 2019-04-08 00:00:00 +00:00
permute_tx.h tx: Change permute_{inputs,outputs} to sort both old and new txs 2019-04-08 00:00:00 +00:00
ping.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
ping.h pong: embed version string into ping replies if DEVELOPER=1. 2018-02-22 12:24:26 +01:00
pseudorand.c common: expose pseudorand_double 2019-04-16 21:22:13 +00:00
pseudorand.h common: expose pseudorand_double 2019-04-16 21:22:13 +00:00
read_peer_msg.c common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
read_peer_msg.h common/gossip_store: handle timestamp filtering. 2019-06-04 01:29:39 +00:00
socket_close.c closingd: Ensure proper closing of TCP socket. 2018-05-09 04:43:21 +00:00
socket_close.h closingd: Ensure proper closing of TCP socket. 2018-05-09 04:43:21 +00:00
sphinx.c hooks: Add the raw payload to the htlc_accepted call 2019-06-04 00:27:15 +00:00
sphinx.h hooks: Add the raw payload to the htlc_accepted call 2019-06-04 00:27:15 +00:00
status_levels.h status: separate types for peer failure vs "impossible" failures. 2018-02-08 19:07:12 +01:00
status_wire.c status: generate messages rather than marshal/unmarshal manually. 2018-02-08 19:07:12 +01:00
status_wire.csv common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
status_wire.h status: generate messages rather than marshal/unmarshal manually. 2018-02-08 19:07:12 +01:00
status.c common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
status.h common/per_per_state: generalize lightningd/peer_comm Part 1 2019-06-04 01:29:39 +00:00
subdaemon.c plugin/libplugin: API for C plugins. 2019-01-17 13:02:24 +01:00
subdaemon.h common/subdaemon: helpers for dumping memleaks in subdaemons. 2018-11-22 05:15:42 +00:00
timeout.c utils: remove tal_tmpctx altogether, use global. 2018-03-16 00:16:10 +00:00
timeout.h headers: fix up header idempotent lines. 2017-08-29 17:54:14 +02:00
type_to_string.c type_to_string: return const char *. 2019-02-21 00:44:57 +00:00
type_to_string.h common/node_id: new type. 2019-04-09 12:37:16 -07:00
utils.c common: Add tal_arr_remove helper 2018-12-05 23:15:59 +00:00
utils.h utils: make tal_arr_expand safer. 2019-01-15 12:01:38 +01:00
utxo.c common/utxo: don't memleak script. 2019-06-06 04:47:44 +00:00
utxo.h Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
version.c Make version output simpler/more user-friendly 2018-04-04 02:32:44 +00:00
version.h Onboarding: Make log output texts friendlier to new users 2018-01-29 03:22:27 +00:00
wallet_tx.c wtx_select_utxos: use wallet_tx as our allocation context for utxos. 2019-06-06 04:47:44 +00:00
wallet_tx.h wallet: Clamp maxheight to positive number for large minconf 2019-04-30 17:52:52 -05:00
wallet.h wallet: Add function to annotate transactions aposteriori 2019-06-08 02:58:27 +00:00
wire_error.c Remove tal_len, use tal_count() or tal_bytelen(). 2018-07-30 11:31:17 +02:00
wire_error.h common: fix up BOLT 1 references. 2018-06-18 12:31:09 +02:00
wireaddr.c wireaddr: keep valgrind happy with wireaddr which are pathnames. 2019-03-14 15:05:56 +01:00
wireaddr.h wireaddr: update bolt version, remove 'padding' from addresses. 2018-10-28 23:51:05 +00:00
withdraw_tx.c common/withdraw_tx: tell caller where we put the change output. 2019-06-06 04:47:44 +00:00
withdraw_tx.h common/withdraw_tx: tell caller where we put the change output. 2019-06-06 04:47:44 +00:00