Bitcoin Forum
May 03, 2024, 10:28:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 [563] 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591631 times)
chinesebob
Newbie
*
Offline Offline

Activity: 64
Merit: 0


View Profile
December 09, 2014, 09:36:20 PM
 #11241


How can I query bitcoind to see what it's current setting for blockmaxsize is? Anyone know the current default?

Is there an api call for getwork_latency in my p2pool node, or some other way of getting that information through a shell?

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list  Wink

That's a nice list but, I don't see anything about blockmaxsize or getwork_latency, do you know which call I should look at?

Code:
#Block creation options
blockminsize=0          #(Sizes are in bytes) default: 0
blockmaxsize=500000     #default: 750000
blockprioritysize=196000        # high-priority/low-fee transactions d: 50000

Never underestimate the power of the search function...... Wink

I have searched, the term "blockmaxsize" or getwork_latency doesn't exist in the bitcoin api calls list.  I want to run bitcoind without the setting configured and query it to verify what it sets it to, my stock config doesn't list any defaults.  I've worked with enough developers to know that the config comment and the documentation does not always reflect reality.  I guess I could look at the source but, it seems like there should be a way to query it.  I know theres a way to query getwork_latency since the default p2pool graphs page does it.  Guess I'll have to do some manual labor to dig that out if I want it.



1714775305
Hero Member
*
Offline Offline

Posts: 1714775305

View Profile Personal Message (Offline)

Ignore
1714775305
Reply with quote  #2

1714775305
Report to moderator
In order to get the maximum amount of activity points possible, you just need to post once per day on average. Skipping days is OK as long as you maintain the average.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714775305
Hero Member
*
Offline Offline

Posts: 1714775305

View Profile Personal Message (Offline)

Ignore
1714775305
Reply with quote  #2

1714775305
Report to moderator
1714775305
Hero Member
*
Offline Offline

Posts: 1714775305

View Profile Personal Message (Offline)

Ignore
1714775305
Reply with quote  #2

1714775305
Report to moderator
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 09, 2014, 09:57:35 PM
 #11242


How can I query bitcoind to see what it's current setting for blockmaxsize is? Anyone know the current default?

Is there an api call for getwork_latency in my p2pool node, or some other way of getting that information through a shell?

https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list  Wink

That's a nice list but, I don't see anything about blockmaxsize or getwork_latency, do you know which call I should look at?
You can set the blockmaxsize on the command line when you startup your bitcoind.  I'm not sure if there's a way to query it via an API call.  If you want to see a pool's block template latency, you can do it like this:

http://some.p2pool.address:port/web/graph_data/getwork_latency/last_hour

That gives you a nice big JSON formatted object with a whole bunch of fun things:
Code:
[[1418161683.704587, null, 7.409173965454102, null], [1418161668.0, 0.385913610458374, 24.0, null], [1418161644.0, 0.37669897079467773, 24.0, null], [1418161620.0, 0.37825655937194824, 24.0, null], [1418161596.0, 0.3696300983428955, 24.0, null], [1418161572.0, 0.3694554567337036, 24.0, null], [1418161548.0, 0.35015082359313965, 24.0, null], [1418161524.0, 0.3665280342102051, 24.0, null], [1418161500.0, 0.3501625061035156, 24.0, null], [1418161476.0, 0.32917094230651855, 24.0, null], [1418161452.0, 0.35518157482147217, 24.0, null], [1418161428.0, 0.43006300926208496, 24.0, null], [1418161404.0, 0.3580664396286011, 24.0, null], [1418161380.0, 1.1424369812011719, 24.0, null], [1418161356.0, 0.3221108913421631, 24.0, null], [1418161332.0, 0.33339619636535645, 24.0, null], [1418161308.0, 0.3962603807449341, 24.0, null], [1418161284.0, 0.32107090950012207, 24.0, null], [1418161260.0, 0.3046015501022339, 24.0, null], [1418161236.0, 0.3066689968109131, 24.0, null], [1418161212.0, 0.2918550968170166, 24.0, null], [1418161188.0, 
...
The number you want is the second one in each bracketed set... so in this set:
Code:
[1418161548.0, 0.35015082359313965, 24.0, null]
you want 0.35015082359313965.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
December 09, 2014, 09:58:57 PM
 #11243

Good man JB!  Smiley

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
chinesebob
Newbie
*
Offline Offline

Activity: 64
Merit: 0


View Profile
December 09, 2014, 10:18:02 PM
 #11244


You can set the blockmaxsize on the command line when you startup your bitcoind.  I'm not sure if there's a way to query it via an API call.  If you want to see a pool's block template latency, you can do it like this:

http://some.p2pool.address:port/web/graph_data/getwork_latency/last_hour

That gives you a nice big JSON formatted object with a whole bunch of fun things:
Code:
[[1418161683.704587, null, 7.409173965454102, null], [1418161668.0, 0.385913610458374, 24.0, null], [1418161644.0, 0.37669897079467773, 24.0, null], [1418161620.0, 0.37825655937194824, 24.0, null], [1418161596.0, 0.3696300983428955, 24.0, null], [1418161572.0, 0.3694554567337036, 24.0, null], [1418161548.0, 0.35015082359313965, 24.0, null], [1418161524.0, 0.3665280342102051, 24.0, null], [1418161500.0, 0.3501625061035156, 24.0, null], [1418161476.0, 0.32917094230651855, 24.0, null], [1418161452.0, 0.35518157482147217, 24.0, null], [1418161428.0, 0.43006300926208496, 24.0, null], [1418161404.0, 0.3580664396286011, 24.0, null], [1418161380.0, 1.1424369812011719, 24.0, null], [1418161356.0, 0.3221108913421631, 24.0, null], [1418161332.0, 0.33339619636535645, 24.0, null], [1418161308.0, 0.3962603807449341, 24.0, null], [1418161284.0, 0.32107090950012207, 24.0, null], [1418161260.0, 0.3046015501022339, 24.0, null], [1418161236.0, 0.3066689968109131, 24.0, null], [1418161212.0, 0.2918550968170166, 24.0, null], [1418161188.0, 
...
The number you want is the second one in each bracketed set... so in this set:
Code:
[1418161548.0, 0.35015082359313965, 24.0, null]
you want 0.35015082359313965.

Perfect, thanks!
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 10, 2014, 02:59:02 AM
 #11245

I have my node running much better,  Efficiency is now 98% but my get-work latency still really sucks,  but i did read some where that it is fine

My maxblock size is 450000 and max connection are set to 20 and i have both in and out connections with 9 peers attached.

So i am not changing a thing for now.


jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 10, 2014, 04:27:55 AM
 #11246

The block solving hamsters are slacking off again... someone go out back and rattle their cages.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 10, 2014, 06:33:47 AM
 #11247

I have my node running much better,  Efficiency is now 98% but my get-work latency still really sucks,  but i did read some where that it is fine

My maxblock size is 450000 and max connection are set to 20 and i have both in and out connections with 9 peers attached.

So i am not changing a thing for now.



what hardware, which os and which version of bitcoin core are You using there?
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 10, 2014, 07:10:02 AM
 #11248

Is it able to change any settings of p2pool via api or other way instead of restarting the main service with each little change doing ctrl+c?
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 10, 2014, 07:18:00 AM
 #11249

Bitcoind is on 9.3
the node is running on Windows 7 64bit with 2 ea xeon quad core processors and 16 gigs ram.  I got a screaming deal on these dual processor xeon quad core boxes.
I installed a SSD drive to get this to run as fast as possible.

idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 10, 2014, 12:43:11 PM
 #11250

Bitcoind is on 9.3
the node is running on Windows 7 64bit with 2 ea xeon quad core processors and 16 gigs ram.  I got a screaming deal on these dual processor xeon quad core boxes.
I installed a SSD drive to get this to run as fast as possible.

and network part?
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
December 10, 2014, 01:34:14 PM
 #11251

Is it able to change any settings of p2pool via api or other way instead of restarting the main service with each little change doing ctrl+c?
P2pool not have any API, what you want to change?
You can change code, start node again and then kill old instance if you not want to wait.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 10, 2014, 03:15:37 PM
 #11252

It is connected to a 1Gig E port on the office switch connected to a sonicwall firewall then a 100 Meg fiber connection, so i am kind of lost thats for sure.  I am going to have to fine the ip and determine the latency to them.  The latency to bitchain.info is only 7ms  but i do know that has no baring on this issue,


jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 10, 2014, 03:37:36 PM
 #11253

It is connected to a 1Gig E port on the office switch connected to a sonicwall firewall then a 100 Meg fiber connection, so i am kind of lost thats for sure.  I am going to have to fine the ip and determine the latency to them.  The latency to bitchain.info is only 7ms  but i do know that has no baring on this issue,


Get rid of that Windows 7 crap and install a good Linux distribution Smiley.  Problem solved.

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 10, 2014, 07:30:41 PM
 #11254

I am in the process of setting ip a Debian 7 now.

norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
December 10, 2014, 08:19:08 PM
 #11255

It is connected to a 1Gig E port on the office switch connected to a sonicwall firewall then a 100 Meg fiber connection, so i am kind of lost thats for sure.  I am going to have to fine the ip and determine the latency to them.  The latency to bitchain.info is only 7ms  but i do know that has no baring on this issue,


Get rid of that Windows 7 crap and install a good Linux distribution Smiley.  Problem solved.
There's nothing wrong with running it on windows. I run mine on windows and it runs well.

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
jcumins
Full Member
***
Offline Offline

Activity: 312
Merit: 100


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
December 10, 2014, 08:21:55 PM
 #11256

windows seems to do fine, but my getwork latency stats are terrible 3.5 sec average  and it should be less then .1

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
December 10, 2014, 08:50:59 PM
 #11257

It is connected to a 1Gig E port on the office switch connected to a sonicwall firewall then a 100 Meg fiber connection, so i am kind of lost thats for sure.  I am going to have to fine the ip and determine the latency to them.  The latency to bitchain.info is only 7ms  but i do know that has no baring on this issue,


Get rid of that Windows 7 crap and install a good Linux distribution Smiley.  Problem solved.
There's nothing wrong with running it on windows. I run mine on windows and it runs well.
lol... I was wondering how long it would take for someone to come on and defend Windows... man Norgz, I was just screwing around... Grin

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
norgan
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250

Decentralize your hashing - p2pool - Norgz Pool


View Profile WWW
December 11, 2014, 06:00:55 AM
 #11258

It is connected to a 1Gig E port on the office switch connected to a sonicwall firewall then a 100 Meg fiber connection, so i am kind of lost thats for sure.  I am going to have to fine the ip and determine the latency to them.  The latency to bitchain.info is only 7ms  but i do know that has no baring on this issue,


Get rid of that Windows 7 crap and install a good Linux distribution Smiley.  Problem solved.
There's nothing wrong with running it on windows. I run mine on windows and it runs well.
lol... I was wondering how long it would take for someone to come on and defend Windows... man Norgz, I was just screwing around... Grin

got me hook line and sinker Tongue

Miner, tech geek, operator of NorgzPool - Sydney Australia P2Pool Node creator of p2pool fancy front end

Tips: 1NorganBbymShTN2MMpfGzRYJF8mcPeXjv Exchange BTC locally in Australia or Donate to p2pool miners
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 11, 2014, 03:08:41 PM
 #11259

windows seems to do fine, but my getwork latency stats are terrible 3.5 sec average  and it should be less then .1

Probably You would solve Your problem with installing another version of bitcoind, if there is not problem with hw part there will be problem with daemon.
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
December 11, 2014, 03:46:38 PM
 #11260

Is it able to change any settings of p2pool via api or other way instead of restarting the main service with each little change doing ctrl+c?
P2pool not have any API, what you want to change?
You can change code, start node again and then kill old instance if you not want to wait.

It is possible to run two instances (the same net) simultaneously?
Pages: « 1 ... 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 [563] 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 ... 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!