Timeline for Cryptocurrency: check if transaction is viable masternode output
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 27, 2018 at 17:17 | history | edited | JBaczuk | CC BY-SA 4.0 |
added 149 characters in body
|
Aug 27, 2018 at 9:14 | comment | added | Ben | @PieterWuille as I explained I'm not operating as the wallet owner, I need to obtain this information from outside the wallet | |
Aug 27, 2018 at 8:54 | comment | added | Pieter Wuille |
Ask the wallet. See if it appears in listtransactions , or whether getreceivedbyaddress includes its address.
|
|
Aug 27, 2018 at 8:48 | comment | added | Ben | @PieterWuille Thanks a lot, you could post that as an answer. Do you have any idea how to check if transaction is made to yourself? | |
Aug 26, 2018 at 7:37 | comment | added | Pieter Wuille |
You can use the gettxout RPC. If it returns something for a given txid and vout, the output is unspent.
|
|
Aug 26, 2018 at 4:13 | comment | added | JBaczuk |
This gets asked a lot, and I don't really have a good answer because I'm only aware of Bitcoin core's internal implementation. It stores newly mined transactions in the UTXO database and deletes the ones that are spent. There is no RPC call to query them except for listunspent which only shows the utxo related to addresses in your wallet.
|
|
Aug 25, 2018 at 22:48 | comment | added | Ben | How do I check the unspent transactions? | |
Aug 25, 2018 at 22:08 | history | answered | JBaczuk | CC BY-SA 4.0 |