Author

Topic: How do I Verify that a Transaction is Mine? (Read 575 times)

newbie
Activity: 7
Merit: 0
April 10, 2014, 08:15:14 PM
#6
@piotr_n yes I understand what I'm asking is a bit out of the norm. I'm just wondering if there is any quick way to identify what transaction is mine and what is not using a txid. It may be the case that I end up using gettransaction and just letting it throw an error when the tx is not mine. I just want to know what is available for this specific functionality.

@Ek yes I've looked up isMine in the CPP code, I understand some of it, thanks for verifying I'm headed in the right direction, it does explain a lot.
legendary
Activity: 1260
Merit: 1168
This message was too old and has been purged
legendary
Activity: 2058
Merit: 1416
aka tonikt
I would like to know how the wallet processes transactions and determines which transactions belong to me and which do not.

Yes, walletnotify fires when a tx related to me has changed and whatnot. But I would like to understand the back end a little more in the bitcoind.
Well man, it's a complex subject.
Nobody can explain it to you in like one post.
Had you have a specific question, that would be much easier.

How the wallet processes transactions - that's the ultimate question, but there is no ultimate answer. Just a lot of studying.
newbie
Activity: 7
Merit: 0
I would like to know how the wallet processes transactions and determines which transactions belong to me and which do not.


Yes, walletnotify fires when a tx related to me has changed and whatnot. But I would like to understand the back end a little more in the bitcoind.
legendary
Activity: 3528
Merit: 4945
I guess that depends on exactly what you are trying to accomplish.

Would walletnotify meet your needs?
newbie
Activity: 7
Merit: 0
How does bitcoind know when a transaction is related or of relevance to my address(es)?

How can I check if a transaction is mine quickly? I understand gettransaction will throw an exception when it is not mine, but is there a faster way?


Cheers!
Jump to: