Skip to main content
7 votes
Accepted

Is there a difference between branch and trunk transactions?

For most purposes (e.g. determining confirmation status or propagation of transactions) it does not matter which transaction is where. Inside a bundle, however, it is at some places clearly mandated ...
mihi's user avatar
  • 7,324
4 votes

Do transactions within the same bundle need to reference specific branch and trunk hashes?

A bundle consisting of N transactions can reference 2*N completely different transactions (almost half of them will belong to the bundle). The chain of trunkTransaction references must form the ...
Come-from-Beyond's user avatar
3 votes

Do transactions within the same bundle need to reference specific branch and trunk hashes?

They do, and this schema shows how TX(currentIndex, lastIndex): Taken from this nice article.
Akkumulator's user avatar
  • 1,468
3 votes

Do transactions within the same bundle need to reference specific branch and trunk hashes?

I found the cheat sheet to be somewhat misleading as it assumes, that one tip to be confirmed is the latest solid milestone. You'll find a precise answer here. I had the exact same conceptual question....
ralf's user avatar
  • 1,063
3 votes

How Does a Client Prepare PoW for the Node?

You use getTransactionsToApprove to get the two transactions/tips that you need to use in your PoW. Then you must craft your transaction trytes, the Javascript libraries help with this. Then you ...
GusGorman402's user avatar
1 vote
Accepted

How is the correct way to retrieve the two transactions that had been confirmed in order to create a transaction

As I'm new to Iota development I can not tell, if this is really the correct way to do it but I found the following works for me and the result looks correct and like what I expected it to look like: ...
Eric Xyz's user avatar
  • 131
1 vote

specific reason tip-choice for trunk and branch?

Although the construction seems a bit odd, now I understand this specific setup was just temporary. In a new release (current v1.4.2.1) the new bundle structure will adhere to the "each tx confirms 2 ...
GJEEE's user avatar
  • 713
1 vote

Do transactions within the same bundle need to reference specific branch and trunk hashes?

okay I think I can answer my own question with this data: bundle/DFZCQK transaction/VYWRBV RZKOLU MJOTMK transaction/RZKOLU USOBTT MJOTMK transaction/USOBTT H9OOFC ...
Andrew Arrow's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible