Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Wait for sufficient amount of transaction confirmations #1633

Open
Eknir opened this issue Aug 2, 2019 · 1 comment
Open

Wait for sufficient amount of transaction confirmations #1633

Eknir opened this issue Aug 2, 2019 · 1 comment

Comments

@Eknir
Copy link
Contributor

Eknir commented Aug 2, 2019

Currently, we are returning from submitting / cashing a cheque right after we get the first confirmation. Due to the nature of the blockchain we should wait 25 blocks to be reasonably certain that the transaction will always be part of the longest chain.
If we don't do this, we risk that our transaction becomes orphaned and the swarm peer will not be aware of this.

@ralph-pichler
Copy link
Member

As discussed on a recent call this number should be configurable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Development

No branches or pull requests

3 participants