From 6c3c162c3b98ba883fe4efabdd0942d8ef6062d6 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Thu, 23 Jul 2020 20:10:28 +0000 Subject: [PATCH] :page_facing_up: Change License headers to Apache 2.0 Signed-off-by: Oliver Tale-Yazdi --- apps/doc.go | 17 +++++++++++++---- apps/payment/app.go | 17 +++++++++++++---- apps/payment/app_test.go | 17 +++++++++++++---- apps/payment/backend.go | 17 +++++++++++++---- apps/payment/backend_test.go | 17 +++++++++++++---- apps/payment/init.go | 17 +++++++++++++---- apps/payment/randomizer.go | 17 +++++++++++++---- apps/payment/randomizer_test.go | 17 +++++++++++++---- backend/doc.go | 17 +++++++++++++---- backend/ethereum/bindings/adjudicator/doc.go | 17 +++++++++++++---- backend/ethereum/bindings/assets/doc.go | 17 +++++++++++++---- backend/ethereum/bindings/doc.go | 17 +++++++++++++---- backend/ethereum/bindings/generate.go | 17 +++++++++++++---- backend/ethereum/channel/adjudicator.go | 17 +++++++++++++---- backend/ethereum/channel/adjudicator_test.go | 17 +++++++++++++---- backend/ethereum/channel/asset.go | 17 +++++++++++++---- backend/ethereum/channel/asset_test.go | 17 +++++++++++++---- backend/ethereum/channel/backend.go | 17 +++++++++++++---- backend/ethereum/channel/backend_test.go | 17 +++++++++++++---- backend/ethereum/channel/conclude.go | 17 +++++++++++++---- backend/ethereum/channel/contractbackend.go | 17 +++++++++++++---- .../ethereum/channel/contractbackend_test.go | 17 +++++++++++++---- backend/ethereum/channel/deploy.go | 17 +++++++++++++---- backend/ethereum/channel/doc.go | 17 +++++++++++++---- backend/ethereum/channel/funder.go | 17 +++++++++++++---- backend/ethereum/channel/funder_test.go | 17 +++++++++++++---- backend/ethereum/channel/init.go | 17 +++++++++++++---- backend/ethereum/channel/init_test.go | 17 +++++++++++++---- backend/ethereum/channel/register.go | 17 +++++++++++++---- backend/ethereum/channel/register_test.go | 17 +++++++++++++---- backend/ethereum/channel/test/adjudicator.go | 17 +++++++++++++---- backend/ethereum/channel/test/doc.go | 17 +++++++++++++---- backend/ethereum/channel/test/init.go | 17 +++++++++++++---- backend/ethereum/channel/test/nonce.go | 17 +++++++++++++---- backend/ethereum/channel/test/randomizer.go | 17 +++++++++++++---- backend/ethereum/channel/test/setup.go | 17 +++++++++++++---- backend/ethereum/channel/test/simulated.go | 17 +++++++++++++---- backend/ethereum/channel/timeout.go | 17 +++++++++++++---- backend/ethereum/channel/timeout_test.go | 17 +++++++++++++---- backend/ethereum/channel/withdraw.go | 17 +++++++++++++---- backend/ethereum/channel/withdraw_test.go | 17 +++++++++++++---- backend/ethereum/client/dispute_test.go | 17 +++++++++++++---- backend/ethereum/client/happy_test.go | 17 +++++++++++++---- backend/ethereum/client/init_test.go | 17 +++++++++++++---- backend/ethereum/doc.go | 17 +++++++++++++---- backend/ethereum/init.go | 17 +++++++++++++---- backend/ethereum/wallet/account.go | 17 +++++++++++++---- backend/ethereum/wallet/address.go | 17 +++++++++++++---- backend/ethereum/wallet/address_test.go | 17 +++++++++++++---- backend/ethereum/wallet/backend.go | 17 +++++++++++++---- backend/ethereum/wallet/doc.go | 17 +++++++++++++---- backend/ethereum/wallet/init.go | 17 +++++++++++++---- backend/ethereum/wallet/test/doc.go | 17 +++++++++++++---- backend/ethereum/wallet/test/init.go | 17 +++++++++++++---- backend/ethereum/wallet/test/randomizer.go | 17 +++++++++++++---- backend/ethereum/wallet/wallet.go | 17 +++++++++++++---- backend/ethereum/wallet/wallet_test.go | 17 +++++++++++++---- backend/sim/channel/asset.go | 17 +++++++++++++---- backend/sim/channel/backend.go | 17 +++++++++++++---- backend/sim/channel/channel_test.go | 17 +++++++++++++---- backend/sim/channel/doc.go | 17 +++++++++++++---- backend/sim/channel/init.go | 17 +++++++++++++---- backend/sim/channel/init_test.go | 17 +++++++++++++---- backend/sim/channel/randomizer.go | 17 +++++++++++++---- backend/sim/doc.go | 17 +++++++++++++---- backend/sim/init.go | 17 +++++++++++++---- backend/sim/wallet/account.go | 17 +++++++++++++---- backend/sim/wallet/address.go | 17 +++++++++++++---- backend/sim/wallet/address_test.go | 17 +++++++++++++---- backend/sim/wallet/backend.go | 17 +++++++++++++---- backend/sim/wallet/doc.go | 17 +++++++++++++---- backend/sim/wallet/init.go | 17 +++++++++++++---- backend/sim/wallet/init_test.go | 17 +++++++++++++---- backend/sim/wallet/randomizer.go | 17 +++++++++++++---- backend/sim/wallet/wallet.go | 17 +++++++++++++---- backend/sim/wallet/wallet_internal_test.go | 17 +++++++++++++---- backend/sim/wallet/wallet_test.go | 17 +++++++++++++---- channel/actionmachine.go | 17 +++++++++++++---- channel/adjudicator.go | 17 +++++++++++++---- channel/allocation.go | 17 +++++++++++++---- channel/allocation_internal_test.go | 17 +++++++++++++---- channel/allocation_test.go | 17 +++++++++++++---- channel/app.go | 17 +++++++++++++---- channel/app_test.go | 17 +++++++++++++---- channel/backend.go | 17 +++++++++++++---- channel/backend_test.go | 17 +++++++++++++---- channel/backendtest.go | 17 +++++++++++++---- channel/doc.go | 17 +++++++++++++---- channel/errors.go | 17 +++++++++++++---- channel/errors_test.go | 17 +++++++++++++---- channel/funder.go | 17 +++++++++++++---- channel/funder_test.go | 17 +++++++++++++---- channel/machine.go | 17 +++++++++++++---- channel/machine_test.go | 17 +++++++++++++---- channel/mock_app.go | 17 +++++++++++++---- channel/mock_app_backend.go | 17 +++++++++++++---- channel/mock_app_internal_test.go | 17 +++++++++++++---- channel/params.go | 17 +++++++++++++---- channel/params_test.go | 17 +++++++++++++---- channel/persistence/doc.go | 17 +++++++++++++---- channel/persistence/init_test.go | 17 +++++++++++++---- channel/persistence/keyvalue/cache.go | 17 +++++++++++++---- channel/persistence/keyvalue/doc.go | 17 +++++++++++++---- .../persistence/keyvalue/persistedstate.go | 17 +++++++++++++---- channel/persistence/keyvalue/persister.go | 17 +++++++++++++---- .../persistence/keyvalue/persistrestorer.go | 17 +++++++++++++---- .../keyvalue/persistrestorer_test.go | 17 +++++++++++++---- channel/persistence/keyvalue/restorer.go | 17 +++++++++++++---- channel/persistence/nonpersister.go | 17 +++++++++++++---- channel/persistence/persistence.go | 17 +++++++++++++---- channel/persistence/statemachine.go | 17 +++++++++++++---- channel/persistence/statemachine_test.go | 17 +++++++++++++---- channel/persistence/test/channel.go | 17 +++++++++++++---- channel/persistence/test/channel_test.go | 17 +++++++++++++---- channel/persistence/test/peerchans.go | 17 +++++++++++++---- channel/persistence/test/peerchans_test.go | 17 +++++++++++++---- channel/persistence/test/persistrestorer.go | 17 +++++++++++++---- .../persistence/test/persistrestorer_test.go | 17 +++++++++++++---- .../persistence/test/persistrestorertest.go | 17 +++++++++++++---- channel/state.go | 17 +++++++++++++---- channel/state_test.go | 17 +++++++++++++---- channel/statemachine.go | 17 +++++++++++++---- channel/test/app_randomizer.go | 17 +++++++++++++---- channel/test/app_randomizer_test.go | 17 +++++++++++++---- channel/test/channeltest.go | 17 +++++++++++++---- channel/test/doc.go | 17 +++++++++++++---- channel/test/mock_app_randomizer.go | 17 +++++++++++++---- channel/test/randomizer.go | 17 +++++++++++++---- channel/test/randomopts.go | 17 +++++++++++++---- channel/transaction.go | 17 +++++++++++++---- channel/transaction_test.go | 17 +++++++++++++---- client/channel.go | 17 +++++++++++++---- client/channelconn.go | 17 +++++++++++++---- client/chanregistry.go | 17 +++++++++++++---- client/chanregistry_test.go | 17 +++++++++++++---- client/client.go | 17 +++++++++++++---- client/client_internal_test.go | 17 +++++++++++++---- client/client_persistence_test.go | 17 +++++++++++++---- client/client_role_test.go | 17 +++++++++++++---- client/client_test.go | 17 +++++++++++++---- client/clientconn.go | 17 +++++++++++++---- client/doc.go | 17 +++++++++++++---- client/happy_test.go | 17 +++++++++++++---- client/init_test.go | 17 +++++++++++++---- client/proposal.go | 17 +++++++++++++---- client/proposal_internal_test.go | 17 +++++++++++++---- client/proposal_test.go | 17 +++++++++++++---- client/proposalmsgs.go | 17 +++++++++++++---- client/proposalmsgs_test.go | 17 +++++++++++++---- client/sync.go | 17 +++++++++++++---- client/syncmsgs.go | 17 +++++++++++++---- client/test/alice.go | 17 +++++++++++++---- client/test/bob.go | 17 +++++++++++++---- client/test/carol.go | 17 +++++++++++++---- client/test/channel.go | 17 +++++++++++++---- client/test/channel_test.go | 17 +++++++++++++---- client/test/doc.go | 17 +++++++++++++---- client/test/mallory.go | 17 +++++++++++++---- client/test/persistence.go | 17 +++++++++++++---- client/test/proposer.go | 17 +++++++++++++---- client/test/responder.go | 17 +++++++++++++---- client/test/role.go | 17 +++++++++++++---- client/testchannel.go | 17 +++++++++++++---- client/update.go | 17 +++++++++++++---- client/update_test.go | 17 +++++++++++++---- client/updatemsgs.go | 19 ++++++++++++++----- client/updatemsgs_test.go | 17 +++++++++++++---- client/watch.go | 17 +++++++++++++---- log/levellified.go | 17 +++++++++++++---- log/levellified_test.go | 17 +++++++++++++---- log/log.go | 17 +++++++++++++---- log/log_test.go | 17 +++++++++++++---- log/logrus/doc.go | 17 +++++++++++++---- log/logrus/logrus.go | 17 +++++++++++++---- log/logrus/logrus_test.go | 17 +++++++++++++---- log/none.go | 17 +++++++++++++---- log/none_test.go | 17 +++++++++++++---- pkg/context/context.go | 17 +++++++++++++---- pkg/context/context_test.go | 17 +++++++++++++---- pkg/doc.go | 17 +++++++++++++---- pkg/io/bigint.go | 17 +++++++++++++---- pkg/io/bigint_external_test.go | 17 +++++++++++++---- pkg/io/byteslice.go | 17 +++++++++++++---- pkg/io/byteslice_external_test.go | 17 +++++++++++++---- pkg/io/doc.go | 17 +++++++++++++---- pkg/io/equal_encoding.go | 17 +++++++++++++---- pkg/io/equal_encoding_external_test.go | 17 +++++++++++++---- pkg/io/serialize.go | 17 +++++++++++++---- pkg/io/serializer.go | 17 +++++++++++++---- pkg/io/string.go | 17 +++++++++++++---- pkg/io/string_test.go | 17 +++++++++++++---- pkg/io/test/serializertest.go | 17 +++++++++++++---- pkg/io/wire_test.go | 17 +++++++++++++---- pkg/sortedkv/batch.go | 17 +++++++++++++---- pkg/sortedkv/database.go | 17 +++++++++++++---- pkg/sortedkv/iterator.go | 17 +++++++++++++---- pkg/sortedkv/key/key.go | 17 +++++++++++++---- pkg/sortedkv/key/key_test.go | 17 +++++++++++++---- pkg/sortedkv/leveldb/batch.go | 17 +++++++++++++---- pkg/sortedkv/leveldb/database.go | 17 +++++++++++++---- pkg/sortedkv/leveldb/doc.go | 17 +++++++++++++---- pkg/sortedkv/leveldb/iterator.go | 17 +++++++++++++---- pkg/sortedkv/leveldb/leveldb_test.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/batch.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/batch_test.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/database.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/database_test.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/iterator.go | 17 +++++++++++++---- pkg/sortedkv/memorydb/iterator_test.go | 17 +++++++++++++---- pkg/sortedkv/table.go | 17 +++++++++++++---- pkg/sortedkv/tablebatch.go | 17 +++++++++++++---- pkg/sortedkv/tableiterator.go | 17 +++++++++++++---- pkg/sortedkv/test/batchtest.go | 17 +++++++++++++---- pkg/sortedkv/test/databasetest.go | 17 +++++++++++++---- pkg/sortedkv/test/iteratortest.go | 17 +++++++++++++---- pkg/sortedkv/test/tabletest.go | 17 +++++++++++++---- pkg/sync/atomic/bool.go | 17 +++++++++++++---- pkg/sync/atomic/bool_test.go | 17 +++++++++++++---- pkg/sync/closer.go | 17 +++++++++++++---- pkg/sync/closer_internal_test.go | 17 +++++++++++++---- pkg/sync/closer_test.go | 17 +++++++++++++---- pkg/sync/mutex.go | 17 +++++++++++++---- pkg/sync/mutex_test.go | 17 +++++++++++++---- pkg/test/cloning.go | 17 +++++++++++++---- pkg/test/cloning_test.go | 17 +++++++++++++---- pkg/test/concurrent.go | 17 +++++++++++++---- pkg/test/concurrent_test.go | 17 +++++++++++++---- pkg/test/doc.go | 17 +++++++++++++---- pkg/test/eventually.go | 17 +++++++++++++---- pkg/test/eventually_test.go | 17 +++++++++++++---- pkg/test/exit.go | 17 +++++++++++++---- pkg/test/exit_test.go | 17 +++++++++++++---- pkg/test/goexit.go | 17 +++++++++++++---- pkg/test/goexit_test.go | 17 +++++++++++++---- pkg/test/norace.go | 17 +++++++++++++---- pkg/test/onlyonce.go | 17 +++++++++++++---- pkg/test/onlyonce_test.go | 17 +++++++++++++---- pkg/test/panic.go | 17 +++++++++++++---- pkg/test/panic_test.go | 17 +++++++++++++---- pkg/test/prng.go | 17 +++++++++++++---- pkg/test/prng_test.go | 17 +++++++++++++---- pkg/test/race.go | 17 +++++++++++++---- pkg/test/terminates.go | 17 +++++++++++++---- pkg/test/terminates_test.go | 17 +++++++++++++---- pkg/test/testmock.go | 17 +++++++++++++---- pkg/test/testmock_test.go | 17 +++++++++++++---- pkg/test/wrapmock.go | 17 +++++++++++++---- pkg/test/wrapmock_test.go | 17 +++++++++++++---- wallet/account.go | 17 +++++++++++++---- wallet/address.go | 17 +++++++++++++---- wallet/address_test.go | 17 +++++++++++++---- wallet/backend.go | 17 +++++++++++++---- wallet/backend_test.go | 17 +++++++++++++---- wallet/backendtest.go | 17 +++++++++++++---- wallet/doc.go | 17 +++++++++++++---- wallet/sig.go | 17 +++++++++++++---- wallet/test/doc.go | 17 +++++++++++++---- wallet/test/randomizer.go | 17 +++++++++++++---- wallet/test/randomizertest.go | 17 +++++++++++++---- wallet/test/walletbench.go | 17 +++++++++++++---- wallet/test/wallettest.go | 17 +++++++++++++---- wallet/wallet.go | 17 +++++++++++++---- wire/account.go | 17 +++++++++++++---- wire/account_test.go | 17 +++++++++++++---- wire/address.go | 17 +++++++++++++---- wire/bus.go | 17 +++++++++++++---- wire/cache.go | 17 +++++++++++++---- wire/cache_internal_test.go | 17 +++++++++++++---- wire/consumer.go | 17 +++++++++++++---- wire/controlmsgs.go | 17 +++++++++++++---- wire/controlmsgs_test.go | 17 +++++++++++++---- wire/doc.go | 17 +++++++++++++---- wire/localbus.go | 17 +++++++++++++---- wire/localbus_test.go | 17 +++++++++++++---- wire/msg.go | 17 +++++++++++++---- wire/msg_test.go | 17 +++++++++++++---- wire/msgtest.go | 17 +++++++++++++---- wire/net/bus.go | 17 +++++++++++++---- wire/net/bus_test.go | 17 +++++++++++++---- wire/net/conn.go | 17 +++++++++++++---- wire/net/dialer.go | 17 +++++++++++++---- wire/net/endpoint.go | 17 +++++++++++++---- wire/net/endpoint_registry.go | 17 +++++++++++++---- wire/net/endpoint_registry_external_test.go | 17 +++++++++++++---- wire/net/endpoint_registry_test.go | 17 +++++++++++++---- wire/net/endpoint_test.go | 17 +++++++++++++---- wire/net/exchange_addr.go | 17 +++++++++++++---- wire/net/exchange_addr_test.go | 17 +++++++++++++---- wire/net/ioconn.go | 17 +++++++++++++---- wire/net/listener.go | 17 +++++++++++++---- wire/net/mockconn_test.go | 17 +++++++++++++---- wire/net/simple/dialer.go | 17 +++++++++++++---- wire/net/simple/dialer_test.go | 17 +++++++++++++---- wire/net/simple/listener.go | 17 +++++++++++++---- wire/net/simple/listener_test.go | 17 +++++++++++++---- wire/net/test/connhub.go | 17 +++++++++++++---- wire/net/test/connhub_test.go | 17 +++++++++++++---- wire/net/test/dialer.go | 17 +++++++++++++---- wire/net/test/dialer_test.go | 17 +++++++++++++---- wire/net/test/dialerlist.go | 17 +++++++++++++---- wire/net/test/dialerlist_test.go | 17 +++++++++++++---- wire/net/test/listener.go | 17 +++++++++++++---- wire/net/test/listener_test.go | 17 +++++++++++++---- wire/net/test/listenermap.go | 17 +++++++++++++---- wire/net/test/listenermap_test.go | 17 +++++++++++++---- wire/net/test/pipeconn.go | 17 +++++++++++++---- wire/pubsub.go | 17 +++++++++++++---- wire/receiver.go | 17 +++++++++++++---- wire/receiver_test.go | 17 +++++++++++++---- wire/relay.go | 17 +++++++++++++---- wire/relay_test.go | 17 +++++++++++++---- wire/test/bustest.go | 17 +++++++++++++---- wire/test/doc.go | 17 +++++++++++++---- wire/test/randomizer.go | 17 +++++++++++++---- 314 files changed, 4083 insertions(+), 1257 deletions(-) diff --git a/apps/doc.go b/apps/doc.go index a8ccf913..c05dca89 100644 --- a/apps/doc.go +++ b/apps/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package apps contains Go implementations of apps that are distributed with // go-perun. Their Ethereum Solidity counterparts are found in repository diff --git a/apps/payment/app.go b/apps/payment/app.go index 0e4496e3..811deb3e 100644 --- a/apps/payment/app.go +++ b/apps/payment/app.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package payment implements the payment channel app. package payment // import "perun.network/go-perun/apps/payment" diff --git a/apps/payment/app_test.go b/apps/payment/app_test.go index d3c020d2..156af1dc 100644 --- a/apps/payment/app_test.go +++ b/apps/payment/app_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/apps/payment/backend.go b/apps/payment/backend.go index 9a88b4d0..6d537fed 100644 --- a/apps/payment/backend.go +++ b/apps/payment/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/apps/payment/backend_test.go b/apps/payment/backend_test.go index 846af811..706edc8e 100644 --- a/apps/payment/backend_test.go +++ b/apps/payment/backend_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/apps/payment/init.go b/apps/payment/init.go index f936b8a3..ce15a0e7 100644 --- a/apps/payment/init.go +++ b/apps/payment/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/apps/payment/randomizer.go b/apps/payment/randomizer.go index bc3ab4e0..fcf4d9c3 100644 --- a/apps/payment/randomizer.go +++ b/apps/payment/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/apps/payment/randomizer_test.go b/apps/payment/randomizer_test.go index c96d870e..fb51451b 100644 --- a/apps/payment/randomizer_test.go +++ b/apps/payment/randomizer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package payment diff --git a/backend/doc.go b/backend/doc.go index c8eb26bf..7b2bb3ef 100644 --- a/backend/doc.go +++ b/backend/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package backend contains blockchain backend implementations. A blockchain // backend implements all blockchain-specific functionality needed diff --git a/backend/ethereum/bindings/adjudicator/doc.go b/backend/ethereum/bindings/adjudicator/doc.go index dae15ace..0940ff44 100644 --- a/backend/ethereum/bindings/adjudicator/doc.go +++ b/backend/ethereum/bindings/adjudicator/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by a MIT-style license that can be found in -// the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package adjudicator contains the auto-generated bindings for the adjudicator // smart contract. diff --git a/backend/ethereum/bindings/assets/doc.go b/backend/ethereum/bindings/assets/doc.go index 7ea19561..dac33bd1 100644 --- a/backend/ethereum/bindings/assets/doc.go +++ b/backend/ethereum/bindings/assets/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by a MIT-style license that can be found in -// the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package assets contains the auto-generated bindings for the asset holder // contracts. diff --git a/backend/ethereum/bindings/doc.go b/backend/ethereum/bindings/doc.go index f71dc5ce..c733ef48 100644 --- a/backend/ethereum/bindings/doc.go +++ b/backend/ethereum/bindings/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by a MIT-style license that can be found in -// the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package bindings contains all automatically generated code bindings to // interact with the smart contracts of the Perun Ethereum blockchain backend. diff --git a/backend/ethereum/bindings/generate.go b/backend/ethereum/bindings/generate.go index 63575bdd..628fa404 100644 --- a/backend/ethereum/bindings/generate.go +++ b/backend/ethereum/bindings/generate.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by a MIT-style license that can be found in -// the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package bindings diff --git a/backend/ethereum/channel/adjudicator.go b/backend/ethereum/channel/adjudicator.go index f25ce650..fb126d8f 100644 --- a/backend/ethereum/channel/adjudicator.go +++ b/backend/ethereum/channel/adjudicator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/adjudicator_test.go b/backend/ethereum/channel/adjudicator_test.go index eef9fcba..3ee562c4 100644 --- a/backend/ethereum/channel/adjudicator_test.go +++ b/backend/ethereum/channel/adjudicator_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/asset.go b/backend/ethereum/channel/asset.go index 4039f8f0..881dd6dd 100644 --- a/backend/ethereum/channel/asset.go +++ b/backend/ethereum/channel/asset.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/asset_test.go b/backend/ethereum/channel/asset_test.go index 113eba9b..dadf1760 100644 --- a/backend/ethereum/channel/asset_test.go +++ b/backend/ethereum/channel/asset_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/backend.go b/backend/ethereum/channel/backend.go index 44cd66de..b205fab7 100644 --- a/backend/ethereum/channel/backend.go +++ b/backend/ethereum/channel/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/backend_test.go b/backend/ethereum/channel/backend_test.go index 3840082b..c30a9da1 100644 --- a/backend/ethereum/channel/backend_test.go +++ b/backend/ethereum/channel/backend_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/conclude.go b/backend/ethereum/channel/conclude.go index a2ab10f2..d5ba6db1 100644 --- a/backend/ethereum/channel/conclude.go +++ b/backend/ethereum/channel/conclude.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/contractbackend.go b/backend/ethereum/channel/contractbackend.go index 1220276d..e41f2b82 100644 --- a/backend/ethereum/channel/contractbackend.go +++ b/backend/ethereum/channel/contractbackend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/contractbackend_test.go b/backend/ethereum/channel/contractbackend_test.go index 9d4e0c66..7746e287 100644 --- a/backend/ethereum/channel/contractbackend_test.go +++ b/backend/ethereum/channel/contractbackend_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/deploy.go b/backend/ethereum/channel/deploy.go index 2aef276e..a564765a 100644 --- a/backend/ethereum/channel/deploy.go +++ b/backend/ethereum/channel/deploy.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/doc.go b/backend/ethereum/channel/doc.go index 310be5cf..1631e6cf 100644 --- a/backend/ethereum/channel/doc.go +++ b/backend/ethereum/channel/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package channel contains the Ethereum channel backend implementation. package channel // import "perun.network/go-perun/backend/ethereum/channel" diff --git a/backend/ethereum/channel/funder.go b/backend/ethereum/channel/funder.go index d6ed959c..92eb66a0 100644 --- a/backend/ethereum/channel/funder.go +++ b/backend/ethereum/channel/funder.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/funder_test.go b/backend/ethereum/channel/funder_test.go index 22526f37..1936be99 100644 --- a/backend/ethereum/channel/funder_test.go +++ b/backend/ethereum/channel/funder_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/init.go b/backend/ethereum/channel/init.go index c06987a6..028eb7d6 100644 --- a/backend/ethereum/channel/init.go +++ b/backend/ethereum/channel/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/init_test.go b/backend/ethereum/channel/init_test.go index 9e76e220..70fab629 100644 --- a/backend/ethereum/channel/init_test.go +++ b/backend/ethereum/channel/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/register.go b/backend/ethereum/channel/register.go index 2336086e..5f90c2ba 100644 --- a/backend/ethereum/channel/register.go +++ b/backend/ethereum/channel/register.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/register_test.go b/backend/ethereum/channel/register_test.go index 535e0ee9..9775c1c5 100644 --- a/backend/ethereum/channel/register_test.go +++ b/backend/ethereum/channel/register_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/test/adjudicator.go b/backend/ethereum/channel/test/adjudicator.go index de88b411..6a1a5755 100644 --- a/backend/ethereum/channel/test/adjudicator.go +++ b/backend/ethereum/channel/test/adjudicator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/test/doc.go b/backend/ethereum/channel/test/doc.go index 7e38c7b7..1aba67ae 100644 --- a/backend/ethereum/channel/test/doc.go +++ b/backend/ethereum/channel/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains utilities for testing the Ethereum channel backend, // such as a simulated blockchain backend and a custom Adjudicator. diff --git a/backend/ethereum/channel/test/init.go b/backend/ethereum/channel/test/init.go index 15cf43c3..56bbbb72 100644 --- a/backend/ethereum/channel/test/init.go +++ b/backend/ethereum/channel/test/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/test/nonce.go b/backend/ethereum/channel/test/nonce.go index 506ae5bf..4cf6121c 100644 --- a/backend/ethereum/channel/test/nonce.go +++ b/backend/ethereum/channel/test/nonce.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/test/randomizer.go b/backend/ethereum/channel/test/randomizer.go index 7e37974c..7028ef0c 100644 --- a/backend/ethereum/channel/test/randomizer.go +++ b/backend/ethereum/channel/test/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/test/setup.go b/backend/ethereum/channel/test/setup.go index e14cbf65..f5ddee78 100644 --- a/backend/ethereum/channel/test/setup.go +++ b/backend/ethereum/channel/test/setup.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/test/simulated.go b/backend/ethereum/channel/test/simulated.go index 99a32165..41e1758c 100644 --- a/backend/ethereum/channel/test/simulated.go +++ b/backend/ethereum/channel/test/simulated.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/channel/timeout.go b/backend/ethereum/channel/timeout.go index 821f5bf1..9ab528e4 100644 --- a/backend/ethereum/channel/timeout.go +++ b/backend/ethereum/channel/timeout.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/timeout_test.go b/backend/ethereum/channel/timeout_test.go index b3fdfe4e..9da20096 100644 --- a/backend/ethereum/channel/timeout_test.go +++ b/backend/ethereum/channel/timeout_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/channel/withdraw.go b/backend/ethereum/channel/withdraw.go index 5cb70502..e053d8cf 100644 --- a/backend/ethereum/channel/withdraw.go +++ b/backend/ethereum/channel/withdraw.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/ethereum/channel/withdraw_test.go b/backend/ethereum/channel/withdraw_test.go index 677e603e..86e8f1ce 100644 --- a/backend/ethereum/channel/withdraw_test.go +++ b/backend/ethereum/channel/withdraw_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/backend/ethereum/client/dispute_test.go b/backend/ethereum/client/dispute_test.go index 17f16e73..7a21e0eb 100644 --- a/backend/ethereum/client/dispute_test.go +++ b/backend/ethereum/client/dispute_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/backend/ethereum/client/happy_test.go b/backend/ethereum/client/happy_test.go index 86ad6f59..64f7f6c8 100644 --- a/backend/ethereum/client/happy_test.go +++ b/backend/ethereum/client/happy_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/backend/ethereum/client/init_test.go b/backend/ethereum/client/init_test.go index 56694531..2d78f941 100644 --- a/backend/ethereum/client/init_test.go +++ b/backend/ethereum/client/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/backend/ethereum/doc.go b/backend/ethereum/doc.go index 30528ace..f4a5239d 100644 --- a/backend/ethereum/doc.go +++ b/backend/ethereum/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package ethereum contains the Ethereum blockchain backend. package ethereum // import "perun.network/go-perun/backend/ethereum" diff --git a/backend/ethereum/init.go b/backend/ethereum/init.go index 29b83f48..56fe4800 100644 --- a/backend/ethereum/init.go +++ b/backend/ethereum/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package ethereum diff --git a/backend/ethereum/wallet/account.go b/backend/ethereum/wallet/account.go index 93cb66cb..68c1edd7 100644 --- a/backend/ethereum/wallet/account.go +++ b/backend/ethereum/wallet/account.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/address.go b/backend/ethereum/wallet/address.go index 5a1817af..70d609af 100644 --- a/backend/ethereum/wallet/address.go +++ b/backend/ethereum/wallet/address.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/address_test.go b/backend/ethereum/wallet/address_test.go index b90abe03..37ad8353 100644 --- a/backend/ethereum/wallet/address_test.go +++ b/backend/ethereum/wallet/address_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/backend.go b/backend/ethereum/wallet/backend.go index b93f08fa..b14dc621 100644 --- a/backend/ethereum/wallet/backend.go +++ b/backend/ethereum/wallet/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/doc.go b/backend/ethereum/wallet/doc.go index f15db4be..cad64fa7 100644 --- a/backend/ethereum/wallet/doc.go +++ b/backend/ethereum/wallet/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package wallet implements go-perun's wallet interface for the ethereum // backend. It makes use of go-ethereum's keystore module for storing, reading, diff --git a/backend/ethereum/wallet/init.go b/backend/ethereum/wallet/init.go index 4c55dfd1..5cffa126 100644 --- a/backend/ethereum/wallet/init.go +++ b/backend/ethereum/wallet/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/test/doc.go b/backend/ethereum/wallet/test/doc.go index 3edc7099..1f252281 100644 --- a/backend/ethereum/wallet/test/doc.go +++ b/backend/ethereum/wallet/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains utilities for generating random ethereum accounts and // addresses. diff --git a/backend/ethereum/wallet/test/init.go b/backend/ethereum/wallet/test/init.go index 41a9d23c..f63ffe7d 100644 --- a/backend/ethereum/wallet/test/init.go +++ b/backend/ethereum/wallet/test/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/wallet/test/randomizer.go b/backend/ethereum/wallet/test/randomizer.go index e850c704..d2845109 100644 --- a/backend/ethereum/wallet/test/randomizer.go +++ b/backend/ethereum/wallet/test/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/backend/ethereum/wallet/wallet.go b/backend/ethereum/wallet/wallet.go index c89c259e..d62ca830 100644 --- a/backend/ethereum/wallet/wallet.go +++ b/backend/ethereum/wallet/wallet.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/ethereum/wallet/wallet_test.go b/backend/ethereum/wallet/wallet_test.go index 34d6ebc6..d1c5ebaa 100644 --- a/backend/ethereum/wallet/wallet_test.go +++ b/backend/ethereum/wallet/wallet_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet_test diff --git a/backend/sim/channel/asset.go b/backend/sim/channel/asset.go index 0e53337a..dd59bddc 100644 --- a/backend/sim/channel/asset.go +++ b/backend/sim/channel/asset.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/sim/channel/backend.go b/backend/sim/channel/backend.go index 6537f4f5..3c873569 100644 --- a/backend/sim/channel/backend.go +++ b/backend/sim/channel/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/sim/channel/channel_test.go b/backend/sim/channel/channel_test.go index 82153431..e5afd04a 100644 --- a/backend/sim/channel/channel_test.go +++ b/backend/sim/channel/channel_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/sim/channel/doc.go b/backend/sim/channel/doc.go index 2dd1ef11..bca04b4e 100644 --- a/backend/sim/channel/doc.go +++ b/backend/sim/channel/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package channel contains the simulated channel backend. package channel // import "perun.network/go-perun/backend/sim/channel" diff --git a/backend/sim/channel/init.go b/backend/sim/channel/init.go index 8795caac..4076c069 100644 --- a/backend/sim/channel/init.go +++ b/backend/sim/channel/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build !wrap_test diff --git a/backend/sim/channel/init_test.go b/backend/sim/channel/init_test.go index 6f74d0df..d97cdb15 100644 --- a/backend/sim/channel/init_test.go +++ b/backend/sim/channel/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build !wrap_test diff --git a/backend/sim/channel/randomizer.go b/backend/sim/channel/randomizer.go index 28277c03..bbbf08db 100644 --- a/backend/sim/channel/randomizer.go +++ b/backend/sim/channel/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/backend/sim/doc.go b/backend/sim/doc.go index b5b01ed6..4543c664 100644 --- a/backend/sim/doc.go +++ b/backend/sim/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package sim contains the simulated blockchain backend. package sim // import "perun.network/go-perun/backend/sim" diff --git a/backend/sim/init.go b/backend/sim/init.go index f92208f3..54567891 100644 --- a/backend/sim/init.go +++ b/backend/sim/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sim diff --git a/backend/sim/wallet/account.go b/backend/sim/wallet/account.go index 3d1c382c..7f53e6ad 100644 --- a/backend/sim/wallet/account.go +++ b/backend/sim/wallet/account.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/address.go b/backend/sim/wallet/address.go index ba151fa2..d9d08309 100644 --- a/backend/sim/wallet/address.go +++ b/backend/sim/wallet/address.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/address_test.go b/backend/sim/wallet/address_test.go index 8d80e167..1655fa59 100644 --- a/backend/sim/wallet/address_test.go +++ b/backend/sim/wallet/address_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/backend.go b/backend/sim/wallet/backend.go index e3e7d0cd..f6044cb5 100644 --- a/backend/sim/wallet/backend.go +++ b/backend/sim/wallet/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/doc.go b/backend/sim/wallet/doc.go index f495d8d1..593d3468 100644 --- a/backend/sim/wallet/doc.go +++ b/backend/sim/wallet/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package wallet contains the simulated wallet backend. package wallet // import "perun.network/go-perun/backend/sim/wallet" diff --git a/backend/sim/wallet/init.go b/backend/sim/wallet/init.go index 904d459f..070d278f 100644 --- a/backend/sim/wallet/init.go +++ b/backend/sim/wallet/init.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build !wrap_test diff --git a/backend/sim/wallet/init_test.go b/backend/sim/wallet/init_test.go index 3c73c6a6..aac68d27 100644 --- a/backend/sim/wallet/init_test.go +++ b/backend/sim/wallet/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build !wrap_test diff --git a/backend/sim/wallet/randomizer.go b/backend/sim/wallet/randomizer.go index 01f5a1e6..615ce7cd 100644 --- a/backend/sim/wallet/randomizer.go +++ b/backend/sim/wallet/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/wallet.go b/backend/sim/wallet/wallet.go index e58170fb..2af1e68f 100644 --- a/backend/sim/wallet/wallet.go +++ b/backend/sim/wallet/wallet.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/wallet_internal_test.go b/backend/sim/wallet/wallet_internal_test.go index 055e6078..cfbe87d2 100644 --- a/backend/sim/wallet/wallet_internal_test.go +++ b/backend/sim/wallet/wallet_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/backend/sim/wallet/wallet_test.go b/backend/sim/wallet/wallet_test.go index ebb06b19..0020550e 100644 --- a/backend/sim/wallet/wallet_test.go +++ b/backend/sim/wallet/wallet_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet_test diff --git a/channel/actionmachine.go b/channel/actionmachine.go index 0d94512a..bf71a49e 100644 --- a/channel/actionmachine.go +++ b/channel/actionmachine.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/adjudicator.go b/channel/adjudicator.go index 15e1f52b..20a252e1 100644 --- a/channel/adjudicator.go +++ b/channel/adjudicator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/allocation.go b/channel/allocation.go index 10eaab94..c8386b04 100644 --- a/channel/allocation.go +++ b/channel/allocation.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/allocation_internal_test.go b/channel/allocation_internal_test.go index db950db3..6d39920c 100644 --- a/channel/allocation_internal_test.go +++ b/channel/allocation_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/allocation_test.go b/channel/allocation_test.go index 4fff8194..a849e669 100644 --- a/channel/allocation_test.go +++ b/channel/allocation_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/channel/app.go b/channel/app.go index 381c8889..04b7f513 100644 --- a/channel/app.go +++ b/channel/app.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/app_test.go b/channel/app_test.go index b08af992..72d29f0b 100644 --- a/channel/app_test.go +++ b/channel/app_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/backend.go b/channel/backend.go index e8fcab93..3b1b3549 100644 --- a/channel/backend.go +++ b/channel/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/backend_test.go b/channel/backend_test.go index 2f8e2fd6..22870841 100644 --- a/channel/backend_test.go +++ b/channel/backend_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build wrap_test diff --git a/channel/backendtest.go b/channel/backendtest.go index 47725cda..08619848 100644 --- a/channel/backendtest.go +++ b/channel/backendtest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/doc.go b/channel/doc.go index 361b01f1..ef489de2 100644 --- a/channel/doc.go +++ b/channel/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package channel holds the core channel data structures. // Those data structures are interpreted by the adjudicator. diff --git a/channel/errors.go b/channel/errors.go index 5471586a..180b58bc 100644 --- a/channel/errors.go +++ b/channel/errors.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/errors_test.go b/channel/errors_test.go index 580d6070..8f3477ef 100644 --- a/channel/errors_test.go +++ b/channel/errors_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/funder.go b/channel/funder.go index d4c20f17..52d36467 100644 --- a/channel/funder.go +++ b/channel/funder.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/funder_test.go b/channel/funder_test.go index f2eb620a..523bcac3 100644 --- a/channel/funder_test.go +++ b/channel/funder_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/machine.go b/channel/machine.go index 54aef63d..9f1d2c4f 100644 --- a/channel/machine.go +++ b/channel/machine.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/machine_test.go b/channel/machine_test.go index fec5288a..da205436 100644 --- a/channel/machine_test.go +++ b/channel/machine_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/channel/mock_app.go b/channel/mock_app.go index 67c1c207..b0359d17 100644 --- a/channel/mock_app.go +++ b/channel/mock_app.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/mock_app_backend.go b/channel/mock_app_backend.go index d85c3157..178f0f83 100644 --- a/channel/mock_app_backend.go +++ b/channel/mock_app_backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/mock_app_internal_test.go b/channel/mock_app_internal_test.go index 60077501..56ba79d1 100644 --- a/channel/mock_app_internal_test.go +++ b/channel/mock_app_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/params.go b/channel/params.go index d30f0887..9ca12b9b 100644 --- a/channel/params.go +++ b/channel/params.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/params_test.go b/channel/params_test.go index 57fe8140..5a3eb5dd 100644 --- a/channel/params_test.go +++ b/channel/params_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/channel/persistence/doc.go b/channel/persistence/doc.go index e348b562..8b84f71b 100644 --- a/channel/persistence/doc.go +++ b/channel/persistence/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package persistence specifies how the framework interacts with a persistence // backend. diff --git a/channel/persistence/init_test.go b/channel/persistence/init_test.go index 2ef2973f..8d26d020 100644 --- a/channel/persistence/init_test.go +++ b/channel/persistence/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package persistence_test diff --git a/channel/persistence/keyvalue/cache.go b/channel/persistence/keyvalue/cache.go index 6117dd1e..2936d397 100644 --- a/channel/persistence/keyvalue/cache.go +++ b/channel/persistence/keyvalue/cache.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/keyvalue/doc.go b/channel/persistence/keyvalue/doc.go index d059d0c0..31fc34d5 100644 --- a/channel/persistence/keyvalue/doc.go +++ b/channel/persistence/keyvalue/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package keyvalue contains an implementation of the channel persister // interface using a keyvalue database interface. diff --git a/channel/persistence/keyvalue/persistedstate.go b/channel/persistence/keyvalue/persistedstate.go index 70b700d9..a9456118 100644 --- a/channel/persistence/keyvalue/persistedstate.go +++ b/channel/persistence/keyvalue/persistedstate.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/keyvalue/persister.go b/channel/persistence/keyvalue/persister.go index edaffd82..833cb405 100644 --- a/channel/persistence/keyvalue/persister.go +++ b/channel/persistence/keyvalue/persister.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/keyvalue/persistrestorer.go b/channel/persistence/keyvalue/persistrestorer.go index 5767397b..db328c36 100644 --- a/channel/persistence/keyvalue/persistrestorer.go +++ b/channel/persistence/keyvalue/persistrestorer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/keyvalue/persistrestorer_test.go b/channel/persistence/keyvalue/persistrestorer_test.go index f242bd9a..72fbe84e 100644 --- a/channel/persistence/keyvalue/persistrestorer_test.go +++ b/channel/persistence/keyvalue/persistrestorer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/keyvalue/restorer.go b/channel/persistence/keyvalue/restorer.go index f41d2073..8aee4c7a 100644 --- a/channel/persistence/keyvalue/restorer.go +++ b/channel/persistence/keyvalue/restorer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package keyvalue diff --git a/channel/persistence/nonpersister.go b/channel/persistence/nonpersister.go index 315d4bbc..ac9013bf 100644 --- a/channel/persistence/nonpersister.go +++ b/channel/persistence/nonpersister.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package persistence diff --git a/channel/persistence/persistence.go b/channel/persistence/persistence.go index 25d1b357..01f7bd9f 100644 --- a/channel/persistence/persistence.go +++ b/channel/persistence/persistence.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package persistence diff --git a/channel/persistence/statemachine.go b/channel/persistence/statemachine.go index d1341868..d64787e9 100644 --- a/channel/persistence/statemachine.go +++ b/channel/persistence/statemachine.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package persistence diff --git a/channel/persistence/statemachine_test.go b/channel/persistence/statemachine_test.go index 426c9dc8..6d021896 100644 --- a/channel/persistence/statemachine_test.go +++ b/channel/persistence/statemachine_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package persistence_test diff --git a/channel/persistence/test/channel.go b/channel/persistence/test/channel.go index 92aab63b..894ca385 100644 --- a/channel/persistence/test/channel.go +++ b/channel/persistence/test/channel.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/persistence/test/channel_test.go b/channel/persistence/test/channel_test.go index 64f5ac21..a527c8d0 100644 --- a/channel/persistence/test/channel_test.go +++ b/channel/persistence/test/channel_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/persistence/test/peerchans.go b/channel/persistence/test/peerchans.go index 375ce39e..e4eaa3f3 100644 --- a/channel/persistence/test/peerchans.go +++ b/channel/persistence/test/peerchans.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/persistence/test/peerchans_test.go b/channel/persistence/test/peerchans_test.go index 30011688..b9331325 100644 --- a/channel/persistence/test/peerchans_test.go +++ b/channel/persistence/test/peerchans_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/persistence/test/persistrestorer.go b/channel/persistence/test/persistrestorer.go index e22842a1..f8a03782 100644 --- a/channel/persistence/test/persistrestorer.go +++ b/channel/persistence/test/persistrestorer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test provides a PersistRestorer implementation for testing purposes // as well as a generic PersistRestorer implementation test. diff --git a/channel/persistence/test/persistrestorer_test.go b/channel/persistence/test/persistrestorer_test.go index 62ce0f09..8d472fc1 100644 --- a/channel/persistence/test/persistrestorer_test.go +++ b/channel/persistence/test/persistrestorer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test_test diff --git a/channel/persistence/test/persistrestorertest.go b/channel/persistence/test/persistrestorertest.go index c9cefb5f..2b1955ff 100644 --- a/channel/persistence/test/persistrestorertest.go +++ b/channel/persistence/test/persistrestorertest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/state.go b/channel/state.go index 659a8c47..85c224f4 100644 --- a/channel/state.go +++ b/channel/state.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/state_test.go b/channel/state_test.go index 40c2913c..7f129d6e 100644 --- a/channel/state_test.go +++ b/channel/state_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/channel/statemachine.go b/channel/statemachine.go index 745d1c36..3f5f8d50 100644 --- a/channel/statemachine.go +++ b/channel/statemachine.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/test/app_randomizer.go b/channel/test/app_randomizer.go index 49502ebd..b1b58467 100644 --- a/channel/test/app_randomizer.go +++ b/channel/test/app_randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/test/app_randomizer_test.go b/channel/test/app_randomizer_test.go index 1acd2a0d..40f77d1f 100644 --- a/channel/test/app_randomizer_test.go +++ b/channel/test/app_randomizer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/test/channeltest.go b/channel/test/channeltest.go index 837bc8c5..134d7273 100644 --- a/channel/test/channeltest.go +++ b/channel/test/channeltest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/test/doc.go b/channel/test/doc.go index 207d09ba..726b7234 100644 --- a/channel/test/doc.go +++ b/channel/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains generic tests for channel backend implementations and // random generators of Params, States etc. for tests. diff --git a/channel/test/mock_app_randomizer.go b/channel/test/mock_app_randomizer.go index c735496f..f3b37e67 100644 --- a/channel/test/mock_app_randomizer.go +++ b/channel/test/mock_app_randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/test/randomizer.go b/channel/test/randomizer.go index 2b5fd1a5..45f8b194 100644 --- a/channel/test/randomizer.go +++ b/channel/test/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/test/randomopts.go b/channel/test/randomopts.go index 874ed9e0..735fb729 100644 --- a/channel/test/randomopts.go +++ b/channel/test/randomopts.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/channel/transaction.go b/channel/transaction.go index a7239f61..8f433088 100644 --- a/channel/transaction.go +++ b/channel/transaction.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel diff --git a/channel/transaction_test.go b/channel/transaction_test.go index f93da324..4881e64a 100644 --- a/channel/transaction_test.go +++ b/channel/transaction_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package channel_test diff --git a/client/channel.go b/client/channel.go index a1f96c1e..31c5f128 100644 --- a/client/channel.go +++ b/client/channel.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/channelconn.go b/client/channelconn.go index 97ff7903..9027e187 100644 --- a/client/channelconn.go +++ b/client/channelconn.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/chanregistry.go b/client/chanregistry.go index 1e8cd41c..c564fdd2 100644 --- a/client/chanregistry.go +++ b/client/chanregistry.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/chanregistry_test.go b/client/chanregistry_test.go index 1f2df0ae..c8f23626 100644 --- a/client/chanregistry_test.go +++ b/client/chanregistry_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/client.go b/client/client.go index d187d6af..c191cba3 100644 --- a/client/client.go +++ b/client/client.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/client_internal_test.go b/client/client_internal_test.go index dd5da52a..0a073480 100644 --- a/client/client_internal_test.go +++ b/client/client_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/client_persistence_test.go b/client/client_persistence_test.go index e5a52f95..80d482b4 100644 --- a/client/client_persistence_test.go +++ b/client/client_persistence_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/client/client_role_test.go b/client/client_role_test.go index e16f87c5..c33fc12e 100644 --- a/client/client_role_test.go +++ b/client/client_role_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/client/client_test.go b/client/client_test.go index 7bb84880..e9d8425c 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/clientconn.go b/client/clientconn.go index 7749467b..918bdf3c 100644 --- a/client/clientconn.go +++ b/client/clientconn.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/doc.go b/client/doc.go index 1534eb4a..e047913b 100644 --- a/client/doc.go +++ b/client/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package client contains the Perun State Channel network protocol // implementation. It provides a Client that exposes the central API to diff --git a/client/happy_test.go b/client/happy_test.go index f33f7e10..ca44290d 100644 --- a/client/happy_test.go +++ b/client/happy_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/client/init_test.go b/client/init_test.go index 7ab30c8f..a68f7d56 100644 --- a/client/init_test.go +++ b/client/init_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/proposal.go b/client/proposal.go index 70d9c6a8..85138dd6 100644 --- a/client/proposal.go +++ b/client/proposal.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/proposal_internal_test.go b/client/proposal_internal_test.go index 3543e1cf..ea06d5ed 100644 --- a/client/proposal_internal_test.go +++ b/client/proposal_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/proposal_test.go b/client/proposal_test.go index a4274c25..bdfb3567 100644 --- a/client/proposal_test.go +++ b/client/proposal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/proposalmsgs.go b/client/proposalmsgs.go index f4493d2c..491dd56a 100644 --- a/client/proposalmsgs.go +++ b/client/proposalmsgs.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/proposalmsgs_test.go b/client/proposalmsgs_test.go index 64f9b567..1abc08fb 100644 --- a/client/proposalmsgs_test.go +++ b/client/proposalmsgs_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client_test diff --git a/client/sync.go b/client/sync.go index 3f80fd20..3aef413b 100644 --- a/client/sync.go +++ b/client/sync.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/syncmsgs.go b/client/syncmsgs.go index a150bb7a..4e585413 100644 --- a/client/syncmsgs.go +++ b/client/syncmsgs.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/test/alice.go b/client/test/alice.go index ea106d9c..b189adbc 100644 --- a/client/test/alice.go +++ b/client/test/alice.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/bob.go b/client/test/bob.go index 71538438..0cf55564 100644 --- a/client/test/bob.go +++ b/client/test/bob.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/carol.go b/client/test/carol.go index 07904b58..2cc167a1 100644 --- a/client/test/carol.go +++ b/client/test/carol.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/channel.go b/client/test/channel.go index eca144b6..3b32bd65 100644 --- a/client/test/channel.go +++ b/client/test/channel.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/channel_test.go b/client/test/channel_test.go index 8e40da60..7d0ccd50 100644 --- a/client/test/channel_test.go +++ b/client/test/channel_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/doc.go b/client/test/doc.go index 52177045..4478952f 100644 --- a/client/test/doc.go +++ b/client/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains testing setup types and functions for package client. package test // import "perun.network/go-perun/pkg/test" diff --git a/client/test/mallory.go b/client/test/mallory.go index e1732fec..6b895621 100644 --- a/client/test/mallory.go +++ b/client/test/mallory.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/persistence.go b/client/test/persistence.go index 2416b962..3c753213 100644 --- a/client/test/persistence.go +++ b/client/test/persistence.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/proposer.go b/client/test/proposer.go index c5c13566..927cbd66 100644 --- a/client/test/proposer.go +++ b/client/test/proposer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/responder.go b/client/test/responder.go index 18e4ce56..f8209de8 100644 --- a/client/test/responder.go +++ b/client/test/responder.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/client/test/role.go b/client/test/role.go index a6d0f70a..8c2f4d45 100644 --- a/client/test/role.go +++ b/client/test/role.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains helpers for testing the client package test diff --git a/client/testchannel.go b/client/testchannel.go index 0d565262..c0997689 100644 --- a/client/testchannel.go +++ b/client/testchannel.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/update.go b/client/update.go index 4985d6f7..d90ef56f 100644 --- a/client/update.go +++ b/client/update.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/update_test.go b/client/update_test.go index 275439a5..ab5d6a9f 100644 --- a/client/update_test.go +++ b/client/update_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/updatemsgs.go b/client/updatemsgs.go index 23c090f2..e6d2c4fb 100644 --- a/client/updatemsgs.go +++ b/client/updatemsgs.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client @@ -80,7 +89,7 @@ type ( ) var ( - _ ChannelMsg = (*msgChannelUpdate)(nil) + _ ChannelMsg = (*msgChannelUpdate)(nil) _ channelUpdateResMsg = (*msgChannelUpdateAcc)(nil) _ channelUpdateResMsg = (*msgChannelUpdateRej)(nil) ) diff --git a/client/updatemsgs_test.go b/client/updatemsgs_test.go index a03b5d09..741770ea 100644 --- a/client/updatemsgs_test.go +++ b/client/updatemsgs_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/client/watch.go b/client/watch.go index db3f5705..a67dddec 100644 --- a/client/watch.go +++ b/client/watch.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package client diff --git a/log/levellified.go b/log/levellified.go index dc2dd8df..a757b597 100644 --- a/log/levellified.go +++ b/log/levellified.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package log diff --git a/log/levellified_test.go b/log/levellified_test.go index 0d40fec6..43a73417 100644 --- a/log/levellified_test.go +++ b/log/levellified_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package log diff --git a/log/log.go b/log/log.go index e60e6b34..bbffbc45 100644 --- a/log/log.go +++ b/log/log.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package log implements the logger interface of go-perun. Users are expected // to pass an implementation of this interface to harmonize go-perun's logging diff --git a/log/log_test.go b/log/log_test.go index bc3a2f0b..e563b43f 100644 --- a/log/log_test.go +++ b/log/log_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package log diff --git a/log/logrus/doc.go b/log/logrus/doc.go index fffba70e..96c618f3 100644 --- a/log/logrus/doc.go +++ b/log/logrus/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package logrus contains an adaptation of the github.com/sirupsen/logrus // project to our log interface. diff --git a/log/logrus/logrus.go b/log/logrus/logrus.go index 341521d1..31913f0c 100644 --- a/log/logrus/logrus.go +++ b/log/logrus/logrus.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package logrus diff --git a/log/logrus/logrus_test.go b/log/logrus/logrus_test.go index 3e207524..db3feff1 100644 --- a/log/logrus/logrus_test.go +++ b/log/logrus/logrus_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package logrus diff --git a/log/none.go b/log/none.go index 9b02a035..5148ce0d 100644 --- a/log/none.go +++ b/log/none.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package log diff --git a/log/none_test.go b/log/none_test.go index 59c33d56..34f4fe71 100644 --- a/log/none_test.go +++ b/log/none_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package log diff --git a/pkg/context/context.go b/pkg/context/context.go index 1495c543..8a8810b2 100644 --- a/pkg/context/context.go +++ b/pkg/context/context.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package context contains helper utilities regarding go contexts. package context // import "perun.network/go-perun/pkg/context" diff --git a/pkg/context/context_test.go b/pkg/context/context_test.go index a41d5094..899d9f7e 100644 --- a/pkg/context/context_test.go +++ b/pkg/context/context_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package context_test diff --git a/pkg/doc.go b/pkg/doc.go index f7b0db5e..4860efb7 100644 --- a/pkg/doc.go +++ b/pkg/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package pkg contains generic utility packages that are used in the go-perun // framework but are generally reusable in other projects. Packages in pkg do diff --git a/pkg/io/bigint.go b/pkg/io/bigint.go index ffe3f4e9..7e638e58 100644 --- a/pkg/io/bigint.go +++ b/pkg/io/bigint.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/bigint_external_test.go b/pkg/io/bigint_external_test.go index b43f84d6..102f0cb7 100644 --- a/pkg/io/bigint_external_test.go +++ b/pkg/io/bigint_external_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io_test diff --git a/pkg/io/byteslice.go b/pkg/io/byteslice.go index 2c375958..0f0bfa4e 100644 --- a/pkg/io/byteslice.go +++ b/pkg/io/byteslice.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/byteslice_external_test.go b/pkg/io/byteslice_external_test.go index 7b78dcab..182731d6 100644 --- a/pkg/io/byteslice_external_test.go +++ b/pkg/io/byteslice_external_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io_test diff --git a/pkg/io/doc.go b/pkg/io/doc.go index 689aaf45..d071d826 100644 --- a/pkg/io/doc.go +++ b/pkg/io/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package io contains functionality for the serialization of standard Go types. // It is used in go-perun to (de)serialize wire messages and in some persistence diff --git a/pkg/io/equal_encoding.go b/pkg/io/equal_encoding.go index 1d23e926..a89b1eec 100644 --- a/pkg/io/equal_encoding.go +++ b/pkg/io/equal_encoding.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/equal_encoding_external_test.go b/pkg/io/equal_encoding_external_test.go index ded08386..9d76e74e 100644 --- a/pkg/io/equal_encoding_external_test.go +++ b/pkg/io/equal_encoding_external_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io_test diff --git a/pkg/io/serialize.go b/pkg/io/serialize.go index 48112ffb..8023a257 100644 --- a/pkg/io/serialize.go +++ b/pkg/io/serialize.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/serializer.go b/pkg/io/serializer.go index 4732b51c..88bbe174 100644 --- a/pkg/io/serializer.go +++ b/pkg/io/serializer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/string.go b/pkg/io/string.go index 73e61626..90b566eb 100644 --- a/pkg/io/string.go +++ b/pkg/io/string.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/string_test.go b/pkg/io/string_test.go index a55cfe34..ec53ebc9 100644 --- a/pkg/io/string_test.go +++ b/pkg/io/string_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/io/test/serializertest.go b/pkg/io/test/serializertest.go index 005391c8..5205c2a7 100644 --- a/pkg/io/test/serializertest.go +++ b/pkg/io/test/serializertest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains the generic serializer tests. package test // import "perun.network/go-perun/pkg/io/test" diff --git a/pkg/io/wire_test.go b/pkg/io/wire_test.go index 99bf205a..92f4a6a5 100644 --- a/pkg/io/wire_test.go +++ b/pkg/io/wire_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package io diff --git a/pkg/sortedkv/batch.go b/pkg/sortedkv/batch.go index 22d7c539..d7aeaa90 100644 --- a/pkg/sortedkv/batch.go +++ b/pkg/sortedkv/batch.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sortedkv diff --git a/pkg/sortedkv/database.go b/pkg/sortedkv/database.go index 528e28ac..d6eeee57 100644 --- a/pkg/sortedkv/database.go +++ b/pkg/sortedkv/database.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package sortedkv defines a sorted key-value store abstraction. It is used by // other persistence packages (like channel/persistence) to continuously save diff --git a/pkg/sortedkv/iterator.go b/pkg/sortedkv/iterator.go index db194bc1..b1ed4880 100644 --- a/pkg/sortedkv/iterator.go +++ b/pkg/sortedkv/iterator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sortedkv diff --git a/pkg/sortedkv/key/key.go b/pkg/sortedkv/key/key.go index 6b8402f3..338c2d02 100644 --- a/pkg/sortedkv/key/key.go +++ b/pkg/sortedkv/key/key.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package key of sortedkv provides helper functions to manipulate db keys package key // import "perun.network/go-perun/pkg/sortedkv/key" diff --git a/pkg/sortedkv/key/key_test.go b/pkg/sortedkv/key/key_test.go index 6d8629da..005f13d0 100644 --- a/pkg/sortedkv/key/key_test.go +++ b/pkg/sortedkv/key/key_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package key_test diff --git a/pkg/sortedkv/leveldb/batch.go b/pkg/sortedkv/leveldb/batch.go index 96c31839..7c79d1dc 100644 --- a/pkg/sortedkv/leveldb/batch.go +++ b/pkg/sortedkv/leveldb/batch.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package leveldb diff --git a/pkg/sortedkv/leveldb/database.go b/pkg/sortedkv/leveldb/database.go index e58b9e93..81b84c18 100644 --- a/pkg/sortedkv/leveldb/database.go +++ b/pkg/sortedkv/leveldb/database.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package leveldb diff --git a/pkg/sortedkv/leveldb/doc.go b/pkg/sortedkv/leveldb/doc.go index bba3382c..f95133f1 100644 --- a/pkg/sortedkv/leveldb/doc.go +++ b/pkg/sortedkv/leveldb/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package leveldb implements the key-value database interface using LevelDB. package leveldb // import "perun.network/go-perun/pkg/sortedkv/leveldb" diff --git a/pkg/sortedkv/leveldb/iterator.go b/pkg/sortedkv/leveldb/iterator.go index 04f579c0..b085891c 100644 --- a/pkg/sortedkv/leveldb/iterator.go +++ b/pkg/sortedkv/leveldb/iterator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package leveldb diff --git a/pkg/sortedkv/leveldb/leveldb_test.go b/pkg/sortedkv/leveldb/leveldb_test.go index 1eb251aa..fac96e5b 100644 --- a/pkg/sortedkv/leveldb/leveldb_test.go +++ b/pkg/sortedkv/leveldb/leveldb_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package leveldb diff --git a/pkg/sortedkv/memorydb/batch.go b/pkg/sortedkv/memorydb/batch.go index 348561db..08fbb665 100644 --- a/pkg/sortedkv/memorydb/batch.go +++ b/pkg/sortedkv/memorydb/batch.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package memorydb diff --git a/pkg/sortedkv/memorydb/batch_test.go b/pkg/sortedkv/memorydb/batch_test.go index 06eb19d3..11d9d0df 100644 --- a/pkg/sortedkv/memorydb/batch_test.go +++ b/pkg/sortedkv/memorydb/batch_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package memorydb diff --git a/pkg/sortedkv/memorydb/database.go b/pkg/sortedkv/memorydb/database.go index 58cee49a..8e91b4e6 100644 --- a/pkg/sortedkv/memorydb/database.go +++ b/pkg/sortedkv/memorydb/database.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package memorydb provides an implementation of the sortedkv interfaces. The main // type, Database, is an in-memory key-value store. Since the database is not diff --git a/pkg/sortedkv/memorydb/database_test.go b/pkg/sortedkv/memorydb/database_test.go index 6e84a586..f1657e2c 100644 --- a/pkg/sortedkv/memorydb/database_test.go +++ b/pkg/sortedkv/memorydb/database_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package memorydb diff --git a/pkg/sortedkv/memorydb/iterator.go b/pkg/sortedkv/memorydb/iterator.go index cecad89a..da22a1c8 100644 --- a/pkg/sortedkv/memorydb/iterator.go +++ b/pkg/sortedkv/memorydb/iterator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package memorydb diff --git a/pkg/sortedkv/memorydb/iterator_test.go b/pkg/sortedkv/memorydb/iterator_test.go index c3b0af33..3ae20ce0 100644 --- a/pkg/sortedkv/memorydb/iterator_test.go +++ b/pkg/sortedkv/memorydb/iterator_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package memorydb diff --git a/pkg/sortedkv/table.go b/pkg/sortedkv/table.go index 9d85ebb0..7d9b0828 100644 --- a/pkg/sortedkv/table.go +++ b/pkg/sortedkv/table.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sortedkv diff --git a/pkg/sortedkv/tablebatch.go b/pkg/sortedkv/tablebatch.go index 6fa53e33..cd6c79a2 100644 --- a/pkg/sortedkv/tablebatch.go +++ b/pkg/sortedkv/tablebatch.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sortedkv diff --git a/pkg/sortedkv/tableiterator.go b/pkg/sortedkv/tableiterator.go index 36173584..ad89d6df 100644 --- a/pkg/sortedkv/tableiterator.go +++ b/pkg/sortedkv/tableiterator.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sortedkv diff --git a/pkg/sortedkv/test/batchtest.go b/pkg/sortedkv/test/batchtest.go index 1163e2a6..25173422 100644 --- a/pkg/sortedkv/test/batchtest.go +++ b/pkg/sortedkv/test/batchtest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/sortedkv/test/databasetest.go b/pkg/sortedkv/test/databasetest.go index 22455b2e..4211f74b 100644 --- a/pkg/sortedkv/test/databasetest.go +++ b/pkg/sortedkv/test/databasetest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test of the go-perun/sortedkv package implements a generic test for all // implementations of the Database interface. diff --git a/pkg/sortedkv/test/iteratortest.go b/pkg/sortedkv/test/iteratortest.go index e85ab403..92a5a924 100644 --- a/pkg/sortedkv/test/iteratortest.go +++ b/pkg/sortedkv/test/iteratortest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/sortedkv/test/tabletest.go b/pkg/sortedkv/test/tabletest.go index 4830e259..48a42fd6 100644 --- a/pkg/sortedkv/test/tabletest.go +++ b/pkg/sortedkv/test/tabletest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/sync/atomic/bool.go b/pkg/sync/atomic/bool.go index 0e3c4c6a..20d0e947 100644 --- a/pkg/sync/atomic/bool.go +++ b/pkg/sync/atomic/bool.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package atomic contains extensions of "sync/atomic" package atomic // import "perun.network/go-perun/pkg/sync/atomic" diff --git a/pkg/sync/atomic/bool_test.go b/pkg/sync/atomic/bool_test.go index 46dcfee6..802fee17 100644 --- a/pkg/sync/atomic/bool_test.go +++ b/pkg/sync/atomic/bool_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package atomic_test diff --git a/pkg/sync/closer.go b/pkg/sync/closer.go index 4ddfd75c..b0979158 100644 --- a/pkg/sync/closer.go +++ b/pkg/sync/closer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sync diff --git a/pkg/sync/closer_internal_test.go b/pkg/sync/closer_internal_test.go index 16434293..ec983b90 100644 --- a/pkg/sync/closer_internal_test.go +++ b/pkg/sync/closer_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sync diff --git a/pkg/sync/closer_test.go b/pkg/sync/closer_test.go index 7949c02c..1444770e 100644 --- a/pkg/sync/closer_test.go +++ b/pkg/sync/closer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sync_test diff --git a/pkg/sync/mutex.go b/pkg/sync/mutex.go index b66869b3..02661f82 100644 --- a/pkg/sync/mutex.go +++ b/pkg/sync/mutex.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package sync contains a mutex that can be used in a select statement. package sync // import "perun.network/go-perun/pkg/sync" diff --git a/pkg/sync/mutex_test.go b/pkg/sync/mutex_test.go index e3b175ee..61662d94 100644 --- a/pkg/sync/mutex_test.go +++ b/pkg/sync/mutex_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package sync diff --git a/pkg/test/cloning.go b/pkg/test/cloning.go index cc1ce596..41bd1737 100644 --- a/pkg/test/cloning.go +++ b/pkg/test/cloning.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/cloning_test.go b/pkg/test/cloning_test.go index eaf64fd3..81521674 100644 --- a/pkg/test/cloning_test.go +++ b/pkg/test/cloning_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/concurrent.go b/pkg/test/concurrent.go index a9ecf9e9..cdf17a82 100644 --- a/pkg/test/concurrent.go +++ b/pkg/test/concurrent.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/concurrent_test.go b/pkg/test/concurrent_test.go index 85c4a783..7e56b29c 100644 --- a/pkg/test/concurrent_test.go +++ b/pkg/test/concurrent_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/doc.go b/pkg/test/doc.go index 9f67e92a..2e59b4b0 100644 --- a/pkg/test/doc.go +++ b/pkg/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains Perun independent testing functionality. package test // import "perun.network/go-perun/pkg/test" diff --git a/pkg/test/eventually.go b/pkg/test/eventually.go index 6f1940d8..e5604350 100644 --- a/pkg/test/eventually.go +++ b/pkg/test/eventually.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/eventually_test.go b/pkg/test/eventually_test.go index a04f1445..700940d2 100644 --- a/pkg/test/eventually_test.go +++ b/pkg/test/eventually_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/exit.go b/pkg/test/exit.go index ce5c360a..e63794fa 100644 --- a/pkg/test/exit.go +++ b/pkg/test/exit.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/exit_test.go b/pkg/test/exit_test.go index c148b62c..fd250053 100644 --- a/pkg/test/exit_test.go +++ b/pkg/test/exit_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/goexit.go b/pkg/test/goexit.go index 102712ab..41e8a4c7 100644 --- a/pkg/test/goexit.go +++ b/pkg/test/goexit.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/goexit_test.go b/pkg/test/goexit_test.go index 744ecd0e..f00d8b55 100644 --- a/pkg/test/goexit_test.go +++ b/pkg/test/goexit_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/norace.go b/pkg/test/norace.go index cfadb3ff..01bb56ae 100644 --- a/pkg/test/norace.go +++ b/pkg/test/norace.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build !race diff --git a/pkg/test/onlyonce.go b/pkg/test/onlyonce.go index a8e637a0..eab77b42 100644 --- a/pkg/test/onlyonce.go +++ b/pkg/test/onlyonce.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/onlyonce_test.go b/pkg/test/onlyonce_test.go index 3fbc5b67..1cb94203 100644 --- a/pkg/test/onlyonce_test.go +++ b/pkg/test/onlyonce_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/panic.go b/pkg/test/panic.go index b38ae78b..0df549b2 100644 --- a/pkg/test/panic.go +++ b/pkg/test/panic.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains helper functions for testing. package test diff --git a/pkg/test/panic_test.go b/pkg/test/panic_test.go index e1c99b80..7baed5c0 100644 --- a/pkg/test/panic_test.go +++ b/pkg/test/panic_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/prng.go b/pkg/test/prng.go index b20b1083..5c38fccc 100644 --- a/pkg/test/prng.go +++ b/pkg/test/prng.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/prng_test.go b/pkg/test/prng_test.go index b3725783..1b4f7e06 100644 --- a/pkg/test/prng_test.go +++ b/pkg/test/prng_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/race.go b/pkg/test/race.go index 514db3a0..78b03db6 100644 --- a/pkg/test/race.go +++ b/pkg/test/race.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build race diff --git a/pkg/test/terminates.go b/pkg/test/terminates.go index 8c7c15fa..8cbb5861 100644 --- a/pkg/test/terminates.go +++ b/pkg/test/terminates.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/terminates_test.go b/pkg/test/terminates_test.go index cf414b58..5b01fa73 100644 --- a/pkg/test/terminates_test.go +++ b/pkg/test/terminates_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/testmock.go b/pkg/test/testmock.go index 06633af3..59c48e5b 100644 --- a/pkg/test/testmock.go +++ b/pkg/test/testmock.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/testmock_test.go b/pkg/test/testmock_test.go index 07b7b508..e95ee25a 100644 --- a/pkg/test/testmock_test.go +++ b/pkg/test/testmock_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/wrapmock.go b/pkg/test/wrapmock.go index 929b0064..54893a9c 100644 --- a/pkg/test/wrapmock.go +++ b/pkg/test/wrapmock.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/pkg/test/wrapmock_test.go b/pkg/test/wrapmock_test.go index efb3bd41..1d17605e 100644 --- a/pkg/test/wrapmock_test.go +++ b/pkg/test/wrapmock_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wallet/account.go b/wallet/account.go index 3c4761b4..2785bf55 100644 --- a/wallet/account.go +++ b/wallet/account.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wallet/address.go b/wallet/address.go index 89ab6040..c649f3bf 100644 --- a/wallet/address.go +++ b/wallet/address.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wallet/address_test.go b/wallet/address_test.go index 98b7cbbb..8f81dc5c 100644 --- a/wallet/address_test.go +++ b/wallet/address_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet_test diff --git a/wallet/backend.go b/wallet/backend.go index acec9b22..b5d03fde 100644 --- a/wallet/backend.go +++ b/wallet/backend.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wallet/backend_test.go b/wallet/backend_test.go index fcad1b51..48e91757 100644 --- a/wallet/backend_test.go +++ b/wallet/backend_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // +build wrap_test diff --git a/wallet/backendtest.go b/wallet/backendtest.go index ca43c685..8775c137 100644 --- a/wallet/backendtest.go +++ b/wallet/backendtest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wallet/doc.go b/wallet/doc.go index e9d42485..2a7ea9ae 100644 --- a/wallet/doc.go +++ b/wallet/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package wallet contains the definition of the wallet backend interfaces, and // manages a global wallet backend instance that is accessible from the rest of diff --git a/wallet/sig.go b/wallet/sig.go index 19fefe36..5c6a4e1a 100644 --- a/wallet/sig.go +++ b/wallet/sig.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wallet/test/doc.go b/wallet/test/doc.go index 3fd80353..dcefd762 100644 --- a/wallet/test/doc.go +++ b/wallet/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains generic tests and benchmarks for wallet backend // implementation. Furthermore, it exports random generators of Addresses and diff --git a/wallet/test/randomizer.go b/wallet/test/randomizer.go index 17ae01a8..4171d120 100644 --- a/wallet/test/randomizer.go +++ b/wallet/test/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wallet/test/randomizertest.go b/wallet/test/randomizertest.go index b004f0ee..fc2896ca 100644 --- a/wallet/test/randomizertest.go +++ b/wallet/test/randomizertest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wallet/test/walletbench.go b/wallet/test/walletbench.go index 08aee21b..f349b111 100644 --- a/wallet/test/walletbench.go +++ b/wallet/test/walletbench.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wallet/test/wallettest.go b/wallet/test/wallettest.go index c89796c7..c6b34009 100644 --- a/wallet/test/wallettest.go +++ b/wallet/test/wallettest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wallet/wallet.go b/wallet/wallet.go index 55e99a59..62159874 100644 --- a/wallet/wallet.go +++ b/wallet/wallet.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wallet diff --git a/wire/account.go b/wire/account.go index a1b39bf8..8346edea 100644 --- a/wire/account.go +++ b/wire/account.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/account_test.go b/wire/account_test.go index 23d10dc6..defd4c6f 100644 --- a/wire/account_test.go +++ b/wire/account_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/address.go b/wire/address.go index 8938a70a..09af88e5 100644 --- a/wire/address.go +++ b/wire/address.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/bus.go b/wire/bus.go index 2b457f36..e19c4cb2 100644 --- a/wire/bus.go +++ b/wire/bus.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/cache.go b/wire/cache.go index e2b657b6..b732671f 100644 --- a/wire/cache.go +++ b/wire/cache.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/cache_internal_test.go b/wire/cache_internal_test.go index 98a25aeb..46bdf7d2 100644 --- a/wire/cache_internal_test.go +++ b/wire/cache_internal_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/consumer.go b/wire/consumer.go index 3f5c81ad..079d6c2f 100644 --- a/wire/consumer.go +++ b/wire/consumer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/controlmsgs.go b/wire/controlmsgs.go index 2a6ca1bf..a88874de 100644 --- a/wire/controlmsgs.go +++ b/wire/controlmsgs.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/controlmsgs_test.go b/wire/controlmsgs_test.go index ac37bc7a..dde093de 100644 --- a/wire/controlmsgs_test.go +++ b/wire/controlmsgs_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/doc.go b/wire/doc.go index 3a5d8067..d61eb23a 100644 --- a/wire/doc.go +++ b/wire/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package wire contains the basic wire communication infrastructure like wire // message en- and decoding. The actual (de)serialization functions are found diff --git a/wire/localbus.go b/wire/localbus.go index 4b9fb3f2..c3c73a9c 100644 --- a/wire/localbus.go +++ b/wire/localbus.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/localbus_test.go b/wire/localbus_test.go index d46c43e3..daab9f8b 100644 --- a/wire/localbus_test.go +++ b/wire/localbus_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire_test diff --git a/wire/msg.go b/wire/msg.go index 4860ebaf..44b5b413 100644 --- a/wire/msg.go +++ b/wire/msg.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/msg_test.go b/wire/msg_test.go index 267377c6..622df543 100644 --- a/wire/msg_test.go +++ b/wire/msg_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/msgtest.go b/wire/msgtest.go index 027a7b76..ac9805e8 100644 --- a/wire/msgtest.go +++ b/wire/msgtest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/net/bus.go b/wire/net/bus.go index eca66852..d06b8460 100644 --- a/wire/net/bus.go +++ b/wire/net/bus.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/bus_test.go b/wire/net/bus_test.go index 2f026816..9519d8be 100644 --- a/wire/net/bus_test.go +++ b/wire/net/bus_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net_test diff --git a/wire/net/conn.go b/wire/net/conn.go index b4cbd8cf..a6ee8430 100644 --- a/wire/net/conn.go +++ b/wire/net/conn.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/dialer.go b/wire/net/dialer.go index f5d8a69c..ed49744b 100644 --- a/wire/net/dialer.go +++ b/wire/net/dialer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net // import "perun.network/go-perun/wire/net" diff --git a/wire/net/endpoint.go b/wire/net/endpoint.go index e9183331..4fa3af32 100644 --- a/wire/net/endpoint.go +++ b/wire/net/endpoint.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/endpoint_registry.go b/wire/net/endpoint_registry.go index d2f1b616..a9f8e989 100644 --- a/wire/net/endpoint_registry.go +++ b/wire/net/endpoint_registry.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/endpoint_registry_external_test.go b/wire/net/endpoint_registry_external_test.go index 6245fa54..bc671767 100644 --- a/wire/net/endpoint_registry_external_test.go +++ b/wire/net/endpoint_registry_external_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net_test diff --git a/wire/net/endpoint_registry_test.go b/wire/net/endpoint_registry_test.go index d86cff4d..2523bfa5 100644 --- a/wire/net/endpoint_registry_test.go +++ b/wire/net/endpoint_registry_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/endpoint_test.go b/wire/net/endpoint_test.go index 3bae72dc..64c58559 100644 --- a/wire/net/endpoint_test.go +++ b/wire/net/endpoint_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/exchange_addr.go b/wire/net/exchange_addr.go index 7b22479f..e65f92ef 100644 --- a/wire/net/exchange_addr.go +++ b/wire/net/exchange_addr.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/exchange_addr_test.go b/wire/net/exchange_addr_test.go index c09950af..56652176 100644 --- a/wire/net/exchange_addr_test.go +++ b/wire/net/exchange_addr_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/ioconn.go b/wire/net/ioconn.go index 5c65172b..f94f2523 100644 --- a/wire/net/ioconn.go +++ b/wire/net/ioconn.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/listener.go b/wire/net/listener.go index 56ac5d7c..4df47d5d 100644 --- a/wire/net/listener.go +++ b/wire/net/listener.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/mockconn_test.go b/wire/net/mockconn_test.go index 19279f62..bb522226 100644 --- a/wire/net/mockconn_test.go +++ b/wire/net/mockconn_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package net diff --git a/wire/net/simple/dialer.go b/wire/net/simple/dialer.go index 571ac424..021c3473 100644 --- a/wire/net/simple/dialer.go +++ b/wire/net/simple/dialer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package simple // import "perun.network/go-perun/wire/net/simple" diff --git a/wire/net/simple/dialer_test.go b/wire/net/simple/dialer_test.go index 3a0c360e..fb9de483 100644 --- a/wire/net/simple/dialer_test.go +++ b/wire/net/simple/dialer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package simple diff --git a/wire/net/simple/listener.go b/wire/net/simple/listener.go index 6426c64d..09d2c6f6 100644 --- a/wire/net/simple/listener.go +++ b/wire/net/simple/listener.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package simple diff --git a/wire/net/simple/listener_test.go b/wire/net/simple/listener_test.go index 9369d501..bcaf4c71 100644 --- a/wire/net/simple/listener_test.go +++ b/wire/net/simple/listener_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package simple diff --git a/wire/net/test/connhub.go b/wire/net/test/connhub.go index 9735e86c..0560f071 100644 --- a/wire/net/test/connhub.go +++ b/wire/net/test/connhub.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test // import "perun.network/go-perun/wire/net/test" diff --git a/wire/net/test/connhub_test.go b/wire/net/test/connhub_test.go index be719894..cb298ef6 100644 --- a/wire/net/test/connhub_test.go +++ b/wire/net/test/connhub_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/dialer.go b/wire/net/test/dialer.go index 6295a289..e53dd7d1 100644 --- a/wire/net/test/dialer.go +++ b/wire/net/test/dialer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/dialer_test.go b/wire/net/test/dialer_test.go index 271671a6..59e691a2 100644 --- a/wire/net/test/dialer_test.go +++ b/wire/net/test/dialer_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/dialerlist.go b/wire/net/test/dialerlist.go index f618b4e9..77f382ee 100644 --- a/wire/net/test/dialerlist.go +++ b/wire/net/test/dialerlist.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/dialerlist_test.go b/wire/net/test/dialerlist_test.go index c5dca539..41093a8c 100644 --- a/wire/net/test/dialerlist_test.go +++ b/wire/net/test/dialerlist_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/listener.go b/wire/net/test/listener.go index c47bbaef..731cbc1a 100644 --- a/wire/net/test/listener.go +++ b/wire/net/test/listener.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/listener_test.go b/wire/net/test/listener_test.go index ae6eefee..f3aff0d4 100644 --- a/wire/net/test/listener_test.go +++ b/wire/net/test/listener_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/listenermap.go b/wire/net/test/listenermap.go index c11bf03e..c11f2bdb 100644 --- a/wire/net/test/listenermap.go +++ b/wire/net/test/listenermap.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/listenermap_test.go b/wire/net/test/listenermap_test.go index 129f0957..5cfb792a 100644 --- a/wire/net/test/listenermap_test.go +++ b/wire/net/test/listenermap_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/net/test/pipeconn.go b/wire/net/test/pipeconn.go index 8aa97791..eab81ad9 100644 --- a/wire/net/test/pipeconn.go +++ b/wire/net/test/pipeconn.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/pubsub.go b/wire/pubsub.go index 5f2abc70..f5309fd1 100644 --- a/wire/pubsub.go +++ b/wire/pubsub.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/receiver.go b/wire/receiver.go index 6d422427..5f59e3fb 100644 --- a/wire/receiver.go +++ b/wire/receiver.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/receiver_test.go b/wire/receiver_test.go index 88dad87f..5bedead5 100644 --- a/wire/receiver_test.go +++ b/wire/receiver_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/relay.go b/wire/relay.go index 593171ae..4f2e38a8 100644 --- a/wire/relay.go +++ b/wire/relay.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/relay_test.go b/wire/relay_test.go index fb0da137..6a612866 100644 --- a/wire/relay_test.go +++ b/wire/relay_test.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package wire diff --git a/wire/test/bustest.go b/wire/test/bustest.go index a7adfec7..a906cbb1 100644 --- a/wire/test/bustest.go +++ b/wire/test/bustest.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test diff --git a/wire/test/doc.go b/wire/test/doc.go index e0193513..5a8f49a1 100644 --- a/wire/test/doc.go +++ b/wire/test/doc.go @@ -1,7 +1,16 @@ -// Copyright (c) 2020 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2020 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. // Package test contains implementations of the peer interfaces that are useful // for testing. diff --git a/wire/test/randomizer.go b/wire/test/randomizer.go index dd764ea6..f41d9202 100644 --- a/wire/test/randomizer.go +++ b/wire/test/randomizer.go @@ -1,7 +1,16 @@ -// Copyright (c) 2019 Chair of Applied Cryptography, Technische Universität -// Darmstadt, Germany. All rights reserved. This file is part of go-perun. Use -// of this source code is governed by the Apache 2.0 license that can be found -// in the LICENSE file. +// Copyright 2019 - See NOTICE file for copyright holders. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. package test