mihi
Moderator
  • Member for 4 years, 1 month
  • Last seen this week
findTransaction not finding tag
2 votes

The problem is caused by the fact that a transaction has two "tag" fields. The traditional/obsolete one (called either "tag" or "obsoleteTag"), and a "new tag" which is not part of the signature. ...

View answer
What is a conflicting transaction?
2 votes

Transactions are conflicting if they try to spend the same money from the same address (and the address does not include enough money to satisfy both at the same time - but this should not happen ...

View answer
Address sweeper in Flash
Accepted answer
2 votes

The point you are missing: When you are creating a flash channel, you have to reference all the incoming addresses by one transaction each (once). So you will need do to POW for that number of ...

View answer
Snapshot - Exact Point in Time
Accepted answer
2 votes

When the IOTA foundation performs a network-wide snapshot, they define a milestone index (i.e. the index of a transaction issued by the Coordinator). Nodes who have not seen that milestone (because ...

View answer
Why do confimed transactions rates vary to such a high degree?
2 votes

Some reasons that come to my mind (there are surely others): When the coordinator is off/broken, the confirmation rate is zero When conflicting transactions are posted (either intentionally or by ...

View answer
How to save the bundle trytes to reattach after a snapshot?
Accepted answer
2 votes

Starting from the bundle hash, call the findTransactions API to get the transaction hashes of all transactions in your bundle. Pass the hashes to getTrytes to retrieve the transactions as tryte-...

View answer
Why does the official CLI app generate a new address when asked to check balances?
2 votes

When you call getNewAddress with returnAll: true, it will not only return the new address but all other addresses before that one too. And you have to know all addresses to be able to ask for their ...

View answer
How will IoT devices know the state of the network?
2 votes

Tip selection and PoW are completely different things, which do not necessarily have to happen at the same point. Tip selection performs MCMC on the tangle to find two transactions (or rather their ...

View answer
Iota Whitepaper: What is "k" in Section 3?
2 votes

In both cases, k is a "variable" used to make the English sentence easier to understand, the variable is both defined and used within the sentence, but nowhere else. The meaning of these two k is ...

View answer
What are address metadata hashes?
2 votes

I assume that the empty array is a typo here, as the following code will always assume that hashes contains at least one element (either an empty string or a previous transaction hash). On the other ...

View answer
Does the tangle store any node-specific information?
Accepted answer
2 votes

Broadcast of transactions just contains the transaction trytes, no other metadata (e.g. originator information). Therefore, IP addresses are only visible to immediate neighbors (and they can tell ...

View answer
In IRI a transaction has an attribute "solid", what determines whether a transaction is solid?
Accepted answer
2 votes

A transaction is considered solid on your node when it exists in your local database and its trunk and branch are also either solid or the NULL_HASH Effectively, this means that the transaction ...

View answer
What does unsychronous Milestones mean?
Accepted answer
2 votes

Last Milestone index is the highest index of a milestone transaction you have seen (because it was pushed to you by another node). Last Solid Subtangle Milestone index is the highest index of a ...

View answer
Attaching an address generated by an old version of the library?
Accepted answer
2 votes

Attaching such old (Curl) addresses might work, but it is by design that it does not most of the time, because usually this is not what you want to do (if you do not want to lose your funds). Read ...

View answer
Sample code for promoting a transaction using the official IOTA JS Library?
Accepted answer
2 votes

Taken from the official wallet app: const spamTransfer = [{address: '9'.repeat(81), value: 0, message: '', tag: ''}] iota.api.promoteTransaction(transactionHash, 10, 14, spamTransfer, {...

View answer
Where is PoW being executed when using the CLI wallet?
Accepted answer
2 votes

As this CLI wallet uses iota.lib.js and not also curl.lib.js, and attachToTangle is nowhere overwritten (monkey-patched), PoW will be executed on the full node you connect to. In case the node does ...

View answer
Pseudocode to walk the tangle?
2 votes

I would use a list of "seen" and "unseen" transactions (essentially being a breadth-first search). Don't care about the bundle hashes or address hashes, they will only point you to transactions that ...

View answer
Can I do a transaction with someone if one participant doesn't have internet access?
Accepted answer
2 votes

First of all, the recipient of a transaction does not need internet access at all to receive the funds (he might need it to verify that they indeed have been received, though). But your question is ...

View answer
latestMilestoneIndex value during resync
Accepted answer
2 votes

243000 was the milestone of the latest snapshot. Therefore, if your node has not loaded or seen any transactions, latest milestone will show as 243000. The milestone hash of the snapshot will show as ...

View answer
Can the IOTA protocol/network be adapted in the future?
2 votes

So far, protocol updates happen with almost every new iri release. But IOTA is still in beta (and so far the changes were uncontroversal, so nodes updated quickly). So, yes, protocol will probably be ...

View answer
Why do we reattach instead of sending a second transaction that confirms our first?
2 votes

A transaction is confirmed once it is transitively approved from a milestone transaction. (At the moment, milestone transactions are chosen by the coordinator, but in the future the MCMC algorithm ...

View answer
What are tips and what is the tip selection algorithm?
Accepted answer
2 votes

Tips in the context of iota (if they are not meaning small payments, as in tipbot) refer to transactions that have not been confirmed by other transactions. When you make a new transaction, you (or ...

View answer
How can I track the distribution of iota?
Accepted answer
2 votes

There is https://thetangle.org/statistics/tokens-distribution which shows some current token distribution stats. When there was a snapshot, you can download Snapshot.txt and analzye it yourself (...

View answer
Can neighbors mix protocols?
Accepted answer
2 votes

No, different protocols will not work. When receiving a packet from your neighbor, iri will validate if the source of the packet is in your neighbors list. As the port numbers differ, the packets ...

View answer
ProxyPass a path to IRI's API
2 votes

Probably depends on what library is used to access your node. The Java library (as well as the Android wallet) uses three parameters for protocol, hostname and port, and therefore would require some ...

View answer
What determines when a snapshot occurs?
2 votes

At the moment, a Snapshot happens when the IOTA foundation decides to do so. There are plans to add automatic snapshotting (probably based on the number of confirmed transactions since the last ...

View answer
Identify transactions issued by the coordinator
2 votes

All transactions from the coordinator (on mainnet) will send 0 IOTA to/from address KPWCHICGJZXKE9GSUDXZYUAPLHAKAHYHDXNPHENTERYMMBQOPSQIDENXKLKCEYCPVTZQLEEJVYJZV9BWU, and their tag will be the ...

View answer
Doesn't reattaching transactions allow double-spend transactions?
2 votes

You have a balance not in an account, but on an address. Due to the fact that IOTA uses one-time signatures, you are advised to create transactions that empty an address fully. So, if you have 10 Mi ...

View answer
Is migration from Trinity to Firefly still possible?
1 votes

Calm down and don't over-react. Everything is fine. As MK pointed out: if you had your tokens on Trinity, you did not miss out. The migration period to Firefly is still open, and you are not alone - ...

View answer
Is/was it difficult to implement colored coins?
Accepted answer
1 votes

It is not hard to implement colored coins. There are a few details you need to keep in mind, though: Remember for each UTXO which color it was for Make sure to verify that when a transaction ...

View answer