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

Questions tagged [iri-node]

Use this tag for Questions related to IOTA full-node:

2
votes
1answer
28 views

Raspberry Pi3 light node initialization error

I'would like to set up iri on a Raspberry Pi3 but when i try to build i receive the following error. java.lang.NoClassDefFoundError: Could not initialize class org.rocksdb.RocksDB
3
votes
1answer
48 views

Possibility of sending a IOTA transaction from a “micro-controller”?

Since IOTA is designed specifically for IoT, is there a specific library for micro-controllers such as ESP, such that we can interact (send a transaction) directly from a micro-controller to the IOTA ...
1
vote
2answers
76 views

Why is the Coordinator necessary if its confirmations will be rejected by other nodes if it acts maliciously?

It has been said many times that the Coordinator is not necessary because its confirmations will be rejected by other nodes if it acts maliciously. It follows that if other nodes can tell if the ...
4
votes
2answers
124 views

Economic Clustering and need for (Dezentralized) Coordinators?

In CfB's recent blog post on Economic Clustering and IOTA, he looks at a possible future of IOTA and envisions two different types of IOTA clusters: Cluster 0: A a set of Full Nodes that are ...
2
votes
1answer
97 views

Purging lazy neighbors - When does this happen and how?

Node transaction propagation is a critical part of consensus and this feature can be seen as crucial so that the network operates as specified in the whitepaper. In the Tangle whitepaper v1.4.3, a ...
5
votes
1answer
106 views

What is the blowball problem and what causes it?

According to IOTA Engineering: IRI 1.5.3 addresses the blowball problem seen on Mainnet. What exactly is the blowball problem and what causes it?
2
votes
0answers
94 views

In v1.5.2, are transactions based on the call to `getTransactionsToApprove` included in subsequent calls to `getTransactionsToApprove`?

In the new IRI version 1.5.2, a call to getTransactionsToApprove provides a set of transactions that can be used as the trunk and branch of a new transaction. Given that some of the returned tips ...
2
votes
1answer
67 views

Why is the requested hash size 46 bytes when the transaction hash size is 243 bytes?

In the IRI, the byte size of a request hash is defined as having 46 bytes: // Configuration.java public static final String REQ_HASH_SIZE = "46"; However, in Hash.java the hash size of a regular ...
3
votes
1answer
88 views

Pertaining to the required sequence, how can the requested transaction hash be the same as the received transaction hash?

In the IRI Node class, this code segment checks to see if the requested transaction hash is the same as the received transaction hash: https://github.com/iotaledger/iri/blob/dev/src/main/java/com/...
1
vote
1answer
49 views

How to determine typical node sync lag for a particular node?

A service on the network requires to know how many milliseconds out of sync with the rest of the network they are at any given point in time. Assume that they are free to talk with the api of any ...
4
votes
1answer
150 views

Side-tangle and its solution

I still do not understand the whole side-tangle problem after reading the article by Dom. So this side-tangle starts by referencing some milestone and then grows further by adding txs which are only ...
3
votes
1answer
91 views

What IRI API commands should only be executed on a node that is synced to the latest milestone?

I want to load balance commands to my nodes. But not all nodes are equally fast. Some commands do not need a node that is completely up to date to finish successfully, like attachToTangle. Therefore I ...
3
votes
1answer
74 views

In IRI version 1.5.2, is the prevention of lazy tip selection a further entrenchment of the Coordinator?

For background, please read: https://blog.iota.org/coming-soon-iri-1-5-2-52114ca67a70 Under the hood, while doing validation, IRI will now remember the most recent milestone referenced by each ...
4
votes
1answer
49 views

Why is anyone with API access allowed to cancel the 'attachToTangle' operation of another user?

In the IRI, there is no filter that prevents anyone from cancelling another users 'attachToTangle' operation when the POW is in progress. See API.java, case "interruptAttachingToTangle" Why is that?
0
votes
0answers
40 views

How is the Iota software updated on nodes?

Iota is intended to be deployed on IoT devices which have low resources: low CPU power, low storage, low bandwidth, and low energy. How is it intended that the software is updated on nodes, given ...
2
votes
1answer
59 views

What is the exact stitching process that is being done on the tangle and side-tangle and who is doing it?

As a matter of transparency and of user and community education, I think it is important to properly catalog and make public the side-tangle-to-tangle stitching process that has been conducted by ...
4
votes
0answers
34 views

Invalid Transactions - Do those make a node bad?

I'm working on a application to track your neighbors. I want an indicator if there are any foul nodes. What's the deal with invalid transactions? They are an indicator that a node is bad, but how ...
4
votes
1answer
118 views

When is a transaction valid?

Which parts of a transaction need to have what value in order for it to be stored and broadcast by the IRI? I know that there are some bundle level conditions like valid signature sum of all values ...
2
votes
1answer
61 views

Do nodes reject a spam of zero-value transactions from a single node if it's getting too much?

What is considered "too much"? How could one circumvent this?
1
vote
1answer
41 views

How do I generate an IOTA address from a given seed in Javascript without making an HTTP(s) requst?

In all of the ways to getNewAddress() we have to call an iri node (reference). But using the seed it is a deterministic algorith, why do I have to use and http request to do that? How do I generate ...
6
votes
1answer
442 views

What prevents someone from using a Precomputed POW Spam Attack against the network?

What prevents someone from using a Precomputed POW Spam Attack against the network? I am going to outline what I coined the Precomputed POW Spam Attack, an evil attack that can be carried out against ...
4
votes
1answer
38 views

What does a node do if the two selected tips it has to validate are inconsistent?

Every article or blog post that I found only goes to the point where a node has selected two tips via the MCMC walk and checked them for consistency (and then states that if they are inconsistent the ...
5
votes
1answer
79 views

IRI gets stuck after a while

I run a node I setup after the manual of http://iota.partners/ I recently completely wiped it and installed the newest lubuntu 18.04 on it, but I had the same problems before. Yesterday I set ...
4
votes
2answers
181 views

Remove the necessity of Milestones

In the Original white paper of the IOTA there is no mention of the Milestone. In reality however, the IRI code is so tangled (pun intended) with the use of Milestones, that I was not able to run an ...
3
votes
2answers
87 views

How can I interpret these node statistics?

How can I interpret the given stats please? It is clear that the first node is syncing OK. The second is down—I can see this also in logs. But what about the other two? They're only sending but not ...
17
votes
2answers
2k views

Why were 4-byte integers chosen as the best way of storing individual trits within IOTA software?

update: Since this was posted, on Jun 11, an issue was opened by one of the IOTA Foundation developers to look into how to make the storage of trits use less memory. Although moving to a byte[] is not ...
2
votes
1answer
68 views

How do I send a transaction using only POST requests?

On small boards like arduino micro, NodeMCU(esp8266), or teensy, I cannot run an iota node or wallet. I can only transmit POST requests to a iri server. Given a seed, and a message, how do I attach ...
1
vote
1answer
179 views

How to check if my neighbors are synced

Is there a way to check if my neighbors are synced? I had a synced node (using the DB and 2 swarmnodes) and then added some neighbors (7). Since then, it seems that my node stopped being synced and ...
2
votes
1answer
142 views

What is Zero Message Queue? (ZMQ or ØMQ)

I read about real-time message stream (ZMQ) on iota docs: https://docs.iota.org/introduction/testnet/endpoints#realtime-message-stream---%C3%B8mq Anyone able to explain in a few words what it does ...
2
votes
0answers
59 views

Is it important to remove swarm nodes?

I use the iri in combination with field and nelson. I came into a synced status and then dropped the swarm nodes. Since then, the node often changes from "synced" to "unsynced" and back irregularly. ...
3
votes
2answers
45 views

What does the number behind “synced?” mean?

If you go to https://field.deviota.com/ and check for the node "codepleb", you notice that the node is not synced, but there is some kind of number at the end (even if it might be synced at this point ...
2
votes
3answers
284 views

How many transaction per second are registered by a full node?

I'm reading different answers about the txs/sec on the tangle and I think I'm missing something. Someone says that right now there are 1000 txs/sec, someone else says 1-2 txs/sec. What's the ...
4
votes
0answers
66 views

How to setup Full Node with IXI MAM?

I have mounted some Full Nodes and wrote a post in Hello IOTA Forum with a tutorial to do this from scratch. Now I am looking for info to setup a Full Node with MAM support. I have been searching and ...
5
votes
1answer
112 views

How much memory is needed on a full-node?

A full-node contains all transactions from the last snapshot but I'm wondering how can it contain everything (that's a lot of data). Does a full-node store every transaction completely? (the whole ...
5
votes
1answer
70 views

IoTA full node setup done but all transactions pending

I have followed http://iota.partners/ to setup a full node on my AWS. I am pretty sure that my security policy has opened the port for IoTA. The neighbor status: and then when my program status ...
3
votes
1answer
88 views

Risk of “attachToTangle” enabled on remote iri?

If I have attachToTangle enabled in my iri.ini config file, then can people send transactions to my server and my server will do proof of work for them? This seems like I could be taken advantage of. ...
2
votes
1answer
52 views

IXI module: Error debugging

I want to create a IXI module and there is something wrong " ERROR com.iota.iri.IXI - Script error". How can I tell IRI to just log the exact error of my IXI script? I just want to know which line ...
2
votes
2answers
108 views

No way to have an IRI 1.4.2.2 fullnode synchronized

For a long time I had a well synchronized 1.4.2.1 IRI fullnode running properly with neighbors managed by CarrIOTA Nelson. Then I updated IRI to 1.4.2.2 version and I never succeded in having a ...
5
votes
1answer
70 views

What is the purpose of including extra CRC32 packet data in the TCP/IP communications flow?

The TCP communications in the IRI sends and receives packets with 16 additional CRC32 bytes after the transaction data. Internet TCP/IP data is already check-summed. Furthermore, malformed data will ...
3
votes
1answer
65 views

How to enable debugging on IRI?

Once the user has installed a full node by downloading and starting an already compiled package (using e.g. these instructions), what steps can be taken to debug it? For example, the IRI GitHub page ...
5
votes
2answers
186 views

Why would PoW not be enabled by default in full-node installation instructions?

So I had went through the steps in this "IOTA Full Node Copy-Paste Installation Guide" and got the full node installed and running. I had earlier read in this "Making a Transaction" article here at ...
2
votes
0answers
95 views

Error when starting CarrIOTA Field: invalid value for upstreamProxy: “localhost:NaN”

I have some problem in my configuration of the CarrIOTA Field app, running on Ubuntu 16.04.4 LTS and Node.js v8.9.4. I installed and attempted to launch it using the instructions here at GitHub. The ...
3
votes
1answer
219 views

How can I determine whether my node is successfully connected to CarrIOTA Field?

I installed and started the CarrIOTA Field Node.js app on my full server yesterday. As is explained in the GitHub instructions for the app I configured it to run as an auto-started process using PM2. ...
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 ...
3
votes
1answer
221 views

Any known issues running CarrIOTA Field and CarrIOTA Nelson on the same server?

I have a full node and will probably attempt to install both CarrIOTA Field and CarrIOTA Nelson on it. Being that Nelson manages connections to neighbors and Field manages work from other Field nodes,...
7
votes
1answer
309 views

What is the benefit of dropping random packets and/or dropping random cached message data?

In the IRI, there is code designed to randomly drop TCP/UDP packets and/or to randomly thwart the data from TCP/UDP packets from being processed. Given that this is a random application to all data, ...
3
votes
1answer
55 views

What is the significance of being connected by an unknown neighbor?

In the IRI log output, there is the occasional message: ***** NETWORK ALERT ***** Got connected from unknown neighbor tcp://(SOME IP:PORT) - closing connection Why is this notable? Exactly what ...
2
votes
1answer
57 views

Installing IOTA wallet fails at “npm start”

I tried to install IOTA wallet App on amazon linux ec2-instance. Linux ip-xxx-xx-xx-xxx 4.9.77-31.58.amzn1.x86_64 #1 SMP Thu Jan 18 22:15:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux All is fine ...
4
votes
0answers
86 views

How to connect cli-app with IOTA Javascript Library

I installed IOTA CLI Wallet and executing 'iota-cli' works after iri is executed. I get NodeInfo command run on iota-cli from my terminal also. So I guess a stand alone IOTA wallet core is now ...
4
votes
1answer
72 views

Are there any security considerations regarding running full node?

I have been thinking about setting up a dedicated full node to support the Iota network. In this case would be running some variant of Linux on a dedicated server that would at least meet the ...