Skip to content

v0.4.7

Compare
Choose a tag to compare
@3Hren 3Hren released this 03 Aug 13:21
· 489 commits to master since this release
cef9831

Added

  • Connor, the auto-buy mining bot (#1227).
    This introduces Connor, the bot which buying resources for mining. The current implementation can:

    • Places BID orders according to config.
    • Restores orders, deals, and tasks between restarts.
    • Loads actual price of the target token, create orders according to price and marginality coefficient.
    • Tracks token price changes using CoinMarketCap, re-create orders if the price changed sufficiently.
    • Looks for actual hashrate by logs and mining pool statistics.
    • Closes deals which give us less hash-rate than offered.

    Note that current implementation is strongly coupled with the Ethereum mining on the DwarfPool. Next, we'll make it more modular and configurable for other popular tokens and pools.

  • Enable pprof in Optimus (#1255).

Changed

  • Fast benchmark mapping in Optimus (#1256).
    Added smart benchmark mapping algorithm, which indexes benchmarks in a flat map backed with array. This increases performance of genetic algorithm in 2-3 times.
  • Use proper combinations limits in Optimus (#1261).
    It doesn't make sense to building combinations of GPUs with k more than n, which is the length of currently free GPUs.
  • Avoid extra copying in Optimus (#1262).

Fixed

  • Avoid global logger in puncher (#1252).
    After this fix no strangely formatted logging messages should appear.
  • Nil pointer dereferencing in Optimus (#1257).
  • Find leaf node in Optimus even with no price (#1260).
  • Use context without timeout for stream methods (#1263)