Bitcoin Forum
April 23, 2024, 11:34:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bug report  (Read 864 times)
PRab (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 17, 2015, 04:10:01 AM
 #1

I just found this in 0.93.1. When I received a transaction, and brought up the advanced transaction info, it shows the wrong Transaction Inputs.


That same transaction on blockchain.info shows the correct inputs. https://blockchain.info/tx/20a62730bfa6d74baef15208e0a3456841eb9679c52b2b6b2ff4cc8eb35131c0?show_adv=true

This might be a dupe of https://bitcointalk.org/index.php?topic=919202.msg10372366#msg10372366, but that was a while ago.
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
1713872068
Hero Member
*
Offline Offline

Posts: 1713872068

View Profile Personal Message (Offline)

Ignore
1713872068
Reply with quote  #2

1713872068
Report to moderator
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 17, 2015, 05:25:47 AM
 #2

This is by design. If you want full tx traceability you'll have to use supernode.

jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1092


View Profile
April 17, 2015, 06:36:01 AM
 #3

This is by design. If you want full tx traceability you'll have to use supernode.

Isn't it better just to mask the inputs table, rather than showing wrong data?

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
PRab (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 17, 2015, 12:35:27 PM
 #4

This is by design. If you want full tx traceability you'll have to use supernode.

If that is the design, then I would have expected to see "XXXXXX" for the sender. Right now I am just left questioning what is/who controls 3J98t1Wp...
CircusPeanut
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile
April 17, 2015, 03:42:07 PM
 #5

Prab thanks for the bug report. I have noted it in our system. Right now Armory checks for a certain number of the types of inputs that we can report. if it's none of those, it converts the input script to a P2SH address and shows that next to "Non-Standard: "

For 0.94  we will make the logic for that display string more robust and eliminate all of the conditions that lead to an incorrect result. Then if it really doesn't fit any category that we check for we will display something like "Unknown" or "XXXXXXXXX".

PRab (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
April 17, 2015, 05:13:08 PM
 #6

Sounds good to me. Keep up the great work!
zombieslayer9099
Full Member
***
Offline Offline

Activity: 120
Merit: 100

Java Coder


View Profile
April 17, 2015, 07:33:59 PM
 #7

But why exactly can Armory not track the sender, but it can track the other recipients? Can it not read the whole transaction correctly?

Did you know there are 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 possible bitcoin addresses? To put that into perspective, that's greater than the width of the universe in zeptometers (10^-21 meter).
  ▁ ▂ ▄ ▅ ▆ Cloudmining 101: how to avoid scams  ▆ ▅ ▄ ▂ ▁
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 17, 2015, 08:40:44 PM
 #8

Fullnode doesn't track all transaction hints anymore, only those relevant to your wallets. Those are only txouts that point to your addresses, or txins that spend such txouts.

When a txout funds one of your addresses, these coins have been redeemed from a previous txout (unless it's a coinbase reward) that are pointed at by hash and txout index in the supporting txin. Resolving that hash is what Fullnode doesn't do anymore.

To find a txout by its hash and index, you have to resolve the txhash to a block + transaction index. The hash itself does not carry any hints of which block and tx index this may be. It befalls on you to devise a solution to look these hashes up efficiently. The way Armory does it is through what we call the transaction hint database, aka the txhint DB.

The txhint DB uses the first 4 bytes of each transaction as keys, and the relevant block height + tx index as values. Several tx hashes may have the same leading 4 bytes, so you may find entries in the txhint DB where one key has several height|txindex values.

Prior to the new DB, Armory only offered one DB mode, bare node, which maintained txhints for all transactions seen in the blockchain. With the new DB format, fullnode doesn't do that anymore, since Supernode is meant to maintain that level of lookup functionality.

The issue you are seeing in the UI is the code trying to resolve the tx hashes pointed by txins and failing to do so. It then defaults to displaying the inputs as non standard. If you send coins to yourself, however, it will resolve the txhash and display the txin info properly.

Why is the full txhint DB gone from fullnode? It is a large and very fragmented DB, which makes HDDs crawl. It also makes no sense with the final state of fullnode which uses about 120MB of disk space, to support a 2-3GB txhint DB only to display sender data in one dialog (this is the only place in the GUI that currently needs pseudo arbitrary txhash lookup)

I had planned on adding a set of parallel threads that would resolve the sender hashes, but after discussing with etotheipi, we concluded that people who wants this level of data "granularity" would have to rely on supernode. The latest version of supernode is significantly faster than what's available right now with 0.93.x, so it won't carry such a high hardware requirements as before.

zombieslayer9099
Full Member
***
Offline Offline

Activity: 120
Merit: 100

Java Coder


View Profile
April 18, 2015, 11:28:24 AM
 #9

By the latest version, you mean what has not been released yet?

Did you know there are 1,461,501,637,330,902,918,203,684,832,716,283,019,655,932,542,976 possible bitcoin addresses? To put that into perspective, that's greater than the width of the universe in zeptometers (10^-21 meter).
  ▁ ▂ ▄ ▅ ▆ Cloudmining 101: how to avoid scams  ▆ ▅ ▄ ▂ ▁
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3668
Merit: 1345

Armory Developer


View Profile
April 18, 2015, 06:20:42 PM
 #10

By the latest version, you mean what has not been released yet?

Yes

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!