aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-20 14:39:05 -0800
committerAdam Soltys <[email protected]>2023-12-20 14:39:08 -0800
commit44b5d463d8e32d9dd400ebb834ed2a877d93a639 (patch)
tree3e52a95fba04dc96dd1d1ab0e79e2d8f03564781 /index.js
parentb67ca07bac3a0cb78f9b3c19a783c3253f06c29f (diff)
downloadcoinos-server-44b5d463d8e32d9dd400ebb834ed2a877d93a639.tar.gz
coinos-server-44b5d463d8e32d9dd400ebb834ed2a877d93a639.zip
calculate fee from inputs and outputs
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/index.js b/index.js
index a6881cc5..55d05100 100644
--- a/index.js
+++ b/index.js
@@ -58,7 +58,6 @@ app.post("/parse", payments.parse);
app.get("/fund/:name", payments.fund);
app.get("/fund/:name/withdraw", payments.withdraw);
app.post("/take", auth, payments.take);
-app.post("/buy", auth, payments.buy);
app.post("/print", auth, payments.print);
app.post("/send/:lnaddress/:amount", auth, payments.lnaddress);
@@ -68,13 +67,11 @@ app.get("/lnurlp/:username", lnurl.lnurlp);
app.get("/lnurl/:id", lnurl.lnurl);
app.post("/freeze", payments.freeze);
-app.post("/fix", auth, payments.fix);
app.post("/bitcoin", payments.bitcoin);
app.post("/bitcoin/fee", auth, payments.fee);
app.post("/bitcoin/send", auth, payments.send);
app.get("/users", auth, users.list);
-app.get("/fix", auth, users.fix);
app.get("/me", auth, users.me);
app.get("/users/:key", users.get);
app.post("/register", users.create);
@@ -102,7 +99,6 @@ app.get("/requests", auth, requests.list);
app.post("/requests", auth, requests.create);
app.post("/requests/delete", auth, requests.destroy);
-app.post("/proxy", payments.proxy);
app.post("/shopify/:id", shopify);
let host = process.env.HOST || "0.0.0.0";