Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

A few more trubanc -> truledger

  • Loading branch information...
commit 13f20102bad02f53e27ea22db8edac133c1a8ad9 1 parent 3959846
@billstclair authored
Showing with 30 additions and 29 deletions.
  1. +2 −1  INSTALL
  2. +1 −1  slime-setup
  3. +9 −9 src/index.html
  4. +18 −18 todo.txt
View
3  INSTALL
@@ -26,7 +26,8 @@ the Truledger client will be started on that port:
TRULEDGER_PORT=8080 ./truledger 4005
To load the slime distributed with Truledger into your emacs, assuming
-the "trubanc" dir is in your home directory, put the following in ~/.emacs:
+the "truledger" dir is in your home directory, put the following in
+~/.emacs:
(add-to-list 'load-path "~/truledger/systems/slime/")
(require 'slime)
View
2  slime-setup
@@ -1,4 +1,4 @@
-# Set up port forwarding for slime to the Trubanc.com server
+# Set up port forwarding for slime to the Truledger.com server
echo "Forwarding port 4008 to \$HUBTB"
echo "screen -ls; screen -dr OR screen; start-qres"
ssh -A -L4008:localhost:4008 $HUBTB
View
18 src/index.html
@@ -1,21 +1,21 @@
<html>
<head>
-<title>Trubanc Source Code</title>
+<title>Truledger Source Code</title>
</head>
<body>
-<h1>Trubanc Source Code</h1>
-<p>This directory contains the Trubanc source code.</p>
+<h1>Truledger Source Code</h1>
+<p>This directory contains the Truledger source code.</p>
<p>The best way to get this code onto your machine, along with all the
systems that it requires, is to install
<a href="http://git-scm.com">Git</a>, and type the following at a
command line:</p>
<p>
<code>
- <span style="margin-left: 15px;">git clone git://github.com/billstclair/trubanc-lisp.git trubanc</span>
+ <span style="margin-left: 15px;">git clone git://github.com/billstclair/truledger-lisp.git truledger</span>
</code></p>
<p>You can browse the code by clicking a link below, or at
-<a href="http://github.com/billstclair/trubanc-lisp/">
- github.com/billstclair/trubanc-lisp/</a>.
+<a href="http://github.com/billstclair/truledger-lisp/">
+ github.com/billstclair/truledger-lisp/</a>.
</p>
<table>
<tr><td><a href="backup.lisp">backup.lisp</a></td>
@@ -31,7 +31,7 @@
<tr><td><a href="file-locks.lisp">file-locks.lisp</a></td>
<td>Locking files for exclusive access by a single thread</td></tr>
<tr><td><a href="fsdb.lisp">fsdb.lisp</a></td>
-<td>Trubanc's File System Database</td></tr>
+<td>Truledger's File System Database</td></tr>
<tr><td><a href="history.lisp">history.lisp</a></td>
<td>The history page in the client web interface</td></tr>
<tr><td><a href="loomrandom.lisp">loomrandom.lisp</a></td>
@@ -63,13 +63,13 @@
<tr><td><a href="tokens.lisp">tokens.lisp</a></td>
<td>Tokens used in messages and database file and directory names</td></tr>
<tr><td><a href="toplevel.lisp">toplevel.lisp</a></td>
-<td>The toplevel of the Trubanc application binary</td></tr>
+<td>The toplevel of the Truledger application binary</td></tr>
<tr><td><a href="utilities.lisp">utilities.lisp</a></td>
<td>Some utility functions</td></tr>
</table>
<p><a href="../">Home</a></p>
<p style="font-size: 75%;">Copyright &copy;
-<a href="mailto:bill@billstclair.com?subject=Trubanc">
+<a href="mailto:bill@billstclair.com?subject=Truledger">
Bill St. Clair</a>, 2009. All rights reserved.</p>
<p>
<a href="http://common-lisp.net/">
View
36 todo.txt
@@ -4,13 +4,13 @@ Periodic task to assess storage fees for inactive balances.
Audit server balances.
-1) Audit all: can be requested by the bank (or whomever it gives permission)
+1) Audit all: can be requested by the server (or whomever it gives permission)
2) Audit asset type: can be requested by asset issuer (or whomever he
gives permission?)
----------------------------------------------------------------------
-Automatic interbank transfers.
+Automatic interserver transfers.
Deposit a coupon from one server in another one.
@@ -18,12 +18,12 @@ Issuer must issue the asset on both servers, and must have declared to
the server on which the coupon is drawn that the other server is
allowed to receive transfers.
-Bank on which the coupon is deposited must have an account at the bank
+Server on which the coupon is deposited must have an account at the server
on which the coupon was minted.
Ends up as a must-accept invoice on one server and a receipt on the other.
-Transaction fees? To banks AND issuer?
+Transaction fees? To servers AND issuer?
How to help the issuer keep track of where the assets he's storing are held?
@@ -34,7 +34,7 @@ Fixed, asset type(s) specified.
Percent of amount transferred, in asset transferred.
Always paid by spender?
-Always paid to bank, or split between bank and asset issuer?
+Always paid to server, or split between server and asset issuer?
----------------------------------------------------------------------
@@ -48,7 +48,7 @@ Two-phase commit.
Reducing storage fee percent can reduce the number of digits in the
fraction. This will cause fractional amounts to be truncated, causing
-the bank to go out of balance by potentially 1 lsb. Can fix this by
+the server to go out of balance by potentially 1 lsb. Can fix this by
rounding up the fractional balance when the percentage changes, or by
remembering the maximum fraction-digits value for each asset type.
@@ -98,12 +98,12 @@ before exiting to help find it.
----------------------------------------------------------------------
-"Trubanc in Plain English" needs update
+"Truledger in Plain English" needs update
Two-phase commit.
-"Resync with bank" button should notice discrepancies, and do
-correction protocol with bank. Should bank automatically accept,
+"Resync with server" button should notice discrepancies, and do
+correction protocol with server. Should server automatically accept,
or just post to be approved by asset issuer? Probably the latter.
======================================================================
@@ -161,12 +161,12 @@ Asset storage fees:
Asset nicknames
Distinguish intentional from unintentional server errors. Give
-backtrace only on unintentional messages. TRUBANC-ERROR.
+backtrace only on unintentional messages. TRULEDGER-ERROR.
Sanity check the server URL to make sure that the HTTPS matches that
for the client.
-Default the bank URL on the Admin page, to the current URL.
+Default the server URL on the Admin page, to the current URL.
Sometimes it hangs on shutting down the web server.
@@ -175,11 +175,11 @@ This allows central control over membership.
Add to client "Admin" page.
If disallowed, the check boxes don't appear on the "Balance" page.
Protocol for this should be general:
- (<id>,getprop,<bankid>,<req>,<name>)
- (<bankid>,prop,<bankid>,<time>,<name>,<value>)
+ (<id>,getprop,<serverid>,<req>,<name>)
+ (<serverid>,prop,<serverid>,<time>,<name>,<value>)
-Change bank URL from the client "Admin" page.
-Client login should query bank for URL, and fix stuff if it's wrong.
+Change server URL from the client "Admin" page.
+Client login should query server for URL, and fix stuff if it's wrong.
History has some blank lines. Figure out where they come from. Also
some bad parses.
@@ -191,9 +191,9 @@ Add a build timestamp to the bottom of the raw balance page.
Installation docs.
If you add an administrator account from the "Admin" page, an account
-that already has another bank, the tokens are spend to that account,
-but the bank isn't added. Or something like that. I had to add the
-bank. The contacts appeared then, so something is wierd.
+that already has another server, the tokens are spend to that account,
+but the server isn't added. Or something like that. I had to add the
+server. The contacts appeared then, so something is wierd.
Why is getreq called four times a the end of login?
Please sign in to comment.
Something went wrong with that request. Please try again.