• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer

iKomodo P2P

Peer to Peer News

AtomicDEX Orderbook Tutorial
  • 1st Web Story
  • News Relay
  • Applications
  • Podcasts
  • Videos
  • About Us

First Public Equihash Yiimp Mining Pool Implementation

January 27, 2020 by iKomodo Mylo

Not only has Decker from the Komodo team added equihash as a mining algorithm for the Yiimp mining pool software, he fixed a bug about coin switching preferences. Where a user had opted for mining 3 coins – the specific order ignored any custom requests made after mining had started. Decker’s version fixes this. For example, if a miner wanted to mine KMD, RICK & MORTY and wanted to switch to mining RICK, Decker’s version of Yiimp will honour this request. The original Yiimp code will ignore the request and send KMD jobs to process.

#equihash #mining pool with #coin switching has been made available by @KomodoPlatform #blockchain developers Click To Tweet

To quote the man: Also, it contains few fixes for coin change (mean `-c=COIN` in password field) that original Yiimp stratum implementation haven’t. Mean, original Yiimp stratum code with big probability gives miner other work, than expected. For example pool have 3 coins on algo equihash, like KMD, RICK, MORTY … user wants to mine MORTY and put `-c=MORTY` in password field. But with 99% probablity pool will give him work from the first coin on that algo, so, user want to mine MORTY, but instead of that receives KMD jobs. This behaviour is fixed in my version.

The work took approximately 60 hours in marathon 20 hour sessions. The hardest part was understanding other people’s code. Hardest part was to understand code written by others (mean in Yiimp Stratum and in ccminer), sometimes it was 100% not clear. All of these LE to BE conversions … partially from ASCII strings, partially from binary representation … but anyway, seems I did it.

equihash mining pool source code

The source code is available from Decker’s yiimp github repo. Another community developer and contributor is phm87, who discussed some of the changes Decker made. Phm87 has his own patches to the yiimp codebase.

The two mining pool experts discussed the changes further with Decker giving us this info:

My implementation have two non-documented options, see the line: https://github.com/DeckerSU/yiimp-stratum-equihash/blob/f9e5c48d8e018f4873683883224bfaffad8f50d8/client_submit.cpp#L218

1. With `templ->nbits` stratum will send block to daemon when `share_hash <= net_target` , where net target is calculated from `nbits` received in `getblocktemplate`. 

2. With `templ->nbits_from_target` stratum will send block to daemon when `share_hash <= net_target` also, but `net_target` here will be exactly match `target` from `getblocktemplate` .

Filed Under: Community Blockchain Development Tagged With: mining

Primary Sidebar

  • GitHub
  • Pinterest
  • Twitter

Atomic Swaps For Dummies

The atomic swap infographic explains how the network negotiates the exchange between two users directly P2P!

atomic swaps for dummies - ikomodo infographic

More to See

electrum server load summary

Electrum Server Load During AtomicDEX Stress Test

December 15, 2020 By iKomodo Mylo

Blockchain Dev Kit v1, Electrumx & DEX in 1 hour

August 6, 2020 By iKomodo Mylo

Portable WASM Smart Contracts

June 10, 2020 By iKomodo Mylo

AtomicDEX Orderbook Tutorial – Part 2

May 1, 2020 By iKomodo Mylo

Verus Crypto Mining & Staking Wallet With Blockchain ID – Part 1

April 14, 2020 By Ahmed Shah

Convert Private Key To Bitcoin Private Key

April 21, 2020 By iKomodo Mylo

AtomicDEX Orderbook Tutorial – Part 1

April 30, 2020 By iKomodo Mylo

About atomicDEX orderbook

April 13, 2020 By iKomodo Mylo

Vote Mylo Notary Node Election 2020

Notary Node Election 2020

April 10, 2020 By iKomodo Mylo

TORUS OAuth dApp Authentication

January 6, 2020 By Ahmed Shah

Easily view your crypto wallet with Opera Touch menu

Kyber Swap Review with Opera Touch Crypto Wallet

December 19, 2019 By iKomodo Mylo

Tags

atomic swap Binance browser cdp CEX collaboration collateralized collectibles community composer demo dex dexp2p docker dpow efficiency ethereum gaming gas fees interview iPad listing marketmaker MetaMask mining nft opera touch polkadot presentation price data Proxy Token redfox smartchain stablecoin streaming support synthetic team member trading trading fees tutorial wallet waves webapp whitelabel

Developer API Examples

Atomic Swap API released by Komodo

August 13, 2019 By iKomodo Mylo

Using Insomnia to Get API Data

June 4, 2019 By Ahmed Shah

How To Get Historical Price Data from CoinLayer

June 4, 2019 By Ahmed Shah

How to Get Price Data from Binance

May 27, 2019 By Ahmed Shah

How to use HitBTC public api – example price, pair & volume

May 18, 2019 By Ahmed Shah

How to Get Price Data from BITTREX

May 3, 2019 By Ahmed Shah

How to get Price Index API from Bitcoin Average

April 23, 2019 By Ahmed Shah

Footer

About iKomodo P2P News

A news site for updates in the Komodo Platform P2P ecosystem. This is a Coin Gateways Blockchain Lab blog.

Recent

  • Electrum Server Load During AtomicDEX Stress Test
  • Blockchain Dev Kit v1, Electrumx & DEX in 1 hour
  • Portable WASM Smart Contracts
  • AtomicDEX Orderbook Tutorial – Part 2
  • AtomicDEX Orderbook Tutorial – Part 1

Search

Tags

atomic swap Binance browser cdp CEX collaboration collateralized collectibles community composer demo dex dexp2p docker dpow efficiency ethereum gaming gas fees interview iPad listing marketmaker MetaMask mining nft opera touch polkadot presentation price data Proxy Token redfox smartchain stablecoin streaming support synthetic team member trading trading fees tutorial wallet waves webapp whitelabel

Copyright © 2021 · Magazine Pro on Genesis Framework · WordPress · Log in