Rusty Russell
|
7614e513bd
|
commit_tx: keep permutation map.
This lets us map the HTLCs back to outputs when txs occur onchain.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
d733e82352
|
header cleanup: sort include lines into alpha order, after config.h
This makes merging easier in future.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
9 years ago |
Rusty Russell
|
8a4246cb36
|
permute: use BIP69 order.
It's a canonical ordering, rather than a random shuffle. Far simpler.
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
|
63986e5b2d
|
Rename perturb to permute.
Perturb is a bit stretched for this, permute is better.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
10 years ago |