Mining Examples
Example arweave configurations for common situations.
Note on wallets (aka private keys)
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.
Packing Unpacked Data
Situation
You've downloaded 4 partitions of unpacked data
You want to pack it so you can mine against it
You've downloaded the unpacked partitiona to an 18TB disk
You'll pack the data to 4TB disks using the mining address
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
Repacking Packed Data In Place
Situation
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 with the mining address
En2eqsVJARnTVOSh723PBXAKGmKgrGSjQ2YIGwE_ZRI
The new mining address is
Q5EfKawrRazp11HEDf_NJpxjYMV385j21nlQNjR8_pY
After repacking in place has completed, rename your directories, eg.
Repairing a Corrupt RocksDB
Situation
When launching your node you get an error that mentions a specific RocksDB database (e.g.
ar_data_sync_chunk_db
)One solution is to attempt to repair the RocksDB
Last updated