Skip to content

Commit ca399d9

Browse files
authored
Merge pull request #1159 from mintlayer/update_fn_test_licenses
Update some license headers for functional test files
2 parents 601fc22 + ce314b0 commit ca399d9

14 files changed

+207
-36
lines changed

test/functional/combine_logs.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2021 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2022-2023 RBB S.r.l
3+
# Copyright (c) 2017-2021 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""Combine logs from multiple bitcoin nodes as well as the test_framework log.
618
719
This streams the combined log output to stdout. Use combine_logs.py > outputfile

test/functional/create_cache.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2016-2019 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2022-2023 RBB S.r.l
3+
# Copyright (c) 2016-2019 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""Create a blockchain cache.
618
719
Creating a cache of the blockchain speeds up test execution when running

test/functional/example_test.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2021 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2022-2023 RBB S.r.l
3+
# Copyright (c) 2017-2021 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""An example functional test
618
719
The module-level docstring should include a high-level description of

test/functional/feature_lmdb_backend_test.py

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2021 The Bitcoin Core developers
3-
# Copyright (c) 2022 RBB S.r.l
4-
# Distributed under the MIT software license, see the accompanying
5-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2022 RBB S.r.l
3+
# Copyright (c) 2017-2021 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
617

718
from test_framework.test_framework import BitcoinTestFramework
819
from test_framework.util import (

test/functional/mempool_basic_reorg.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/usr/bin/env python3
2+
# Copyright (c) 2023 RBB S.r.l
3+
4+
# SPDX-License-Identifier: MIT
5+
# Licensed under the MIT License;
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
216
"""Mempool reorg test
317
418
Check that:

test/functional/mempool_eviction.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/usr/bin/env python3
2+
# Copyright (c) 2023 RBB S.r.l
3+
4+
# SPDX-License-Identifier: MIT
5+
# Licensed under the MIT License;
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
216
"""Mempool tx eviction test
317
418
Check that:

test/functional/mempool_ibd.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
#!/usr/bin/env python3
2+
# Copyright (c) 2023 RBB S.r.l
3+
4+
# SPDX-License-Identifier: MIT
5+
# Licensed under the MIT License;
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
216
"""Mempool initial block download test
317
418
Check that:

test/functional/mempool_submit_orphan.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2021 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2023 RBB S.r.l
3+
# Copyright (c) 2017-2021 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""Mempool orphan submission test
618
719
Check that:

test/functional/mempool_submit_tx.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2017-2021 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2023 RBB S.r.l
3+
# Copyright (c) 2017-2021 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""Mempool transaction submission test
618
719
Check that:

test/functional/p2p_ping.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,19 @@
11
#!/usr/bin/env python3
2-
# Copyright (c) 2020-2022 The Bitcoin Core developers
3-
# Distributed under the MIT software license, see the accompanying
4-
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
2+
# Copyright (c) 2023 RBB S.r.l
3+
# Copyright (c) 2020-2022 The Bitcoin Core developers
4+
5+
# SPDX-License-Identifier: MIT
6+
# Licensed under the MIT License;
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# https://github.com/mintlayer/mintlayer-core/blob/master/LICENSE
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
517
"""Test ping message
618
"""
719

0 commit comments

Comments
 (0)