From 98b1d478b176959a8cee552e8f17e102fe98297d Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 12 Jun 2015 14:38:48 +0930 Subject: [PATCH] test-cli: remove obsolete examples from program headers. Signed-off-by: Rusty Russell --- test-cli/check-anchor-scriptsigs.c | 4 ---- test-cli/check-commit-sig.c | 4 ---- test-cli/close-channel.c | 4 ---- test-cli/create-close-tx.c | 3 --- test-cli/create-commit-spend-tx.c | 3 --- test-cli/create-commit-tx.c | 4 ---- test-cli/create-steal-tx.c | 4 ---- test-cli/get-anchor-depth.c | 4 ---- test-cli/open-anchor-scriptsigs.c | 4 ---- test-cli/open-channel.c | 4 ---- test-cli/open-commit-sig.c | 4 ---- test-cli/update-channel-accept.c | 3 --- test-cli/update-channel-complete.c | 3 --- test-cli/update-channel.c | 3 --- 14 files changed, 51 deletions(-) diff --git a/test-cli/check-anchor-scriptsigs.c b/test-cli/check-anchor-scriptsigs.c index 7c9c3b2ad..e64005f81 100644 --- a/test-cli/check-anchor-scriptsigs.c +++ b/test-cli/check-anchor-scriptsigs.c @@ -1,7 +1,3 @@ -/* My example: - * ./check-anchor-scriptsigs A-open.pb B-open.pb A-anchor-scriptsigs.pb B-anchor-scriptsigs.pb > A-anchor.tx - * ./check-anchor-scriptsigs B-open.pb A-open.pb B-anchor-scriptsigs.pb A-anchor-scriptsigs.pb > B-anchor.tx - */ #include #include #include diff --git a/test-cli/check-commit-sig.c b/test-cli/check-commit-sig.c index 198eaad77..6fccca1ac 100644 --- a/test-cli/check-commit-sig.c +++ b/test-cli/check-commit-sig.c @@ -1,7 +1,3 @@ -/* My example: - * ./check-commit-sig A-open.pb B-open.pb A-commit-sig.pb B-commit-sig.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC A-leak-anchor-sigs.pb B-leak-anchor-sigs.pb > A-commit.tx - * ./check-commit-sig B-open.pb A-open.pb B-commit-sig.pb A-commit-sig.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC B-leak-anchor-sigs.pb A-leak-anchor-sigs.pb > B-commit.tx - */ #include #include #include diff --git a/test-cli/close-channel.c b/test-cli/close-channel.c index 789d10f6d..2c9ac56f3 100644 --- a/test-cli/close-channel.c +++ b/test-cli/close-channel.c @@ -1,7 +1,3 @@ -/* My example: - * ./close-channel A-anchor.tx A-open.pb B-open.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC > A-close.pb - * ./close-channel --complete A-anchor.tx B-open.pb A-open.pb cQXhbUnNRsFcdzTQwjbCrud5yVskHTEas7tZPUWoJYNk5htGQrpi > B-close-complete.pb - */ #include #include #include diff --git a/test-cli/create-close-tx.c b/test-cli/create-close-tx.c index ab180ffe4..700923e7c 100644 --- a/test-cli/create-close-tx.c +++ b/test-cli/create-close-tx.c @@ -1,6 +1,3 @@ -/* My example: - * ./create-close-tx A-anchor.tx A-open.pb B-open.pb A-close.pb B-close-complete.pb > A-close.tx - */ #include #include #include diff --git a/test-cli/create-commit-spend-tx.c b/test-cli/create-commit-spend-tx.c index 365e8ce9b..543799d28 100644 --- a/test-cli/create-commit-spend-tx.c +++ b/test-cli/create-commit-spend-tx.c @@ -1,6 +1,3 @@ -/* My example: - * ./create-commit-spend-tx A-commit.tx A-open.pb B-open.pb cTJtiQKZLTufMhhRhxUdbZ2oKJY2MU6sLDEk62mSGoe4NEubLN2e 039bda7e7063afd6aba752b33ca9ae455c4e8d7297b8db01bb06879e0036bde27f > A-spend.tx - */ #include #include #include diff --git a/test-cli/create-commit-tx.c b/test-cli/create-commit-tx.c index d69450420..9365e3f6e 100644 --- a/test-cli/create-commit-tx.c +++ b/test-cli/create-commit-tx.c @@ -1,7 +1,3 @@ -/* My example: - * ./open-commit-sig A-open.pb B-open.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC A-leak-anchor-sigs.pb B-leak-anchor-sigs.pb > A-commit-sig.pb - * ./open-commit-sig B-open.pb A-open.pb cQXhbUnNRsFcdzTQwjbCrud5yVskHTEas7tZPUWoJYNk5htGQrpi B-leak-anchor-sigs.pb A-leak-anchor-sigs.pb > B-commit-sig.pb - */ #include #include #include diff --git a/test-cli/create-steal-tx.c b/test-cli/create-steal-tx.c index b0e81d777..81a14119c 100644 --- a/test-cli/create-steal-tx.c +++ b/test-cli/create-steal-tx.c @@ -1,7 +1,3 @@ -/* My example: - * ./check-commit-sig A-open.pb B-open.pb A-commit-sig.pb B-commit-sig.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC A-leak-anchor-sigs.pb B-leak-anchor-sigs.pb > A-commit.tx - * ./check-commit-sig B-open.pb A-open.pb B-commit-sig.pb A-commit-sig.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC B-leak-anchor-sigs.pb A-leak-anchor-sigs.pb > B-commit.tx - */ #include #include #include diff --git a/test-cli/get-anchor-depth.c b/test-cli/get-anchor-depth.c index c4545667e..e70b09337 100644 --- a/test-cli/get-anchor-depth.c +++ b/test-cli/get-anchor-depth.c @@ -1,7 +1,3 @@ -/* My example: - * while [ 0$(bitcoin-cli -testnet getrawtransaction $(cat anchor.txid) 1 | sed -n 's/.*"confirmations" : \([0-9]*\),/\1/p') -lt $(./get-anchor-depth A-open.pb) ]; do sleep 60; done - * while [ 0$(bitcoin-cli -testnet getrawtransaction $(cat anchor.txid) 1 | sed -n 's/.*"confirmations" : \([0-9]*\),/\1/p') -lt $(./get-anchor-depth B-open.pb) ]; do sleep 60; done - */ #include #include #include diff --git a/test-cli/open-anchor-scriptsigs.c b/test-cli/open-anchor-scriptsigs.c index fae59f6a2..67ca4401c 100644 --- a/test-cli/open-anchor-scriptsigs.c +++ b/test-cli/open-anchor-scriptsigs.c @@ -1,7 +1,3 @@ -/* My example: - * ./open-anchor-scriptsigs A-open.pb B-open.pb cUjoranStkpgTRumAJZNiNEkknJv5UA7wzW1nZ7aPsm9ZWjkxypZ > A-anchor-scriptsigs.pb - * ./open-anchor-scriptsigs B-open.pb A-open.pb cNggXygY8fPHWHEdoDqRa6xALau8gVMLq6q6vzMs2eNegLrJGNAW > B-anchor-scriptsigs.pb - */ #include #include #include diff --git a/test-cli/open-channel.c b/test-cli/open-channel.c index d8ddde7c9..58d94400e 100644 --- a/test-cli/open-channel.c +++ b/test-cli/open-channel.c @@ -1,7 +1,3 @@ -/* My example: - * ./open-channel 00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff 50000000000 030da36b810c0930e5fe8b74014665873f6901d9f46018a5fda743a93dec7f0e4e cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC cTuY5gncxDymqe9dfF7R8QFdAsxMZxdViRMjs8Dj7xJJRsQcmPCt 08ffaf638849198f9c8f04aa75d225a5a104d5e7c540770ca55ad08b9a32d10c/1/100000000000/76a9148d2d939aa2aff2d341cde3e61a89bf9c2c21d12388ac > A-open.pb - * ./open-channel 112233445566778899aabbccddeeff00112233445566778899aabbccddeeff00 9795000 022e314a8f7a814e0900bf094f704b233dc693349cf55b888b43d902d7be251e95 cQXhbUnNRsFcdzTQwjbCrud5yVskHTEas7tZPUWoJYNk5htGQrpi cQXhbUnNRsFcdzTQwjbCrud5yVskHTEas7tZPUWoJYNk5htGQrpi 8cb044605f33ca907b966701f49e0bd80b4294696b57f8cf45f22398a1e63a23/0/9800000/76a9143b2aab840afb327a12c8a90fb4ed45b6892eb80988ac > B-open.pb - */ #include #include #include diff --git a/test-cli/open-commit-sig.c b/test-cli/open-commit-sig.c index 18ebf400a..1a88f1d38 100644 --- a/test-cli/open-commit-sig.c +++ b/test-cli/open-commit-sig.c @@ -1,7 +1,3 @@ -/* My example: - * ./open-commit-sig A-open.pb B-open.pb cUBCjrdJu8tfvM7FT8So6aqs6G6bZS1Cax6Rc9rFzYL6nYG4XNEC A-leak-anchor-sigs.pb B-leak-anchor-sigs.pb > A-commit-sig.pb - * ./open-commit-sig B-open.pb A-open.pb cQXhbUnNRsFcdzTQwjbCrud5yVskHTEas7tZPUWoJYNk5htGQrpi B-leak-anchor-sigs.pb A-leak-anchor-sigs.pb > B-commit-sig.pb - */ #include #include #include diff --git a/test-cli/update-channel-accept.c b/test-cli/update-channel-accept.c index 7e8f5c58d..7768007ec 100644 --- a/test-cli/update-channel-accept.c +++ b/test-cli/update-channel-accept.c @@ -1,6 +1,3 @@ -/* My example: - * ./update-channel-accept B-open.pb A-open.pb anchor.tx A-update-1.pb > B-update-accept-1.pb - */ #include #include #include diff --git a/test-cli/update-channel-complete.c b/test-cli/update-channel-complete.c index 6aad4282c..2ab07d4a9 100644 --- a/test-cli/update-channel-complete.c +++ b/test-cli/update-channel-complete.c @@ -1,6 +1,3 @@ -/* My example: - * ./update-channel-complete B-open.pb > A-update-complete-1.pb - */ #include #include #include diff --git a/test-cli/update-channel.c b/test-cli/update-channel.c index 1952857c6..2b8bc41c1 100644 --- a/test-cli/update-channel.c +++ b/test-cli/update-channel.c @@ -1,6 +1,3 @@ -/* My example: - * ./update-channel A-open.pb B-open.pb anchor.tx > A-update-1.pb - */ #include #include #include