Skip to content

Commit fa71bad

Browse files
committed
Use LndHub and LNDHub.go consistently
There are various spelling of LndHub used accross the documentation. Let's use LndHub for the original version and LNDHub.go for the rewrite.
1 parent 8959601 commit fa71bad

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Alternatively you can also use the [Alby simnetwork](https://github.com/getAlby/
7575

7676
## Database
7777

78-
LndHub.go requires a PostgreSQL database backend.
78+
LNDHub.go requires a PostgreSQL database backend.
7979

8080
## Prometheus
8181

docs/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ var SwaggerInfo = &swag.Spec{
720720
Host: "",
721721
BasePath: "/",
722722
Schemes: []string{"https", "http"},
723-
Title: "LNDhub.go",
723+
Title: "LNDHub.go",
724724
Description: "Accounting wrapper for the Lightning Network providing separate accounts for end-users.",
725725
InfoInstanceName: "swagger",
726726
SwaggerTemplate: docTemplate,

docs/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"swagger": "2.0",
77
"info": {
88
"description": "Accounting wrapper for the Lightning Network providing separate accounts for end-users.",
9-
"title": "LNDhub.go",
9+
"title": "LNDHub.go",
1010
"contact": {
1111
"name": "Alby",
1212
"url": "https://getalby.com",

docs/swagger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ info:
180180
license:
181181
name: GNU GPL
182182
url: https://www.gnu.org/licenses/gpl-3.0.en.html
183-
title: LNDhub.go
183+
title: LNDHub.go
184184
version: 0.6.1
185185
paths:
186186
/auth:

lib/service/invoicesubscription.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ func (svc *LndhubService) createKeysendInvoice(ctx context.Context, rawInvoice *
188188
}
189189
userLoginCustomRecord := rawInvoice.Htlcs[0].CustomRecords[TLV_WALLET_ID]
190190
//Find user. Our convention here is that the TLV
191-
//record should contain the user's LNDhub login string
191+
//record should contain the user's login string
192192
//(LND already returns the decoded string so there is no need to hex-decode it)
193193
user, err := svc.FindUserByLogin(ctx, string(userLoginCustomRecord))
194194
if err != nil {

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var indexHtml string
4242
//go:embed static/*
4343
var staticContent embed.FS
4444

45-
// @title LNDhub.go
45+
// @title LNDHub.go
4646
// @version 0.6.1
4747
// @description Accounting wrapper for the Lightning Network providing separate accounts for end-users.
4848

notes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Rebuilding LndHub
22

3-
Goal of this project is to build a simple accounting system with a [LNDHub](https://github.com/BlueWallet/LndHub) compatible API that focusses on simplicity, maintainability and ease of deployment.
3+
Goal of this project is to build a simple accounting system with a [LndHub](https://github.com/BlueWallet/LndHub) compatible API that focusses on simplicity, maintainability and ease of deployment.
44

5-
[LNDHub](https://github.com/BlueWallet/LndHub) is a simple accounting system for LND. It allows users to send and receive lightning payments. Through the API people can access funds through a shared lightning node. (see overview.png diagram)
5+
[LndHub](https://github.com/BlueWallet/LndHub) is a simple accounting system for LND. It allows users to send and receive lightning payments. Through the API people can access funds through a shared lightning node. (see overview.png diagram)
66

77
Some design goals:
88

@@ -17,7 +17,7 @@ Some design goals:
1717

1818
### API endpoints
1919

20-
See [LNDHub API](https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js) for enpoints and request/response signatures.
20+
See [LndHub API](https://github.com/BlueWallet/LndHub/blob/master/controllers/api.js) for enpoints and request/response signatures.
2121

2222
#### /create
2323
Create a new user account
@@ -59,4 +59,4 @@ Node information
5959

6060
### Links
6161

62-
* [LNDHub](https://github.com/BlueWallet/LndHub) - Current nodejs implementation
62+
* [LndHub](https://github.com/BlueWallet/LndHub) - Current nodejs implementation

0 commit comments

Comments
 (0)