From cef09a1b9dd2197addd4f063fd6c81a2ba7d79e1 Mon Sep 17 00:00:00 2001 From: Determinant Date: Tue, 27 Nov 2018 18:09:44 -0500 Subject: add license info for each source file --- src/client.cpp | 16 ++++++++++++++++ src/consensus.cpp | 17 +++++++++++++++++ src/crypto.cpp | 16 ++++++++++++++++ src/entity.cpp | 16 ++++++++++++++++ src/hotstuff.cpp | 17 +++++++++++++++++ src/hotstuff_app.cpp | 17 +++++++++++++++++ src/hotstuff_client.cpp | 17 +++++++++++++++++ src/hotstuff_keygen.cpp | 16 ++++++++++++++++ src/util.cpp | 16 ++++++++++++++++ 9 files changed, 148 insertions(+) (limited to 'src') diff --git a/src/client.cpp b/src/client.cpp index 368f746..c1b571c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1,3 +1,19 @@ +/** + * Copyright 2018 VMware + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "hotstuff/client.h" namespace hotstuff { diff --git a/src/consensus.cpp b/src/consensus.cpp index dbe79b0..8b21064 100644 --- a/src/consensus.cpp +++ b/src/consensus.cpp @@ -1,3 +1,20 @@ +/** + * Copyright 2018 VMware + * Copyright 2018 Ted Yin + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include diff --git a/src/crypto.cpp b/src/crypto.cpp index 0932652..c51cc02 100644 --- a/src/crypto.cpp +++ b/src/crypto.cpp @@ -1,3 +1,19 @@ +/** + * Copyright 2018 VMware + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "hotstuff/entity.h" #include "hotstuff/crypto.h" diff --git a/src/entity.cpp b/src/entity.cpp index 94b896a..e90e0f2 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -1,3 +1,19 @@ +/** + * Copyright 2018 VMware + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "hotstuff/entity.h" #include "hotstuff/hotstuff.h" diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index a8cc625..957d7b4 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -1,3 +1,20 @@ +/** + * Copyright 2018 VMware + * Copyright 2018 Ted Yin + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "hotstuff/hotstuff.h" #include "hotstuff/client.h" diff --git a/src/hotstuff_app.cpp b/src/hotstuff_app.cpp index ee57a3a..d14738c 100644 --- a/src/hotstuff_app.cpp +++ b/src/hotstuff_app.cpp @@ -1,3 +1,20 @@ +/** + * Copyright 2018 VMware + * Copyright 2018 Ted Yin + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include diff --git a/src/hotstuff_client.cpp b/src/hotstuff_client.cpp index e8d7b9e..97bacab 100644 --- a/src/hotstuff_client.cpp +++ b/src/hotstuff_client.cpp @@ -1,3 +1,20 @@ +/** + * Copyright 2018 VMware + * Copyright 2018 Ted Yin + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include #include diff --git a/src/hotstuff_keygen.cpp b/src/hotstuff_keygen.cpp index 100cb01..f6ad510 100644 --- a/src/hotstuff_keygen.cpp +++ b/src/hotstuff_keygen.cpp @@ -1,3 +1,19 @@ +/** + * Copyright 2018 VMware + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include #include "salticidae/util.h" #include "hotstuff/crypto.h" diff --git a/src/util.cpp b/src/util.cpp index bed6e5a..57a56b1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -1,3 +1,19 @@ +/** + * Copyright 2018 VMware + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #include "hotstuff/util.h" namespace hotstuff { -- cgit v1.2.3