Skip to content

Commit

Permalink
Merge pull request #6737 from Emzy/remove-seed
Browse files Browse the repository at this point in the history
Remove one seednode from Wiz.
  • Loading branch information
alejandrogarcia83 authored Jun 22, 2023
2 parents 7198296 + 63cc8e1 commit edfa035
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion core/src/main/resources/btc_mainnet.seednodes
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# nodeaddress.onion:port [(@owner,@backup)]
wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000 (@wiz)
wizseed3d376esppbmbjxk2fhk2jg5fpucddrzj2kxtbxbx4vrnwclad.onion:8000 (@wiz)
wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000 (@wiz)
devinv3rhon24gqf5v6ondoqgyrbzyqihzyouzv7ptltsewhfmox2zqd.onion:8000 (@devinbileck)
Expand Down
8 changes: 4 additions & 4 deletions core/src/test/java/bisq/core/util/RegexValidatorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void testAddressRegexValidator() {

// onion v3 addresses
assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char
assertTrue(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid);
assertTrue(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid);

// ipv4 addresses
assertTrue(regexValidator.validate("12.34.56.78").isValid);
Expand Down Expand Up @@ -120,7 +120,7 @@ public void testOnionAddressRegexValidator() {

// onion v3 addresses
assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char
assertTrue(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid);
assertTrue(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid);

}

Expand All @@ -147,7 +147,7 @@ public void testLocalnetAddressRegexValidator() {

// onion v3 addresses
assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char
assertFalse(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid);
assertFalse(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid);

// ipv4 addresses
assertFalse(regexValidator.validate("12.34.56.78").isValid);
Expand Down Expand Up @@ -236,7 +236,7 @@ public void testLocalhostAddressRegexValidator() {

// onion v3 addresses
assertFalse(regexValidator.validate("32zzibxmqi2ybxpqyggwwuwz7a3lbvtzoloti7cxoevyvijexvgsfei.onion:8333").isValid); // 1 missing char
assertFalse(regexValidator.validate("wizseedscybbttk4bmb2lzvbuk2jtect37lcpva4l3twktmkzemwbead.onion:8000").isValid);
assertFalse(regexValidator.validate("wizseed7ab2gi3x267xahrp2pkndyrovczezzb46jk6quvguciuyqrid.onion:8000").isValid);

// ipv4 addresses
assertFalse(regexValidator.validate("12.34.56.78").isValid);
Expand Down

0 comments on commit edfa035

Please sign in to comment.