Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance, but it has a tag wiki.

0
votes
0answers
37 views

getTips returns an empty array after days / hours of inactivity on isolated node

On an isolated iota tangle, let's say there is no recent activity for a day or two. Why does getTips return empty after such time? Edit: The getTransactionsToApprove API command is does not show this ...
4
votes
1answer
83 views

Is it intended that getTransactionsToApprove can possibly return non-tips as well?

If one calls the API function getTransactionsToApprove() one expects to receive 2 tips. To this end it calls the randomWalk() method two times. However I noticed that the randomWalk() routine contains ...
3
votes
1answer
50 views

Why is tipcount 0 after restart?

I noticed that after a IRI restart the tip-count starts from 0 again. But i was under the impression that those tips have already been persisted locally, so how come that after a restart all those ...
8
votes
3answers
278 views

Why confirming 2 previous transactions instead of 1 or 3, 4, 5?

In order to send a transaction, one has to validate 2 previous transactions. Why is it 2, instead of 1 or 3, 4, 5?
3
votes
1answer
85 views

Walking the tangle—How to get the parents?

Looking at Pseudocode to walk the tangle?, in order to walk the tangle you look at the open tips and then you look for the parents. getTips gives you a list of all the open tips. What API call is ...
7
votes
1answer
107 views

Are bundles one tip or four?

As a bundle is made of 4 or more transactions, and a bundle is accepted as a whole or not at all, is a bundle treated as a single tip by subsequent transactions, or is it treated as 4 tips, that are ...
5
votes
2answers
111 views

Why do we reattach instead of sending a second transaction that confirms our first?

The spam attacks prove that its possible to attach a transaction to whichever tip you want. Normal operation of the tangle is to attach a transaction to two random tips and then wait for another node ...
5
votes
2answers
217 views

What are tips and what is the tip selection algorithm?

What are tips and what do they do? And what is the tip select algorithm and where is it used for?