Bitcoin Forum
December 14, 2024, 03:15:10 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: another question with bitcoin core  (Read 649 times)
girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 22, 2016, 12:41:34 PM
 #1

I just want to check the bitcoin and old trans of an address.

and my block is not full  ,  following is my situation

Quote
getblockcount
348828

Quote
20:34:01

getreceivedbyaddress 1PMi2HY6AgnfsPiXAW4qEzGishbjRmhbiH


20:34:01

0.00000000

why it is zero ? when I check it in the blockchain.info it has trans!  with  Total Received    10,025.5 BTC

any one tell me why? and how to get a value of one special address, and it's history of trans.

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
September 22, 2016, 12:46:33 PM
 #2

Is this your address? Is the address in your wallet?

If it is not, then that command will not work. Bitcoin Core does not track all addresses, the overhead is too much and that is not what Bitcoin Core is meant to do.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 22, 2016, 01:07:11 PM
 #3

Is this your address? Is the address in your wallet?

If it is not, then that command will not work. Bitcoin Core does not track all addresses, the overhead is too much and that is not what Bitcoin Core is meant to do.

oh ,get it , it is not my address

but I imported it to my Bitcoin Core , when I imported it, I choosed no rescan first time


and now reimport  with default(rescan)

it is very slow,

my further question is , why the blockchain.info has faster way to get the trans of a special address?

it shouldn't be that he has good server ,at same time he has lots users , while I am only user of my computer

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
September 22, 2016, 01:28:47 PM
 #4

Is this your address? Is the address in your wallet?

If it is not, then that command will not work. Bitcoin Core does not track all addresses, the overhead is too much and that is not what Bitcoin Core is meant to do.

oh ,get it , it is not my address

but I imported it to my Bitcoin Core , when I imported it, I choosed no rescan first time
Without rescanning it won't know about any transactions related to that address. You will have to rescan in order to get any information about it.

and now reimport  with default(rescan)
--img snip--
it is very slow,
Yes, that is because it must go through the entire blockchain and scan every single transaction to see which transactions create outputs to the address and spend from those outputs, if any.

my further question is , why the blockchain.info has faster way to get the trans of a special address?

it shouldn't be that he has good server ,at same time he has lots users , while I am only user of my computer
Because blockchain.info is not just relying on a bitcoind. Rather they have at least one set up as a node, but they also have other software and an external database. This allows them to receive the transactions and write them to their large external database so that they can retrieve the information quickly. Bitcoind is not designed to do that because it is completely unnecessary. It is not supposed as a block explorer.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 22, 2016, 01:41:26 PM
 #5



thanks , very patient

and if I want to explore the blockchain ,

must I read and write new codes on the source code?

any good solutions

40mins passed and......  Oh, My god

achow101
Moderator
Legendary
*
Offline Offline

Activity: 3570
Merit: 6927


Just writing some code


View Profile WWW
September 22, 2016, 01:47:37 PM
 #6



thanks , very patient

and if I want to explore the blockchain ,

must I read and write new codes on the source code?

any good solutions
You do not have to modify Bitcoin Core. You can use Bitcoin Core to give you information about transactions as they arrive and then you store that yourself in another database. There are some open source block explorers available that work with Bitcoin Core. Off the top of my head, you can look up Insight and Bitcoin Abe. Just google around for it.

girlbtc.com (OP)
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250

girlbtc.com


View Profile WWW
September 22, 2016, 01:49:10 PM
 #7

thank you

Pages: [1]
  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!