Rusty Russell
|
9ed6968fe5
|
add_varint: encode correctly (LE)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
0203d51ec0
|
pull_varint: fix.
Adapted badly from pettycoin.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
904ef32459
|
bitcoin_tx: handle \n at end of file for tx.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
6048a15db9
|
bitcoin_tx: bitcoin_txid_from_hex helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
617d21eb43
|
check-anchor-scriptsigs: dump out anchor tx if scriptsigs make expected tx.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
bd38003db6
|
Add function to linearize tx into bytes, by generalizing hash code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
393400fa39
|
Make an explicit bitcoin_txid() call.
Neater than open-coding it. We still need the raw version for
signatures though.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
3a62a9172d
|
Create bitcoin_tx helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
670670f138
|
open-anchor-sig, many fixes for open-channel.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |