79 Commits (9aa0eac814ce3369b8c42f1ed4f337b05891f16a)

Author SHA1 Message Date
Rusty Russell 9aa0eac814 bitcoin: hand in a secp256k1_context to all routines. 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 3374ddd2a6 bitcoin: use a length arg to bitcoin_tx_from_hex 9 years ago
Rusty Russell cf547d491b bitcoin: add len arg to pubkey conversion function. 9 years ago
Rusty Russell 3a803eefbb bitcoin/tx: move bitcoin_tx_from_file() to test-cli, expose bitcoin_tx_from_hex() 9 years ago
Rusty Russell 2516a187bc test-cli: use OpenChannel__AnchorOffer instead of book for open_channel_pkt() 9 years ago
Rusty Russell 93b5db89a8 signature: expose check_signed_hash() 9 years ago
Rusty Russell 906a5e4a32 Move pkt.c into test-cli. 9 years ago
Rusty Russell e272d759a5 Force -walletbroadcast=1 for tests. 9 years ago
Rusty Russell 4b02c6f558 locktime: nice abstractions for absolute and relative locktimes. 9 years ago
Rusty Russell f710ba7c37 scripts/test.sh: boost CSV time to 512 seconds. 9 years ago
Rusty Russell 0ef2b9a32e test-cli: fix htlc balance on fulfill, and add assert that total is invariant. 9 years ago
Rusty Russell 57f0c3b38c test-cli/scripts: use setmocktime. 9 years ago
Rusty Russell 0b50a7c9eb Fix test scripts for alpha. 9 years ago
Rusty Russell 242fa1b2dd pubkey: pubkey_eq helper. 9 years ago
Rusty Russell 454a3867e5 BIP68 support (nSequence enforcement) 9 years ago
Rusty Russell 845d09ce68 check: simple Makefile target. 9 years ago
Rusty Russell 31459d6cd2 protocol: rename update_complete_htlc to update_fulfill_htlc. 9 years ago
Rusty Russell f0cab4e74b gather_updates: fix rebase error. 9 years ago
Rusty Russell d00eeded9f protocol: split message update_remove_htlc into update_timedout_htlc and update_routefail_htlc, remove update_remove_htlc_delay. 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 186736050f test-cli: fix alpha case. 9 years ago
Rusty Russell 1cb147c5b8 Version number, name, and build details. 9 years ago
Rusty Russell 3311580c62 scripts/test.sh: fix bitcoin case. 9 years ago
Rusty Russell 0b33da08c1 scripts: auto-detect alpha vs bitcoin 9 years ago
Rusty Russell 6cea21750d HOWTO-USE.md: Just refer to test scripts. 9 years ago
Rusty Russell 3b214479ae test-cli/scripts/test.sh: basic HTLC spending test. 9 years ago
Rusty Russell fcbba0280d test-cli/create-htlc-spend-tx: new util. 9 years ago
Rusty Russell bafc93886f test-cli/scripts/test.sh: basic HTLC creation test. 9 years ago
Rusty Russell b5ff69e236 test-cli/update-channel-htlc-remove: new util. 9 years ago
Rusty Russell 9b0ed51f2b test-cli/update-channel-htlc-complete: new util. 9 years ago
Rusty Russell 5778b004dd test-cli/update-channel-htlc: new util. 9 years ago
Rusty Russell 106c447d17 gather_updates: handle HTLC updates. 9 years ago
Rusty Russell 769f9f1cc5 gather_updates: extract some update logic into update_rhash. 9 years ago
Rusty Russell a09c0a9fa7 funding: take into account HTLC add/remove. 9 years ago
Rusty Russell 9a0163ec85 proto_to_locktime: abs and relative locktime handlers. 9 years ago
Rusty Russell 7f21695a63 protocol: rename locktime fields to "delay" and "expiry" 9 years ago
Rusty Russell a4dfe3ad72 channel_state: encapsulate funding of channel in one place. 9 years ago
Rusty Russell 81bced330a protocol: move locktime into its own message type. 9 years ago
Rusty Russell 142e822342 test-cli/update-channel-signature: remove debugging message. 9 years ago
Rusty Russell a0fc4f8a79 Update .gitignore. 9 years ago
Rusty Russell b72ab56312 test-cli/open-anchor.c: add missing file. 9 years ago
Rusty Russell de051f0df9 protocol: add close fee logic. 9 years ago
Rusty Russell 3260fb2ed1 protocol: add commitment fee logic. 9 years ago
Rusty Russell eac3af06f1 protocol: switch to single-funder anchor model. 9 years ago
Rusty Russell 2255cb749d protocol: move commitment key to open_channel message. 9 years ago
Rusty Russell f78ea05fc5 test-cli/extract-escape-secret: helper to get escape secret from other side. 9 years ago
Rusty Russell 7564e3f475 test-cli/create-secret-spend-tx: more general tool to spend secret-or-delay outputs 9 years ago