Expanse
  • Welcome to Expanse
  • Beginner
    • Where to start?
    • How does Expanse works?
    • What is our Blockchain?
    • What is our denomination?
    • What is our EVM?
    • What is the Expanse Supply?
    • How to get an Expanse's Wallet Address?
    • What third-party wallets I can use?
    • How to configure Expanse on Metamask?
    • FAQ
    • How to add a token to Metamask?
    • How To Manually Burn LAB/PEX To Mint EGGS Using Remix
  • Miner
    • Where to start?
    • What are the mining rewards?
    • How to send Expanse?
    • What is GAS in Expanse?
    • What is the mining algo?
    • What is CPU Mining?
    • What is GPU Mining?
    • What is Pool Mining?
  • Developer
    • Where to start?
    • What is the Expanse Network?
    • How to connect to the Expanse Network?
    • How to download the Blockchain Faster
    • What are the static, trusted and boot Nodes?
    • What are the test Networks?
    • How to setup a local private testate
    • Contracts, transactions, account types, and gas
    • What is a contract?
    • Accessing contracts and transactions
    • What is the IDE Mix?
    • How to create Dapps?
    • What Developers tools are?
    • Web3 base layer services
  • Repositories
    • Expanse Explorer
    • Mist
    • Exp Miner
    • Payroll dapp
    • Go-expanse
    • Open expanse pool
  • Resources
    • Discord Channel
    • Expanse YouTube Channel
Powered by GitBook
On this page

Was this helpful?

  1. Developer

How to download the Blockchain Faster

PreviousHow to connect to the Expanse Network?NextWhat are the static, trusted and boot Nodes?

Last updated 4 years ago

Was this helpful?

When you start an Expanse client, the Expanse blockchain is automatically downloaded. The time it takes to download the Expanse blockchain can vary based on client, client settings, connection speed, and number of peers available. Below are some options for more quickly obtaining the Expanse blockchain.

USING GEXP

If you are using the gexp client, there are some things you can do to speed up the time it takes to download the Expanse blockchain. If you choose to use the –fast flag to perform an Expanse fast sync, you will not retain past transaction data.

Note: You cannot use this flag after performing all or part of a normal sync operation, meaning you should not have any portion of the Expanse blockchain downloaded before using this command. .

Below are some flags to use when you want to sync your client more quickly.

–fast

This flag enables fast syncing through state downloads rather than downloading the full block data. This will also reduce the size of your blockchain dramatically. NOTE: –fast can only be run if you are syncing your blockchain from scratch and only the first time you download the blockchain for security reasons. .

–cache=1024

Megabytes of memory allocated to internal caching (min 16MB / database forced). Default is 16MB, so increasing this to 256, 512, 1024 (1GB), or 2048 (2GB) depending on how much RAM your computer has should make a difference.

–jitvm

This flag enables the JIT VM.

Full example command with console:

gexp –fast –cache=1024 –jitvm console

For more discussion on fast syncing and blockchain download times, .

EXPORTING/IMPORTING THE BLOCKCHAIN

If you already have a full Expanse node synced, you can export the blockchain data from the fully synced node and import it into your new node. You can accomplish this in gexp by exporting your full node with the command gexp export filename and importing the blockchain into your node using gexp import filename. see

See this Expanse Stack.Exchange answer for more information
See this Reddit post for more information
see this Reddit post
this link