Skip to content

Commit

Permalink
Negative storage fee for interest
Browse files Browse the repository at this point in the history
  • Loading branch information
billstclair committed Jun 30, 2012
1 parent 0c7a074 commit 80e1d45
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion templates/assets.tmpl
Expand Up @@ -19,7 +19,10 @@
</tr>
<tr>
<td><b>Storage fee (%/year)</b></td>
<td><input name='storage' size='5' value='<!-- TMPL_VAR storage -->'/></td>
<td>
<input name='storage' size='5' value='<!-- TMPL_VAR storage -->'/>
(Negative for interest)
</td>
</tr>
<tr>
<td></td>
Expand Down
4 changes: 4 additions & 0 deletions todo.txt
@@ -1,11 +1,15 @@
Example JSON web client.
Add HTML escape of comment, user name, and asset name fields.

processinbox is flaky for some reason.

newuser needs a save-privkey? flag, just like old web client

start.lisp should install QuickLisp if it isn't already installed.

Why does KAV (Kaspersky Anti-Virus) cause:
Login error: Permission denied : "C:/Users/PRIVASYS/AppData/Roaming/Truledger/dbs/clientdb/account/086ed87fef7f595164b5a9cd11aef3b7283a859a/server/b077e7bfe71e193581afe7b5283cd4bac2c0a5ca/req"

----------------------------------------------------------------------

http://www.cs.brown.edu/cgc/stms/papers/isc2001.pdf
Expand Down
1 change: 1 addition & 0 deletions www/doc/db.txt
Expand Up @@ -42,6 +42,7 @@ truledger-dbs/serverdb/
-- Note that because the assetid is unique, it can cross server boundaries.
-- @storage fees are optional
-- <percent> is a decimal number giving the percent charge per year
It may be negative to denote interest instead of storage charge
coupon
<couponhash>=(<serverid>,@spend,(<id>,spend,<serverid>,<time#>,coupon,<assetid>,<amount>,note:<note>))
account/
Expand Down
2 changes: 1 addition & 1 deletion www/json.html
Expand Up @@ -319,7 +319,7 @@
cell = row.insertCell(5);
taid = 'obta' + i;
$(cell).html("<textarea id='"+taid+"' cols='20' rows='3'></textarea>")
$('#'+taid).text(cell.note);
$('#'+taid).text(item.note);
$(row.insertCell(6)).html("<input type='submit' value='Reject'" +
"onclick='spendReject("+'"'+i+'"'+")'/>");
}
Expand Down

0 comments on commit 80e1d45

Please sign in to comment.