Browse Source

Merge pull request 'updated manpage' (#56) from dev into master

Reviewed-on: #56
master v0.1.3
jahway603 11 months ago
parent
commit
6e3fb56153
  1. 2
      Makefile
  2. 2
      README.md
  3. 2
      cmd/root.go
  4. 22
      cmd/root_test.go
  5. 3
      cmd/version.go
  6. 2
      common/cache.go
  7. 2
      common/common.go
  8. 7
      common/logging/logging_test.go
  9. 2
      common/mempool.go
  10. 6
      doc/man/lightwalletd.1
  11. 2
      frontend/rpc_client.go
  12. 2
      frontend/service.go
  13. 2
      main.go
  14. 2
      parser/block.go
  15. 2
      parser/block_header.go
  16. 2
      parser/transaction.go
  17. 2
      parser/util.go
  18. 4
      start-tls.sh
  19. 4
      start.sh
  20. 37
      util/RELEASE-new-version.sh
  21. 4
      util/build-debian-package-SBC.sh
  22. 6
      util/build-debian-package.sh
  23. 2
      util/build.sh
  24. 2
      walletrpc/compact_formats.pb.go
  25. 2
      walletrpc/compact_formats.proto
  26. 2
      walletrpc/service.pb.go
  27. 2
      walletrpc/service.proto

2
Makefile

@ -1,4 +1,4 @@
# Copyright (c) 2021 Jahway603 & The Hush Developers # Copyright (c) 2021-2023 Jahway603 & The Hush Developers
# Released under the GPLv3 # Released under the GPLv3
# #
# Hush Lightwalletd Makefile # Hush Lightwalletd Makefile

2
README.md

@ -184,4 +184,4 @@ GPLv3 or later
# Copyright # Copyright
2016-2022 The Hush Developers 2016-2023 The Hush Developers

2
cmd/root.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
package cmd package cmd

22
cmd/root_test.go

@ -0,0 +1,22 @@
// Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license
package cmd
import (
"testing"
)
func TestFileExists(t *testing.T) {
if fileExists("nonexistent-file") {
t.Fatal("fileExists unexpected success")
}
// If the path exists but is a directory, should return false
if fileExists(".") {
t.Fatal("fileExists unexpected success")
}
// The following file should exist, it's what's being tested
if !fileExists("root.go") {
t.Fatal("fileExists failed")
}
}

3
cmd/version.go

@ -1,3 +1,6 @@
// Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license
package cmd package cmd
import ( import (

2
common/cache.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
// Package common contains utilities that are shared by other packages. // Package common contains utilities that are shared by other packages.

2
common/common.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
package common package common

7
common/logging/logging_test.go

@ -1,6 +1,6 @@
// Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the MIT software license, see the accompanying // Distributed under the GPLv3 software license
// file COPYING or https://www.opensource.org/licenses/mit-license.php .
package logging package logging
import ( import (
@ -10,8 +10,9 @@ import (
"testing" "testing"
"errors" "errors"
"github.com/sirupsen/logrus"
"git.hush.is/hush/lightwalletd/common" "git.hush.is/hush/lightwalletd/common"
"github.com/sirupsen/logrus"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/peer" "google.golang.org/grpc/peer"
) )

2
common/mempool.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license

6
doc/man/lightwalletd.1

@ -1,6 +1,6 @@
.TH LIGHTWALLET "1" "December 2022" "lightwalletd v0.1.2" "User Commands" .TH LIGHTWALLET "1" "June 2023" "lightwalletd v0.1.3" "User Commands"
.SH NAME .SH NAME
lightwalletd \- manual page for hush lightwalletd v0.1.2 lightwalletd \- manual page for hush lightwalletd v0.1.3
.SH DESCRIPTION .SH DESCRIPTION
.B lightwalletd .B lightwalletd
runs a lightwallet daemon for a Hush Silent Dragon Lite node. runs a lightwallet daemon for a Hush Silent Dragon Lite node.
@ -63,7 +63,7 @@ the path to a TLS key file (optional)
In order to ensure you are adequately protecting your privacy when using Hush, In order to ensure you are adequately protecting your privacy when using Hush,
please see <https://hush.is/security/>. please see <https://hush.is/security/>.
Copyright (C) 2021-2022 Jahway603 and The Hush Developers Copyright (C) 2021-2023 Jahway603 and The Hush Developers
This is experimental Free Software! Fuck Yeah!!!!! This is experimental Free Software! Fuck Yeah!!!!!

2
frontend/rpc_client.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
package frontend package frontend

2
frontend/service.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
// Package frontend implements the gRPC handlers called by the wallets. // Package frontend implements the gRPC handlers called by the wallets.

2
main.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
package main package main

2
parser/block.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license

2
parser/block_header.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
package parser package parser

2
parser/transaction.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
// Package parser deserializes (full) transactions from hushd // Package parser deserializes (full) transactions from hushd

2
parser/util.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
// Package parser deserializes (full) transactions from hushd // Package parser deserializes (full) transactions from hushd

4
start-tls.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2020-2022 The Hush Developers # Copyright 2020-2023 The Hush Developers
# Released under GPLv3 # Released under GPLv3
# Description: This script would be used with a NGINX reverse proxy # Description: This script would be used with a NGINX reverse proxy

4
start.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright 2020-2022 The Hush Developers # Copyright 2020-2023 The Hush Developers
# Released under GPLv3 # Released under GPLv3
# Description: This script would be used with a NGINX reverse proxy # Description: This script would be used with a NGINX reverse proxy

37
util/RELEASE-new-version.sh

@ -0,0 +1,37 @@
#!/usr/bin/env bash
# Copyright 2021-2023 Duke Leto and The Hush Developers
# Distributed under the GPLv3 software license, see the accompanying
# file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html
# Purpose: To process a release for a new version of lightwalletd
# *** Run with ***
# ./util/RELEASE-new-version.sh 0.1.3
# *** the above 0.1.3 is the version number you're building ***
VERSION=$1
readonly VERSION
sed -i "s/0.1.3/$VERSION/g" util/build-debian-package.sh
sed -i "s/0.1.3/$VERSION/g" util/build-debian-package-SBC.sh
sed -i "s/0.1.3/$VERSION/g" common/common.go
sed -i "s/0.1.3/$VERSION/g" doc/man/lightwalletd.1
set -e
echo ""
echo "Let's build new release $VERSION of lightwalletd..."
echo ""
echo ""
echo "Building x86 binary"
make build
echo "Building x86 Debian package"
./util/build-debian-package.sh
echo "lightwalletd $VERSION x86 is done... now to build ARM..."
# TO-DO: automate ARM deb pkg build
#echo ""
#echo "Building ARM binary"
#make build-arm
#./util/build-debian-package-SBC.sh
#rm lightwalletd
#
echo "ALL DONE FOR lightwalletd $VERSION release"

4
util/build-debian-package-SBC.sh

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright (c) 2021 The Hush developers # Copyright (c) 2021-2023 The Hush developers
# Distributed under the GPLv3 software license, see the accompanying # Distributed under the GPLv3 software license, see the accompanying
# file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html # file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html
# #
@ -56,7 +56,7 @@ if [ ! -d $BUILD_PATH ]; then
mkdir $BUILD_PATH mkdir $BUILD_PATH
fi fi
PACKAGE_VERSION=0.1.1 PACKAGE_VERSION=0.1.3
DEBVERSION=$(echo $PACKAGE_VERSION) DEBVERSION=$(echo $PACKAGE_VERSION)
BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-$ARCH" BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-$ARCH"

6
util/build-debian-package.sh

@ -1,5 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2021 The Hush developers # Copyright (c) 2021-2023 The Hush developers
# Distributed under the GPLv3 software license, see the accompanying # Distributed under the GPLv3 software license, see the accompanying
# file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html # file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html
# #
@ -46,7 +46,7 @@ if [ ! -d $BUILD_PATH ]; then
mkdir $BUILD_PATH mkdir $BUILD_PATH
fi fi
PACKAGE_VERSION=0.1.1 PACKAGE_VERSION=0.1.3
DEBVERSION=$(echo $PACKAGE_VERSION) DEBVERSION=$(echo $PACKAGE_VERSION)
BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-$ARCH" BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-$ARCH"

2
util/build.sh

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2021-2022 Duke Leto and The Hush Developers # Copyright 2021-2023 Duke Leto and The Hush Developers
# Distributed under the GPLv3 software license, see the accompanying # Distributed under the GPLv3 software license, see the accompanying
# file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html # file LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html
# Purpose: Script to build Hush lightwalletd on x86 64-bit arch # Purpose: Script to build Hush lightwalletd on x86 64-bit arch

2
walletrpc/compact_formats.pb.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license

2
walletrpc/compact_formats.proto

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
syntax = "proto3"; syntax = "proto3";

2
walletrpc/service.pb.go

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license

2
walletrpc/service.proto

@ -1,4 +1,4 @@
// Copyright (c) 2019-2022 Duke Leto and The Hush developers // Copyright (c) 2019-2023 Duke Leto and The Hush developers
// Copyright (c) 2019-2020 The Zcash developers // Copyright (c) 2019-2020 The Zcash developers
// Distributed under the GPLv3 software license // Distributed under the GPLv3 software license
syntax = "proto3"; syntax = "proto3";

Loading…
Cancel
Save