42 Commits (dba756ef3885164118112a01886d1dc569592585)

Author SHA1 Message Date
Saibato 877f63e99e Initial TOR v2/v3 support. 7 years ago
ZmnSCPxj 926b41b7da closingd: Ensure proper closing of TCP socket. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell b68fb24758 read_peer_msg: handle incoming gossip from gossipd. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell d2b4e09e27 lightningd: re-allow closing negotiation when CLOSINGD_COMPLETE 7 years ago
Rusty Russell a6c76f9079 closingd: even with old clients, still require funding offer < commitment fee. 7 years ago
Rusty Russell 1faec99c59 closingd: make sure we restrict feerange with initial offer. 7 years ago
Rusty Russell 90364a8cc6 closingd: Correct whose turn it is when moving from initial negotiation to continuous negotiation. 7 years ago
Rusty Russell 6424b2decd closing: initialize feerange->allow_mistakes. 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
Rusty Russell e63b7bb539 take: allocate temporary variables off NULL. 7 years ago
Rusty Russell 40fe5b7bac closingd: use global tmpctx. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell ef2a063169 utils: add a global tmpctx. 7 years ago
Rusty Russell c57aa628e3 closingd: update billboard as negotiation proceeds. 7 years ago
Rusty Russell 9cffa03647 peer_failed: set permanent slot when we fail the peer. 7 years ago
practicalswift e1f7428864 Remove unused parameter allow_mistakes in init_feerange(..., bool allow_mistakes) 7 years ago
practicalswift e28b646f4b Remove unused parameter their_offer in tell_master_their_offer(u64 their_offer, ...) 7 years ago
Rusty Russell e92b710406 tools/generate-wire.py: remove length argument from fromwire_ routines. 7 years ago
Rusty Russell cfa50d393a openingd: use peer_failed like normal instead of boutique negotiation_failed. 7 years ago
Rusty Russell f76ff90485 status: split off error messages into a new 'peer_status' type. 7 years ago
Rusty Russell 201d498e39 peer_failed: automatically hand PEER_FD, GOSSIP_FD; add gossip_index 7 years ago
Rusty Russell cc9ca82821 status: separate types for peer failure vs "impossible" failures. 7 years ago
Rusty Russell fd498be7ca status: generate messages rather than marshal/unmarshal manually. 7 years ago
Rusty Russell bd1aa935b9 closingd: don't punish peers who can't negotiate properly. 7 years ago
Rusty Russell 03e961897a closingd: rewrite negotiation. 7 years ago
Rusty Russell 5deebb85c3 closingd: use the final commitment tx fee as the maximum. 7 years ago
Rusty Russell 3d91bf2ab8 closingd: use common/read_peer_msg. 7 years ago
Rusty Russell 7a40e0262f closingd: handle unexpected messages better. 7 years ago
Rusty Russell e34ec8da2d peer_failed: use towire_errorfmtv() which doesn't add nul terminator. 7 years ago
Rusty Russell 0f97b8cf36 subdaemon.c: subdaemon_setup() routine for all daemons. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
Rusty Russell 795a03e8c4 fromwire_bitcoin_tx: quieten leak reporting. 7 years ago
Rusty Russell 94711969f9 gossipd: hand out gossip_index to other daemons. 7 years ago
practicalswift 0353ec0983 Remove trailing whitespace 7 years ago
Rusty Russell af7e6158af Makefile: clean needs to do more, distclean should remove everything. 7 years ago
Rusty Russell 2394c9a2e7 crypto_state: move to its own file. 7 years ago
Rusty Russell 72b215f6fe Make all internal message numbers unique. 7 years ago
Rusty Russell ef28b6112c status: use common status codes for all the failures. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago