lnd/lnutils
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
..
chan.go multi: make linter happy 2023-03-11 23:29:41 -08:00
context.go lnutils: add ContextFromQuit to bridge quit channels to contexts 2026-04-10 19:16:49 -07:00
context_test.go multi/test: add unit tests for gossip result helpers and context bridge 2026-04-10 19:16:49 -07:00
errors.go lnwallet: check mempool acceptance before publishing 2024-01-25 07:54:39 +08:00
fs.go lnutils: add createdir util function 2025-02-20 17:08:21 +01:00
fs_test.go lint: remove redundant loop var copies in test files 2026-06-03 15:32:45 -03:00
log.go lnutil: add LogPubKey helper function 2025-04-17 17:20:09 -07:00
memory.go input: create new ScriptDesciptor interface 2023-08-22 16:33:44 -07:00
README.md multi: add lnutils to host fundamental utility functions 2023-01-19 06:38:50 +08:00
stream.go multi: add lnutils to host fundamental utility functions 2023-01-19 06:38:50 +08:00
sync_map.go peer: gate onion message ingress on having an open channel 2026-04-15 13:23:50 -07:00
sync_map_bench_test.go lnutils+lntemp: move SyncMap to lnutils 2023-01-19 07:08:18 +08:00
sync_map_test.go peer: gate onion message ingress on having an open channel 2026-04-15 13:23:50 -07:00

lnutils

This package provides fundamental types and utility functions that can be used by all other packages.