Miners Requirement and Functioning

LiquidLayer - The future of PoW.

Miners form the backbone of the PoW-based LiquidLayer blockchain. They don't just contribute computational power; they play a pivotal role in ensuring the decentralized, secure, and efficient functioning of the network. Let's delve into their significance and the process to become a miner in the LiquidLayer ecosystem.

Role in the Network

  1. Transaction Validation: Miners pick up pending transactions from the transaction pool, validate them, and group them into blocks. This ensures that only legitimate transactions, free from double-spending or fraud, are added to the blockchain.

  2. Consensus Formation: Through the PoW mechanism, miners compete to solve complex cryptographic puzzles. The first one to solve it gets the right to add the next block to the blockchain. This competitive yet cooperative mechanism helps in maintaining consensus across the decentralized network.

  3. Network Security: By contributing their computational power, miners fortify the network against potential threats. The combined power makes it incredibly challenging for malicious actors to alter the blockchain, thus safeguarding its integrity.

  4. Reward Mechanism: For every block mined, miners are rewarded with $LILA tokens. This incentive not only compensates them for their computational efforts but also encourages more participants to join the network, enhancing its security and decentralization.

Becoming a Miner on LiquidLayer

  1. Hardware Requirements: While LiquidLayer is designed to be scalable and efficient, miners would need a computer with a powerful GPU to participate in the mining process actively.

  2. Join the Network: Once the hardware is set up, aspiring miners would need to connect their systems to the LiquidLayer network. This often involves downloading and setting up a mining client compatible with LiquidLayer.

  3. Choose a Mining Strategy: Miners can either choose to mine solo or join a mining pool. While solo mining means you get to keep the entire reward, joining a pool can increase the frequency of rewards as the combined computational power increases the chances of solving the puzzle.

  4. Stay Updated: LiquidLayer, being a dynamic and evolving ecosystem, might undergo updates and enhancements. Miners should stay updated with the latest software versions, ensuring compatibility and maximizing mining efficiency.

  5. Monitor and Optimize: It's crucial for miners to continuously monitor their operations, ensuring their hardware is functioning optimally and tweaking settings for better results. Some mining clients also offer advanced features for better performance and power management.

Requirements for Joining a Mining Pool

Hardware: A GPU with a minimum of 8G is required, with AMD cards preferred for optimal performance. For effective mining on the LiquidLayer Mainnet, the following hardware specifications are recommended:

  • RAM: Minimum of 64GB

  • CPU: Eight-Core E5-2690 or equivalent

  • Storage: 120GB SSD for OS and applications, plus a 960GB SSD for caching and temporary data

  • Network Connection: 100M - 1Gbps for optimal performance

  • Operating System: Compatible with both Windows and Linux

  • GPU Specifications:

    • Microarchitecture: Ada Lovelace

    • Maximum GPUs: 2 per system

    • GPU Type: AMD CARD preferred / CUDA Cores: 3072

    • GPU Memory: Minimum of 8GB GDDR6

    • FP32 Performance: 15.11 TFLOPS

How To Mine on LiquidLayer Pool

1. Setup:

  • Install ethminer.

  • Point it to: pool.liquidlayer.network:8888/YOUR_LILA_ADDRESS/RIG_ID

2. Configuring Your Address:

  • YOUR_LILA_ADDRESS: Your payout address. Generate it with geth.

    • Example: 0x5937c303A8dE5F372664a2D386F0D352d9fb0eBb.

3. Setting Up RIG_ID:

  • Used to identify your farm/rig.

  • Omit if you have only one rig.

  • Use a short alphanumeric string (dashes and underscores are allowed).

    • Example: rig-1

    • Full Command Example: ethminer -F pool.liquidlayer.network:8888/0x5937c303A8dE5F372664a2D386F0D352d9fb0eBb/myfarm -G --farm-recheck 200

    • Hint: If compiling ethminer from the latest source, add --disable-submit-hashrate.

4. Stratum Mining with Stratum Proxy:

  • Download proxy from the eth-proxy GitHub repository.

  • Edit eth-proxy.conf with the following settings:

    • HOST: pool.liquidlayer.network

    • PORT: 8008

    • WALLET: [Your Wallet Address]

5. Mining with Ether-Proxy:

  • Use the stable release of the LiquidLayer Solo/Pool Mining Proxy for optimal results.

Mining with Ether-Proxy:

  • Use the stable release of the LiquidLayer Solo/Pool Mining Proxy for optimized performance.

Advice

  • CPU Mining: It is advised against using CPU mining as it is not efficient for this network.

Terms of Service


Running a Full Node on LiquidLayer Chain

Full Node Functions

  • Stores Full Blockchain History: Capable of storing the complete blockchain history on disk and responding to data requests from the network.

  • Validates New Blocks and Transactions: Receives and validates new blocks and transactions.

  • Verifies Account States: Ensures accuracy in the states of every account.

Supported Platforms

  • Operating Systems: Full nodes can be run on recent versions of Mac OS X and Linux.

Suggested Requirements

For a Full Node

  • Operating System: VPS with recent Mac OS X or Linux.

  • Disk Space: 1TB SSD with at least 3k IOPS, 125MB/s throughput, and <1ms read latency. For snap/fast sync, NVMe SSD is required.

  • CPU and Memory: 8-core CPU and 32GB RAM.

  • Suggested Instance Types: AWS c5.4xlarge or Google Cloud c2-standard-8.

  • Internet Connection: Broadband with at least 5 MB/s upload/download speed.

For a Validator Node

  • Operating System: VPS with recent Mac OS X or Linux.

  • Disk Space: 200GB SSD with at least 8k IOPS, 250MB/s throughput, and <1ms read latency.

  • CPU and Memory: 8-core CPU and 48GB RAM.

  • Suggested Instance Types: AWS m5zn.3xlarge or Google Cloud c2-standard-8.

  • Internet Connection: Broadband with at least 10 MB/s upload/download speed.

Configuration and Common Issues

Connectivity Issues

If you're unable to sync, ensure:

  • Discovery Protocol: --nodiscover parameter should be set to False unless running a full node with fixed nodes.

Update Bootstrap Nodes

BootstrapNodes = ["enode://pubkey@ip:port"]

Add Static Nodes

Geth supports static nodes which are peers that are always connected to. To define static nodes:

  1. Run geth --datadir <datadir> dumpconfig > config.toml to create a config.toml file.

  2. Add enode addresses to the StaticNodes field in the Node.P2P section of config.toml.

  3. Start Geth with --config config.toml.

Static nodes can also be added at runtime:

admin.addPeer('enode://[address]')

Chaindata Snapshot

Download and extract the chain data snapshot to your home folder for faster syncing.

unzip geth.zip -d /NAME_OF_YOUR_HOME/node &

Sync Modes

  • Fast Sync: Downloads the entire state database, starting with headers, then block bodies and receipts.

  • Full Sync: Starts at genesis, verifying all blocks and executing all transactions.

Steps to Run a Full Node

  1. Build from Source:

    • Ensure Go 1.19+ is installed and GOPATH is in your PATH.

    • Clone and build the repository:

      git clone https://github.com/LiquidLayerOff/lila-blockchain
      cd lila-blockchain
      make geth
    • Alternatively, download pre-built binaries.

  2. Download Configuration Files:

    • For mainnet or testnet, download config.toml and genesis.json.

  3. Initialize Genesis State:

    geth --datadir node init genesis.json
  4. Start the Full Node:

    geth --config ./config.toml --datadir ./node --cache 18000 --rpc.allow-unprotected-txs --txlookuplimit 0
  5. Monitor Node Status:

    • Logs are typically stored in /node/lila.log.

  6. Upgrade Geth:

    • Follow the upgrade guide for updates and enhancements.

Additional Notes

  • Breaking Change: Non-EIP155 transactions are now rejected by default. Use --rpc.allow-unprotected-txs to disable this restriction.

  • Validator Nodes: Set TrieTimeout in config.toml to a lower value for faster state persistence, especially important for validators.


Running Ethminer with Your Node

After setting up your full node, you can start mining by integrating ethminer. Here's how to do it:

  1. Install Ethminer:

    • Ensure you have ethminer installed. If not, you can download it from here.

  2. Connect Ethminer to Your Node:

    • You need to connect ethminer to your node to start the mining process. This can be done by pointing ethminer to your node's RPC port.

  3. Starting Ethminer:

    • Use the following command to start ethminer:

      ethminer -G --rpc <YourNodeRPCAddress>
    • Replace <YourNodeRPCAddress> with your node's RPC address. The -G flag is for GPU mining. If you're using CPU mining, use -C instead.

  4. Monitor Mining Process:

    • ethminer will start mining and you can monitor the process through its console output. It will display information about mining progress, such as hash rate and mined blocks.

  5. Troubleshooting:

    • If ethminer is unable to connect to your node, check if your node's RPC interface is correctly configured and accessible. Also, ensure that your firewall settings allow connections on the RPC port.

  6. Optimizing Performance:

    • For better mining performance, consider tuning your mining rig and ethminer settings based on your hardware capabilities.

Remember, mining requires significant computational resources and electricity. Ensure your setup is capable of handling the demands of mining on the LiquidLayer Chain.


This guide provides the essential details for mining on the LiquidLayer Mainnet. Please ensure your setup meets these requirements and follow the instructions carefully to start mining $LILA.


Embarking on a mining journey with LiquidLayer offers participants a chance to be part of a groundbreaking blockchain initiative, contributing to its security, efficiency, and decentralized ethos, all while earning rewards for their efforts.

Last updated