aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-12-04 00:47:41 -0800
committerAdam Soltys <[email protected]>2012-12-04 00:47:41 -0800
commit00a08d7c8b10b726830505b58a045a49bb2046fe (patch)
tree4fb1c7d27991cc2070b34f2c98d4bf5bf3a1939d
parent98a44809dc33e125f92e451a0b5b7cb8bb3fd806 (diff)
downloadcoinos-server-00a08d7c8b10b726830505b58a045a49bb2046fe.tar.gz
coinos-server-00a08d7c8b10b726830505b58a045a49bb2046fe.zip
Note about fees
-rw-r--r--app.coffee4
-rw-r--r--views/join.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/app.coffee b/app.coffee
index 615a09cf..b83f649d 100644
--- a/app.coffee
+++ b/app.coffee
@@ -164,7 +164,7 @@ app.post('/users', (req, res) ->
res.redirect('calculator?' + params.join(''))
)
-app.post('/:user/transactions', ensureAuthenticated, (req, res) ->
+app.post('/:user/transactions', (req, res) ->
user = req.params.user
db.incr('transactions', (err, id) ->
db.hmset("#{user}:transactions:#{id}", req.body, ->
@@ -192,7 +192,7 @@ app.get('/:user/edit', ensureAuthenticated, (req, res) ->
)
)
-app.get('/:user', ensureAuthenticated, (req, res) ->
+app.get('/:user', (req, res) ->
console.log(req.user)
res.render('calculator',
user: req.params.user,
diff --git a/views/join.html b/views/join.html
index 26f88887..f25c0dea 100644
--- a/views/join.html
+++ b/views/join.html
@@ -7,5 +7,5 @@ If you're a resident of Vancouver and would like to be listed as a local exchang
<h2>Our Rates</h2>
<p>
-The exchange rates on this website are pegged to the current market prices at <a href="http://cavirtex.com/">cavirtex.com</a> and are updated every 15 minutes. Specifically, we take an average of the bid/ask prices in the order books there using a market depth of $1000 CAD.
+Our exchange rates are pegged to the current market prices at <a href="http://cavirtex.com/">cavirtex.com</a> including a 3% surcharge to cover the <a href="https://www.cavirtex.com/fees">transaction fees</a> that they charge to use their service. We don't take any commission above and beyond that for ourselves. Our hope is that eventually there will be enough turnover in the Vancouver bitcoin economy that we won't need to use an online exchange. When that happens, we'll be able to eliminate fees altogether.
</p>