Questions tagged [branch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
2answers
191 views

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

I am trying to retrieve all new confirmed transactions from the tangle and for each transaction the corresponding transactions that have been confirmed in order to be able to create that transaction. ...
4
votes
2answers
71 views

specific reason tip-choice for trunk and branch?

I was watching the very nice and clear video about transactions and bundles of MobileFish. As you can see the branch of all tx except for the last one (also called the tail) points to tip0. The ...
6
votes
4answers
193 views

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

When adding a new transaction, I get two "random" other transactions to use as my branch and trunk. But if I have several transactions in a bundle, does each one get their own random two? Or should ...
2
votes
2answers
518 views

How Does a Client Prepare PoW for the Node?

How do I send the proof of work to a node that is executed on a client? Do I use "attachToTangle" and for branch and trunk transactions do I just use the hashed transaction with the nonce?
12
votes
1answer
252 views

Is there a difference between branch and trunk transactions?

I understand that a transaction confirms two other transactions (branch + trunk). Is there a special semantic or rule for branch and trunk or are this just two words chosen to denote the two ...