Bitcoin Forum
April 27, 2024, 05:47:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 [809] 810 811 812 813 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
ooncan
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
January 29, 2018, 06:58:58 PM
 #16161

hi Jtoomim,

we started to mine in your server since your advice to "kbirand". And also we are starting to test our local node based on jtoomimnet. We took several data from your site and your api codes but we can not find what is the last found block number from jtoomimnet.
"http://crypto.office-on-the.net:9334/recent_blocks" this code does not return it.
we need the learn probability distribution of your pool with this hash rates.
thanks for kindly support and your great job
regards,
Ozgur
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714196827
Hero Member
*
Offline Offline

Posts: 1714196827

View Profile Personal Message (Offline)

Ignore
1714196827
Reply with quote  #2

1714196827
Report to moderator
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
January 29, 2018, 10:10:07 PM
 #16162

recent_blocks will return any blocks found in the last 24 or 72 hours (depending on the software version -- I changed it recently). If no blocks have been found in the last 72 hours, then the most recent block is not recent, and it doesn't show up there. Since the expected time per block is currently around 20 days on jtoomimnet and 80 days on mainnet, recent_blocks will usually show nothing at all.

https://blockchain.info/address/1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4 is a list of all Bitcoin p2pool blocks found. This includes both jtoomimnet and mainnet.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
kbirand
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
January 29, 2018, 10:15:14 PM
 #16163

recent_blocks will return any blocks found in the last 24 or 72 hours (depending on the software version -- I changed it recently). If no blocks have been found in the last 72 hours, then the most recent block is not recent, and it doesn't show up there. Since the expected time per block is currently around 20 days on jtoomimnet and 80 days on mainnet, recent_blocks will usually show nothing at all.

https://blockchain.info/address/1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4 is a list of all Bitcoin p2pool blocks found. This includes both jtoomimnet and mainnet.

So there is no way to filter mainnet and jtoomimnet ..
https://www.blocktrail.com/BTC/pool/p2pool
So this link is also showing both  mainnet and jtoomimnet..

Ohh one other question... The last block was found on the 31st of December... So no blocks both for jtoomimnet and mainnet for the lat 30 days.
Then how does "since the expected time per block is currently around 20 days on jtoomimnet" that apply ?

Thanks,
Koray Birand
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
January 29, 2018, 11:29:14 PM
 #16164

There's no 100% reliable way to filter mainnet and jtoomimnet. The jtoomimnet blocks have different users and different payment addresses (e.g. the 1GuDN address) than mainnet, so you can do it manually if you'd like.
Ohh one other question... The last block was found on the 31st of December... So no blocks both for jtoomimnet and mainnet for the lat 30 days.
Then how does "since the expected time per block is currently around 20 days on jtoomimnet" that apply ?
It's probabilistic. Luck is involved. Sometimes it takes less than the expected value. Sometimes it takes more. It's the same as how Bitcoin has 10 minute blocks on average, but sometimes it takes an hour between blocks, and sometimes it's only 2 minutes.

https://www.khanacademy.org/math/statistics-probability/random-variables-stats-library/poisson-distribution/v/poisson-process-1

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
January 30, 2018, 04:27:25 PM
 #16165

The developers changed the address format to bech32 on BCH version 0.16.2 (https://download.bitcoinabc.org/0.16.2/win/).
jtoomim, will BCH p2pool be able to work with this address format?
If not, then please add the possibility of running p2pool with bech32 address format.

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
January 30, 2018, 10:25:43 PM
Last edit: January 30, 2018, 11:49:39 PM by jtoomim
 #16166

I don't have time to give p2pool the ability to parse the new address format right now. Old addresses still work. Internally, Bitcoin (Cash) software converts the address format into a public key, and the pubkey is what is encoded in the transactions. The pubkeys have not changed.

If you tell p2pool to mine to an old-style p2pkh address and are using a wallet that only supports CashAddr addresses, you can use https://cashaddr.bitcoincash.org/ to convert between them.

If someone is able to add CashAddr support in a pull request, I would be most appreciative.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Tornado_of_Coins
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
January 31, 2018, 02:16:16 PM
 #16167

Jt, your probably tired of sounding like a broken record but I have my S9's configured as such
stratum+tcp://ml.toom.im:9332
stratum+tcp://ml.toom.im:9334
stratum+tcp://ml.toom.im:9336
Is this correct, does it matter? Im still learning and there's no manual that explains the why of things.
Acejam
Full Member
***
Offline Offline

Activity: 124
Merit: 251


View Profile
January 31, 2018, 09:17:58 PM
 #16168

I have updated p2pool.io to use jtoomim's 1mb_segwit fork. p2pool.io:9332 is still based on Bitcoin core.

I have also deployed ltc.p2pool.io:9327 for Litecoin mining using the same fork and have plans to add several more coins very soon.
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
February 01, 2018, 03:27:15 AM
 #16169

Jt, your probably tired of sounding like a broken record but I have my S9's configured as such
You should not use my nodes (ml.toom.im:933x) for all three pools. If my internet connection goes down and you're only using my nodes, then your machines will stop mining.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
February 01, 2018, 03:30:14 AM
 #16170

Someone put about 3.5 PH/s onto the BCH p2pool around 30 hours ago. Current hashrate for BCH is around 4.4 PH/s, with an expected time to block of 3.7 days.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Tornado_of_Coins
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
February 01, 2018, 02:37:37 PM
 #16171

I have updated p2pool.io to use jtoomim's 1mb_segwit fork. p2pool.io:9332 is still based on Bitcoin core.

I have also deployed ltc.p2pool.io:9327 for Litecoin mining using the same fork and have plans to add several more coins very soon.
Thanks for heads up
Tornado_of_Coins
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile WWW
February 01, 2018, 02:38:49 PM
 #16172

Jt, your probably tired of sounding like a broken record but I have my S9's configured as such
You should not use my nodes (ml.toom.im:933x) for all three pools. If my internet connection goes down and you're only using my nodes, then your machines will stop mining.
Ok, I see. I thought that the each pool was using a set of chips 189/3 for mining for some reason.
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
February 01, 2018, 07:11:13 PM
Last edit: February 01, 2018, 07:51:25 PM by sawa
 #16173

jtoomim, I forked and uploaded branch 1mb_segwit of your p2pool on https://github.com/ilsawa/p2pool-jtoomim
This works with the latest versions of the wallets.
I added autodiff & DUMB_SCRYPT_DIFF pathes.
Those who wish can use the pruned blockchain (configuration examples for demons with a pruned blockchain in README.md)

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
February 01, 2018, 09:43:19 PM
Last edit: February 02, 2018, 03:38:08 AM by jtoomim
 #16174

Those who wish can use the pruned blockchain (configuration examples for demons with a pruned blockchain in README.md)
The check_block_header function (which uses the getblockheader RPC method) is already compatible with pruned blockchains. It's only the getblock RPC that fails on pruned blockchains. The commit you made to change the initialization routine will allow people to use the wrong daemon at startup (e.g. Bitcoin ABC on the regular BTC network) and is dangerous.

For reference, I added support for pruned mode in this commit, with the fork protection and some renaming done here.

You don't need to change the RPC port in both e.g. ~/.litecoin/litecoin.conf and int p2pool/bitcoin/networks/litecoin.py. Changing it in the latter is probably a bad idea, actually. P2pool already checks litecoin.conf for non-default settings, and if any are present (e.g. RPC password or port changes) p2pool will use the litecoin.conf settings instead of the litecoin.py settings. It's only if the user has not changed the default port that p2pool will use the litecoin.py settings. If that's the case, then litecoin.py should point p2pool to the actual default litecoin ports, which are 9333/9332 not 10333/10332. The same applies for Bitcoin Cash.

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
February 02, 2018, 05:06:30 AM
 #16175

Those who wish can use the pruned blockchain (configuration examples for demons with a pruned blockchain in README.md)
The check_block_header function (which uses the getblockheader RPC method) is already compatible with pruned blockchains. It's only the getblock RPC that fails on pruned blockchains. The commit you made to change the initialization routine will allow people to use the wrong daemon at startup (e.g. Bitcoin ABC on the regular BTC network) and is dangerous.

For reference, I added support for pruned mode in this commit, with the fork protection and some renaming done here.

Thank you, I agree. Your method is good.
I'll return it.

nreal
Full Member
***
Offline Offline

Activity: 932
Merit: 100


arcs-chain.com


View Profile
February 02, 2018, 06:06:31 AM
 #16176

Where is documentation for downloading and configuring jtoomin p2pool node?

► ARCS ◄ ♦ ARCS - The New World Token (*Listed on KuCoin) ♦ ► ARCS ◄
───●●───●●───●●───●●───●●─[   Bounty Detective   ]─●●───●●───●●───●●───●●───
Website|Twitter|Medium|Telegram|Whitepaper
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
February 03, 2018, 04:18:11 PM
Last edit: February 03, 2018, 04:28:52 PM by sawa
 #16177

Those who wish can use the pruned blockchain (configuration examples for demons with a pruned blockchain in README.md)
The check_block_header function (which uses the getblockheader RPC method) is already compatible with pruned blockchains. It's only the getblock RPC that fails on pruned blockchains. The commit you made to change the initialization routine will allow people to use the wrong daemon at startup (e.g. Bitcoin ABC on the regular BTC network) and is dangerous.

For reference, I added support for pruned mode in this commit, with the fork protection and some renaming done here.

I did a more thorough rpc check https://github.com/ilsawa/p2pool-jtoomim/commit/e7d0a252c2401dabc63f29adfd4dbaf9a2f0efc0

You have it will not work with new wallets https://github.com/jtoomim/p2pool/blob/1mb_segwit/p2pool/bitcoin/networks/bitcoin.py#L18
Code:
not (yield bitcoind.rpc_getinfo ()) ['testnet']

I'm interested to hear what you think about this commit: https://github.com/ilsawa/p2pool-jtoomim/commit/342a7bbb9e3a13a2583722811751c5819c033fb3

And please add this commit to your repository:
https://github.com/ilsawa/p2pool-jtoomim/commit/e43f9e295d1c398b056db40bb1cf5736cab44fcd

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
February 04, 2018, 12:26:13 AM
 #16178

1st block mined on BCH!

https://www.blocktrail.com/BCC/block/00000000000000000242abe408a650a10eaf356f4547bb3e91a3e7033d57b6d2

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
sawa
Legendary
*
Offline Offline

Activity: 1308
Merit: 1011



View Profile
February 04, 2018, 12:40:04 AM
 #16179


Thank you for your work.

jtoomim
Hero Member
*****
Offline Offline

Activity: 818
Merit: 1006


View Profile WWW
February 04, 2018, 01:19:49 AM
Last edit: February 10, 2018, 05:57:47 AM by jtoomim
 #16180

Hmm, it looks like the coinbase transaction in that BCH p2pool block is causing Electron-cash to crash. Block explorers seem to be fine with it, though. Is anyone else having issues with it? If so, what wallet are you using? Are you able to access that transaction fine? If so, what wallet are you using?

Edit: This has been tracked down to a bug in Electron-cash which, apparently, has been fixed.
https://github.com/fyookball/electrum/issues/542

Hosting bitcoin miners for $65 to $80/kW/month on clean, cheap hydro power.
http://Toom.im
Pages: « 1 ... 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 [809] 810 811 812 813 814 »
  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!