kubo/core
Andrew Gillis c46cbecb83
core/bootstrap: fix panic without backup bootstrap peer functions (#10029)
Fix panic when backup bootstrap peer load and save funcs are nil

A panic occurs when the first bootstrap round runs is these functions are not assigned in the configuration:
- `LoadBackupBootstrapPeers`
- `SaveBackupBootstrapPeers`

This fix assumes that it is acceptable for these functions to be nil, as it may be desirable to disable the backup peer load and save functionality.
2023-09-21 18:29:38 +02:00
..
bootstrap core/bootstrap: fix panic without backup bootstrap peer functions (#10029) 2023-09-21 18:29:38 +02:00
commands refactor: stop using go-libp2p deprecated peer.ID.Pretty 2023-09-18 15:58:15 +02:00
coreapi refactor: stop using go-libp2p deprecated peer.ID.Pretty 2023-09-18 15:58:15 +02:00
corehttp feat: add Gateway.DisableHTMLErrors option (#10137) 2023-09-21 15:03:17 +00:00
corerepo chore: migrate go-libipfs to boxo 2023-03-28 22:05:25 -04:00
coreunix style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
mock fix: deadlock on retrieving WebTransport addresses (#9857) 2023-05-08 16:11:03 +02:00
node refactor: stop using go-libp2p deprecated peer.ID.Pretty 2023-09-18 15:58:15 +02:00
.gitignore
builder.go fix: silence staticcheck warning for fx.Extract usage 2022-12-12 03:47:17 +01:00
core_test.go chore: update boxo, go-libp2p, and internalize mplex (#10095) 2023-08-24 06:11:02 +00:00
core.go core/bootstrap: fix panic without backup bootstrap peer functions (#10029) 2023-09-21 18:29:38 +02:00