Skip to content

Commit

Permalink
Merge pull request #971 from alvasw/tor_create_da_package
Browse files Browse the repository at this point in the history
Tor: Create da package for DirectoryAuthority classes
  • Loading branch information
alvasw authored Jul 7, 2023
2 parents bf6d69c + 62b036c commit d832bb9
Show file tree
Hide file tree
Showing 13 changed files with 26 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

package bisq.tor.local_network;

import bisq.tor.local_network.da.DirectoryAuthority;
import bisq.tor.local_network.da.keygen.process.DirectoryAuthorityKeyGenerator;
import bisq.tor.local_network.da.keygen.process.DirectoryIdentityKeyGenProcess;
import bisq.tor.local_network.da.keygen.RelayKeyGenProcess;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
package bisq.tor.local_network;

import bisq.common.util.NetworkUtils;
import bisq.tor.local_network.da.DirectoryAuthority;
import bisq.tor.local_network.da.DirectoryAuthorityFactory;
import bisq.tor.local_network.torrc.DirectoryAuthorityTorrcGenerator;
import bisq.tor.local_network.torrc.TorrcFileGenerator;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.tor.local_network;
package bisq.tor.local_network.da;

import lombok.Builder;
import lombok.Getter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.tor.local_network;
package bisq.tor.local_network.da;

import bisq.tor.local_network.da.keygen.process.DirectoryAuthorityKeyGenerator;
import bisq.tor.local_network.da.keygen.process.DirectoryIdentityKeyGenProcess;
import bisq.tor.local_network.da.keygen.RelayKeyGenProcess;
import lombok.Getter;

import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.tor.local_network;
package bisq.tor.local_network.da.keygen;

import bisq.tor.local_network.KeyFingerprintReader;
import bisq.tor.local_network.da.DirectoryAuthority;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.tor.local_network;
package bisq.tor.local_network.da.keygen.process;

import bisq.tor.local_network.InputStreamWaiter;
import bisq.tor.local_network.da.keygen.RelayKeyGenProcess;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
*/

package bisq.tor.local_network;
package bisq.tor.local_network.da.keygen.process;

import bisq.tor.local_network.KeyFingerprintReader;
import lombok.Getter;
import lombok.extern.slf4j.Slf4j;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package bisq.tor.local_network.torrc;

import bisq.tor.local_network.DirectoryAuthority;
import bisq.tor.local_network.da.DirectoryAuthority;
import lombok.Getter;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package bisq.tor.local_network.torrc;

import bisq.tor.local_network.DirectoryAuthority;
import bisq.tor.local_network.da.DirectoryAuthority;

public class DirectoryAuthorityTorrcGenerator extends CommonTorrcGenerator {
public DirectoryAuthorityTorrcGenerator(DirectoryAuthority thisDirectoryAuthority) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package bisq.tor.local_network.torrc;

import bisq.tor.local_network.DirectoryAuthority;
import bisq.tor.local_network.da.DirectoryAuthority;

public class RelayTorrcGenerator extends CommonTorrcGenerator {
public RelayTorrcGenerator(DirectoryAuthority thisDirectoryAuthority) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

package bisq.tor.local_network.torrc;

import bisq.tor.local_network.DirectoryAuthority;
import bisq.tor.local_network.da.DirectoryAuthority;

import java.io.IOException;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package bisq.tor.local_network;

import bisq.tor.local_network.da.DirectoryAuthority;
import bisq.tor.local_network.torrc.DirectoryAuthorityTorrcGenerator;
import bisq.tor.local_network.torrc.TorrcFileGenerator;
import org.junit.jupiter.api.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

package bisq.tor.local_network;

import bisq.tor.local_network.da.DirectoryAuthority;
import bisq.tor.local_network.torrc.RelayTorrcGenerator;
import bisq.tor.local_network.torrc.TorrcFileGenerator;
import org.junit.jupiter.api.Test;
Expand Down

0 comments on commit d832bb9

Please sign in to comment.