Skip to content

Commit

Permalink
Whiteblock -> whiteblock
Browse files Browse the repository at this point in the history
  • Loading branch information
n8wb committed May 11, 2019
1 parent d7cdc12 commit d8a59d5
Show file tree
Hide file tree
Showing 95 changed files with 385 additions and 385 deletions.
2 changes: 1 addition & 1 deletion COPYING
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2019 Whiteblock Inc.
Copyright (C) 2019 whiteblock Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
@@ -1,18 +1,18 @@
FROM golang:1.12.2-stretch as built

ADD . /go/src/github.com/Whiteblock/genesis
ADD . /go/src/github.com/whiteblock/genesis

WORKDIR /go/src/github.com/Whiteblock/genesis
WORKDIR /go/src/github.com/whiteblock/genesis
RUN go get && go build

FROM ubuntu:latest as final

RUN mkdir -p /genesis && apt-get update && apt-get install -y openssh-client ca-certificates
WORKDIR /genesis

COPY --from=built /go/src/github.com/Whiteblock/genesis/resources /genesis/resources
COPY --from=built /go/src/github.com/Whiteblock/genesis/config.json /genesis/config.json
COPY --from=built /go/src/github.com/Whiteblock/genesis/genesis /genesis/genesis
COPY --from=built /go/src/github.com/whiteblock/genesis/resources /genesis/resources
COPY --from=built /go/src/github.com/whiteblock/genesis/config.json /genesis/config.json
COPY --from=built /go/src/github.com/whiteblock/genesis/genesis /genesis/genesis

RUN ln -s /genesis/resources/geth/ /genesis/resources/ethereum

Expand Down
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Expand Up @@ -26,7 +26,7 @@


[[constraint]]
name = "github.com/Whiteblock/go.uuid"
name = "github.com/whiteblock/go.uuid"
version = "1.2.0"

[prune]
Expand Down
10 changes: 5 additions & 5 deletions README.md
@@ -1,15 +1,15 @@
Genesis
======
![Build](https://travis-ci.org/Whiteblock/genesis.svg?branch=dev)
![Build](https://travis-ci.org/whiteblock/genesis.svg?branch=dev)
![Version](https://img.shields.io/github/tag/whiteblock/genesis.svg)
[![API Reference](
https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667
)](https://godoc.org/github.com/Whiteblock/genesis)
)](https://godoc.org/github.com/whiteblock/genesis)
[![Maintainability](https://api.codeclimate.com/v1/badges/4aae8bc608f619f0990e/maintainability)](https://codeclimate.com/repos/5cb0ac61f5eb734088003e71/maintainability)
[![Gitter](https://badges.gitter.im/whiteblock-io/community.svg)](https://gitter.im/whiteblock-io/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

# Overview
The Whiteblock platform allows users to provision multiple fully-functioning nodes over which they have complete control within a private test network
The whiteblock platform allows users to provision multiple fully-functioning nodes over which they have complete control within a private test network

# REST API
Documentation for the REST API can be found [here](rest.md).
Expand Down Expand Up @@ -37,8 +37,8 @@ It is recommended to run genesis on a separate user account from the main user a
* create a separate new user (this may have to be done manually in system preferences)
* set up a [`$GOPATH`](https://medium.com/@AkyunaAkish/setting-up-a-golang-development-environment-mac-os-x-d58e5a7ea24f) on the the new user account
* `go` ( makes sure go is already installed )
* `go get github.com/Whiteblock/genesis`
* `cd $GOPATH/src/github.com/Whiteblock/genesis`
* `go get github.com/whiteblock/genesis`
* `cd $GOPATH/src/github.com/whiteblock/genesis`
* `go build`


Expand Down
14 changes: 7 additions & 7 deletions blockchains/artemis/artemis.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,12 +21,12 @@ package artemis

import (
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/blockchains/registrar"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"strings"
)

Expand Down
10 changes: 5 additions & 5 deletions blockchains/artemis/conf.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -22,10 +22,10 @@ import (
"encoding/base64"
"encoding/json"
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/util"
"github.com/Whiteblock/mustache"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/util"
"github.com/whiteblock/mustache"
)

type artemisConf map[string]interface{}
Expand Down
14 changes: 7 additions & 7 deletions blockchains/beam/beam.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,12 +21,12 @@ package beam

import (
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/blockchains/registrar"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"regexp"
"strings"
"sync"
Expand Down
10 changes: 5 additions & 5 deletions blockchains/beam/conf.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -19,10 +19,10 @@
package beam

import (
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/util"
"github.com/Whiteblock/mustache"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/util"
"github.com/whiteblock/mustache"
)

type beamConf struct {
Expand Down
6 changes: 3 additions & 3 deletions blockchains/cosmos/conf.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -19,8 +19,8 @@
package cosmos

import (
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/util"
)

// GetParams fetchs cosmos related parameters
Expand Down
14 changes: 7 additions & 7 deletions blockchains/cosmos/cosmos.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,12 +21,12 @@ package cosmos

import (
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/blockchains/registrar"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"strings"
"sync"
)
Expand Down
10 changes: 5 additions & 5 deletions blockchains/eos/conf.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,10 +21,10 @@ package eos
import (
"encoding/json"
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/util"
"github.com/Whiteblock/mustache"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/util"
"github.com/whiteblock/mustache"
"time"
)

Expand Down
14 changes: 7 additions & 7 deletions blockchains/eos/eos.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,12 +21,12 @@ package eos

import (
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/blockchains/registrar"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"math/rand"
"strings"
"sync"
Expand Down
2 changes: 1 addition & 1 deletion blockchains/ethereum/account.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand Down
6 changes: 3 additions & 3 deletions blockchains/geth/conf.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,8 +21,8 @@ package geth
import (
"encoding/json"
"fmt"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/util"
)

type ethConf struct {
Expand Down
18 changes: 9 additions & 9 deletions blockchains/geth/geth.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -22,14 +22,14 @@ package geth
import (
"encoding/json"
"fmt"
"github.com/Whiteblock/genesis/blockchains/ethereum"
"github.com/Whiteblock/genesis/blockchains/helpers"
"github.com/Whiteblock/genesis/blockchains/registrar"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/Whiteblock/mustache"
"github.com/whiteblock/genesis/blockchains/ethereum"
"github.com/whiteblock/genesis/blockchains/helpers"
"github.com/whiteblock/genesis/blockchains/registrar"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"github.com/whiteblock/mustache"
"regexp"
"sync"
)
Expand Down
10 changes: 5 additions & 5 deletions blockchains/helpers/copy.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -20,10 +20,10 @@ package helpers

import (
"fmt"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/state"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/state"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"log"
"sync"
)
Expand Down
10 changes: 5 additions & 5 deletions blockchains/helpers/helpers.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -20,10 +20,10 @@
package helpers

import (
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/testnet"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/testnet"
"github.com/whiteblock/genesis/util"
"sync"
)

Expand Down
8 changes: 4 additions & 4 deletions blockchains/helpers/keyHandler.go
@@ -1,5 +1,5 @@
/*
Copyright 2019 Whiteblock Inc.
Copyright 2019 whiteblock Inc.
This file is a part of the genesis.
Genesis is free software: you can redistribute it and/or modify
Expand All @@ -21,9 +21,9 @@ package helpers
import (
"encoding/json"
"fmt"
"github.com/Whiteblock/genesis/db"
"github.com/Whiteblock/genesis/ssh"
"github.com/Whiteblock/genesis/util"
"github.com/whiteblock/genesis/db"
"github.com/whiteblock/genesis/ssh"
"github.com/whiteblock/genesis/util"
)

// KeyMaster is a static resource key manager
Expand Down

0 comments on commit d8a59d5

Please sign in to comment.