Skip to content

Commit 78c814d

Browse files
Your Nameareshand
authored andcommitted
update config for L1 migration
1 parent f60ab1f commit 78c814d

File tree

1 file changed

+28
-13
lines changed

1 file changed

+28
-13
lines changed
Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,41 @@
11
base:
2-
# Update this value to the location you want the node to store its database
2+
# Set the directory path where the node will store its database
33
data_dir: "/opt/aptos/data"
44
role: "full_node"
55
waypoint:
6-
# Update this value to that which the blockchain publicly provides. Please regard the directions
7-
# below on how to safely manage your genesis_file_location with respect to the waypoint.
6+
# Set this to the waypoint value provided by the blockchain network.
7+
# Ensure this matches the corresponding genesis file location below.
88
from_file: "./waypoint.txt"
99

1010
execution:
11-
# Update this to the location to where the genesis.blob is stored, prefer fullpaths
12-
# Note, this must be paired with a waypoint. If you update your waypoint without a
13-
# corresponding genesis, the file location should be an empty path.
11+
# Path to the genesis.blob file (full paths are recommended)
12+
# This must correspond to the waypoint above. If updating the waypoint
13+
# without a matching genesis file, leave this path empty.
1414
genesis_file_location: "./genesis.blob"
15+
# Path to the genesis waypoint file
16+
genesis_waypoint:
17+
from_file: "/opt/aptos/genesis/genesis_waypoint.txt"
1518

16-
full_node_networks:
17-
- discovery_method: "onchain"
18-
# The network must have a listen address to specify protocols. This runs it locally to
19-
# prevent remote, incoming connections.
20-
listen_address: "/ip4/127.0.0.1/tcp/6180"
21-
network_id: "public"
22-
19+
storage:
20+
rocksdb_configs:
21+
enable_storage_sharding: false
2322

23+
full_node_networks:
24+
- network_id: "public"
25+
discovery_method: "none"
26+
# Optional: Enable this if you want other PFNs to connect to your node
27+
listen_address: "/ip4/0.0.0.0/tcp/6182"
28+
# Configure upstream PFN connections here
29+
seeds:
30+
9967EBF40AC8C2CCB38709488952DA1826176584EA3067B63B1695362ECB3D1F:
31+
addresses:
32+
- "/dns/testnet.movementnetwork.xyz/tcp/6182/noise-ik/9967EBF40AC8C2CCB38709488952DA1826176584EA3067B63B1695362ECB3D1F/handshake/0"
33+
role: "Upstream"
2434
api:
2535
enabled: true
2636
address: 127.0.0.1:8080
37+
38+
state_sync:
39+
state_sync_driver:
40+
bootstrapping_mode: DownloadLatestStates
41+
continuous_syncing_mode: ApplyTransactionOutputs

0 commit comments

Comments
 (0)