Author

Topic: Why do I not see any entry in the "Transactions" tab of bitcoin-qt? (Read 1050 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
-snip-
First after 50.000 I have detected the first block with multiple transactions inside.
-snip-

Try block 170, IIRC it includes the first transaction where satoshi send 10 btc to hal.
legendary
Activity: 3472
Merit: 4801
- snip -
It looks like the first (rough guess) 50-60.000 blocks are mainly single transactions.
The ones I have checked were transferring constantly 50 BTC.
- snip -

That transaction is the block subsidy (also known as the block reward).  It is the 50 brand new bitcoins that the miner gets for solving the block.  You'll notice that those transactions don't spend any outputs from previous transactions.

First after 50.000 I have detected the first block with multiple transactions inside.

One of those transactions should still be a block reward of at least 50 BTC. The output will be the sum of the transaction fees (if any) of all the other transactions in the block plus the 50 BTC subsidy.

The additional transactions will be whatever amount the owner of the bitcoins was spending.  They will have inputs that refer back to outputs from previous transactions, and the sum of the newly created outputs will be less than or equal to the sum of the values of the inputs.  If the sum of the outputs is less than the sum of the inputs, then the difference between the sum of the inputs and the sum of the outputs is the transaction fee for that transaction.
newbie
Activity: 4
Merit: 0
The reindexing lasted more than 20 hours on my system.
But no problem, because I am now able to snoop into the very beginning.
Blocks #1,2,3,etc. are really simple and it's easy to understand the process.

It looks like the first (rough guess) 50-60.000 blocks are mainly single transactions.
The ones I have checked were transferring constantly 50 BTC.
First after 50.000 I have detected the first block with multiple transactions inside.
And then also the transferred values change.

But it's really great to see this history, going back to the very beginning.
newbie
Activity: 4
Merit: 0
@DannyHamilton
Thank you for verbose explanation. Very helpful to dig deeper into the details.
I've just started reindexing of the database.
Will last several hours, but no problem - I want to see the gory details.

@knightdk
Thank you for your confirmation of the bitcoin.conf entry. It did the trick.
staff
Activity: 3458
Merit: 6793
Just writing some code
(Note, I'm not sure, but I think you might need to have txindex=1 set in your bitcoin.conf if you want to be able to run getrawtransaction for transactions that weren't sent to or from your wallet).
That is right. You must either have txindex=1 in the bitcoin.conf file or have -txindex in the startup command. Otherwise you cannot see transactions that are not in your wallet. Using the txindex will require that you also reindex the databases, which can take several hours.
legendary
Activity: 3472
Merit: 4801
In the console tab of the Debug Window found in the Help Menu enter the following command:

Code:
getblockhash BLOCKHEIGHT

Replacing BLOCKHEIGHT with the actual height in the blockchain of the block you want to see. For example, if you want to see the first block in the blockchain (the one that came immediately after the genesis block) then you would enter:

Code:
getblockhash 1

The command will return a BLOCKHASH.  Next enter:

Code:
getblock BLOCKHASH

Replacing BLOCKHASH with the block hash that was returned with the previous command.  For example, if you ran "getblockhash 1" and it returned 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048 then you would enter:

Code:
getblock 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048

This should include all the details about the block including a list of transaction hashes in the "tx:" section.

For each and every transaction hash enter the following command:

Code:
getrawtransaction TRANSACTIONHASH 1

Replacing TRANSACTIONHASH with the transaction hash that was returned with the previous command. For example, if you ran "getblock 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048" and it returned a transaction list that had only a single transaction with a hash of 0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098 then you would enter:

Code:
getrawtransaction 0e3e2357e806b6cdb1f70b54c3a3a17b6714ee1f0e68bebb44a74b1efd512098  1

Repeat this process for every TRANSACTIONHASH found in every BLOCKHEIGHT from 1 to the current height (412567 at the time I'm writing this).

(Note, I'm not sure, but I think you might need to have txindex=1 set in your bitcoin.conf if you want to be able to run getrawtransaction for transactions that weren't sent to or from your wallet).
newbie
Activity: 4
Merit: 0
Thank you for your quick reply. That raises the curtain of ignorance.

One small other question: Is there any way to show the whole block-chain? Out of pure curiousity.
legendary
Activity: 4536
Merit: 3188
Vile Vixen and Miss Bitcointalk 2021-2023
newbie
Activity: 4
Merit: 0
I'm new within the Bitcoin realm.
I've installed Bitcoin-core (QT version 0.12.1.0) on my Ubuntu 16.04 box.
Download of the block-chain lasted roughly 20 hours.
Bitcoin-qt confirms "Up to date. Processed 412540 blocks of transaction history"
I have setup an encrypted wallet.

And here's my questions:
Why do I do not see any entry in the "Transactions" tab?
Are only my own transactions shown?
How can I see the block-chain transactions?

Many thanks in advance for these, I admit, dumb questions. But I did not find any answers by Mama Google.

Jump to: