Commit 44d6838b authored by Christopher Schinnerl's avatar Christopher Schinnerl

change import paths for gitlab

parent 9f8d5353
......@@ -2,6 +2,6 @@ Interested in contributing to Sia?
==================================
Please review the contributing guidelines in the following pages:
- [Guide to Contributing to Sia](https://github.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md)
- [Developers](https://github.com/NebulousLabs/Sia/blob/master/doc/Developers.md)
- [All Documentation](https://github.com/NebulousLabs/Sia/tree/master/doc)
- [Guide to Contributing to Sia](https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md)
- [Developers](https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Developers.md)
- [All Documentation](https://gitlab.com/NebulousLabs/Sia/tree/master/doc)
......@@ -3,8 +3,8 @@ BUILD_TIME=$(shell date)
GIT_REVISION=$(shell git rev-parse --short HEAD)
GIT_DIRTY=$(shell git diff-index --quiet HEAD -- || echo "✗-")
ldflags= -X github.com/NebulousLabs/Sia/build.GitRevision=${GIT_DIRTY}${GIT_REVISION} \
-X "github.com/NebulousLabs/Sia/build.BuildTime=${BUILD_TIME}"
ldflags= -X gitlab.com/NebulousLabs/Sia/build.GitRevision=${GIT_DIRTY}${GIT_REVISION} \
-X "gitlab.com/NebulousLabs/Sia/build.BuildTime=${BUILD_TIME}"
# all will build and install release binaries
all: release
......@@ -13,19 +13,19 @@ all: release
# Sia.
dependencies:
# Consensus Dependencies
go get -u github.com/NebulousLabs/demotemutex
go get -u github.com/NebulousLabs/fastrand
go get -u github.com/NebulousLabs/merkletree
go get -u github.com/NebulousLabs/bolt
go get -u gitlab.com/NebulousLabs/demotemutex
go get -u gitlab.com/NebulousLabs/fastrand
go get -u gitlab.com/NebulousLabs/merkletree
go get -u gitlab.com/NebulousLabs/bolt
go get -u golang.org/x/crypto/blake2b
go get -u golang.org/x/crypto/ed25519
# Module + Daemon Dependencies
go get -u github.com/NebulousLabs/entropy-mnemonics
go get -u github.com/NebulousLabs/errors
go get -u github.com/NebulousLabs/go-upnp
go get -u github.com/NebulousLabs/ratelimit
go get -u github.com/NebulousLabs/threadgroup
go get -u github.com/NebulousLabs/writeaheadlog
go get -u gitlab.com/NebulousLabs/entropy-mnemonics
go get -u gitlab.com/NebulousLabs/errors
go get -u gitlab.com/NebulousLabs/go-upnp
go get -u gitlab.com/NebulousLabs/ratelimit
go get -u gitlab.com/NebulousLabs/threadgroup
go get -u gitlab.com/NebulousLabs/writeaheadlog
go get -u github.com/klauspost/reedsolomon
go get -u github.com/julienschmidt/httprouter
go get -u github.com/inconshreveable/go-update
......@@ -38,7 +38,7 @@ dependencies:
go install -race std
go get -u github.com/client9/misspell/cmd/misspell
go get -u github.com/golang/lint/golint
go get -u github.com/NebulousLabs/glyphcheck
go get -u gitlab.com/NebulousLabs/glyphcheck
# pkgs changes which packages the makefile calls operate on. run changes which
# tests are run during testing.
......
# [![Sia Logo](http://sia.tech/img/svg/sia-green-logo.svg)](http://sia.tech) v1.3.3 (Capricorn)
[![Build Status](https://travis-ci.org/NebulousLabs/Sia.svg?branch=master)](https://travis-ci.org/NebulousLabs/Sia)
[![GoDoc](https://godoc.org/github.com/NebulousLabs/Sia?status.svg)](https://godoc.org/github.com/NebulousLabs/Sia)
[![Go Report Card](https://goreportcard.com/badge/github.com/NebulousLabs/Sia)](https://goreportcard.com/report/github.com/NebulousLabs/Sia)
[![GoDoc](https://godoc.org/gitlab.com/NebulousLabs/Sia?status.svg)](https://godoc.org/gitlab.com/NebulousLabs/Sia)
[![Go Report Card](https://goreportcard.com/badge/gitlab.com/NebulousLabs/Sia)](https://goreportcard.com/report/gitlab.com/NebulousLabs/Sia)
Sia is a new decentralized cloud storage platform that radically alters the
landscape of cloud storage. By leveraging smart contracts, client-side
......@@ -70,7 +70,7 @@ as a sole means of storing important data.
This release comes with 2 binaries, siad and siac. siad is a background
service, or "daemon," that runs the Sia protocol and exposes an HTTP API on
port 9980. siac is a command-line client that can be used to interact with
siad in a user-friendly way. There is also a graphical client, [Sia-UI](https://github.com/NebulousLabs/Sia-UI), which
siad in a user-friendly way. There is also a graphical client, [Sia-UI](https://gitlab.com/NebulousLabs/Sia-UI), which
is the preferred way of using Sia for most users. For interested developers,
the siad API is documented [here](doc/API.md).
......@@ -92,7 +92,7 @@ To build from source, [Go 1.10 must be installed](https://golang.org/doc/install
on the system. Make sure your `$GOPATH` is set, and then simply use `go get`:
```
go get -u github.com/NebulousLabs/Sia/...
go get -u gitlab.com/NebulousLabs/Sia/...
```
This will download the Sia repo to your `$GOPATH/src` folder and install the
......
......@@ -11,7 +11,7 @@ import (
// issue tracker on Github. If the program does not panic, the call stack for
// the running goroutine is printed to help determine the error.
func Critical(v ...interface{}) {
s := "Critical error: " + fmt.Sprintln(v...) + "Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues\n"
s := "Critical error: " + fmt.Sprintln(v...) + "Please submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues\n"
if Release != "testing" {
debug.PrintStack()
os.Stderr.WriteString(s)
......
......@@ -7,7 +7,7 @@ import (
// TestCritical checks that a panic is called in debug mode.
func TestCritical(t *testing.T) {
k0 := "critical test killstring"
killstring := "Critical error: critical test killstring\nPlease submit a bug report here: https://github.com/NebulousLabs/Sia/issues\n"
killstring := "Critical error: critical test killstring\nPlease submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues\n"
defer func() {
r := recover()
if r != killstring {
......@@ -23,7 +23,7 @@ func TestCriticalVariadic(t *testing.T) {
k1 := "critical"
k2 := "test"
k3 := "killstring"
killstring := "Critical error: variadic critical test killstring\nPlease submit a bug report here: https://github.com/NebulousLabs/Sia/issues\n"
killstring := "Critical error: variadic critical test killstring\nPlease submit a bug report here: https://gitlab.com/NebulousLabs/Sia/issues\n"
defer func() {
r := recover()
if r != killstring {
......
......@@ -9,7 +9,7 @@ import (
"sort"
"testing"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/fastrand"
)
// TestCopyDir checks that CopyDir copies directories as expected.
......
......@@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
)
var (
......
......@@ -4,7 +4,7 @@ import (
"testing"
"time"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
)
// TestEstimatedHeightAt tests that the expectedHeightAt function correctly
......
......@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/build"
"github.com/spf13/cobra"
)
......
......@@ -5,7 +5,7 @@ import (
"fmt"
"os"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
"github.com/spf13/cobra"
)
......
......@@ -5,7 +5,7 @@ import (
"os"
"text/tabwriter"
"github.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/modules"
"github.com/spf13/cobra"
)
......
......@@ -8,10 +8,10 @@ import (
"strings"
"text/tabwriter"
"github.com/NebulousLabs/Sia/crypto"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/node/api/client"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/crypto"
"gitlab.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/node/api/client"
"gitlab.com/NebulousLabs/Sia/types"
"github.com/spf13/cobra"
)
......
......@@ -8,9 +8,9 @@ import (
"github.com/spf13/cobra"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/node/api"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/node/api"
"gitlab.com/NebulousLabs/Sia/types"
)
const scanHistoryLen = 30
......
......@@ -7,8 +7,8 @@ import (
"github.com/spf13/cobra"
"github.com/NebulousLabs/Sia/build"
"github.com/NebulousLabs/Sia/node/api/client"
"gitlab.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/node/api/client"
)
var (
......
......@@ -7,7 +7,7 @@ import (
"math/big"
"strings"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
)
var errUnableToParseSize = errors.New("unable to parse size")
......
......@@ -4,7 +4,7 @@ import (
"math/big"
"testing"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
)
func TestParseFilesize(t *testing.T) {
......
......@@ -33,12 +33,12 @@ import (
"text/tabwriter"
"time"
"github.com/NebulousLabs/errors"
"gitlab.com/NebulousLabs/errors"
"github.com/spf13/cobra"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/node/api"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/node/api"
"gitlab.com/NebulousLabs/Sia/types"
)
var (
......
......@@ -4,8 +4,8 @@ import (
"sort"
"testing"
"github.com/NebulousLabs/Sia/node/api"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/node/api"
"gitlab.com/NebulousLabs/Sia/types"
)
// TestSortByValue tests that byValue sorts contracts correctly.
......
......@@ -12,7 +12,7 @@ import (
"github.com/spf13/cobra"
"golang.org/x/crypto/ssh/terminal"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/types"
)
var (
......
......@@ -10,11 +10,11 @@ import (
"syscall"
"time"
"github.com/NebulousLabs/Sia/build"
"github.com/NebulousLabs/Sia/crypto"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/profile"
mnemonics "github.com/NebulousLabs/entropy-mnemonics"
"gitlab.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/crypto"
"gitlab.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/profile"
mnemonics "gitlab.com/NebulousLabs/entropy-mnemonics"
"github.com/spf13/cobra"
"golang.org/x/crypto/ssh/terminal"
......
......@@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
"github.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/build"
)
var (
......
......@@ -21,18 +21,18 @@ import (
"syscall"
"time"
"github.com/NebulousLabs/Sia/build"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/modules/consensus"
"github.com/NebulousLabs/Sia/modules/explorer"
"github.com/NebulousLabs/Sia/modules/gateway"
"github.com/NebulousLabs/Sia/modules/host"
"github.com/NebulousLabs/Sia/modules/miner"
"github.com/NebulousLabs/Sia/modules/renter"
"github.com/NebulousLabs/Sia/modules/transactionpool"
"github.com/NebulousLabs/Sia/modules/wallet"
"github.com/NebulousLabs/Sia/node/api"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/modules"
"gitlab.com/NebulousLabs/Sia/modules/consensus"
"gitlab.com/NebulousLabs/Sia/modules/explorer"
"gitlab.com/NebulousLabs/Sia/modules/gateway"
"gitlab.com/NebulousLabs/Sia/modules/host"
"gitlab.com/NebulousLabs/Sia/modules/miner"
"gitlab.com/NebulousLabs/Sia/modules/renter"
"gitlab.com/NebulousLabs/Sia/modules/transactionpool"
"gitlab.com/NebulousLabs/Sia/modules/wallet"
"gitlab.com/NebulousLabs/Sia/node/api"
"gitlab.com/NebulousLabs/Sia/types"
"github.com/inconshreveable/go-update"
"github.com/julienschmidt/httprouter"
......
......@@ -7,8 +7,8 @@ import (
"testing"
"time"
"github.com/NebulousLabs/Sia/build"
"github.com/NebulousLabs/Sia/node/api/client"
"gitlab.com/NebulousLabs/Sia/build"
"gitlab.com/NebulousLabs/Sia/node/api/client"
)
// TestLatestRelease tests that the latestRelease function properly processes a
......
......@@ -9,9 +9,9 @@ import (
"strconv"
"testing"
"github.com/NebulousLabs/Sia/crypto"
"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/Sia/types"
"gitlab.com/NebulousLabs/Sia/crypto"
"gitlab.com/NebulousLabs/Sia/encoding"
"gitlab.com/NebulousLabs/Sia/types"
)
// KeyPairSiag_1_0 matches the KeyPair struct of the siag 1.0 code.
......
......@@ -9,7 +9,7 @@ import (
"errors"
"io"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/fastrand"
"golang.org/x/crypto/twofish"
)
......
......@@ -5,7 +5,7 @@ import (
"compress/gzip"
"testing"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/fastrand"
)
// TestTwofishEncryption checks that encryption and decryption works correctly.
......
......@@ -13,7 +13,7 @@ import (
"errors"
"hash"
"github.com/NebulousLabs/Sia/encoding"
"gitlab.com/NebulousLabs/Sia/encoding"
"golang.org/x/crypto/blake2b"
)
......
......@@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/fastrand"
)
type (
......
......@@ -3,9 +3,9 @@ package crypto
import (
"bytes"
"github.com/NebulousLabs/Sia/encoding"
"gitlab.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/merkletree"
"gitlab.com/NebulousLabs/merkletree"
)
const (
......
......@@ -3,7 +3,7 @@ package crypto
import (
"testing"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/fastrand"
)
// TestTreeBuilder builds a tree and gets the merkle root.
......
......@@ -5,8 +5,8 @@ import (
"errors"
"io"
"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/Sia/encoding"
"gitlab.com/NebulousLabs/fastrand"
"golang.org/x/crypto/ed25519"
)
......
......@@ -4,8 +4,8 @@ import (
"bytes"
"testing"
"github.com/NebulousLabs/Sia/encoding"
"github.com/NebulousLabs/fastrand"
"gitlab.com/NebulousLabs/Sia/encoding"
"gitlab.com/NebulousLabs/fastrand"
)
// TestUnitSignatureEncoding creates and encodes a public key, and verifies
......
......@@ -1576,7 +1576,7 @@ gets the transaction associated with a specific transaction id.
{
"transaction": {
"transaction": {
// See types.Transaction in https://github.com/NebulousLabs/Sia/blob/master/types/transactions.go
// See types.Transaction in https://gitlab.com/NebulousLabs/Sia/blob/master/types/transactions.go
},
"transactionid": "1234567890abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
"confirmationheight": 50000,
......
......@@ -57,7 +57,7 @@
* Google Inc.
[guide]: https://github.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md
[developers]: https://github.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[doc]: https://github.com/NebulousLabs/Sia/tree/master/doc
[guide]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md
[developers]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[doc]: https://gitlab.com/NebulousLabs/Sia/tree/master/doc
[discord]: https://discord.gg/sia
......@@ -12,11 +12,11 @@ on that [here](http://golang.org/doc/install/source).
Sia has a development build, an automated testing build, and a release
build. The release build is the only one that can synchronize to the full
network. To get the release build, it is usually sufficient to run `go get -u
github.com/NebulousLabs/Sia/...`. This will download Sia and its dependencies
gitlab.com/NebulousLabs/Sia/...`. This will download Sia and its dependencies
and install binaries in `$GOPATH/bin`.
After downloading, you can find the Sia source code in
`$GOPATH/src/github.com/NebulousLabs/Sia`. To build the release binary, run
`$GOPATH/src/gitlab.com/NebulousLabs/Sia`. To build the release binary, run
`make release-std` from this directory. To build the release binary with a
(slow) race detector and an array of debugging asserts, run `make release`. To
build the developer binary (which has a different genesis block, faster block
......@@ -34,9 +34,9 @@ does not recognize (usually the wrong path, or symbolic links were somehow
involved).
```
consensus/fork.go:4:2: cannot find package "github.com/NebulousLabs/Sia/crypto" in any of:
/usr/lib/go/src/github.com/NebulousLabs/Sia/crypto (from $GOROOT)
/home/user/gopath/src/github.com/NebulousLabs/Sia/crypto (from $GOPATH)
consensus/fork.go:4:2: cannot find package "gitlab.com/NebulousLabs/Sia/crypto" in any of:
/usr/lib/go/src/gitlab.com/NebulousLabs/Sia/crypto (from $GOROOT)
/home/user/gopath/src/gitlab.com/NebulousLabs/Sia/crypto (from $GOPATH)
```
Developer Conventions
......
......@@ -47,10 +47,10 @@ To build Sia on your machine, enter the following on the command line:
```bash
# Download Sia and its dependencies
# Binaries will be installed in $GOPATH/bin
$ go get -u github.com/NebulousLabs/Sia/...
$ go get -u gitlab.com/NebulousLabs/Sia/...
# Switch to directory containing Sia source code
$ cd $GOPATH/src/github.com/NebulousLabs/Sia
$ cd $GOPATH/src/gitlab.com/NebulousLabs/Sia
# You have three Sia builds to choose from.
# To build the standard release binary:
......@@ -102,11 +102,11 @@ has a 'forked' copy of the original repo at
`https://github.com/<your GitHub username>/Sia`.
When you installed Sia using `go get`, the go tool put the Sia source code in
$GOPATH/src/github.com/NebulousLabs/Sia. Change to that directory and set up
$GOPATH/src/gitlab.com/NebulousLabs/Sia. Change to that directory and set up
your fork as a git [remote][remote]:
```bash
$ cd $GOPATH/src/github.com/NebulousLabs/Sia
$ cd $GOPATH/src/gitlab.com/NebulousLabs/Sia
# Add your fork as a remote. Name it whatever is convenient,
# e.g your GitHub username
$ git remote add <remote name> https://github.com/<username>/Sia.git
......@@ -126,7 +126,7 @@ repository's master branch.
To create and checkout a new branch:
```bash
# If you're not already in the right directory:
$ cd $GOPATH/src/github.com/NebulousLabs/Sia
$ cd $GOPATH/src/gitlab.com/NebulousLabs/Sia
# Make sure you're on branch master
$ git checkout master
# Create and checkout a new branch
......@@ -256,13 +256,13 @@ Feel free to ask for help on the #core-dev channel on [discord][discord].
[install-go]: https://golang.org/doc/install
[signup]: https://github.com/join?source=header-home
[effective]: https://golang.org/doc/effective_go.html
[sia]: https://github.com/NebulousLabs/Sia
[sia]: https://gitlab.com/NebulousLabs/Sia
[branch]: http://blog.scottlowe.org/2015/01/27/using-fork-branch-git-workflow/
[developers.md]: https://github.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[developers.md]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[gofmt]: https://golang.org/cmd/gofmt/
[nutshell]: https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell
[discord]: https://discord.gg/sia
[install-git]: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
[test-doc]: https://github.com/NebulousLabs/Sia/blob/master/doc/Testing.md
[test-doc]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Testing.md
[stashing]: https://git-scm.com/book/en/v2/Git-Tools-Stashing-and-Cleaning
[remote]: https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes
......@@ -127,7 +127,7 @@ go test -v -race -tags='testing debug' -timeout=300s ./persist -run=Test
=== RUN TestRelativePathSafeFile
--- PASS: TestRelativePathSafeFile (0.00s)
PASS
ok github.com/NebulousLabs/Sia/persist 1.485s
ok gitlab.com/NebulousLabs/Sia/persist 1.485s
$
```
......@@ -243,14 +243,14 @@ And feel free to ask questions on the [#core-dev channel][discord] on the Sia Di
Odds are, someone else is wondering the same thing.
[pkg/testing]: https://golang.org/pkg/testing/
[makefile]: https://github.com/NebulousLabs/Sia/blob/master/Makefile
[makefile]: https://gitlab.com/NebulousLabs/Sia/blob/master/Makefile
[luke]: https://gist.github.com/lukechampine/6418449
[guide]: https://github.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md
[developers]: https://github.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[guide]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Guide%20to%20Contributing%20to%20Sia.md
[developers]: https://gitlab.com/NebulousLabs/Sia/blob/master/doc/Developers.md
[table]: http://dave.cheney.net/2013/06/09/writing-table-driven-tests-in-go
[boltdb_test.go]: https://github.com/NebulousLabs/Sia/blob/master/persist/boltdb_test.go
[boltdb_test.go]: https://gitlab.com/NebulousLabs/Sia/blob/master/persist/boltdb_test.go
[cheney-benchmarks]: http://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go
[pkg/testing]: https://golang.org/pkg/testing/
[discord]: https://discord.gg/sia
[parse_test]: https://github.com/NebulousLabs/Sia/blob/master/siac/parse_test.go
[parse_test]: https://gitlab.com/NebulousLabs/Sia/blob/master/siac/parse_test.go
[global]: http://c2.com/cgi/wiki?GlobalVariablesAreBad
......@@ -420,7 +420,7 @@ to be called once.
Note that even after the host has been announced, it will not accept new
contracts unless configured to do so. To configure the host to accept
contracts, see [/host](https://github.com/NebulousLabs/Sia/blob/master/doc/api/Host.md#host-post).
contracts, see [/host](https://gitlab.com/NebulousLabs/Sia/blob/master/doc/api/Host.md#host-post).
###### Query String Parameters
```
......
......@@ -286,7 +286,7 @@ choice for the dictionary is going to be 'english'. The underlying seed is the
same no matter what dictionary is used for the encoding. The encoding also
contains a small checksum of the seed, to help catch simple mistakes when
copying. The library