swapper-org / NodeChain

Nodechain is a service that allows you to create nodes on a blockchain and connect to them natively through APIs. The goal is to allow the user to build their own nodes natively without having to rely on external services.
MIT License
7 stars 5 forks source link

Method getTransaction only returns 'in-wallet' transactions #88

Closed hippocampusSwapper closed 2 years ago

hippocampusSwapper commented 2 years ago

Issue

Currently, method getTransaction only returns information referring to the wallet loaded in bitcoind, for other txHashes the method returns null. We want to obtain information of any transaction not only 'in-wallet'

NOTE: The root of the problem is the method gettransaction from bitcoind, we can use this method because only reports information about in-wallet transactions.

https://bitcoincore.org/en/doc/0.21.0/rpc/wallet/gettransaction/