mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-08-17 14:50:57 +03:00
Add testnet config
This commit is contained in:
parent
b7bf08fd77
commit
9812442724
@ -1,4 +1,4 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
DEFAULT_ROOT_PATH = Path(os.path.expanduser(os.getenv("CHIA_ROOT", "~/.chia/mainnet"))).resolve()
|
||||
DEFAULT_ROOT_PATH = Path(os.path.expanduser(os.getenv("CHIA_ROOT", "~/.chia/testnet9"))).resolve()
|
||||
|
@ -69,6 +69,17 @@ network_overrides: &network_overrides
|
||||
MEMPOOL_BLOCK_BUFFER: 10
|
||||
EPOCH_BLOCKS: 768
|
||||
DIFFICULTY_STARTING: 30
|
||||
testnet9:
|
||||
DIFFICULTY_CONSTANT_FACTOR: 10052721566054
|
||||
GENESIS_CHALLENGE: 7319a0d4a23e5c4fbaab34d1ec65b82d147cd09b6e8f97098bc00151bdce922a
|
||||
GENESIS_PRE_FARM_FARMER_PUZZLE_HASH: 3d8765d3a597ec1d99663f6c9816d915b9f68613ac94009884c4addaefcce6af
|
||||
GENESIS_PRE_FARM_POOL_PUZZLE_HASH: d23da14695a188ae5708dd152263c4db883eb27edeb936178d4d988b8f3ce5fc
|
||||
INITIAL_FREEZE_END_TIMESTAMP: 1619661600 # 2021-04-28 19:00:00
|
||||
MIN_PLOT_SIZE: 18
|
||||
NETWORK_TYPE: 1
|
||||
MEMPOOL_BLOCK_BUFFER: 10
|
||||
EPOCH_BLOCKS: 768
|
||||
DIFFICULTY_STARTING: 30
|
||||
config:
|
||||
mainnet:
|
||||
address_prefix: "xch"
|
||||
@ -86,8 +97,11 @@ network_overrides: &network_overrides
|
||||
testnet7:
|
||||
address_prefix: "txch"
|
||||
default_full_node_port: 58444
|
||||
testnet9:
|
||||
address_prefix: "txch"
|
||||
default_full_node_port: 58445
|
||||
|
||||
selected_network: &selected_network "mainnet"
|
||||
selected_network: &selected_network "testnet9"
|
||||
ALERTS_URL: https://download.chia.net/notify/mainnet_alert.txt
|
||||
CHIA_ALERTS_PUBKEY: 89b7fd87cb56e926ecefb879a29aae308be01f31980569f6a75a69d2a9a69daefd71fb778d865f7c50d6c967e3025937
|
||||
|
||||
@ -163,7 +177,7 @@ farmer:
|
||||
# The farmer will attempt to connect to this full node and harvester
|
||||
full_node_peer:
|
||||
host: *self_hostname
|
||||
port: 8444
|
||||
port: 58445
|
||||
harvester_peer:
|
||||
host: *self_hostname
|
||||
port: 8448
|
||||
@ -212,7 +226,7 @@ timelord:
|
||||
- 150000
|
||||
full_node_peer:
|
||||
host: *self_hostname
|
||||
port: 8444
|
||||
port: 58445
|
||||
# Maximum number of seconds allowed for a client to reconnect to the server.
|
||||
max_connection_time: 60
|
||||
# The ip and port where the TCP clients will connect.
|
||||
@ -247,7 +261,7 @@ timelord:
|
||||
|
||||
full_node:
|
||||
# The full node server (if run) will run on this port
|
||||
port: 8444
|
||||
port: 58445
|
||||
|
||||
# Run multiple nodes with different databases by changing the database_path
|
||||
database_path: db/blockchain_v1_CHALLENGE.sqlite
|
||||
@ -302,7 +316,7 @@ full_node:
|
||||
# List of trusted DNS seeders to bootstrap from.
|
||||
# If you modify this, please change the hardcode as well from FullNode.set_server()
|
||||
dns_servers:
|
||||
- "dns-introducer.chia.net"
|
||||
- "dns-introducer-testnet9-poolstestnet9.chia.net"
|
||||
farmer_peer:
|
||||
host: *self_hostname
|
||||
port: 8447
|
||||
@ -310,8 +324,8 @@ full_node:
|
||||
host: *self_hostname
|
||||
port: 8446
|
||||
introducer_peer:
|
||||
host: introducer.chia.net # Chia AWS introducer IPv4/IPv6
|
||||
port: 8444
|
||||
host: testnet9-poolstestnet9-introducer-0.chia.net # Chia AWS introducer IPv4/IPv6
|
||||
port: 58445
|
||||
wallet_peer:
|
||||
host: *self_hostname
|
||||
port: 8449
|
||||
@ -377,7 +391,7 @@ wallet:
|
||||
|
||||
full_node_peer:
|
||||
host: *self_hostname
|
||||
port: 8444
|
||||
port: 58445
|
||||
|
||||
testing: False
|
||||
database_path: wallet/db/blockchain_wallet_v1_CHALLENGE_KEY.sqlite
|
||||
@ -394,8 +408,8 @@ wallet:
|
||||
recent_peer_threshold: 6000
|
||||
|
||||
introducer_peer:
|
||||
host: introducer.chia.net # Chia AWS introducer IPv4/IPv6
|
||||
port: 8444
|
||||
host: testnet9-poolstestnet9-introducer-0.chia.net # Chia AWS introducer IPv4/IPv6
|
||||
port: 58445
|
||||
|
||||
ssl:
|
||||
private_crt: "config/ssl/wallet/private_wallet.crt"
|
||||
|
Loading…
Reference in New Issue
Block a user