Bitcoin Forum
April 24, 2024, 05:19:06 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: (Experimental) pident — a pool-biased blockchain representation  (Read 5427 times)
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
July 29, 2011, 10:06:58 PM
Last edit: August 28, 2011, 12:40:24 PM by Artefact2
 #1

Hello there. This thread is about pident, a pool-aware, opensource Blockexplorer-like tool.

Main features

  • Pool-related functionality: browse blocks found by a certain pool, show the list of blocks with the pools that found them and see the pools' sizes relative to the whole network.

  • See detailed information about any address, transaction or block: just like you would with another Blockexplorer-like tool.

  • Full tonal compatibility: pident can operate in decimal or in tonal mode. You choose which one you preffer.


Other features

  • Factoids: not-so-useful interesting statistics about the blockchain, like the block with the biggest fees, biggest transaction, average size of a block, etc.
  • Opensource: pident is released under the Do What The Fuck You Want license. It's basically less legally ambiguous public domain. You can run your own pident instance locally, play with the code, … You're free to do anything you want, for any purpose!
  • Blockexplorer-compatible URIs: most of the URIs are compatible with Blockexplorer, so you can compare both tools by only changing the domain name.

Caveats

  • This tool is still experimental, it may break at any moment. Although I do most of my breakage on the testing version, it's better for you to be warned. Please don't use pident if you need a reliable service (for example, links in your pool statistics).
  • Performance may be poor: I am running this at home with my poor upload bandwidth. Please don't hammer the server with lots of automated requests. If you need to, I'd rather you run your own pident instance locally (and I may even help you do so).

Try it !


If you need support, or have comments, you can post on this thread or send me an email (artefact2@gmail.com). Thanks!

A pool-biased blockchain representation, by me: pident (WTFPL)
1713979146
Hero Member
*
Offline Offline

Posts: 1713979146

View Profile Personal Message (Offline)

Ignore
1713979146
Reply with quote  #2

1713979146
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713979146
Hero Member
*
Offline Offline

Posts: 1713979146

View Profile Personal Message (Offline)

Ignore
1713979146
Reply with quote  #2

1713979146
Report to moderator
1713979146
Hero Member
*
Offline Offline

Posts: 1713979146

View Profile Personal Message (Offline)

Ignore
1713979146
Reply with quote  #2

1713979146
Report to moderator
1713979146
Hero Member
*
Offline Offline

Posts: 1713979146

View Profile Personal Message (Offline)

Ignore
1713979146
Reply with quote  #2

1713979146
Report to moderator
1bitc0inplz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 29, 2011, 11:43:42 PM
 #2

Great job on pident!

We've already started linking to you instead of block explorer. The UI alone makes it worth it  Smiley

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
July 31, 2011, 12:39:35 AM
 #3

Full tonal compatibility: pident can operate in decimal or in tonal mode. You choose which one you preffer.
Hehe, tonal geekiness knows no borders, hm?

How exactly do you identify which blocks belong to which pools, where do I have to look in the code?

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
July 31, 2011, 11:25:10 AM
 #4

How exactly do you identify which blocks belong to which pools, where do I have to look in the code?

I try to use their API if they have some, or I just parse their statistics page. Some pools are trickier than others but it's not a big obstacle anyway (MtRed, BTCMP for example)…
The interesting code that does this is here: https://github.com/Artefact2/pident/blob/master/lib/inc.pools.php#L62

A pool-biased blockchain representation, by me: pident (WTFPL)
doldgigger
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
August 04, 2011, 12:38:54 PM
 #5

How exactly do you identify which blocks belong to which pools, where do I have to look in the code?

I try to use their API if they have some, or I just parse their statistics page. Some pools are trickier than others but it's not a big obstacle anyway (MtRed, BTCMP for example)…
The interesting code that does this is here: https://github.com/Artefact2/pident/blob/master/lib/inc.pools.php#L62
Great work! This looks very much like what I was looking for in this thread: https://bitcointalk.org/index.php?topic=28309.0 . Basically, my idea is that miners should be able to easily verify the transaction fee policies of the pools they mine for, so they can have their share of control over how this is handled in the bitcoin network.

Maybe it is possible to promote some kind of standard interface for pools to serve this data (consisting of a pident plugin and some PHP code for pool owners), so we an reduce the number of blocks where the pool remains unidentified.

19orEcoqXQ5bzKbzbAnbQrCkQC5ahSh4P9
Feel free to PM me for consulting and development services.
Graet
VIP
Legendary
*
Offline Offline

Activity: 980
Merit: 1001



View Profile WWW
August 05, 2011, 09:53:03 AM
 #6

I picked up the link in irc and have ben using it for a while it also inspired me to add some more stats to my pool Smiley
- awesome job Artefact2 Cheesy
Thanks,
Graet

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
August 10, 2011, 04:26:24 PM
 #7

Added BitMinter support. If I'm missing other pools, don't hesitate to nag me about it. (Or even better, add the support yourself and make a pull request!)

A pool-biased blockchain representation, by me: pident (WTFPL)
Reckman
Hero Member
*****
Offline Offline

Activity: 711
Merit: 500


View Profile
August 11, 2011, 07:40:52 PM
 #8

Wont pool hoppers use/abuse this sort of thing? 
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
August 11, 2011, 08:21:38 PM
 #9

Wont pool hoppers use/abuse this sort of thing? 

Maybe. That's not my problem.

A pool-biased blockchain representation, by me: pident (WTFPL)
Graet
VIP
Legendary
*
Offline Offline

Activity: 980
Merit: 1001



View Profile WWW
August 14, 2011, 12:46:44 AM
 #10

Wont pool hoppers use/abuse this sort of thing? 
in what way? they already use pools APIs to know when to hop.

| Ozcoin Pooled Mining Pty Ltd https://ozcoin.net Double Geometric Reward System https://lc.ozcoin.net for Litecoin mining DGM| https://crowncloud.net VPS and Dedicated Servers for the BTC community
miscreanity
Legendary
*
Offline Offline

Activity: 1316
Merit: 1005


View Profile
August 17, 2011, 08:06:11 PM
 #11

Added BitMinter support. If I'm missing other pools, don't hesitate to nag me about it. (Or even better, add the support yourself and make a pull request!)

If I had the time...

BitClockers?
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
August 17, 2011, 09:39:11 PM
 #12

Added BitMinter support. If I'm missing other pools, don't hesitate to nag me about it. (Or even better, add the support yourself and make a pull request!)

If I had the time...

BitClockers?

Yeah, unfortunately it's not as easy as it sounds. They don't put block hashes or block numbers, only a date. I tried to correlate the dates they give with the time headers of blocks, unsuccessfully. I tried every time zone, so I think they deliberately obfuscate their data. Until they do something about it, I can't really do much.

A pool-biased blockchain representation, by me: pident (WTFPL)
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
August 19, 2011, 08:01:28 PM
 #13

Do you think it would be difficult to add simplecoin.us?  It's not a pool which is trying to hide information and the site is being actively developed but I don't know the API situation.  It's been at 50 Gh/s recently so is big enough to be worth considering.

I offer 1 BTC for the addition of this pool.

The developers can be easily contacted here.
darnoth
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
August 19, 2011, 08:14:56 PM
 #14

I tried running this in the past, but whenever I run updateblocks it fails to import, repeatedly spewing out:

PHP Warning:  pg_fetch_row() expects parameter 1 to be resource, boolean given in /root/pident/lib/inc.update.php on line 34
PHP Warning:  pg_query(): Query failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block in /root/pident/lib/inc.update.php on line 100
000015/141657 processing... (00000000b3322c8c3ef7d2cf6da009a776e6a99ee65ec5a32f3f345712238473)PHP Warning:  pg_query(): Query failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block in /root/pident/lib/inc.update.php on line 33

Can you tell me what version of postgresql you are using?

Thanks.
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
August 20, 2011, 11:24:11 AM
 #15

I tried running this in the past, but whenever I run updateblocks it fails to import, repeatedly spewing out:

PHP Warning:  pg_fetch_row() expects parameter 1 to be resource, boolean given in /root/pident/lib/inc.update.php on line 34
PHP Warning:  pg_query(): Query failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block in /root/pident/lib/inc.update.php on line 100
000015/141657 processing... (00000000b3322c8c3ef7d2cf6da009a776e6a99ee65ec5a32f3f345712238473)PHP Warning:  pg_query(): Query failed: ERROR:  current transaction is aborted, commands ignored until end of transaction block in /root/pident/lib/inc.update.php on line 33

Can you tell me what version of postgresql you are using?

Thanks.

This was solved on IRC, but the problem was using PostgreSQL 8.x (needs version 9 at least).

A pool-biased blockchain representation, by me: pident (WTFPL)
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
August 20, 2011, 11:44:42 AM
 #16

Do you think it would be difficult to add simplecoin.us?  It's not a pool which is trying to hide information and the site is being actively developed but I don't know the API situation.  It's been at 50 Gh/s recently so is big enough to be worth considering.

I offer 1 BTC for the addition of this pool.

The developers can be easily contacted here.


Okay, done. Now I don't mind you donating 1 BTC for pident developement, but to be honest, I don't think a 5-line commit is worth this Tongue

A pool-biased blockchain representation, by me: pident (WTFPL)
teukon
Legendary
*
Offline Offline

Activity: 1246
Merit: 1002



View Profile
August 20, 2011, 01:00:26 PM
 #17

Do you think it would be difficult to add simplecoin.us?  It's not a pool which is trying to hide information and the site is being actively developed but I don't know the API situation.  It's been at 50 Gh/s recently so is big enough to be worth considering.

I offer 1 BTC for the addition of this pool.

The developers can be easily contacted here.


Okay, done. Now I don't mind you donating 1 BTC for pident developement, but to be honest, I don't think a 5-line commit is worth this Tongue

Damn! I didn't know it would be so easy.

Ah well, I'm a man of my word so 1 BTC for you.  Enjoy! Smiley
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
September 02, 2011, 01:27:39 PM
 #18

Okay, the recent changes are enough for a version bump (because why not?). There is now a cool SVG graph of pool sizes, pools are now correctly sorted by descending size. Added support for BTCServ and readded RFCPool (yes, they repoened!).

I'd like to add BitClockers, ABCPool and NinjaCoin to the list, but I can't… If you want them too, try to convince the operators to publish their blocks!

(Also, sorry for the downtime Monday & Tuesday, had a big power outage just when I left the house for 2 days…)

A pool-biased blockchain representation, by me: pident (WTFPL)
leveer
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
September 07, 2011, 10:59:55 PM
 #19

Only three confirmed block owners since block #144,352, and none since #144,364. Did something radical change in the last 8 hours?
mb300sd
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000

Drunk Posts


View Profile WWW
September 09, 2011, 12:02:53 AM
 #20

Completely down now???

1D7FJWRzeKa4SLmTznd3JpeNU13L1ErEco
Pages: [1] 2 »  All
  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!