terrytibbs
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 08:05:55 PM |
|
Rasengan (who, on behalf of Private Internet Access, generously provides this BBE server for free)
Advertisers are also very generous, they donate millions of dollars to the cable companies. Oh, I forgot to mention they got an ad in exchange. Still "free", right?
|
|
|
|
Revalin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 08:13:31 PM |
|
Time to come up some ideas for a decentralized block data tool?
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it.
|
War is God's way of teaching Americans geography. --Ambrose Bierce Bitcoin is the Devil's way of teaching geeks economics. --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 09:48:35 PM |
|
Advertisers are also very generous, they donate millions of dollars to the cable companies. Oh, I forgot to mention they got an ad in exchange. Still "free", right?
I doubt the ad even comes close to allowing them to recoup the cost of running the server.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
Wandering Albatross
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 70
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 10:07:10 PM |
|
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it.
bitcoin has lots of commands that can be issued to a running bitcoin instance: backupwallet <destination> getaccount <bitcoinaddress> getaccountaddress <account> getaddressesbyaccount <account> getbalance [account] [minconf=1] getblockcount getconnectioncount getdifficulty getgenerate gethashespersec getinfo getmemorypool [data] getnewaddress [account] getreceivedbyaccount <account> [minconf=1] getreceivedbyaddress <bitcoinaddress> [minconf=1] gettransaction <txid> getwork [data] help [command] keypoolrefill listaccounts [minconf=1] listreceivedbyaccount [minconf=1] [includeempty=false] listreceivedbyaddress [minconf=1] [includeempty=false] listsinceblock [blockid] [target-confirmations] listtransactions [account] [count=10] [from=0] move <fromaccount> <toaccount> <amount> [minconf=1] [comment] sendfrom <fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to] sendmany <fromaccount> {address:amount,...} [minconf=1] [comment] sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to] setaccount <bitcoinaddress> <account> setgenerate <generate> [genproclimit] settxfee <amount> signmessage <bitcoinaddress> <message> stop validateaddress <bitcoinaddress> verifymessage <bitcoinaddress> <signature> <message> walletlock walletpassphrase <passphrase> <timeout> walletpassphrasechange <oldpassphrase> <newpassphrase>
What other info do pools need access to?
|
BTC: 1JgPAC8RVeh7RXqzmeL8xt3fvYahRXL3fP
|
|
|
|
payb.tc
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 10:38:18 PM |
|
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it.
bitcoin has lots of commands that can be issued to a running bitcoin instance: backupwallet <destination> getaccount <bitcoinaddress> getaccountaddress <account> getaddressesbyaccount <account> getbalance [account] [minconf=1] getblockcount getconnectioncount getdifficulty getgenerate gethashespersec getinfo getmemorypool [data] getnewaddress [account] getreceivedbyaccount <account> [minconf=1] getreceivedbyaddress <bitcoinaddress> [minconf=1] gettransaction <txid> getwork [data] help [command] keypoolrefill listaccounts [minconf=1] listreceivedbyaccount [minconf=1] [includeempty=false] listreceivedbyaddress [minconf=1] [includeempty=false] listsinceblock [blockid] [target-confirmations] listtransactions [account] [count=10] [from=0] move <fromaccount> <toaccount> <amount> [minconf=1] [comment] sendfrom <fromaccount> <tobitcoinaddress> <amount> [minconf=1] [comment] [comment-to] sendmany <fromaccount> {address:amount,...} [minconf=1] [comment] sendtoaddress <bitcoinaddress> <amount> [comment] [comment-to] setaccount <bitcoinaddress> <account> setgenerate <generate> [genproclimit] settxfee <amount> signmessage <bitcoinaddress> <message> stop validateaddress <bitcoinaddress> verifymessage <bitcoinaddress> <signature> <message> walletlock walletpassphrase <passphrase> <timeout> walletpassphrasechange <oldpassphrase> <newpassphrase>
What other info do pools need access to? how is the next difficulty estimated/calculated?
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 17, 2012, 11:27:28 PM |
|
My bitcoind is downloading the chain. You can see the progress at /q/getblockcount.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
kjlimo
Legendary
Offline
Activity: 2114
Merit: 1031
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 18, 2012, 03:00:28 PM |
|
Looks like blockexplorer is down again?
I like the idea of the gui for reading the blockchain.
That sounds awesome, but unfortunately, we'd have to rely on donations to fund the project. I'm no programmer, but if the price is right, I could try to get my buddy to start developing for bitcoins.
Unless of course, someone else is already working on it or willing to do it.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 12:12:56 AM |
|
OK, I think I was finally able to improve BBE's efficiency enough to make it work well despite the increased traffic. Most interestingly, I now have Bitcoin's block database stored entirely in memory.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
Cryptoman
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 04:09:39 PM |
|
Blockexplorer is still down for me. Does anyone know where I can find the exact time of the latest difficulty change?
|
"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
|
|
|
deepceleron
Legendary
Offline
Activity: 1512
Merit: 1036
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 04:25:51 PM |
|
Blockexplorer is still down for me. Does anyone know where I can find the exact time of the latest difficulty change?
The difficulty is updated every 2016 blocks, here are the most recent blocks where the difficulty changed/will change 163296 - 2012-01-22 03:55:08 - 1,307,728.36 165312 - 2012-02-04 10:28:28 - 1,379,647.44 167328 - 2012-02-18 11:24:53 - 1,376,302.27 169344 171360 173376 I just put the block number into this URL for info: http://blockchain.info/block-height/167532
|
|
|
|
Cryptoman
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 05:14:10 PM |
|
The difficulty is updated every 2016 blocks, here are the most recent blocks where the difficulty changed/will change 163296 - 2012-01-22 03:55:08 - 1,307,728.36 165312 - 2012-02-04 10:28:28 - 1,379,647.44 167328 - 2012-02-18 11:24:53 - 1,376,302.27 169344 171360 173376 I just put the block number into this URL for info: http://blockchain.info/block-height/167532Great, thanks!
|
"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 10:01:58 PM |
|
Time to come up some ideas for a decentralized block data tool?
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it. I would donate to that cause. For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy? Someone make a bounty thread? Ente
|
|
|
|
John Tobey
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 19, 2012, 10:12:57 PM |
|
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it.
I would donate to that cause. For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy? Someone make a bounty thread? Tried Abe? https://bitcointalk.org/index.php?topic=22785.0
|
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 10:04:27 AM |
|
theymos, any update? BE is still overloaded ("Database connection timeout (likely due to overload). Try again later."). Is that regular traffic or it is some kind of attack? I don't believe that traffic increased so suddenly in last few days...
|
|
|
|
Ente
Legendary
Offline
Activity: 2126
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 10:31:32 AM |
|
Everyone already has a copy of the blockchain. All we need is a GUI or CGI to read it.
I would donate to that cause. For me (as a programming novice) it sounds like not-too-complicated to program a blockexplorer/blockchaininfo clone which works with the local blockchain copy? Someone make a bounty thread? Tried Abe? https://bitcointalk.org/index.php?topic=22785.0I love it! :-) Ente
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 01:56:30 PM |
|
theymos, any update? BE is still overloaded ("Database connection timeout (likely due to overload). Try again later."). Is that regular traffic or it is some kind of attack? I don't believe that traffic increased so suddenly in last few days...
Something does seem to have changed to make things slower, but I'm not sure what. I'm getting 6.6 hits per second right now, but I don't normally keep logs, so I don't know if this is much higher than normal. It's also possible the disk is broken somehow. Anyway, I've made lots of changes to improve efficiency and I'll continue to do so. I introduced that error recently so that slow database connections wouldn't stop /q/getblockcount and other non-database pages from working.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 05:24:19 PM |
|
Maybe you should cache requests and avoid database lookup entirely? For example /block/, /rawblock/ will be the same forever, no need to ask database at all (don't forget to drop cache on blockchain reorg.
|
|
|
|
theymos
Administrator
Legendary
Offline
Activity: 5306
Merit: 13296
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 06:24:19 PM |
|
Maybe you should cache requests and avoid database lookup entirely? For example /block/, /rawblock/ will be the same forever, no need to ask database at all (don't forget to drop cache on blockchain reorg.
There's already a lot of caching.
|
1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
|
|
|
slush
Legendary
Offline
Activity: 1386
Merit: 1097
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2012, 11:54:15 PM |
|
Then there must be something seriously broken (if you're right and average load is ~6 requests/second).
|
|
|
|
|