Rusty Russell
|
ae31431168
|
tx: centralize transaction writing, append amounts for alpha.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
20624c049f
|
tx: prepare for Elements Alpha.
They sign, hash, and serialize differently.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |
Rusty Russell
|
612d713470
|
Move bitcoin stuff into bitcoin subdir.
It's not very interesting if you're looking for LN code.
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 |