Bitcoin Forum
May 07, 2024, 11:10:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Blockexplorer is either Down or Running Extremely Slow & Stuck at 166899 Blocks  (Read 3880 times)
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560
Merit: 501



View Profile
February 17, 2012, 08:05:55 PM
 #21

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?
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
February 17, 2012, 08:13:31 PM
 #22

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 Offline

Activity: 5194
Merit: 12974


View Profile
February 17, 2012, 09:48:35 PM
 #23

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
**
Offline Offline

Activity: 70
Merit: 10



View Profile
February 17, 2012, 10:07:10 PM
 #24

Quote from: Revalin
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:

Code:
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
RoloTonyBrownTown
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250



View Profile
February 17, 2012, 10:30:16 PM
 #25

Yep, bit wonky at the mo.   Diff is currently shown as 623.38695987...

http://blockexplorer.com/q/getdifficulty

payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



View Profile
February 17, 2012, 10:38:18 PM
 #26

Quote from: Revalin
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:

Code:
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 Offline

Activity: 5194
Merit: 12974


View Profile
February 17, 2012, 11:27:28 PM
 #27

Yep, bit wonky at the mo.   Diff is currently shown as 623.38695987...

http://blockexplorer.com/q/getdifficulty

My bitcoind is downloading the chain. You can see the progress at /q/getblockcount.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
kjlimo
Legendary
*
Offline Offline

Activity: 2086
Merit: 1031


View Profile WWW
February 18, 2012, 03:00:28 PM
 #28

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.

Coinbase for selling BTCs
Fold for spending BTCs
PM me with any questions on these sites/apps!  http://www.montybitcoin.com


or Vircurex for trading alt cryptocurrencies like DOGEs
CoinNinja for exploring the blockchain.
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12974


View Profile
February 19, 2012, 12:12:56 AM
 #29

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
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
February 19, 2012, 04:09:39 PM
 #30

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 Offline

Activity: 1512
Merit: 1032



View Profile WWW
February 19, 2012, 04:25:51 PM
 #31

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
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
February 19, 2012, 05:14:10 PM
 #32

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

Great, 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 Offline

Activity: 2126
Merit: 1001



View Profile
February 19, 2012, 10:01:58 PM
 #33

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
Hero Member
*****
Offline Offline

Activity: 481
Merit: 529



View Profile WWW
February 19, 2012, 10:12:57 PM
 #34

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

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
February 20, 2012, 10:04:27 AM
 #35

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 Offline

Activity: 2126
Merit: 1001



View Profile
February 20, 2012, 10:31:32 AM
 #36

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


I love it! :-)

Ente
theymos
Administrator
Legendary
*
Offline Offline

Activity: 5194
Merit: 12974


View Profile
February 20, 2012, 01:56:30 PM
 #37

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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
February 20, 2012, 05:24:19 PM
 #38

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 Offline

Activity: 5194
Merit: 12974


View Profile
February 20, 2012, 06:24:19 PM
 #39

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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
February 20, 2012, 11:54:15 PM
 #40

Then there must be something seriously broken (if you're right and average load is ~6 requests/second).

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