2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-10-31 09:20:27 +00:00
RTL/routes/eclair/channels.js
ShahanaFarooqui f817ae39bc
Release 0.10.1 (#605)
Dahboard layout fix #576
Boltz integration (#590)
Merged verify token and password authentication
Channel mobile view update
ECL Adding inactive channels force close
Flag Dust UTXOs
Bug fix for forwarding history browser crash #596
Label and Lease UTXOs
UI Table Fixes
App settings (#604)
Settings updates
UTXO lease confirmation box
Login and Settings page  without add new node
2021-02-21 14:02:31 -05:00

13 lines
558 B
JavaScript

const ChannelsController = require("../../controllers/eclair/channels");
const express = require("express");
const router = express.Router();
const authCheck = require("../shared/authCheck");
router.get("/", authCheck, ChannelsController.getChannels);
router.get("/stats", authCheck, ChannelsController.getChannelStats);
router.post("/", authCheck, ChannelsController.openChannel);
router.post("/updateRelayFee", authCheck, ChannelsController.updateChannelRelayFee);
router.delete("/", authCheck, ChannelsController.closeChannel);
module.exports = router;