Skip to content

Commit

Permalink
Update copyrights
Browse files Browse the repository at this point in the history
  • Loading branch information
tadaskay committed Mar 30, 2021
1 parent a55307b commit 936b6d5
Show file tree
Hide file tree
Showing 21 changed files with 258 additions and 52 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 Mysterium Network
Copyright (c) 2021 BlockDev AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 4 additions & 0 deletions ci/local/local.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package local

import (
Expand Down
4 changes: 4 additions & 0 deletions cmd/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package main

import (
Expand Down
4 changes: 4 additions & 0 deletions config/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package config

import (
Expand Down
4 changes: 4 additions & 0 deletions db/client.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package db

import "github.com/go-redis/redis/v8"
Expand Down
16 changes: 7 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,20 @@ module github.com/mysteriumnetwork/discovery
go 1.16

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/gin-gonic/gin v1.6.3 // indirect
github.com/gin-gonic/gin v1.6.3
github.com/go-playground/validator/v10 v10.4.1 // indirect
github.com/go-redis/redis/v8 v8.7.1 // indirect
github.com/go-redis/redis/v8 v8.7.1
github.com/golang/protobuf v1.4.3 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/magefile/mage v1.11.0 // indirect
github.com/magefile/mage v1.11.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.1 // indirect
github.com/nats-io/nats.go v1.10.0 // indirect
github.com/rs/zerolog v1.20.0 // indirect
github.com/mysteriumnetwork/go-ci v0.0.0-20210330121512-2a81be082445
github.com/nats-io/nats-server/v2 v2.2.0 // indirect
github.com/nats-io/nats.go v1.10.1-0.20210228004050-ed743748acac
github.com/rs/zerolog v1.20.0
github.com/ugorji/go v1.2.4 // indirect
github.com/zenazn/goji v0.9.0 // indirect
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 // indirect
golang.org/x/sys v0.0.0-20210309074719-68d13333faf2 // indirect
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)
188 changes: 163 additions & 25 deletions go.sum

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions listener/proposal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package listener

import (
Expand Down
4 changes: 4 additions & 0 deletions location/country.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package location

import (
Expand Down
21 changes: 4 additions & 17 deletions mage.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,8 @@
// +build ignore
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

/*
* Copyright (C) 2019 The "MysteriumNetwork/node" Authors.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// +build ignore

package main

Expand Down
19 changes: 19 additions & 0 deletions magefile.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

// +build mage

package main
Expand All @@ -7,8 +11,23 @@ import (

"github.com/magefile/mage/sh"
"github.com/mysteriumnetwork/discovery/ci/local"
"github.com/mysteriumnetwork/go-ci/commands"
)

// Test runs the tests.
func Test() error {
return commands.Test("./...")
}

// Check checks that the source is compliant with all of the checks.
func Check() error {
return commands.CheckD(".")
}

func Copyright() error {
return commands.CopyrightD(".")
}

// Build builds the app binary.
//goland:noinspection GoUnusedExportedFunction
func Build() error {
Expand Down
4 changes: 4 additions & 0 deletions proposal/api.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package proposal

import (
Expand Down
4 changes: 4 additions & 0 deletions proposal/repository.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package proposal

import (
Expand Down
4 changes: 4 additions & 0 deletions proposal/service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package proposal

import (
Expand Down
4 changes: 4 additions & 0 deletions proposal/v1/bitsize.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package v1

type BitSize float64
Expand Down
4 changes: 4 additions & 0 deletions proposal/v1/payment_method.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package v1

import (
Expand Down
4 changes: 4 additions & 0 deletions proposal/v1/proposal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package v1

import (
Expand Down
4 changes: 4 additions & 0 deletions proposal/v2/currency.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package v2

import "math/big"
Expand Down
4 changes: 4 additions & 0 deletions proposal/v2/proposal.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package v2

import (
Expand Down
4 changes: 4 additions & 0 deletions quality/oracleapi/oracle.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package oracleapi

import (
Expand Down
4 changes: 4 additions & 0 deletions quality/service.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright (c) 2021 BlockDev AG
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.

package quality

import (
Expand Down

0 comments on commit 936b6d5

Please sign in to comment.