mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 15:00:30 +01:00
Add log for seeds
This commit is contained in:
parent
c1edc622c9
commit
73b0a17dd5
1 changed files with 3 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class DefaultSeedNodeRepository implements SeedNodeRepository {
|
|||
|
||||
// refill the cache
|
||||
seedNodeFile.lines().forEach(line -> {
|
||||
final Matcher matcher = pattern.matcher(line);
|
||||
Matcher matcher = pattern.matcher(line);
|
||||
if (matcher.find())
|
||||
cache.add(new NodeAddress(matcher.group(1)));
|
||||
|
||||
|
@ -89,6 +89,8 @@ public class DefaultSeedNodeRepository implements SeedNodeRepository {
|
|||
|
||||
// filter
|
||||
cache.removeAll(bisqEnvironment.getBannedSeedNodes().stream().map(NodeAddress::new).collect(Collectors.toSet()));
|
||||
|
||||
log.info("Seed nodes: {}", cache);
|
||||
} catch (Throwable t) {
|
||||
log.error(t.toString());
|
||||
t.printStackTrace();
|
||||
|
|
Loading…
Add table
Reference in a new issue