Compare commits
11 Commits
0f20b1965c
...
ef9b241cfd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef9b241cfd | ||
|
|
5bab463245 | ||
|
|
24640b178e | ||
|
|
5b5533c890 | ||
|
|
c9f6e7d7f3 | ||
|
|
6cc055b07f | ||
|
|
8937561710 | ||
|
|
0735c58b4c | ||
|
|
1217bade73 | ||
|
|
8881b6f1d6 | ||
|
|
3ef370621c |
32
.gitignore
vendored
32
.gitignore
vendored
@@ -1,5 +1,33 @@
|
|||||||
|
# Compiled binaries
|
||||||
main
|
main
|
||||||
grpcfrontend
|
grpcfrontend
|
||||||
cert.pem
|
|
||||||
key.pem
|
|
||||||
lightwalletd
|
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
4
AUTHORS
Normal 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
|
||||||
11
README.md
11
README.md
@@ -78,6 +78,7 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
# Replace localhost:9067 with the address and port of your gRPC server if using a custom port
|
# 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;
|
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):
|
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
|
##### 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:
|
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
|
#### 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 |
|
| -cache-size| 40000 | number of blocks to hold in the cache |
|
||||||
|
|
||||||
## Support
|
## 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
|
## License
|
||||||
GPLv3 or later
|
GPLv3 or later
|
||||||
|
|
||||||
|
# Copyright
|
||||||
|
|
||||||
|
2016-2022 The Hush Developers
|
||||||
|
|||||||
6
start.sh
6
start.sh
@@ -6,7 +6,9 @@
|
|||||||
# you can choose either IPv4 or IPv6
|
# you can choose either IPv4 or IPv6
|
||||||
|
|
||||||
# using ipv4 localhost
|
# 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
|
# 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
6
start_server.sh
Normal 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
|
||||||
Reference in New Issue
Block a user