mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-09 23:22:16 -04:00
Some comments to separate declarations
This commit is contained in:
parent
1f2d755c64
commit
59f66f8ef9
1 changed files with 9 additions and 2 deletions
|
@ -34,11 +34,18 @@ import java.util.concurrent.CountDownLatch;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
public class NetworkStressTest {
|
public class NetworkStressTest {
|
||||||
/** Numeric identifier of the regtest Bitcoin network. */
|
// Test parameters
|
||||||
private static final int REGTEST_NETWORK_ID = 2;
|
|
||||||
/** Number of peer nodes to create. */
|
/** Number of peer nodes to create. */
|
||||||
private static final int NPEERS = 1;
|
private static final int NPEERS = 1;
|
||||||
|
|
||||||
|
// Constants
|
||||||
|
|
||||||
|
/** Numeric identifier of the regtest Bitcoin network. */
|
||||||
|
private static final int REGTEST_NETWORK_ID = 2;
|
||||||
|
|
||||||
|
// Instance fields
|
||||||
|
|
||||||
/** A directory to temporarily hold seed and normal nodes' configuration and state files. */
|
/** A directory to temporarily hold seed and normal nodes' configuration and state files. */
|
||||||
private Path tempDir;
|
private Path tempDir;
|
||||||
/** A single seed node that other nodes will contact to request initial data. */
|
/** A single seed node that other nodes will contact to request initial data. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue