19 Commits (d970addd4ba59f10ee4222f2134d46d506039add)

Author SHA1 Message Date
lisa neigut 700b766ce1 wallet: remove edgecase around transaction checks 5 years ago
Rusty Russell f1bea55395 lightningd: fix occasional missing txid detection. 6 years ago
Simon Vrouwe b261c5ba0b chaintopology: add REORG to logline when tx watch is fired after reorg 6 years ago
Rusty Russell 05f12edf60 txwatch: hand ld to callback, don't assume channel is non-NULL. 6 years ago
Rene Pickhardt 88ef2246e8 exchanged code containing goto with a do while loop (#1758) 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Christian Decker f27cd3e43f topo: Remove in-memory txs from the block struct 7 years ago
Christian Decker 86b6402e5c chaintopology: Refactor get_tx_depth to use the DB backed tx store 7 years ago
Christian Decker aa696370af txwatch: Switch to passing only txid into the depth callbacks 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
Rusty Russell de5d84097e lightningd: remove ltmp context now we have tmpctx. 7 years ago
practicalswift 1b51b5ae0f Remove unused parameter topo in txw_fire(struct chain_topology *topo, ...) 7 years ago
practicalswift 0046ace318 Remove unused parameter topo in txowatch_fire(struct chain_topology *topo, ...) 7 years ago
Rusty Russell 719290a4c4 txwatch: remove unused callback arg, hide struct definitions. 7 years ago
Rusty Russell 0e93fb932a lightningd: bitcoind and topology routines take channel, not peer. 7 years ago
Rusty Russell c6ce352404 lightningd: actually unwatch txs when onchaind says we should. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Rusty Russell 664ce8bfc2 watch: remove peer_debug helper. 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 88bb38f63b daemon/lightningd: remove building, and main files 7 years ago
Rusty Russell 4ba1599494 txowatch: include block in which spending tx is found. 7 years ago
Rusty Russell 8ffdeea522 daemon/chaintopology: hand full txs to watch_tx() 7 years ago
Rusty Russell 2ce6a4bcca daemon/peer: move struct peer to internal header. 8 years ago
Rusty Russell 8d7acdc367 struct topology -> struct chain_topology 8 years ago
Rusty Russell 61e576ef12 daemon/chaintopology: use struct topology for more functions, not lightningd_state 8 years ago
Rusty Russell 923526baf3 daemon/watch.c: move list of watched txs/txouts into struct topology. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell b8571c1ac8 watch: make it easier for them to self-delete. 9 years ago
Rusty Russell 04b3e8f91d daemon: use siphash for hashes. 9 years ago
Rusty Russell 7d4d2977b6 watch: depth callback is always >= 0 9 years ago
Rusty Russell 4e102ccfcf chaintopology: simply track txids, not watches. 9 years ago
Rusty Russell c94c495257 daemon: allow multiple watches on the same tx. 9 years ago
Rusty Russell 77a89bcf2b watch: indicate which input of tx is spend the watch txo. 9 years ago
Rusty Russell f24b73124a Remove txid normalization. 9 years ago
Rusty Russell b5a6ac26c7 watch: don't hand blockhash, have commit_tx_depth() use get_last_mediantime() 9 years ago
Rusty Russell 7b4de8e445 watch: use chaintopology 9 years ago
Rusty Russell 3d9cb81215 watch: express everything in terms of watch_tx and watch_txo. 9 years ago
Rusty Russell 862509637b daemon: implement unilateral commit. 9 years ago
Rusty Russell 6afe3f718d daemon: bitcoind callback gives the blockhash the tx was included in. 9 years ago
Rusty Russell b70c18a40e daemon: implement anchor watch timeout. 9 years ago
Rusty Russell 168ed96b12 daemon: close command. 9 years ago
Rusty Russell 8f0e10309a daemon: --bitcoind-poll=<seconds> 9 years ago
Rusty Russell 0dbbd81430 bitcoind: tell bitcoind_poll_transactions's callback if tx is a coinbase. 9 years ago
Rusty Russell 5b9f8d8bbd bitcoind: serialize requests. 9 years ago
Rusty Russell fc49e3fd74 daemon: rename 'state' to 'dstate' everywhere. 9 years ago
Rusty Russell b04392609a daemon: encapsulate each side's state in a struct. 9 years ago
Rusty Russell e9237f94b1 daemon/watch: API to watch various bitcoin transactions. 9 years ago