You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This API function helps you to determine whether you should replay a transaction or make a completely new transaction with a different seed. What this function does, is it takes one or more input addresses (i.e. from spent transactions) as input and then checks whether any transactions with a value transferred are confirmed. If yes, it means that this input address has already been successfully used in a different transaction and as such you should no longer replay the transaction.
addresses: Iterable[Address] input addresses from the transaction(s).
Returns
{'reattachable': List[bool]} — similar to getBalances, the result contains a list of booleans corresponding to the addresses that were provided in the request.
The text was updated successfully, but these errors were encountered:
This method is also really important for security because Winternitz signatures become exponentially less secure after each re-use.
todofixthis
changed the title
Method to check to see if an input has been spent
Method to check to see if a transaction can be reattached to the Tangle
Jun 30, 2017
Note: In the latest version of the JS lib, this method was renamed to isReattachable and accepts multiple addresses now. I've updated the issue description.
From https://github.com/iotaledger/iota.lib.js#isreattachable (with a few modifications):
Input
addresses
:Iterable[Address]
input addresses from the transaction(s).Returns
{'reattachable': List[bool]}
— similar togetBalances
, the result contains a list of booleans corresponding to the addresses that were provided in the request.The text was updated successfully, but these errors were encountered: