description |
---|
Example arweave configurations for common situations. |
{% hint style="info" %}
- When packing or repacking you do not need a private key - you will only need a mining address (aka packing address)
- Your mining address is not a private key - it is a public address
- When mining, only nodes that will sign blocks need to have a private key / wallet.json stored locally
- If your node will be part of a coordinated mining cluster (and is not the exit node) or is mining as part of a pool, it will never need your private key stored locally
- For the following examples we will alway use
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
andQ5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY
as mining addresses. Replace them with your own address(es) before running the sample commands. {% endhint %}
- You're just getting started and need to download and pack data
- You'll sync the data from network peers and pack it as you store it to disk
- You'll pack the data to 16TB disks using the mining address
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
- You'll use the
replica_2_9
packing format and will pack 4 partitions per disk - NOTE It's best not to mine while you pack. The two processes are both resource intensive and will slow each other down. (i.e. omit the
mine
flag from your configuration)
- Generate entropy for all your data
- Run your miner with
sync_jobs 0
andreplica_2_9_workers
greater than 0 (default is fine) - Wait until you see a message like the following for each storage module:
- Console:
The storage module X is prepared for 2.9 replication.
- Log:
event: storage_module_entropy_preparation_complete, store_id: X
- Console:
- Run your miner with
- Restart your node to sync and pack the data
- Run your miner with
sync_jobs
greater than 0 (default is fine)
- Run your miner with
Sample Directory Structure
- Mount points for 16TB disks that will store the packed data:
/mnt/a
/mnt/b
data_dir
:/opt/data
- Store module symlinks:
/opt/data/storage_modules/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/a/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/a/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/a/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/a/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_4_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/b/storage_module_4_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_5_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/b/storage_module_5_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_6_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/b/storage_module_6_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_7_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/b/storage_module_7_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
- Wallets: no wallet.json needed since you are only packing
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
sync_jobs 0 \
mining_addr En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI \
storage_module 0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 4,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 5,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 6,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 7,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"storage_modules": [
"0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"4,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"5,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"6,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"7,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9"
],
"mining_addr": "En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI",
"sync_jobs": 0
}
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
sync_jobs 200 \
mining_addr En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI \
storage_module 0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 4,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 5,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 6,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 7,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"storage_modules": [
"0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"4,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"5,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"6,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"7,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9"
],
"mining_addr": "En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI",
"sync_jobs": 200
}
- You've downloaded 4 partitions of unpacked data
- You want to pack it so you can mine against it
- You've downloaded the unpacked partitions to an 18TB disk
- You'll pack the data to 4TB disks using the mining address
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
- You'll use the
replica_2_9
packing format - NOTE It's best not to mine while you pack. The two processes are both resource intensive and will slow each other down. (i.e. omit the
mine
flag from your configuration)
- Generate entropy for all your data
- Run your miner with
sync_jobs 0
andreplica_2_9_workers
greater than 0 (default is fine) - Wait until you see a message like the following for each storage module:
- Console:
The storage module X is prepared for 2.9 replication.
- Log:
event: storage_module_entropy_preparation_complete, store_id: X
- Console:
- Run your miner with
- Restart your node to repack the data
- Run your miner with
sync_jobs
greater than 0 (default is fine)
- Run your miner with
Sample Directory Structure
- Unpacked data mount point:
/mnt/unpacked
- Mount points for 4TB disks that will store the packed data:
/mnt/a
/mnt/b
/mnt/c
/mnt/d
data_dir
:/opt/data
- Store module symlinks:
/opt/data/storage_modules/storage_module_0_unpacked
->/mnt/unpacked/storage_module_0_unpacked
/opt/data/storage_modules/storage_module_1_unpacked
->/mnt/unpacked/storage_module_1_unpacked
/opt/data/storage_modules/storage_module_2_unpacked
->/mnt/unpacked/storage_module_2_unpacked
/opt/data/storage_modules/storage_module_3_unpacked
->/mnt/unpacked/storage_module_3_unpacked
/opt/data/storage_modules/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/a/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/b/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/c/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
/opt/data/storage_modules/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
->/mnt/d/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
- Wallets: no wallet.json needed since you are only packing
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
sync_jobs 0 \
mining_addr En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI \
storage_module 0,unpacked \
storage_module 0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 1,unpacked \
storage_module 1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 2,unpacked \
storage_module 2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 3,unpacked \
storage_module 3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"storage_modules": [
"0,unpacked",
"0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"1,unpacked",
"1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"2,unpacked",
"2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"3,unpacked",
"3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9"
],
"mining_addr": "En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI",
"sync_jobs": 0
}
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
sync_jobs 200 \
mining_addr En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI \
storage_module 0,unpacked \
storage_module 0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 1,unpacked \
storage_module 1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 2,unpacked \
storage_module 2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9 \
storage_module 3,unpacked \
storage_module 3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"storage_modules": [
"0,unpacked",
"0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"1,unpacked",
"1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"2,unpacked",
"2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9",
"3,unpacked",
"3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI.replica.2.9"
],
"mining_addr": "En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI",
"sync_jobs": 200
}
- You've been solo mining against 4 partitions of packed data
- You want to repack it so you can join a mining pool
- You want to repack in place so you don't need any extra storage capacity
- Your packed data is stored on 4TB disks and is packed using the
spora_2_6
packing format with the mining addressEn2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
- The new mining address is
Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY
and you want to repack to thereplica_2_9
packing format - NOTE It's best not to mine while you pack. The two processes are both resource intensive and will slow each other down. (i.e. omit the
mine
flag from your configuration) - NOTE Unlike with the other two repacking processes ("Sync and Pack" and "Cross-Module Repack"), you will not need to split up the "Repacking in Place" process into two steps. Entropy generation and repacking will happen in a single step.
Sample Directory Structure
- Mount points for 4TB disks that store your packed data:
/mnt/a
/mnt/b
/mnt/c
/mnt/d
data_dir
:/opt/data
- Store module symlinks:
/opt/data/storage_modules/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
->/mnt/a
/opt/data/storage_modules/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
->/mnt/b
/opt/data/storage_modules/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
->/mnt/c
/opt/data/storage_modules/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
->/mnt/d
- Wallets: no wallet.json needed since you are only packing
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz \
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
sync_jobs 200 \
mining_addr Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY \
storage_module 0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9 \
storage_module 1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9 \
storage_module 2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9 \
storage_module 3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"storage_modules": [
"0,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9",
"1,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9",
"2,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9",
"3,En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI,repack_in_place,Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9"
],
"mining_addr": "Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY",
"sync_jobs": 200
}
{% hint style="warning" %} After repacking in place has completed, rename your directories, eg.
mv /opt/data/storage_modules/storage_module_0_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZR /opt/data/storage_modules/storage_module_0_Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9
mv /opt/data/storage_modules/storage_module_1_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZR /opt/data/storage_modules/storage_module_1_Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9
mv /opt/data/storage_modules/storage_module_2_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZR /opt/data/storage_modules/storage_module_2_Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9
mv /opt/data/storage_modules/storage_module_3_En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZR /opt/data/storage_modules/storage_module_3_Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY.replica.2.9
{% endhint %}
- You'd like to run a dedicated node to compute and publish VDF
- You've decided not to have your VDF server mine
- You only want to provide VDF for the following nodes:
1.2.3.4
5.6.7.8
5.6.7.8:1985
node.example.com
Sample Directory Structure
data_dir
:/opt/data
- Store module symlinks: None
- Wallets: no wallet.json needed since you will not be signing any blocks
Sample Command-line Configuration
./bin/start \
peer ams-1.eu-central-1.arweave.xyz \
peer blr-1.ap-central-1.arweave.xyz \
peer fra-1.eu-central-2.arweave.xyz \
peer sfo-1.na-west-1.arweave.xyz \
peer sgp-1.ap-central-2.arweave.xyz \
peer vin-1.east.us.north-america.arweave.xyz \
peer sin-1.sg.asia.arweave.xyz \
peer hil-1.west.us.north-america.arweave.xyz \
peer lim-1.de.europe.arweave.xyz \
peer fsn-1.de.europe.arweave.xyz \
data_dir /opt/data \
vdf_client_peer 1.2.3.4 \
vdf_client_peer 5.6.7.8 \
vdf_client_peer 5.6.7.8:1985 \
vdf_client_peer node.example.com
Sample Configuration File (config.json)
{
"peers": [
"ams-1.eu-central-1.arweave.xyz",
"blr-1.ap-central-1.arweave.xyz",
"fra-1.eu-central-2.arweave.xyz",
"sfo-1.na-west-1.arweave.xyz",
"sgp-1.ap-central-2.arweave.xyz",
"vin-1.east.us.north-america.arweave.xyz",
"sin-1.sg.asia.arweave.xyz",
"hil-1.west.us.north-america.arweave.xyz",
"lim-1.de.europe.arweave.xyz",
"fsn-1.de.europe.arweave.xyz"
],
"data_dir": "/opt/data",
"vdf_client_peers": [
"1.2.3.4",
"5.6.7.8",
"5.6.7.8:1985",
"node.example.com"
]
}