317 Commits (33d6cbe6bc1e07cf003b89de76dff41a2212c725)

Author SHA1 Message Date
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Rusty Russell 94adbd241d json_connect: don't try to double-fail if amount insufficient. 8 years ago
Christian Decker 34b4134cb0 bugfix: Removed spurious printf in peer.c 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell e7e7345596 peer: fix steal (penalty tx) generation code. 8 years ago
Rusty Russell 3372645d8e peer_disconnect: simply free if in STATE_INIT. 8 years ago
Rusty Russell 4bed6c8c67 controlled_time: remove 8 years ago
Rusty Russell 3aca5c87e3 init: rebroadcast anchors on restart if we haven't seen them. 8 years ago
Rusty Russell 6f360422d4 chaintopology: restore anchor timeout. 8 years ago
Rusty Russell 56b0f03c5a peer: fix retransmission before open packet. 8 years ago
Rusty Russell 41f3f8e067 db: store anchor input. 8 years ago
Rusty Russell adae62e261 peer: determine fees earlier. 8 years ago
Rusty Russell 9463e1b630 wallet: use pubkey as API, not pointer. 8 years ago
Rusty Russell 7f0a56f674 queue_pkt_open: take bool for API. 8 years ago
Rusty Russell 536a48940e protocol: don't ever reply to PKT_ERR with PKT_ERR. 8 years ago
Rusty Russell cf91409ff2 start_closing: always switch states inside transaction. 8 years ago
Rusty Russell 6b05436a7a open: use a single transaction when shutdown, so it's atomic. 8 years ago
Rusty Russell 41d4779abe peer_database_err: helper for database error packet. 8 years ago
Rusty Russell eedf95a8fc state_types: simplify open states. 8 years ago
Rusty Russell 1f23905bee peer: move start_closing() function higher in peer.c 8 years ago
Rusty Russell 99e48c7c87 peer: don't differentiate who is funding via state when waiting for open. 8 years ago
Rusty Russell ea74bac8b8 state: hoist open-they-are-funding states handling into peer.c, remove state.[ch] 8 years ago
Rusty Russell 75ff09b310 state: hoist open-we-are-funding states handling into peer.c 8 years ago
Rusty Russell 8c5fae2b28 patch remove-bitcoin_release_anchor.patch 8 years ago
Rusty Russell f71f0da19c offer_anchor: store a bool, not am enum state_input. 8 years ago
Rusty Russell 847ce8b092 state: move first state transition into peer.c 8 years ago
Rusty Russell bbd1bbd931 state: remove anchor timeout. 8 years ago
Rusty Russell b349e2884b state: move anchor-depth-ok code into peer.c 8 years ago
Rusty Russell 4151537b71 peer: commit outstanding changes before sending PKT_CLOSE. 8 years ago
Rusty Russell 16cff6951f peer: hoist do_commit and have it return false if it failed. 8 years ago
Rusty Russell 92e5f53f4d peer: free packet when we close connection in init_pkt_in. 8 years ago
Rusty Russell dbd8e07924 broadcast_tx: make sure callers free tx if necessary. 8 years ago
Rusty Russell 49a80ba457 peer: fail channel if funding transaction broadcast fails. 8 years ago
Rusty Russell 7aa01b0e50 broadcast_tx: add optional failed callback. 8 years ago
Rusty Russell 04cff14ac8 peer: don't fret about fees too low on testnet. 8 years ago
Rusty Russell b49b90d5c3 peer: don't ever fail twice. 8 years ago
Rusty Russell 4855af8ba2 peer: don't worry about feechange if we can't do anything about it. 8 years ago
Rusty Russell ab11322b39 peer: don't close due to too low fees if we're already closed. 8 years ago
Rusty Russell 25bb0f5248 peer: use correct enum in case statement. 8 years ago
Rusty Russell a902193874 sphinx: don't leak, especially on failed onion. 8 years ago
Rusty Russell ac7d80bbeb peer: don't assign io_data and id twice when connecting out. 8 years ago
Rusty Russell 8a1559a343 peer: free init packet. 8 years ago
Rusty Russell 6bda93f99a peer: don't leave initial cstate around. 8 years ago
Rusty Russell 64809fb730 peer: free temporary transaction immediately 8 years ago
Rusty Russell 8015ceadfd log: add netaddr 8 years ago
Rusty Russell 7d20c4f75b feechange: disable sending of feechange messages. 8 years ago
Christian Decker 1d3737055a sphinx: Integrate sphinx OR with lightningd 8 years ago
Rusty Russell 5797dc6496 init: add comments as per updated BOLT #2. 8 years ago
Rusty Russell 5e078a8167 pkt_init: check feature bits. 8 years ago
Rusty Russell ec64e7756e protocol: pkt_reconnect becomes pkt_init, and always send. 8 years ago