Files
lightning/daemon
Rusty Russell cc4fc4b668 daemon: use htlc pointers everywhere.
No more copies!

I tried changing the cstate->side[].htlcs to htlc_map rather than a
simple pointer array, but we rely on those array indices heavily for
permutation mapping, and it turned into a major rewrite (especially
for the steal case).

Eventually, we're going to want to reconstruct the commit info for
older commit txs rather than keeping all the permutation and
per-commit-info HTLC information in memory, so we can do the work
then.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-07-01 12:00:17 +09:30
..
2016-01-22 06:41:47 +10:30
2016-01-22 06:45:28 +10:30
2016-05-26 15:25:24 +09:30
2016-05-26 15:25:24 +09:30
2016-01-22 06:41:49 +10:30
2016-07-01 12:00:17 +09:30
2016-05-26 15:25:24 +09:30
2016-05-26 15:25:24 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-01-22 06:41:48 +10:30
2016-01-22 06:41:48 +10:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-05-10 06:28:17 +09:30
2016-05-10 06:28:17 +09:30
2016-07-01 11:59:15 +09:30
2016-07-01 11:59:15 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-07-01 12:00:17 +09:30
2016-05-06 11:56:55 +09:30
2016-05-10 06:26:09 +09:30
2016-05-10 06:26:09 +09:30
2016-07-01 12:00:17 +09:30
2016-05-04 16:10:39 +09:30