mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-17 15:29:30 +00:00
f817ae39bc
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
15 lines
715 B
JavaScript
15 lines
715 B
JavaScript
const ChannelsController = require("../../controllers/lnd/channels");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
const authCheck = require("../shared/authCheck");
|
|
|
|
router.get("/", authCheck, ChannelsController.getAllChannels);
|
|
router.get("/pending", authCheck, ChannelsController.getPendingChannels);
|
|
router.get("/closed", authCheck, ChannelsController.getClosedChannels);
|
|
router.post("/", authCheck, ChannelsController.postChannel);
|
|
router.post("/transactions", authCheck, ChannelsController.postTransactions);
|
|
router.delete("/:channelPoint", authCheck, ChannelsController.closeChannel);
|
|
router.post("/chanPolicy", authCheck, ChannelsController.postChanPolicy);
|
|
|
|
module.exports = router;
|