123 Commits (7419fde9a05e6fc3d7ee5e3dca12a3bfed6b435b)

Author SHA1 Message Date
Rusty Russell 2ce6a4bcca daemon/peer: move struct peer to internal header. 8 years ago
Rusty Russell e2c7925e0e daemon/chaintopology.c: remove last remaining lightningd_state references. 8 years ago
Rusty Russell c6997f15c7 bitcoin/preimage: struct preimage. 8 years ago
Rusty Russell 8522a5ea64 struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 8 years ago
Rusty Russell 8159c4458a bitcoin/script.h: remove struct bitcoin_signature 8 years ago
Rusty Russell 1edce4878d bitcoin/signature.h: remove struct signature. 8 years ago
Rusty Russell c2cc164d6d daemon: disable old BOLT checks. 8 years ago
Christian Decker db481d881a proto: Added handling for nested packets 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell 4bed6c8c67 controlled_time: remove 8 years ago
Rusty Russell 7f0a56f674 queue_pkt_open: take bool for API. 8 years ago
Rusty Russell f71f0da19c offer_anchor: store a bool, not am enum state_input. 8 years ago
Rusty Russell dbd8e07924 broadcast_tx: make sure callers free tx if necessary. 8 years ago
Rusty Russell de2ffd8985 accept_pkt_open_commit_sig: don't allocate sig. 8 years ago
Rusty Russell 5797dc6496 init: add comments as per updated BOLT #2. 8 years ago
Rusty Russell ec64e7756e protocol: pkt_reconnect becomes pkt_init, and always send. 8 years ago
Rusty Russell 1e6f7059d3 lightningd: allow --commit-fee-max=0 for "no limit" 8 years ago
Rusty Russell a19762b55c open: increase verbosity of errors 8 years ago
Rusty Russell 7b5806fef2 peer: give more sensible error if anchor is too large. 8 years ago
Rusty Russell 68632e6020 Use "msatoshi" not "msatoshis" everywhere. 8 years ago
Rusty Russell b47fbfead0 db: Always fail HTLC inside a transaction. 8 years ago
Rusty Russell 23049f09a9 db: Always fulfill HTLC inside a transaction. 8 years ago
Rusty Russell d8af789bbb channel: remove enum channel_side, rename htlc_side to side. 8 years ago
Rusty Russell f90fb4934f close_shutdown: make sure script_pubkey is standard. 8 years ago
Rusty Russell d4ddebd55a htlc: save fail message in HTLC. 8 years ago
Rusty Russell 31bdf384cb daemon: accept feechange packets. 8 years ago
Rusty Russell e7b003b499 daemon: handle feechange requests. 8 years ago
Rusty Russell be38d3f507 Minor cleanups: things found while debugging the database code. 8 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 8 years ago
Rusty Russell 3866d7605c daemon: reconnect support. 8 years ago
Rusty Russell fd650ba79d protocol: rename clearing to shutdown. 8 years ago
Rusty Russell 02cb7abd9d bitcoind: keep running fee estimate. 8 years ago
Rusty Russell 19be4dbfe6 channel: remove htlcs array. 8 years ago
Rusty Russell 4319f3ac70 peer: explicitly store the previous revocation hash when sending new update. 8 years ago
Rusty Russell 0bd12b4e97 daemon/packets.h: create from prototypes which were in state.h. 8 years ago
Rusty Russell 149fa341be packets.c: accept_pkt_* should do less state-mangling. 8 years ago
Rusty Russell 6615db32c0 packets.c: queue_pkt_* only creates and sends packets. 8 years ago
Rusty Russell abf4182ef5 peer: cache txid for commitment_tx. 8 years ago
Rusty Russell d9e825bc2c create_commit_tx: use HTLC map, not cstate HTLC array. 8 years ago
Rusty Russell 1af3428c6c peer: keep a single HTLC map for all htlcs. 8 years ago
Rusty Russell 4b5ec85c25 daemon: keep enum htlc_state within struct htlc. 8 years ago
Rusty Russell 22976bdd32 daemon: use HTLC states. 8 years ago
Rusty Russell 2a03af4486 Misc minor cleanups. 9 years ago
Rusty Russell f2d835522c bitcoin: implement sig_valid. 9 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 9 years ago
Rusty Russell 69cb158edd base58, script, protobuf_convert: don't use temporary secp256k1 context. 9 years ago
Rusty Russell 08a910b06e BOLT: fee requirements update. 9 years ago
Rusty Russell 3de6ca3d0b BOLT: update comment to indicate HTLC id must be completely unique. 9 years ago
Rusty Russell ffeab49ed3 htlc_add: only limit is on receiving side. 9 years ago