Skip to content

Instantly share code, notes, and snippets.

@matiu
Created March 9, 2015 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matiu/59a04870f7d8409cd652 to your computer and use it in GitHub Desktop.
Save matiu/59a04870f7d8409cd652 to your computer and use it in GitHub Desktop.
Coinjoin at BWS
  • createTX

    • output: 1bitcoin
    • amount: 1BTC
    • useCoinJoin: true
      • coinJoinToSignTimeout: 1hr
      • coinJoinToBroadcastTimeout: 24hr
      • coinJoinTimeoutPolicy: broadcastWithoutCoinJoin | rejectByServer
  • Transaction will be available to be sign once coinjoin is available, or if timeout is reached,and broadcastWithoutcoinjoin is set as policy.

  • Coinjoin 'nr of required tx to mix' could be defined at server level

  • if broadcastWithoutcoinjoin signed sign 2 TXs: with and without coinjoin.

  • Once the joined TX is created, there is coinJoinToBroadcastTimeout time for signer to sign the TX. If txs are not signed (or rejected by "cojoinsigners", coinJoinTimeoutPolicy is used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment