Bitcoin Forum
May 27, 2024, 04:09:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: P2Pool, Scrypt mining, BIP101 and scrypt difficulty questions  (Read 407 times)
lavajumper (OP)
Hero Member
*****
Offline Offline

Activity: 873
Merit: 1035


Sexcoin Core Dev Team Member


View Profile
September 17, 2016, 08:57:38 PM
 #1

I've been setting up a p2pool instance (latest version from github repo) on litecoin test network and am finding some things that I'm trying to work through:


a)The stratum difficulty code that adjusts for scrypt difficulty differneces were removed
 -this is causing buckets of shares being rejected by p2pool as above the target, when they are not and are actually valid

b)There is code to make P2pool BIP101,CSV compliant which reports block version numbers differently
 -this submits blocks to the blockchain, which are accepted, with version numbers like "536870912"
 -I'm not sure what other effects its having.

My thought is to revert the code, my tests show that this fixes the issues caused by these changes, but I'm wondering if I'm not missing something.

Does anyone know if the blocks are valid version 4 blocks? Or are there changes that I can't find which would make them something different?

Is there some reason that the difficulty adjustment code was backed out?

Anyone know what's up with this? Or a reason I shouldn' t revert?

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com | Bitrated user: Lavajumper.
lavajumper (OP)
Hero Member
*****
Offline Offline

Activity: 873
Merit: 1035


Sexcoin Core Dev Team Member


View Profile
September 19, 2016, 05:44:17 PM
Last edit: September 20, 2016, 12:43:20 AM by lavajumper
 #2

This is probably old news to people, but if anyone is watching this thread:

https://github.com/p2pool/p2pool/issues/260
https://github.com/p2pool/p2pool/issues/202

https://github.com/luke-jr/bfgminer/issues/467

https://github.com/p2pool/p2pool/issues/241

My testing on stratum with different mining software shows that the stratum code that was backed out is still needed.

Still chasing down the rest.

SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com | Bitrated user: Lavajumper.
lavajumper (OP)
Hero Member
*****
Offline Offline

Activity: 873
Merit: 1035


Sexcoin Core Dev Team Member


View Profile
September 22, 2016, 11:20:31 PM
 #3

bumping this thread... Did I post on the wrong board?


SXC: S7NgcaY5qtjsBpNqdJsYbeTjacwuCUhC2Z | LTC: LVmkQd2T5nffVf1Bum9GzbNTaEQBXxURo9 | BTC: 17H4ut7WeaUkVkNh3UfvQArvsawabmrvg4 | http://sexcoinforum.com | Bitrated user: Lavajumper.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!