Skip to content

Lithos Testnet 5.3.2

Choose a tag to compare

@K-Singh K-Singh released this 14 Sep 02:29
· 121 commits to master since this release

ErgoDex Batching

Added ErgoDex batching as both a candidate source, and an off-chain bot which sends to the mempool. When enabled as a candidate source, the client will pull existing ErgoDex orders from the confirmed blockchain and mempool. It will batch the orders to their individual liquidity pools, taking the executor fee and then finally adding it to the block's rollup. This supersedes any off-chain bot transactions which were known to exist in the mempool. When broadcasts are enabled, the client will act as a normal offchain bot. Executor fees from mempool transactions you batch will go directly to your wallet (assuming a Lithos block does not mine them first).

To run the application, unzip the file and then run the script in the /bin directory.

./lithos-client

This will automatically read from lithos.conf in your /bin folder.

To run with a custom configuration file add the argument -Dconfig.file=

./lithos-client "-Dconfig.file=path/to/custom/config/file.conf"

To build from source run:

sbt dist

This will create a new zip file in the /target/universal directory


Release Notes:

Batching

  • Added ErgoDexSource to match v1 swap, deposit, and redeem orders in both the mempool and via CandidateBundles
  • Added support for batcher profits to go to the block's rollup
  • Ensured block candidates only accept certain mempool orders to prevent abuse from malicious actors or batchers.

Mining

  • Modified mempool refreshes to also refresh block packages
  • Changed job handling to only send new jobs for the same height when refreshed candidates add some minimum amount of revenue
  • Added logging for byte size and validation cost budgets, enabled via config.
  • Changes in height will now only send a single new job that contains the genesis and any additional block transactions (old behavior still exposed via config options)

Wallet

  • Modified consolidation mempool requirements to be more loose in order to prevent unescapable mempool races on large wallets

Configuration

  • Added new batching config to control ErgoDex batching
  • Added new config options to stratum and candidate regarding logging and job sending behavior
  • Modified some config defaults to better server larger wallets