17 Commits (a99744e68ea7b3d42184130f03fb9ff0b6fa978d)

Author SHA1 Message Date
Rusty Russell 2ce6a4bcca daemon/peer: move struct peer to internal header. 8 years ago
Rusty Russell 0fe53cc8e7 permute_tx: reintroduce permute map. 8 years ago
Rusty Russell 8522a5ea64 struct bitcoin_tx: remove explicit lengths, use tal_len()/tal_count() 8 years ago
Rusty Russell 7b1a4fc765 utils: add tal_hex() helper. 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 319eef266d commit_tx: free temporary wscript, rather than leaving attached to tx. 8 years ago
Rusty Russell b768de324c commit_tx: plug leak. 8 years ago
Rusty Russell 68632e6020 Use "msatoshi" not "msatoshis" everywhere. 8 years ago
Rusty Russell d8af789bbb channel: remove enum channel_side, rename htlc_side to side. 8 years ago
Rusty Russell f4fe42e977 commit_tx: more debugging. 8 years ago
Rusty Russell 8a3c9908ce protocol: no signature in update_commit if receiver has no outputs. 8 years ago
Rusty Russell 23f9c7c209 permute_tx: don't save permutation map. 8 years ago
Rusty Russell 1f99268633 commit_tx: expose wscript and scriptpubkey for to_us/to_them payments. 8 years ago
Rusty Russell d9e825bc2c create_commit_tx: use HTLC map, not cstate HTLC array. 8 years ago
Rusty Russell ef77cb8349 commit_tx: expose internals to give access to HTLC witness scripts. 8 years ago
Rusty Russell ca142a0b47 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> 8 years ago
Rusty Russell 7e6dc28f70 htlc: store which side created the HTLC. 9 years ago
Rusty Russell 42bed80145 pubkey: don't carry around DER encoding. 9 years ago
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere. 9 years ago
Rusty Russell fecd91ab2a Move funding.[ch] to daemon/channel.[ch]. 9 years ago
Rusty Russell 4c63845969 daemon: make funding directions local-centric. 9 years ago
Rusty Russell cf7a7a7273 funding: use sides[OURS/THEIRS] instead of a and b. 9 years ago
Rusty Russell 02593059cd script: rename scriptpubkey_htlc_send to/recv bitcoin_redeem_htlc_send/recv 9 years ago
Rusty Russell a150bd191a remove_dust: don't ever create dust outputs. 9 years ago
Rusty Russell 7614e513bd commit_tx: keep permutation map. 9 years ago
Rusty Russell 7ac29241ee patch htlc-outputs-are-p2wsh.patch 9 years ago
Rusty Russell b1700b1a91 protocol: non-HTLC commit tx outputs are p2wpkh 9 years ago
Rusty Russell 58b14292ad bitcoin/tx: (optional) input amount. 9 years ago
Rusty Russell 8104886503 Remove Alpha support. 9 years ago
Rusty Russell 6d6abd57e7 funding: remove protobufs. 9 years ago
Rusty Russell d95d8a99c2 create_commit_tx: don't use protobufs in the API. 9 years ago
Rusty Russell 906a5e4a32 Move pkt.c into test-cli. 9 years ago
Rusty Russell 4b02c6f558 locktime: nice abstractions for absolute and relative locktimes. 9 years ago
Rusty Russell 5bc22f0368 protocol: increase HTLC precision to 1/1000 satoshi. 9 years ago
Rusty Russell 58a62e782d bitcoin/script: don't pass value for HTLC script. 9 years ago
Rusty Russell 7ed0b461aa commit_tx: add HTLCs. 10 years ago
Rusty Russell 9a0163ec85 proto_to_locktime: abs and relative locktime handlers. 10 years ago
Rusty Russell 7f21695a63 protocol: rename locktime fields to "delay" and "expiry" 10 years ago
Rusty Russell a4dfe3ad72 channel_state: encapsulate funding of channel in one place. 10 years ago
Rusty Russell 81bced330a protocol: move locktime into its own message type. 10 years ago
Rusty Russell d9f2b37a05 commit_tx: remove to_me weirdness. 10 years ago
Rusty Russell e489ff80c0 commit_tx: remove debugging printf. 10 years ago
Rusty Russell eac3af06f1 protocol: switch to single-funder anchor model. 10 years ago
Rusty Russell 2255cb749d protocol: move commitment key to open_channel message. 10 years ago
Rusty Russell c03c878afc Split into two anchors. 10 years ago
Rusty Russell aa79887d79 script: use the normalized delay script form for commit output. 10 years ago
Rusty Russell 8a4246cb36 permute: use BIP69 order. 10 years ago
Rusty Russell 20bb6c65aa protocol fix: use locktime from *other* side. 10 years ago
Rusty Russell 20624c049f tx: prepare for Elements Alpha. 10 years ago