Closed michielbdejong closed 5 years ago
See https://en.bitcoin.it/wiki/Atomic_cross-chain_trading and https://en.bitcoin.it/wiki/Hashlock / https://en.bitcoin.it/wiki/Hashed_Timelock_Contracts
Note that the timeouts used there require a third-party witness, otherwise network downtime (on any of the comms links along the loop) could break atomicity.
See https://en.bitcoin.it/wiki/Atomic_cross-chain_trading and https://en.bitcoin.it/wiki/Hashlock / https://en.bitcoin.it/wiki/Hashed_Timelock_Contracts
Note that the timeouts used there require a third-party witness, otherwise network downtime (on any of the comms links along the loop) could break atomicity.