11#!/usr/bin/env python3
22# Copyright (c) 2016 The Bitcoin Core developers
33# Copyright (c) 2019 The Dash Core developers
4+ # Copyright (c) 2020 The Ion Core developers
45# Distributed under the MIT software license, see the accompanying
56# file COPYING or http://www.opensource.org/licenses/mit-license.php.
67
@@ -106,7 +107,16 @@ def compile_copyright_regex(copyright_style, year_style, name):
106107 "Jan-Klaas Kollhof\n " ,
107108 "Sam Rushing\n " ,
108109 "ArtForz -- public domain half-a-node\n " ,
110+ "The Dash Core developers\n " ,
111+ "The Dash Core developers +\*\n " ,
112+ "The Dash core developers\n " ,
113+ "The Dash developers\n " ,
114+ "The PIVX Core developers\n " ,
115+ "The PIVX Core developers +\*\n " ,
116+ "The PIVX core developers\n " ,
117+ "The PIVX developers\n " ,
109118 "The Ion Core developers\n " ,
119+ "The Ion Core developers +\*\n " ,
110120 "The Ion core developers\n " ,
111121 "The Ion developers\n " ,
112122 "cevap\n " ,
@@ -416,21 +426,21 @@ def exec_update_header_year(base_directory):
416426Updates all the copyright headers of "The Ion Core developers" which were
417427changed in a year more recent than is listed. For example:
418428
419- // Copyright (c) <firstYear>-<lastYear> The Dash Core developers
429+ // Copyright (c) <firstYear>-<lastYear> The Ion Core developers
420430
421431will be updated to:
422432
423- // Copyright (c) <firstYear>-<lastModifiedYear> The Dash Core developers
433+ // Copyright (c) <firstYear>-<lastModifiedYear> The Ion Core developers
424434
425435where <lastModifiedYear> is obtained from the 'git log' history.
426436
427437This subcommand also handles copyright headers that have only a single year. In those cases:
428438
429- // Copyright (c) <year> The Dash Core developers
439+ // Copyright (c) <year> The Ion Core developers
430440
431441will be updated to:
432442
433- // Copyright (c) <year>-<lastModifiedYear> The Dash Core developers
443+ // Copyright (c) <year>-<lastModifiedYear> The Ion Core developers
434444
435445where the update is appropriate.
436446
@@ -463,7 +473,7 @@ def get_header_lines(header, start_year, end_year):
463473 return [line + '\n ' for line in lines ]
464474
465475CPP_HEADER = '''
466- // Copyright (c) %s The Dash Core developers
476+ // Copyright (c) %s The Ion Core developers
467477// Distributed under the MIT software license, see the accompanying
468478// file COPYING or http://www.opensource.org/licenses/mit-license.php.
469479'''
@@ -472,7 +482,7 @@ def get_cpp_header_lines_to_insert(start_year, end_year):
472482 return reversed (get_header_lines (CPP_HEADER , start_year , end_year ))
473483
474484PYTHON_HEADER = '''
475- # Copyright (c) %s The Dash Core developers
485+ # Copyright (c) %s The Ion Core developers
476486# Distributed under the MIT software license, see the accompanying
477487# file COPYING or http://www.opensource.org/licenses/mit-license.php.
478488'''
0 commit comments