Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Update import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrizek committed Dec 20, 2023
1 parent 2399b1b commit 800252a
Show file tree
Hide file tree
Showing 951 changed files with 3,706 additions and 3,705 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Discussions
url: https://github.com/lightningnetwork/lnd/discussions
url: https://github.com/voltagecloud/lnd/discussions
about: For general or troubleshooting questions or if you're not sure what issue type to pick.
- name: Documentation for lnd and lightning-terminal
url: https://docs.lightning.engineering/
Expand All @@ -10,5 +10,5 @@ contact_links:
url: https://lightning.engineering/slack.html
about: Please ask and answer questions here.
- name: Security issue disclosure policy
url: https://github.com/lightningnetwork/lnd#security
url: https://github.com/voltagecloud/lnd#security
about: Please refer to this document when reporting security related issues.
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Steps for reviewers to follow to test the change.
- [ ] Bug fixes contain tests triggering the bug to prevent regressions.

### Code Style and Documentation
- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) guidelines, and lines wrap at 80.
- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure).
- [ ] The change obeys the [Code Documentation and Commenting](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation) guidelines, and lines wrap at 80.
- [ ] Commits follow the [Ideal Git Commit Structure](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure).
- [ ] Any new logging statements use an appropriate subsystem and logging level.
- [ ] [There is a change description in the release notes](https://github.com/lightningnetwork/lnd/tree/master/docs/release-notes), or `[skip ci]` in the commit message for small changes.
- [ ] [There is a change description in the release notes](https://github.com/voltagecloud/lnd/tree/master/docs/release-notes), or `[skip ci]` in the commit message for small changes.

📝 Please see our [Contribution Guidelines](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md) for further guidance.
📝 Please see our [Contribution Guidelines](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md) for further guidance.
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
In order to verify the release, you'll need to have `gpg` or `gpg2` installed on your system. Once you've obtained a copy (and hopefully verified that as well), you'll first need to import the keys that have signed this release if you haven't done so already:
```
curl https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/roasbeef.asc | gpg --import
curl https://raw.githubusercontent.com/voltagecloud/lnd/master/scripts/keys/roasbeef.asc | gpg --import
```
Once you have the required PGP keys, you can verify the release (assuming `manifest-roasbeef-${{ env.RELEASE_VERSION }}.sig` and `manifest-${{ env.RELEASE_VERSION }}.txt` are in the current directory) with:
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
## Verifying the Release Binaries
Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our [reproducible builds guide](https://github.com/lightningnetwork/lnd/tree/master/build/release) for how this can be achieved.
Our release binaries are fully reproducible. Third parties are able to verify that the release binaries were produced properly without having to trust the release manager(s). See our [reproducible builds guide](https://github.com/voltagecloud/lnd/tree/master/build/release) for how this can be achieved.
The release binaries are compiled with `go${{ env.GO_VERSION }}`, which is required by verifiers to arrive at the same ones.
They include the following build tags: `autopilotrpc`, `signrpc`, `walletrpc`, `chainrpc`, `invoicesrpc`, `neutrinorpc`, `routerrpc`, `watchtowerrpc`, `monitoring`, `peersrpc`, `kvdb_postrgres`, `kvdb_etcd` and `kvdb_sqlite`. Note that these are already included in the release script, so they do not need to be provided.
Expand Down Expand Up @@ -126,13 +126,13 @@ jobs:
```
tar -xvzf vendor.tar.gz
tar -xvzf lnd-source-${{ env.RELEASE_VERSION }}.tar.gz
GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd
GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/lightningnetwork/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli
GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/voltagecloud/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lnd
GO111MODULE=on go install -v -mod=vendor -ldflags "-X github.com/voltagecloud/lnd/build.Commit=${{ env.RELEASE_VERSION }}" ./cmd/lncli
```
The `-mod=vendor` flag tells the `go build` command that it doesn't need to fetch the dependencies, and instead, they're all enclosed in the local vendor directory.
Additionally, it's now possible to use the [enclosed `release.sh` script to bundle a release for a _specific_ system like so](https://github.com/lightningnetwork/lnd/pull/2191):
Additionally, it's now possible to use the [enclosed `release.sh` script to bundle a release for a _specific_ system like so](https://github.com/voltagecloud/lnd/pull/2191):
```
make release sys="linux-arm64 darwin-amd64"
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ ENV GODEBUG netdns=cgo
# image to be built from a specified Git state. The default image
# will use the Git tip of master by default.
ARG checkout="master"
ARG git_url="https://github.com/lightningnetwork/lnd"
ARG git_url="https://github.com/voltagecloud/lnd"

# Install dependencies and build the binaries.
RUN apk add --no-cache --update alpine-sdk \
git \
make \
gcc \
&& git clone $git_url /go/src/github.com/lightningnetwork/lnd \
&& cd /go/src/github.com/lightningnetwork/lnd \
&& git clone $git_url /go/src/github.com/voltagecloud/lnd \
&& cd /go/src/github.com/voltagecloud/lnd \
&& git checkout $checkout \
&& make release-install

Expand All @@ -44,8 +44,8 @@ RUN apk --no-cache add \
# Copy the binaries from the builder image.
COPY --from=builder /go/bin/lncli /bin/
COPY --from=builder /go/bin/lnd /bin/
COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/verify-install.sh /
COPY --from=builder /go/src/github.com/lightningnetwork/lnd/scripts/keys/* /keys/
COPY --from=builder /go/src/github.com/voltagecloud/lnd/scripts/verify-install.sh /
COPY --from=builder /go/src/github.com/voltagecloud/lnd/scripts/keys/* /keys/

# Store the SHA256 hash of the binaries that were just produced for later
# verification.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PKG := github.com/lightningnetwork/lnd
PKG := github.com/voltagecloud/lnd
ESCPKG := github.com\/lightningnetwork\/lnd
MOBILE_PKG := $(PKG)/mobile
TOOLS_DIR := tools
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## Lightning Network Daemon

[![Build Status](https://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE)
[![Build Status](https://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE)
[![Irc](https://img.shields.io/badge/chat-on%20libera-brightgreen.svg)](https://web.libera.chat/#lnd)
[![Godoc](https://godoc.org/github.com/lightningnetwork/lnd?status.svg)](https://godoc.org/github.com/lightningnetwork/lnd)
[![Godoc](https://godoc.org/github.com/voltagecloud/lnd?status.svg)](https://godoc.org/github.com/voltagecloud/lnd)

<img src="logo.png">

Expand All @@ -20,14 +20,14 @@ within it. In the current state `lnd` is capable of:
* Completely managing all channel states (including the exceptional ones!).
* Maintaining a fully authenticated+validated channel graph.
* Performing path finding within the network, passively forwarding incoming payments.
* Sending outgoing [onion-encrypted payments](https://github.com/lightningnetwork/lightning-onion)
* Sending outgoing [onion-encrypted payments](https://github.com/voltagecloud/lightning-onion)
through the network.
* Updating advertised fee schedules.
* Automatic channel management ([`autopilot`](https://github.com/lightningnetwork/lnd/tree/master/autopilot)).
* Automatic channel management ([`autopilot`](https://github.com/voltagecloud/lnd/tree/master/autopilot)).

## Lightning Network Specification Compliance
`lnd` _fully_ conforms to the [Lightning Network specification
(BOLTs)](https://github.com/lightningnetwork/lightning-rfc). BOLT stands for:
(BOLTs)](https://github.com/voltagecloud/lightning-rfc). BOLT stands for:
Basis of Lightning Technology. The specifications are currently being drafted
by several groups of implementers based around the world including the
developers of `lnd`. The set of specification documents as well as our
Expand Down Expand Up @@ -93,5 +93,5 @@ preferably encrypted using our designated PGP key
[here](https://gist.githubusercontent.com/Roasbeef/6fb5b52886183239e4aa558f83d085d3/raw/5fa96010af201628bcfa61e9309d9b13d23d220f/security@lightning.engineering).

## Further reading
* [Step-by-step send payment guide with docker](https://github.com/lightningnetwork/lnd/tree/master/docker)
* [Contribution guide](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md)
* [Step-by-step send payment guide with docker](https://github.com/voltagecloud/lnd/tree/master/docker)
* [Contribution guide](https://github.com/voltagecloud/lnd/blob/master/docs/code_contribution_guidelines.md)
6 changes: 3 additions & 3 deletions aezeed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aezeed

[In this PR](https://github.com/lightningnetwork/lnd/pull/773) we added a new package implementing the aezeed cipher
[In this PR](https://github.com/voltagecloud/lnd/pull/773) we added a new package implementing the aezeed cipher
seed scheme (based on [aez](http://web.cs.ucdavis.edu/~rogaway/aez/)).

This new scheme aims to address
Expand All @@ -18,11 +18,11 @@ $ go test -run=XXX -bench=.

goos: linux
goarch: amd64
pkg: github.com/lightningnetwork/lnd/aezeed
pkg: github.com/voltagecloud/lnd/aezeed
BenchmarkTomnemonic-4 20 93280730 ns/op 33559670 B/op 36 allocs/op
BenchmarkToCipherSeed-4 10 102323892 ns/op 36915684 B/op 41 allocs/op
PASS
ok github.com/lightningnetwork/lnd/aezeed 4.168s
ok github.com/voltagecloud/lnd/aezeed 4.168s
```

Aside from addressing the shortcomings of BIP 39, an aezeed cipher seed
Expand Down
6 changes: 3 additions & 3 deletions aliasmgr/aliasmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"sync"

"github.com/lightningnetwork/lnd/htlcswitch/hop"
"github.com/lightningnetwork/lnd/kvdb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/voltagecloud/lnd/htlcswitch/hop"
"github.com/voltagecloud/lnd/kvdb"
"github.com/voltagecloud/lnd/lnwire"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions aliasmgr/aliasmgr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"path/filepath"
"testing"

"github.com/lightningnetwork/lnd/kvdb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/stretchr/testify/require"
"github.com/voltagecloud/lnd/kvdb"
"github.com/voltagecloud/lnd/lnwire"
)

// TestAliasStorePeerAlias tests that putting and retrieving a peer's alias
Expand Down
2 changes: 1 addition & 1 deletion amp/child.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"encoding/binary"
"fmt"

"github.com/lightningnetwork/lnd/lntypes"
"github.com/voltagecloud/lnd/lntypes"
)

// Share represents an n-of-n sharing of a secret 32-byte value. The secret can
Expand Down
2 changes: 1 addition & 1 deletion amp/derivation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package amp_test
import (
"testing"

"github.com/lightningnetwork/lnd/amp"
"github.com/stretchr/testify/require"
"github.com/voltagecloud/lnd/amp"
)

type sharerTest struct {
Expand Down
8 changes: 4 additions & 4 deletions amp/shard_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"fmt"
"sync"

"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/record"
"github.com/lightningnetwork/lnd/routing/shards"
"github.com/voltagecloud/lnd/lntypes"
"github.com/voltagecloud/lnd/lnwire"
"github.com/voltagecloud/lnd/record"
"github.com/voltagecloud/lnd/routing/shards"
)

// Shard is an implementation of the shards.PaymentShards interface specific
Expand Down
6 changes: 3 additions & 3 deletions amp/shard_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"crypto/rand"
"testing"

"github.com/lightningnetwork/lnd/amp"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing/shards"
"github.com/stretchr/testify/require"
"github.com/voltagecloud/lnd/amp"
"github.com/voltagecloud/lnd/lnwire"
"github.com/voltagecloud/lnd/routing/shards"
)

// TestAMPShardTracker tests that we can derive and cancel shards at will using
Expand Down
2 changes: 1 addition & 1 deletion autopilot/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcutil"
"github.com/davecgh/go-spew/spew"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/voltagecloud/lnd/lnwire"
)

// Config couples all the items that an autopilot agent needs to function.
Expand Down
2 changes: 1 addition & 1 deletion autopilot/agent_constraints_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

"github.com/btcsuite/btcd/btcutil"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/voltagecloud/lnd/lnwire"
)

func TestConstraintsChannelBudget(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion autopilot/externalscoreattach_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcutil"
"github.com/lightningnetwork/lnd/autopilot"
"github.com/voltagecloud/lnd/autopilot"
)

// randKey returns a random public key.
Expand Down
8 changes: 4 additions & 4 deletions autopilot/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcec/v2/ecdsa"
"github.com/btcsuite/btcd/btcutil"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/lightningnetwork/lnd/kvdb"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing/route"
"github.com/voltagecloud/lnd/channeldb"
"github.com/voltagecloud/lnd/kvdb"
"github.com/voltagecloud/lnd/lnwire"
"github.com/voltagecloud/lnd/routing/route"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion autopilot/graph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/btcsuite/btcd/btcutil"
"github.com/lightningnetwork/lnd/autopilot"
"github.com/voltagecloud/lnd/autopilot"
)

// TestMedian tests the Median method.
Expand Down
2 changes: 1 addition & 1 deletion autopilot/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcutil"
"github.com/btcsuite/btcd/wire"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/voltagecloud/lnd/lnwire"
)

// DefaultConfTarget is the default confirmation target for autopilot channels.
Expand Down
2 changes: 1 addition & 1 deletion autopilot/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package autopilot

import (
"github.com/btcsuite/btclog"
"github.com/lightningnetwork/lnd/build"
"github.com/voltagecloud/lnd/build"
)

// log is a logger that is initialized with no output filters. This
Expand Down
6 changes: 3 additions & 3 deletions autopilot/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (

"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/wire"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwire"
"github.com/lightningnetwork/lnd/routing"
"github.com/voltagecloud/lnd/lnwallet"
"github.com/voltagecloud/lnd/lnwire"
"github.com/voltagecloud/lnd/routing"
)

// ManagerCfg houses a set of values and methods that is passed to the Manager
Expand Down
2 changes: 1 addition & 1 deletion autopilot/prefattach_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (

"github.com/btcsuite/btcd/btcec/v2"
"github.com/btcsuite/btcd/btcutil"
"github.com/lightningnetwork/lnd/channeldb"
"github.com/stretchr/testify/require"
"github.com/voltagecloud/lnd/channeldb"
)

type genGraphFunc func(t *testing.T) (testGraph, error)
Expand Down
2 changes: 1 addition & 1 deletion batch/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"sync"

"github.com/lightningnetwork/lnd/kvdb"
"github.com/voltagecloud/lnd/kvdb"
)

// errSolo is a sentinel error indicating that the requester should re-run the
Expand Down
2 changes: 1 addition & 1 deletion batch/interface.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package batch

import "github.com/lightningnetwork/lnd/kvdb"
import "github.com/voltagecloud/lnd/kvdb"

// Request defines an operation that can be batched into a single bbolt
// transaction.
Expand Down
2 changes: 1 addition & 1 deletion batch/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"sync"
"time"

"github.com/lightningnetwork/lnd/kvdb"
"github.com/voltagecloud/lnd/kvdb"
)

// TimeScheduler is a batching engine that executes requests within a fixed
Expand Down
4 changes: 2 additions & 2 deletions blockcache/blockcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/lightninglabs/neutrino"
"github.com/lightninglabs/neutrino/cache"
"github.com/lightninglabs/neutrino/cache/lru"
"github.com/lightningnetwork/lnd/lntypes"
"github.com/lightningnetwork/lnd/multimutex"
"github.com/voltagecloud/lnd/lntypes"
"github.com/voltagecloud/lnd/multimutex"
)

// BlockCache is an lru cache for blocks.
Expand Down
10 changes: 5 additions & 5 deletions brontide/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
brontide
==========

[![Build Status](http://img.shields.io/travis/lightningnetwork/lnd.svg)](https://travis-ci.org/lightningnetwork/lnd)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lightningnetwork/lnd/blob/master/LICENSE)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/lightningnetwork/lnd/brontide)
[![Build Status](http://img.shields.io/travis/voltagecloud/lnd.svg)](https://travis-ci.org/voltagecloud/lnd)
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/voltagecloud/lnd/blob/master/LICENSE)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](http://godoc.org/github.com/voltagecloud/lnd/brontide)

The brontide package implements a secure crypto messaging protocol based off of
the [Noise Protocol Framework](http://noiseprotocol.org/noise.html). The
Expand All @@ -15,7 +15,7 @@ which allows the encrypted transport to be seamlessly integrated into a
codebase.

The secure messaging scheme implemented within this package is described in
detail in [BOLT #8 of the Lightning Network specifications](https://github.com/lightningnetwork/lightning-rfc/blob/master/08-transport.md).
detail in [BOLT #8 of the Lightning Network specifications](https://github.com/voltagecloud/lightning-rfc/blob/master/08-transport.md).

This package has intentionally been designed so it can be used as a standalone
package for any projects needing secure encrypted+authenticated communications
Expand All @@ -24,5 +24,5 @@ between network enabled programs.
## Installation and Updating

```shell
$ go get -u github.com/lightningnetwork/lnd/brontide
$ go get -u github.com/voltagecloud/lnd/brontide
```
Loading

0 comments on commit 800252a

Please sign in to comment.