Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2Pool is not compatible with latest Bitcoin core version? #57

Open
xtc18 opened this issue Mar 17, 2022 · 2 comments
Open

P2Pool is not compatible with latest Bitcoin core version? #57

xtc18 opened this issue Mar 17, 2022 · 2 comments

Comments

@xtc18
Copy link

xtc18 commented Mar 17, 2022

Getting error below, any plans to make this compatible?

2022-03-16 21:19:05.848096 P2Pool: 21248 shares in chain (13930 verified/21252 total) Peers: 7 (1 incoming)
2022-03-16 21:19:05.848204 Local: 0H/s in last 0.0 seconds Local dead on arrival: ??? Expected time to share: ???
2022-03-16 21:19:05.848236 Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: (0.0000)=0.0000 BTC
2022-03-16 21:19:05.848279 Pool: 408TH/s Stale rate: 1.6% Expected time to block: 9.2 years
2022-03-16 21:19:07.510267 Received good share: diff=2.79e+06 hash=000000000000025ec8711c5c89ba085accdd10e2ffd9eb3ff7cb45fd7eaa01ad miner=1HCfZtXnrds7drCe7PysTEHC67xtunfKjd
2022-03-16 21:19:10.393860 Unknown softforks found: set([u'taproot'])
2022-03-16 21:19:10.393983 Required softforks: [u'csv', u'!segwit', u'taproot'] Known: set(['bip65', 'csv', 'segwit'])
Unhandled Error
Traceback (most recent call last):
File "/home/rob/btcpool/p2pool/main.py", line 722, in run
reactor.run()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1243, in run
self.mainLoop()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1252, in mainLoop
self.runUntilCurrent()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 878, in runUntilCurrent
call.func(*call.args, **call.kw)
--- ---
File "/home/rob/btcpool/p2pool/bitcoin/stratum.py", line 75, in _send_work
x, got_response = self.wb.get_work(*self.wb.preprocess_request('' if self.username is None else self.username))
File "/home/rob/btcpool/p2pool/bitcoin/worker_interface.py", line 132, in get_work
desired_pseudoshare_target, worker_ip, *args)
File "/home/rob/btcpool/p2pool/work.py", line 278, in get_work
raise jsonrpc.Error_for_code(-12345)(u'unknown rule activated')
p2pool.util.jsonrpc.NarrowError: -12345 unknown rule activated

@jtoomim
Copy link
Owner

jtoomim commented May 12, 2022

@Anandraj-Singh

@jtoomim
Copy link
Owner

jtoomim commented May 12, 2022

Try adding 'taproot' in line 33 of p2pool/networks/bitcoin.py and line 20 of bitcoin_testnet.py.

https://github.com/jtoomim/p2pool/blob/master/p2pool/networks/bitcoin.py#L33

https://github.com/jtoomim/p2pool/blob/master/p2pool/networks/bitcoin_testnet.py#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants