Compare commits

...

11 Commits

Author SHA1 Message Date
dan-s
ef9b241cfd cleanup 2026-02-28 00:37:44 -06:00
Duke Leto
5bab463245 Use non-legacy conf file location 2022-11-20 17:25:33 +00:00
Duke Leto
24640b178e Update 'README.md' 2022-11-20 17:20:06 +00:00
Duke Leto
5b5533c890 Update 'README.md' 2022-10-31 13:07:18 +00:00
Duke Leto
c9f6e7d7f3 Update 'README.md' 2022-10-31 13:06:25 +00:00
Duke Leto
6cc055b07f Merge pull request 'Add myself to authors' (#21) from dev into master
Reviewed-on: https://git.hush.is/hush/lightwalletd/pulls/21
2021-10-29 02:43:10 +00:00
Duke Leto
8937561710 Add myself to authors 2021-10-28 22:42:37 -04:00
jahway603
0735c58b4c Merge pull request 'added AUTHORS file' (#20) from jahway into master
Reviewed-on: https://git.hush.is/hush/lightwalletd/pulls/20
2021-10-28 03:34:44 +00:00
jahway603
1217bade73 Merge branch 'master' into jahway 2021-10-28 03:34:21 +00:00
jahway603
8881b6f1d6 added AUTHORS file 2021-10-27 23:33:19 -04:00
jahway603
3ef370621c Merge pull request 'new build scripts for ARM' (#19) from jahway into master
Reviewed-on: https://git.hush.is/hush/lightwalletd/pulls/19
2021-10-25 22:22:51 +00:00
5 changed files with 52 additions and 7 deletions

32
.gitignore vendored
View File

@@ -1,5 +1,33 @@
# Compiled binaries
main
grpcfrontend
cert.pem
key.pem
lightwalletd
# TLS certificates and keys
*.pem
# Database files
*.db
*.sqlite
# Logs
*.log
# Go test binaries and output
*.test
*.out
*.prof
# IDE and editor files
.idea/
.vscode/
*.swp
*.swo
*~
# Temporary files
/tmp/
# Build output
/dist/
/build/

4
AUTHORS Normal file
View File

@@ -0,0 +1,4 @@
# The Hush Developers
Jahway603 https://git.hush.is/jahway603 https://github.com/jahway603
Duke Leto https://git.hush.is/duke

View File

@@ -78,6 +78,7 @@ server {
location / {
# Replace localhost:9067 with the address and port of your gRPC server if using a custom port
# Hush Smart Chains should use a different port than 9067 so it doesn't conflict with HUSH lightwalletd
grpc_pass grpc://your_host.net:9067;
}
}
@@ -86,14 +87,14 @@ server {
Then run the lightwalletd frontend with the following (Note: we use the "-no-tls" option as we are using NGINX as a reverse proxy and letting it handle the TLS authentication for us instead):
```
./lightwalletd -bind-addr your_host.net:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -no-tls
./lightwalletd -bind-addr your_host.net:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls
```
##### Option B: "Let's Encrypt" certificate just using lightwalletd without NGINX
The other option is to configure lightwalletd to handle its own TLS authentication. Once you have a certificate that you want to use (from a certificate authority), pass the certificate to the frontend as follows:
```
./lightwalletd -bind-addr 127.0.0.1:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -tls-cert /etc/letsencrypt/live/YOURWEBSITE/fullchain.pem -tls-key /etc/letsencrypt/live/YOURWEBSITE/privkey.pem
./lightwalletd -bind-addr 127.0.0.1:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -tls-cert /etc/letsencrypt/live/YOURWEBSITE/fullchain.pem -tls-key /etc/letsencrypt/live/YOURWEBSITE/privkey.pem
```
#### 4. Point the `silentdragonlite-cli` to this server
@@ -125,7 +126,11 @@ These are the current different command line options for lightwalletd:
| -cache-size| 40000 | number of blocks to hold in the cache |
## Support
For support or other questions, join us on [Telegram](https://hush.is/telegram), or tweet at [@MyHushTeam](https://twitter.com/MyHushTeam), or toot at our [Mastodon](https://fosstodon.org/@myhushteam) or join [Telegram Support](https://hush.is/telegram_support).
For support or other questions, join us on [Telegram](https://hush.is/telegram), or tweet at [@HushIsPrivacy](https://twitter.com/HushIsPrivacy), or toot at our [Mastodon](https://fosstodon.org/@myhushteam) or join [Telegram Support](https://hush.is/telegram_support).
## License
GPLv3 or later
# Copyright
2016-2022 The Hush Developers

View File

@@ -6,7 +6,9 @@
# you can choose either IPv4 or IPv6
# using ipv4 localhost
#./lightwalletd -bind-addr localhost:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -no-tls
#./lightwalletd -bind-addr localhost:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls
# using ipv6 localhost
./lightwalletd -bind-addr ip6-localhost:9067 -conf-file ~/.komodo/HUSH3/HUSH3.conf -no-tls
#./lightwalletd -bind-addr ip6-localhost:9067 -conf-file ~/.hush/HUSH3/HUSH3.conf -no-tls
./lightwalletd -bind-addr lite.dragonx.is:9069 -conf-file ~/.hush/DRAGONX/DRAGONX.conf -no-tls &

6
start_server.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# set -e
./lightwalletd -bind-addr lite.dragonx.is:9069 -conf-file ~/.hush/DRAGONX/DRAGONX.conf -no-tls