From aa85860daaff30a67af60e53b3b13a252cbee1fc Mon Sep 17 00:00:00 2001 From: Daniel Connolly Date: Mon, 14 May 2018 12:27:20 +0200 Subject: [PATCH] add copyright information --- .../main/java/org/bitcoinj/core/Address.java | 4 ++++ .../java/org/bitcoinj/core/CashAddress.java | 19 ++++++++++++++++--- .../org/bitcoinj/core/CashAddressFactory.java | 15 +++++++++++++++ .../org/bitcoinj/core/CashAddressHelper.java | 15 +++++++++++++++ .../bitcoinj/core/CashAddressValidator.java | 15 +++++++++++++++ .../org/bitcoinj/core/NetworkParameters.java | 4 ++++ .../org/bitcoinj/params/MainNetParams.java | 4 ++++ .../org/bitcoinj/params/RegTestParams.java | 4 ++++ .../org/bitcoinj/params/TestNet2Params.java | 4 ++++ .../org/bitcoinj/params/TestNet3Params.java | 4 ++++ .../org/bitcoinj/core/CashAddressTest.java | 15 +++++++++++++++ 11 files changed, 100 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/core/Address.java b/core/src/main/java/org/bitcoinj/core/Address.java index 3e18bdbdd49..80237b44505 100644 --- a/core/src/main/java/org/bitcoinj/core/Address.java +++ b/core/src/main/java/org/bitcoinj/core/Address.java @@ -2,6 +2,7 @@ * Copyright 2011 Google Inc. * Copyright 2014 Giannis Dzegoutanis * Copyright 2015 Andreas Schildbach + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -14,6 +15,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.core; diff --git a/core/src/main/java/org/bitcoinj/core/CashAddress.java b/core/src/main/java/org/bitcoinj/core/CashAddress.java index 393bfae8c52..b2f24f057f7 100644 --- a/core/src/main/java/org/bitcoinj/core/CashAddress.java +++ b/core/src/main/java/org/bitcoinj/core/CashAddress.java @@ -1,8 +1,21 @@ +/* + * Copyright 2018 Hash Engineering + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.bitcoinj.core; -/** - * Created by Hash Engineering on 1/19/2018. - */ + public class CashAddress extends Address { public enum CashAddressType { diff --git a/core/src/main/java/org/bitcoinj/core/CashAddressFactory.java b/core/src/main/java/org/bitcoinj/core/CashAddressFactory.java index 9f3172e9591..7549c8923b7 100644 --- a/core/src/main/java/org/bitcoinj/core/CashAddressFactory.java +++ b/core/src/main/java/org/bitcoinj/core/CashAddressFactory.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018 the bitcoinj-cash developers + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.bitcoinj.core; import javafx.util.Pair; diff --git a/core/src/main/java/org/bitcoinj/core/CashAddressHelper.java b/core/src/main/java/org/bitcoinj/core/CashAddressHelper.java index 89304038ac7..ddfd6bea92e 100644 --- a/core/src/main/java/org/bitcoinj/core/CashAddressHelper.java +++ b/core/src/main/java/org/bitcoinj/core/CashAddressHelper.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018 the bitcoinj-cash developers + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.bitcoinj.core; import javafx.util.Pair; diff --git a/core/src/main/java/org/bitcoinj/core/CashAddressValidator.java b/core/src/main/java/org/bitcoinj/core/CashAddressValidator.java index caa5b661f5c..19532e5ed09 100644 --- a/core/src/main/java/org/bitcoinj/core/CashAddressValidator.java +++ b/core/src/main/java/org/bitcoinj/core/CashAddressValidator.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018 the bitcoinj-cash developers + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.bitcoinj.core; public class CashAddressValidator { diff --git a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java b/core/src/main/java/org/bitcoinj/core/NetworkParameters.java index 84ebcc2aece..a8a70d2e605 100644 --- a/core/src/main/java/org/bitcoinj/core/NetworkParameters.java +++ b/core/src/main/java/org/bitcoinj/core/NetworkParameters.java @@ -1,6 +1,7 @@ /* * Copyright 2011 Google Inc. * Copyright 2014 Andreas Schildbach + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +14,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.core; diff --git a/core/src/main/java/org/bitcoinj/params/MainNetParams.java b/core/src/main/java/org/bitcoinj/params/MainNetParams.java index d6dadf4b9d8..fab4d4b6240 100644 --- a/core/src/main/java/org/bitcoinj/params/MainNetParams.java +++ b/core/src/main/java/org/bitcoinj/params/MainNetParams.java @@ -1,6 +1,7 @@ /* * Copyright 2013 Google Inc. * Copyright 2015 Andreas Schildbach + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +14,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.params; diff --git a/core/src/main/java/org/bitcoinj/params/RegTestParams.java b/core/src/main/java/org/bitcoinj/params/RegTestParams.java index f9ab31ea317..183c3065b36 100644 --- a/core/src/main/java/org/bitcoinj/params/RegTestParams.java +++ b/core/src/main/java/org/bitcoinj/params/RegTestParams.java @@ -1,5 +1,6 @@ /* * Copyright 2013 Google Inc. + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,6 +13,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.params; diff --git a/core/src/main/java/org/bitcoinj/params/TestNet2Params.java b/core/src/main/java/org/bitcoinj/params/TestNet2Params.java index f3bf2d053f6..46472148cff 100644 --- a/core/src/main/java/org/bitcoinj/params/TestNet2Params.java +++ b/core/src/main/java/org/bitcoinj/params/TestNet2Params.java @@ -1,5 +1,6 @@ /* * Copyright 2013 Google Inc. + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -12,6 +13,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.params; diff --git a/core/src/main/java/org/bitcoinj/params/TestNet3Params.java b/core/src/main/java/org/bitcoinj/params/TestNet3Params.java index 742002c1ba5..b73b5fbb397 100644 --- a/core/src/main/java/org/bitcoinj/params/TestNet3Params.java +++ b/core/src/main/java/org/bitcoinj/params/TestNet3Params.java @@ -1,6 +1,7 @@ /* * Copyright 2013 Google Inc. * Copyright 2014 Andreas Schildbach + * Copyright 2018 the bitcoinj-cash developers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +14,9 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. + * + * This file has been modified by the bitcoinj-cash developers for the bitcoinj-cash project. + * The original file was from the bitcoinj project (https://github.com/bitcoinj/bitcoinj). */ package org.bitcoinj.params; diff --git a/core/src/test/java/org/bitcoinj/core/CashAddressTest.java b/core/src/test/java/org/bitcoinj/core/CashAddressTest.java index 95f8ed79b51..48599dd8517 100644 --- a/core/src/test/java/org/bitcoinj/core/CashAddressTest.java +++ b/core/src/test/java/org/bitcoinj/core/CashAddressTest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2018 the bitcoinj-cash developers + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.bitcoinj.core; import org.bitcoinj.params.MainNetParams;