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
error code: -5 error message: Invalid or non-wallet transaction id```
– indrajit Oct 11 '19 at 07:52gettransaction
is 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 RPC – vincenzopalazzo Oct 11 '19 at 10:42var 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 Oct 14 '19 at 10:38