From 4a207b15f88ec2890f6e6b896bceb94dda0162e7 Mon Sep 17 00:00:00 2001 From: jholdstock Date: Wed, 19 Aug 2020 10:51:23 +0100 Subject: [PATCH] Add missing copyright notices --- background/background.go | 4 ++++ background/log.go | 4 ++++ config.go | 4 ++++ database/addressindex.go | 4 ++++ database/addressindex_test.go | 4 ++++ database/database.go | 4 ++++ database/database_test.go | 4 ++++ database/log.go | 4 ++++ database/ticket.go | 4 ++++ database/ticket_test.go | 4 ++++ log.go | 4 ++++ params.go | 4 ++++ rpc/client.go | 4 ++++ rpc/dcrd.go | 4 ++++ rpc/dcrwallet.go | 4 ++++ rpc/log.go | 4 ++++ run_tests.sh | 6 +++++- version/version.go | 4 ++++ vspd.go | 4 ++++ webapi/addressgenerator.go | 4 ++++ webapi/admin.go | 4 ++++ webapi/errors.go | 4 ++++ webapi/getfeeaddress.go | 4 ++++ webapi/helpers.go | 4 ++++ webapi/helpers_test.go | 4 ++++ webapi/homepage.go | 4 ++++ webapi/log.go | 4 ++++ webapi/middleware.go | 4 ++++ webapi/payfee.go | 4 ++++ webapi/setvotechoices.go | 4 ++++ webapi/ticketstatus.go | 4 ++++ webapi/types.go | 4 ++++ webapi/vspinfo.go | 4 ++++ webapi/webapi.go | 4 ++++ 34 files changed, 137 insertions(+), 1 deletion(-) diff --git a/background/background.go b/background/background.go index 7e12764..bb86c62 100644 --- a/background/background.go +++ b/background/background.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package background import ( diff --git a/background/log.go b/background/log.go index 4ee71fa..428ea6d 100644 --- a/background/log.go +++ b/background/log.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package background import ( diff --git a/config.go b/config.go index 0f149a5..3852a1e 100644 --- a/config.go +++ b/config.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package main import ( diff --git a/database/addressindex.go b/database/addressindex.go index c363efe..de9ebba 100644 --- a/database/addressindex.go +++ b/database/addressindex.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/addressindex_test.go b/database/addressindex_test.go index df56382..75c1a58 100644 --- a/database/addressindex_test.go +++ b/database/addressindex_test.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/database.go b/database/database.go index a8eb7c9..4ea8ef9 100644 --- a/database/database.go +++ b/database/database.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/database_test.go b/database/database_test.go index 4032753..7d30e76 100644 --- a/database/database_test.go +++ b/database/database_test.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/log.go b/database/log.go index af64caf..eff9ea0 100644 --- a/database/log.go +++ b/database/log.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/ticket.go b/database/ticket.go index d71fdc3..403bdea 100644 --- a/database/ticket.go +++ b/database/ticket.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/database/ticket_test.go b/database/ticket_test.go index 482baed..4517872 100644 --- a/database/ticket_test.go +++ b/database/ticket_test.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package database import ( diff --git a/log.go b/log.go index 22a67f7..53ec2e4 100644 --- a/log.go +++ b/log.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package main import ( diff --git a/params.go b/params.go index 8f32a33..5fdf516 100644 --- a/params.go +++ b/params.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package main import ( diff --git a/rpc/client.go b/rpc/client.go index fea7460..4451266 100644 --- a/rpc/client.go +++ b/rpc/client.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package rpc import ( diff --git a/rpc/dcrd.go b/rpc/dcrd.go index 7b45c17..dbf84f1 100644 --- a/rpc/dcrd.go +++ b/rpc/dcrd.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package rpc import ( diff --git a/rpc/dcrwallet.go b/rpc/dcrwallet.go index f401d31..1039bd5 100644 --- a/rpc/dcrwallet.go +++ b/rpc/dcrwallet.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package rpc import ( diff --git a/rpc/log.go b/rpc/log.go index 2229194..4795dc8 100644 --- a/rpc/log.go +++ b/rpc/log.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package rpc import ( diff --git a/run_tests.sh b/run_tests.sh index 7ed6c27..21dc630 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,5 +1,9 @@ #!/bin/bash - +# +# Copyright (c) 2020 The Decred developers +# Use of this source code is governed by an ISC +# license that can be found in the LICENSE file. +# # usage: # ./run_tests.sh diff --git a/version/version.go b/version/version.go index 98ac734..47bc75c 100644 --- a/version/version.go +++ b/version/version.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package version import ( diff --git a/vspd.go b/vspd.go index eed3d1d..ec4d30d 100644 --- a/vspd.go +++ b/vspd.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package main import ( diff --git a/webapi/addressgenerator.go b/webapi/addressgenerator.go index f3fc81d..5ea5cad 100644 --- a/webapi/addressgenerator.go +++ b/webapi/addressgenerator.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/admin.go b/webapi/admin.go index 7365744..06c90ef 100644 --- a/webapi/admin.go +++ b/webapi/admin.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/errors.go b/webapi/errors.go index 667754c..13a3f6c 100644 --- a/webapi/errors.go +++ b/webapi/errors.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import "net/http" diff --git a/webapi/getfeeaddress.go b/webapi/getfeeaddress.go index 1a45d16..3fcc9dd 100644 --- a/webapi/getfeeaddress.go +++ b/webapi/getfeeaddress.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/helpers.go b/webapi/helpers.go index db2ba9a..3f1c682 100644 --- a/webapi/helpers.go +++ b/webapi/helpers.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/helpers_test.go b/webapi/helpers_test.go index 933392a..de7c22b 100644 --- a/webapi/helpers_test.go +++ b/webapi/helpers_test.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/homepage.go b/webapi/homepage.go index 78ddfcb..b3168f0 100644 --- a/webapi/homepage.go +++ b/webapi/homepage.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/log.go b/webapi/log.go index 9fea628..f74ff84 100644 --- a/webapi/log.go +++ b/webapi/log.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/middleware.go b/webapi/middleware.go index 9866d5c..1571e41 100644 --- a/webapi/middleware.go +++ b/webapi/middleware.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/payfee.go b/webapi/payfee.go index 6fb82b9..b01a50c 100644 --- a/webapi/payfee.go +++ b/webapi/payfee.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/setvotechoices.go b/webapi/setvotechoices.go index 095cf7c..471214d 100644 --- a/webapi/setvotechoices.go +++ b/webapi/setvotechoices.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/ticketstatus.go b/webapi/ticketstatus.go index e808487..f1989ac 100644 --- a/webapi/ticketstatus.go +++ b/webapi/ticketstatus.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/types.go b/webapi/types.go index 23d98ac..5060aec 100644 --- a/webapi/types.go +++ b/webapi/types.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi type vspInfoResponse struct { diff --git a/webapi/vspinfo.go b/webapi/vspinfo.go index 29f567a..c0837d3 100644 --- a/webapi/vspinfo.go +++ b/webapi/vspinfo.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import ( diff --git a/webapi/webapi.go b/webapi/webapi.go index b2d363e..9ad5fed 100644 --- a/webapi/webapi.go +++ b/webapi/webapi.go @@ -1,3 +1,7 @@ +// Copyright (c) 2020 The Decred developers +// Use of this source code is governed by an ISC +// license that can be found in the LICENSE file. + package webapi import (