<p>The commands you have used are not for syncing to the bitcoin blockchain but to install a bitcoin, now with this client you can sync if you want, you will need days or weeks depending on your computer bandwidth and performance and 250+ giga of hard drive, you can start syncing by locating your bitcoin directoryand simply running:</p>

<blockquote>
  <p>./bitcoind</p>
</blockquote>

<p>You can find more information about using and running properly a bitcoin full node here: <a href="https://bitcoin.org/en/full-node" rel="nofollow noreferrer">https://bitcoin.org/en/full-node</a></p>

CC BY-SA 4.0
2019-10-11T05:55:37.500Z
after all this command i set up my bitcoin.conf file and started bitcoin demon.but still not getting details of transaction outside of node.
indrajit
CC BY-SA 4.0
2019-10-11T07:52:25.693Z
```bitcoin-cli gettransaction 03d9e448b652155061b5d06594e65cb5507a85518a6b1ae6530c6efed8377657
error code: -5
error message:
Invalid or non-wallet transaction id```
indrajit
CC BY-SA 4.0
2019-10-11T10:42:51.893Z
@indrajit Command `gettransaction` is for the transaction of your wallet, you can access to all transaction on bitcoin with command `getrawtransaction`, I suggest you look the documentation official of [Bitcoin corer RPC](https://bitcoincore.org/en/doc/)
vincenzopalazzo
CC BY-SA 4.0
2019-10-11T10:44:02.490Z
Notice that gettransaction is for in wallet transaction, maybe you want to use getrawtransaction also you have to have txindex=1 in your conf file and need to sync the full blockchain
Saxtheowl
CC BY-SA 4.0
2019-10-14T10:36:47.330Z
yes getrawtransaction is working,but how to find to address, from address and amount transacted from that .
indrajit
CC BY-SA 4.0
2019-10-14T10:38:44.233Z
```getTransactionInfo(txHash) {
        var transaction = client.request("getrawtransaction", [txHash,true])
        transaction.then((details) => {
            console.log("detailsrtry", details.result);
            var decode = client.request("decoderawtransaction", [details.result.hex])
            decode.then((rrrrr)=>{
                console.log("details", rrrrr.result.vin)
                console.log("details1", rrrrr.result.vout);
            })
        }).catch((err) => {
            console.log("err",err);

        })
    }```
indrajit
CC BY-SA 4.0
2019-10-14T10:42:17.370Z
You cannot do that with a bitcoin client, you should use https://btc.com/ see this question and the answers https://bitcoin.stackexchange.com/questions/5555/is-it-possible-to-view-others-transactions-in-bitcoin-client
Saxtheowl
CC BY-SA 4.0
2019-10-14T13:43:55.643Z
so how blockchain.info gives all details to address from address and amount of transactiom
indrajit
CC BY-SA 4.0
2019-10-14T15:25:15.163Z
I suppose they record every transaction from every blocks and trace every one of them, it is quite fastidious, you can build your own system for doing the same if you want https://bitcoin.stackexchange.com/questions/5518/how-do-i-access-information-on-blockexplorer-com-or-blockchain-info-without-issu/5519#5519
Saxtheowl
CC BY-SA 4.0
2019-10-10T22:23:43.817Z
2019-10-10T22:23:43.817Z
Saxtheowl
<p>How can I sync bitcoin full node so that I can access all details of transactions occurring on other nodes and other wallets also, like blockchain.info. </p>

<p>I have synced a full node using below commands, but that's giving details of node wallet account details.</p>

<pre><code>sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt
sudo apt-get install bitcoins
</code></pre>

<bitcoind><txindex>
How do I get a full transaction index with Bitcoin Core?
indrajit
# How do I get a full transaction index with Bitcoin Core?

(Asked by: username_0 on 2019-10-10)

How can I sync bitcoin full node so that I can access all details of transactions occurring on other nodes and other wallets also, like blockchain.info.

I have synced a full node using below commands, but that's giving details of node wallet account details.

```
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoin-qt
sudo apt-get install bitcoins

```

**Tags:** bitcoind, txindex


---

## 1 answers

### Answer by username_1 on 2019-10-10. Score: 1 | Accepted answer

The commands you have used are not for syncing to the bitcoin blockchain but to install a bitcoin, now with this client you can sync if you want, you will need days or weeks depending on your computer bandwidth and performance and 250+ giga of hard drive, you can start syncing by locating your bitcoin directoryand simply running:

> ./bitcoind

You can find more information about using and running properly a bitcoin full node here: <https://bitcoin.org/en/full-node>

> **Comments:**
> **username_0**: after all this command i set up my bitcoin.conf file and started bitcoin demon.but still not getting details of transaction outside of node.  
> **username_0**: ```bitcoin-cli gettransaction 03d9e448b652155061b5d06594e65cb5507a85518a6b1ae6530c6efed8377657 error code: -5 error message: Invalid or non-wallet transaction id```  
> **username_2**: @username_0 Command `gettransaction` is for the transaction of your wallet, you can access to all transaction on bitcoin with command `getrawtransaction`, I suggest you look the documentation official of [Bitcoin corer RPC](https://bitcoincore.org/en/doc/)  
> **username_1**: Notice that gettransaction is for in wallet transaction, maybe you want to use getrawtransaction also you have to have txindex=1 in your conf file and need to sync the full blockchain  
> **username_0**: yes getrawtransaction is working,but how to find to address, from address and amount transacted from that .  
> **username_0**: ```getTransactionInfo(txHash) {         var transaction = client.request("getrawtransaction", [txHash,true])         transaction.then((details) => {             console.log("detailsrtry", details.result);             var decode = client.request("decoderawtransaction", [details.result.hex])             decode.then((rrrrr)=>{                 console.log("details", rrrrr.result.vin)                 console.log("details1", rrrrr.result.vout);             })         }).catch((err) => {             console.log("err",err);          })     }```  
> **username_1**: You cannot do that with a bitcoin client, you should use https://btc.com/ see this question and the answers https://bitcoin.stackexchange.com/questions/5555/is-it-possible-to-view-others-transactions-in-bitcoin-client  
> **username_0**: so how blockchain.info gives all details to address from address and amount of transactiom  
> **username_1**: I suppose they record every transaction from every blocks and trace every one of them, it is quite fastidious, you can build your own system for doing the same if you want https://bitcoin.stackexchange.com/questions/5518/how-do-i-access-information-on-blockexplorer-com-or-blockchain-info-without-issu/5519#5519  

---

