Commit graph

7 commits

Author SHA1 Message Date
Erick Cestari
aca27e27f5
lint: remove redundant loop var copies in test files
Since Go 1.22 loop variables are scoped per-iteration, so the
`x := x` / `a, b := a, b` copies inside range/for loops are no longer
needed. This removes the existing redundant copies in test files.
2026-06-03 15:32:45 -03:00
yyforyongyu
0735522194
multi: fix make fmt 2022-08-23 22:10:24 +08:00
Johan T. Halseth
2d397b12b1
amp: create amp.ShardTracker
We'll use this AMP-specific ShardTracker for AMP payments.  It will be
used to derive hashes for each HTLC attempt using the underlying AMP
derivation scheme.
2021-04-27 09:47:23 +02:00
Johan T. Halseth
c1e82e534d
amp: add Merge and Zero to Sharer interface 2021-04-27 09:45:14 +02:00
Conner Fromknecht
0ef04a749f
amp/derivation_test: add tests 2021-01-26 12:43:09 -08:00
Conner Fromknecht
cb47d0c825
amp/sharer: add recursive sharing logic 2021-01-26 12:43:09 -08:00
Conner Fromknecht
0144bdb241
amp/child: add Child deriviation 2021-01-26 12:43:08 -08:00