8

When trying to send to a foreign address, I got the following error recently:

ERROR: Sending to a used address!

How does my wallet know, that this address has already been used for sending? It's quite an old address, so I assume I don't have the transaction in my local Tangle any more.

1 Answer 1

4

In iri 1.4.2 an API call wereAddressesSpentFrom was introduced. This (and later) iri versions come with a list of previously spent addresses bundled. When the API function is called, both the current tangle (after last snapshot) and this list are checked to find transactions that spent from that address.

As a conclusion, your address is most likely on that list.

3
  • Thanks, it is indeed on the list. This list contains roughly 390k addresses, from when on are they being tracked in it? From the genesis transaction or from some later snapshot?
    – janowitz
    Commented Feb 23, 2018 at 9:51
  • 1
    You'd probably have to ask the foundation. Since the list was committed by alon-e, it is probably compiled from his own list of snapshot databases (store.alon-e.com/IOTA_DBs), which (as he claims - I have not been involved long enough to know when exactly genesis transaction happened) reach back to the genesis transaction.
    – mihi
    Commented Feb 23, 2018 at 19:15
  • Thanks, I created a follow-up question: iota.stackexchange.com/questions/1618/… And maybe I'll find out directly here: github.com/iotaledger/iri/issues/503 If you have any more information on that, feel free to answer over there!
    – janowitz
    Commented Feb 26, 2018 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.