Bitcoin Forum
June 18, 2018, 10:34:47 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Correct way to track wallet transactions ?  (Read 454 times)
Nicolas Dorier
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 03, 2014, 09:40:45 AM
 #1

I noted that BIP32 talk about setting a filter to peer nodes to get notified if you are interested into a transaction.

I thought using that to track transaction relevant to my wallet. But does such method is weak transaction malleability ?
The only way to resist transaction malleability is to listening for every transaction, in a block or in mem pool, and check their input/output script to know if they are relevant to you.

Does such thing is too difficult to keep up with the flow of transaction ? Why companies like MtGox insists on using the transaction hash to track transactions ?

Bitcoin address 15sYbVpRh6dyWycZMwPdxJWD4xbfxReeHe
1529318087
Hero Member
*
Offline Offline

Posts: 1529318087

View Profile Personal Message (Offline)

Ignore
1529318087
Reply with quote  #2

1529318087
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529318087
Hero Member
*
Offline Offline

Posts: 1529318087

View Profile Personal Message (Offline)

Ignore
1529318087
Reply with quote  #2

1529318087
Report to moderator
1529318087
Hero Member
*
Offline Offline

Posts: 1529318087

View Profile Personal Message (Offline)

Ignore
1529318087
Reply with quote  #2

1529318087
Report to moderator
1529318087
Hero Member
*
Offline Offline

Posts: 1529318087

View Profile Personal Message (Offline)

Ignore
1529318087
Reply with quote  #2

1529318087
Report to moderator
telepatheic
Jr. Member
*
Offline Offline

Activity: 56
Merit: 0

Get off the web. Go do something in meatspace!


View Profile
May 03, 2014, 10:09:08 AM
 #2

You should read BIP37 which is about bloom filtering. Filters can be used to match against inputs and outputs as well as transaction IDs.
Nicolas Dorier
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 03, 2014, 04:18:27 PM
 #3

Thanks for the clarification.
Holy cow, I ported this code and tests, but forgot entirely the "Filter matching algorithm". (IsRelevantAndUpdate(Tx) method)
I was so sure I knew what the bloom filter was, I did not took time to scroll to the algorithm of the BIP, nor the methods.

Bitcoin address 15sYbVpRh6dyWycZMwPdxJWD4xbfxReeHe
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!