1
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
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 – 2019-10-11T05:55:37.500
bitcoin-cli gettransaction 03d9e448b652155061b5d06594e65cb5507a85518a6b1ae6530c6efed8377657 error code: -5 error message: Invalid or non-wallet transaction id– indrajit – 2019-10-11T07:52:25.6931
@indrajit Command
– vincenzopalazzo – 2019-10-11T10:42:51.893gettransactionis for the transaction of your wallet, you can access to all transaction on bitcoin with commandgetrawtransaction, I suggest you look the documentation official of Bitcoin corer RPCNotice 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 – 2019-10-11T10:44:02.490
yes getrawtransaction is working,but how to find to address, from address and amount transacted from that . – indrajit – 2019-10-14T10:36:47.330
```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);
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 – 2019-10-14T10:42:17.3701so how blockchain.info gives all details to address from address and amount of transactiom – indrajit – 2019-10-14T13:43:55.643
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 – 2019-10-14T15:25:15.163