BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

Trade Channels created with Transfer or Commit tx #302

Closed patrickdugan closed 4 years ago

patrickdugan commented 4 years ago

In order to facilitate smooth order routing in end-user wallets, it's necessary that a Trade Channel can be proposed and "created" in the protocol's data structure, simply by broadcasting a Commit or Transfer tx to a multisig address. The address doesn't have to be multisig in the protocol's logic, this is a security requirement that must be imposed at the wallet logic level.

TC's are created when Commit or Transfer tx are confirmed with a new reference address, and destroyed when no tx is published after 1 day's worth of blocks.