Questions tagged [attach-to-tangle]

attach-to-tangle a tag used for Questions on attaching addresses to the tangle.

Filter by
Sorted by
Tagged with
2 votes
1 answer
82 views

BadApiResponse: 403 response from node: {'error': 'command [attachToTangle] is protected'}

I have a private tangle with a Hornet Coordinator node. I am trying to make zero-value transactions using Python API but get an error "Command [attachToTangle] is protected. This the code which I'...
0 votes
0 answers
24 views

Accessing JSON message from IRI node API using Python 3

I am using one command tangle. The tangle is running on Ubuntu machine. From the list of APIs given for IRI node, I'm trying to broadcast a transaction. For this, the first step is to get ...
-1 votes
1 answer
37 views

is tangle (IoTA) Depth-first search or Breadth-first search?

There is several of algorithms for topology sorting for DAG. What is algorithm used by tangle for search, is it Depth-first search or Breadth-first search or is there another method?
1 vote
1 answer
59 views

Why is the async function not working while fetching MAM data?

I am making a simple MAM publish and fetch script. The first script is mam_publish which publishes the data. The other script is mam_receive which fetched the already published data. Now, the ...
1 vote
1 answer
78 views

JOTA - How to verify PoW is being done?

I'm using the JOTA : Library 0.9.11-SNAPSHOT API. I have the example found at https://github.com/iotaledger/iota.lib.java/blob/master/jota/src/test/java/jota/SendMessageTest.java working from an ...
  • 131
4 votes
1 answer
64 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?
user avatar
2 votes
0 answers
40 views

Which bundles are attached to the tangle when closing a Flash Channel?

I have a general question about closing a flash channel. My understanding is that when closing a flash channel the final bundle (the transfer from a leaf node/multisig to output addresses) is ...
7 votes
1 answer
558 views

What does "Inconsistent subtangle" mean?

Some of my recent transactions are not confirmed and if I try to use a tool such as this or this, I get an error saying "Inconsistent subtangle" or "Cannot find tail" or "Inconsistent tips pair ...
3 votes
2 answers
166 views

GPU Proof-of-work

Is Iota proof of work being done only on CPUs right now, or also GPUs? I see people mentioning their GPU when posting about how long it takes their full node to do PoW, but I thought that required ...
  • 399
4 votes
2 answers
176 views

Attaching an address to the tangle via the API

This is a follow-up question to What does the ATTACH TO TANGLE button do? When using the js-/Python-API, I assume that you have to specify the receive address as the target of the 0-value transaction....
  • 921
5 votes
1 answer
349 views

How to attach an address to tangle programmatically?

Say I have a script to generate addresses automatically, how can I attach it to the tangle using the library? From the Javascript library I see that these are the parameters: * @param {string} ...
  • 415
1 vote
2 answers
199 views

Python API - Reattaching transactions after snapshot

I have a small seed for testing using the Python API, linking to a local CarrIOTA node. The seed has only one used address. If I run get_account_data(), the balance shows as 0 since I haven't ...
1 vote
1 answer
73 views

Confirming attaching to Tangle [closed]

How do i make sure a certain address is attached to Tangle and how do I attach it if it is not attached (as i see a new receiving address now)? For instance, I sent a few IOTAs (Mi) from one wallet to ...
2 votes
0 answers
52 views

How are replays avoided? And, is this an effective way to spam the network?

To do POW, you call attachToTangle and do POW on two transactions, branchTransaction and trunkTransaction which you get from calling TransactionsToApprove. The message you want to send is sent in ...
4 votes
1 answer
166 views

Attach to Tangle Transaction

The "attach to tangle"-transaction is a special zero value transaction to attach a newly generated address to tangle. The "attach to tangle"-transactions contains signatures such as following ...
  • 263
5 votes
1 answer
254 views

Does attaching an address reveal its private key?

So it is stated an outgoing transaction from an address would reveal some of the private key. That's why we don't reuse an address. Technically address attaching is also a zero amount transaction. ...
  • 415
6 votes
2 answers
270 views

What is the goal of the Nash Equilibrium blog posts?

I've just read through part two of the Nash Equilibrium blog post (linked below) and I'd like a bit of clarification. Is the ultimate goal of modeling the IOTA-specific Nash Equilibrium scenarios to ...
6 votes
1 answer
114 views

Attaching an address generated by an old version of the library?

For starters, let it be known that attaching an address to a seed is easy using the JS library: iota.api.sendTransfer(seed, 3, 14, [{"address": address, "value": 0, "message": "", "tag": ""}], ...
  • 63
2 votes
2 answers
575 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?
4 votes
1 answer
457 views

Attach to tangle, invalid response error

I am using the official IOTA GUI wallet (currently version 2.5.4). I am having problems with the "Attach to Tangle" function. I always get the error message "invalid response". I already changed the ...