Lynx Blockchain
  • Welcome
  • Technical Evolution and Architecture Overview
  • History of Lynx
    • Evolution of a Blockchain
    • Hybrid Proof of Work (HPoW) Protocol
    • Pioneering Blockchain Data Storage
    • Evolution to Proof of Stake
    • Next Generation Data Storage Architecture
    • Preserving Knowledge
  • Lynx Core
    • Hardware and System Requirements
    • Lynx Dynamics
    • Open Source
    • Core Parameters and Strategy
    • Sustainability
    • Circulating Supply Analysis
    • Locked Addresses
    • Data Storage
      • auth
      • fetch
      • fetchall
      • store
      • status
      • list
    • Understanding the Encryption Option
    • Understanding Lynx Staking Wait Times
    • Understanding Asset Retrieval Times
    • Understanding Block Time Targeting in the Lynx Blockchain
    • Understanding the Lynx Blockchain Statistics Report
  • Lynx Administration
    • Public Peer Nodes
    • Understanding Blockchain Bootstrap Files
      • Bootstrap Extraction Script
      • Bootstrap Creation Script
    • How to Sweep a Lynx Wallet
    • Enable/Disable Staking
  • Clevver
    • Revolutionizing Digital Preservation
    • Permanent Storage for Digital Assets
    • Permanent Digital Archives for Journalism
    • How did Clevver originate?
    • Shortened URL Support
    • Assigning Tags to Assets
    • How to delete content
    • Clevver Terms of Service Agreement
  • Clevver API
    • Public Methods
      • Batches
      • Files
      • User
  • ElectrumX
    • Lynx ElectrumX nodes
    • Build Script Details
  • External Links
    • Lynx Explorer
    • Lynx Github
    • Lynx Uptime Report
    • Clevver Website
  • Lynx Bootstraps
  • Wallet Links
    • Komodo Wallet
    • Wally.id Wallet
    • Lynx Paper Wallet
  • Social Links
    • Lynx Discord
    • Lynx on Bluesky
    • Clevver on Bluesky
  • Exchange Links
    • FreiXLite (LYNX/LTC)
  • FreiExchange (LYNX/BTC)
  • Komodo Wallet (SWAP)
  • XredX (LYNX/LTC)
  • XredX (LYNX/DOGE)
  • XredX (LYNX/IL8P)
Powered by GitBook
On this page
  • Overview
  • Requirements
  • Installation
  • Output Files
  • Important Notes
  • Technical Details
  • Common Issues
  • Contributing
  • Support
  • Acknowledgments
  1. Lynx Administration
  2. Understanding Blockchain Bootstrap Files

Bootstrap Creation Script

Published: January 2025 | Last updated: February 2025

PreviousBootstrap Extraction ScriptNextHow to Sweep a Lynx Wallet

Last updated 3 months ago

This script automates the process of creating a bootstrap archive for the Lynx blockchain. It generates a bootstrap.dat file from your local blockchain data and splits it into manageable chunks for easier distribution.

This is not the script to use if you are looking to download a bootstrap file to your Lynx node for faster sync. Instead, .

Overview

The script performs the following operations:

  1. Locates your Lynx installation directory

  2. Validates the environment and required tools

  3. Creates a bootstrap.dat file from your local blockchain

  4. Compresses and splits the bootstrap file into 125MB chunks

  5. Generates a manifest file with SHA256 checksums for verification

Requirements

  • Lynx Core must be installed and fully synced

  • Python (for the linearize scripts)

  • 2GB of free disk space for the bootstrap file creation

  • Staking should be disabled to avoid Python socket errors

  • Write permissions in the Lynx home directory

Installation

To construct a backup bundle from a fully synced Lynx node, download and execute this script:

wget -O - https://raw.githubusercontent.com/getlynx/LynxBootstrap/master/archive.sh | bash

Output Files

The script generates the following files:

  • YYYY-MM-DD-bootstrap.tar.gz.* - Compressed bootstrap chunks

  • YYYY-MM-DD-manifest.txt - SHA256 checksums for verification

Important Notes

  • Keep both the chunk files and manifest.txt for proper reassembly

  • The script expects the .lynx directory to be in its default location

  • The process may take considerable time depending on blockchain size

  • Ensure sufficient disk space is available before running

Technical Details

  • Chunks are created at 125MB size for easier transfer

  • The script uses Python's linearize tools from the Lynx Core repository

  • Block height is set to (current - 100) for safety

  • RPC credentials are automatically extracted from lynx.conf

Common Issues

  1. Permission Denied: Ensure you have write access to the Lynx directory

  2. lynx-cli not found: Make sure Lynx Core is properly installed and running

  3. Space Issues: Ensure sufficient disk space for bootstrap creation

Contributing

Support

If you encounter any issues or need assistance, please:

  1. Check the Common Issues section above

  2. Create an issue in the GitHub repository

Acknowledgments

  • Bitcoin Core's linearize scripts (which were adapted for Lynx)

Contributions are welcome! Please

Visit the for more information

use the extraction script
feel free to submit a Pull Request.
Lynx Documentation
Visit us on Discord