Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Formatting: prefer relative leveloffset in asciidoc
Browse files Browse the repository at this point in the history
Refs #293.
  • Loading branch information
mhluongo committed Sep 22, 2019
1 parent 612fd7d commit a463a41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/deposits/economics.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
== Deposit Economics
= Deposit Economics

:signer-fee-withheld: 0.005 TBTC

Expand Down
4 changes: 2 additions & 2 deletions docs/deposits/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ SPV proofs when used as an additional validation step, as even entities with
significant mining resources have a greatly reduced chance of creating fake
proofs.

include::./mispayment.adoc[leveloffset=0]
include::./mispayment.adoc[leveloffset=+2]

== Lots

Expand All @@ -165,4 +165,4 @@ requests and fund multiple deposits. This allows each deposit to be backed by
a different signing group, both simplifying the bonding of signing groups and
improving the resilience of the system to signing group failure.

include::./economics.adoc[leveloffset=0]
include::./economics.adoc[leveloffset=+1]
8 changes: 4 additions & 4 deletions docs/deposits/mispayment.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== Mispayment
= Mispayment

The system is designed to function with a predefined lot size for all _Deposits_
which is given as a system parameter. **Depositors should send the exact lot
Expand All @@ -9,7 +9,7 @@ primary impact of overpayment and underpayment is on the `Deposit`'s collateral
ratio. We treat overpayment and underpayment as faulty depositor behavior,
and pass on the associated costs to the depositor.
==== Underpayment
== Underpayment
Allowing underpayment on `Deposit` would result in over-bonded signers. To
prevent this, the system will not accept funding proofs of less than the lot
Expand All @@ -19,7 +19,7 @@ locked in the funding transactions to the Signers. The Signers can unlock and
evenly split the funds in the transaction after the _Deposit_ is resolved on-chain (see
<<Multiple UTXOs>> for a full discussion).
==== Overpayment
== Overpayment
Overpayment, in contrast, would result in under-bonded signers. When overfunding
occurs, the system accepts the funding proof, but mints TBTC according to the
Expand All @@ -36,7 +36,7 @@ A depositor should notice this and immediately try to burn their TBTC to reclaim
the amount. If not, the depositor effectively forfeits the overfunded value to
other participants.
==== Multiple UTXOs
== Multiple UTXOs
A faulty depositor may send multiple UTXOs to the signer group address. This
may be the result of human or software error. Unfortunately, returning the
Expand Down

0 comments on commit a463a41

Please sign in to comment.