Questions tagged [iri-api]

For questions related to IOTA's Application Programming Interface (API)

Filter by
Sorted by
Tagged with
4
votes
1answer
79 views

How do I configure a public node?

How can I configure my node such that it is secure for public access? I am aware that I can use either the --remote-limit-api launch argument, or by setting it in my ini; REMOTE_LIMIT_API=...
6
votes
1answer
179 views

findTransaction not finding tag

I was experimenting with some transactions and I wonder why the node cant find a transaction when I search for it by its TAG, yet finds it when I search for it by its transaction hash. Example: ...
7
votes
1answer
151 views

Is it correct that a wallet which does PoW never needs to call attachToTangle?

This is more or less to confirm my deeper understanding of IRI and how it all works. From the docs and the code what I see is, that attachToTangle outsources the PoW to a node. It is ...
4
votes
1answer
90 views

What does the `security` param for `getNewAddress` do?

When I create addresses in the API library (i.e., using getNewAddress()), there is an optional security parameter. What does this parameter do, and what values does it accept?
4
votes
1answer
58 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?