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

Commit

Permalink
zero conf claim question
Browse files Browse the repository at this point in the history
  • Loading branch information
jorian committed Jan 18, 2018
1 parent ff99c3a commit 3e41e13
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
14 changes: 13 additions & 1 deletion docs/source/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,19 @@ Why are multiple UTXOs needed?

BarterDEX is an UTXO based exchange. This means that 1 UTXO is exchanged for 1 other UTXO. For example: 1 KMD UTXO with a value of 32 KMD is traded for 1 BCH UTXO with a value of 0.5 BCH.

The atomic swap protocol
Why can't I claim my expired 0-conf deposit?
--------------------------------------------

This is due to avoid bad actors stealing the deposit, and depends on the time you made a deposit. Funds are available 3 - 10 days after the expiration of the number of weeks you defined when making the deposit.

.. code-block:: c
timestamp = (uint32_t) time(NULL);
timestamp /= LP_WEEKMULT;
timestamp += weeks + 2;
timestamp *= LP_WEEKMULT;
.. _Unspent Transaction Output: http://learnmeabitcoin.com/glossary/utxo

Expand Down
6 changes: 6 additions & 0 deletions docs/source/guides.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
Guides
======

How to become a marketmaker
---------------------------

How to claim a 0-conf deposit manually
--------------------------------------
4 changes: 0 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ BarterDEX is a decentralized cryptocurrency exchange using atomic swaps to trade
- Decentralized orderbooks
- Decentralized ordermatching

Whitepaper `explaining the protocol`_

.. _explaining the protocol: :ref:`whitepaper`

.. toctree::
:maxdepth: 2

Expand Down

0 comments on commit 3e41e13

Please sign in to comment.