diff --git a/.gitmodules b/.gitmodules
index 5cdec8ab64..df1103239d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,7 +1,7 @@
[submodule "aion_fastvm"]
path = aion_fastvm
url = https://github.com/aionnetwork/aion_fastvm
- branch = master
+ branch = relicense
[submodule "aion_api"]
path = aion_api
url = https://github.com/aionnetwork/aion_api
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
new file mode 100644
index 0000000000..eb82c068d0
--- /dev/null
+++ b/CONTRIBUTORS.md
@@ -0,0 +1,16 @@
+Aion foundation
+EthereumJ community:
+ Roman Mandeleil
+ Anton Nashatyrev
+ Nick Savers
+Equihash solver:
+ John Tromp
+BLAKE2 implementation:
+ Samuel Neves
+Ethereum Harmony community
+Zcash project community
+Bitcoinj community
+H2 Group
+Centrys.
+Santiago Gonzalez Toral
+Timur Badretdinov
diff --git a/LICENSE b/LICENSE
index f288702d2f..d936838030 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,674 +1,21 @@
- GNU GENERAL PUBLIC LICENSE
- Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc.
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The GNU General Public License is a free, copyleft license for
-software and other kinds of works.
-
- The licenses for most software and other practical works are designed
-to take away your freedom to share and change the works. By contrast,
-the GNU General Public License is intended to guarantee your freedom to
-share and change all versions of a program--to make sure it remains free
-software for all its users. We, the Free Software Foundation, use the
-GNU General Public License for most of our software; it applies also to
-any other work released this way by its authors. You can apply it to
-your programs, too.
-
- When we speak of free software, we are referring to freedom, not
-price. Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-them if you wish), that you receive source code or can get it if you
-want it, that you can change the software or use pieces of it in new
-free programs, and that you know you can do these things.
-
- To protect your rights, we need to prevent others from denying you
-these rights or asking you to surrender the rights. Therefore, you have
-certain responsibilities if you distribute copies of the software, or if
-you modify it: responsibilities to respect the freedom of others.
-
- For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must pass on to the recipients the same
-freedoms that you received. You must make sure that they, too, receive
-or can get the source code. And you must show them these terms so they
-know their rights.
-
- Developers that use the GNU GPL protect your rights with two steps:
-(1) assert copyright on the software, and (2) offer you this License
-giving you legal permission to copy, distribute and/or modify it.
-
- For the developers' and authors' protection, the GPL clearly explains
-that there is no warranty for this free software. For both users' and
-authors' sake, the GPL requires that modified versions be marked as
-changed, so that their problems will not be attributed erroneously to
-authors of previous versions.
-
- Some devices are designed to deny users access to install or run
-modified versions of the software inside them, although the manufacturer
-can do so. This is fundamentally incompatible with the aim of
-protecting users' freedom to change the software. The systematic
-pattern of such abuse occurs in the area of products for individuals to
-use, which is precisely where it is most unacceptable. Therefore, we
-have designed this version of the GPL to prohibit the practice for those
-products. If such problems arise substantially in other domains, we
-stand ready to extend this provision to those domains in future versions
-of the GPL, as needed to protect the freedom of users.
-
- Finally, every program is threatened constantly by software patents.
-States should not allow patents to restrict development and use of
-software on general-purpose computers, but in those that do, we wish to
-avoid the special danger that patents applied to a free program could
-make it effectively proprietary. To prevent this, the GPL assures that
-patents cannot be used to render the program non-free.
-
- The precise terms and conditions for copying, distribution and
-modification follow.
-
- TERMS AND CONDITIONS
-
- 0. Definitions.
-
- "This License" refers to version 3 of the GNU General Public License.
-
- "Copyright" also means copyright-like laws that apply to other kinds of
-works, such as semiconductor masks.
-
- "The Program" refers to any copyrightable work licensed under this
-License. Each licensee is addressed as "you". "Licensees" and
-"recipients" may be individuals or organizations.
-
- To "modify" a work means to copy from or adapt all or part of the work
-in a fashion requiring copyright permission, other than the making of an
-exact copy. The resulting work is called a "modified version" of the
-earlier work or a work "based on" the earlier work.
-
- A "covered work" means either the unmodified Program or a work based
-on the Program.
-
- To "propagate" a work means to do anything with it that, without
-permission, would make you directly or secondarily liable for
-infringement under applicable copyright law, except executing it on a
-computer or modifying a private copy. Propagation includes copying,
-distribution (with or without modification), making available to the
-public, and in some countries other activities as well.
-
- To "convey" a work means any kind of propagation that enables other
-parties to make or receive copies. Mere interaction with a user through
-a computer network, with no transfer of a copy, is not conveying.
-
- An interactive user interface displays "Appropriate Legal Notices"
-to the extent that it includes a convenient and prominently visible
-feature that (1) displays an appropriate copyright notice, and (2)
-tells the user that there is no warranty for the work (except to the
-extent that warranties are provided), that licensees may convey the
-work under this License, and how to view a copy of this License. If
-the interface presents a list of user commands or options, such as a
-menu, a prominent item in the list meets this criterion.
-
- 1. Source Code.
-
- The "source code" for a work means the preferred form of the work
-for making modifications to it. "Object code" means any non-source
-form of a work.
-
- A "Standard Interface" means an interface that either is an official
-standard defined by a recognized standards body, or, in the case of
-interfaces specified for a particular programming language, one that
-is widely used among developers working in that language.
-
- The "System Libraries" of an executable work include anything, other
-than the work as a whole, that (a) is included in the normal form of
-packaging a Major Component, but which is not part of that Major
-Component, and (b) serves only to enable use of the work with that
-Major Component, or to implement a Standard Interface for which an
-implementation is available to the public in source code form. A
-"Major Component", in this context, means a major essential component
-(kernel, window system, and so on) of the specific operating system
-(if any) on which the executable work runs, or a compiler used to
-produce the work, or an object code interpreter used to run it.
-
- The "Corresponding Source" for a work in object code form means all
-the source code needed to generate, install, and (for an executable
-work) run the object code and to modify the work, including scripts to
-control those activities. However, it does not include the work's
-System Libraries, or general-purpose tools or generally available free
-programs which are used unmodified in performing those activities but
-which are not part of the work. For example, Corresponding Source
-includes interface definition files associated with source files for
-the work, and the source code for shared libraries and dynamically
-linked subprograms that the work is specifically designed to require,
-such as by intimate data communication or control flow between those
-subprograms and other parts of the work.
-
- The Corresponding Source need not include anything that users
-can regenerate automatically from other parts of the Corresponding
-Source.
-
- The Corresponding Source for a work in source code form is that
-same work.
-
- 2. Basic Permissions.
-
- All rights granted under this License are granted for the term of
-copyright on the Program, and are irrevocable provided the stated
-conditions are met. This License explicitly affirms your unlimited
-permission to run the unmodified Program. The output from running a
-covered work is covered by this License only if the output, given its
-content, constitutes a covered work. This License acknowledges your
-rights of fair use or other equivalent, as provided by copyright law.
-
- You may make, run and propagate covered works that you do not
-convey, without conditions so long as your license otherwise remains
-in force. You may convey covered works to others for the sole purpose
-of having them make modifications exclusively for you, or provide you
-with facilities for running those works, provided that you comply with
-the terms of this License in conveying all material for which you do
-not control copyright. Those thus making or running the covered works
-for you must do so exclusively on your behalf, under your direction
-and control, on terms that prohibit them from making any copies of
-your copyrighted material outside their relationship with you.
-
- Conveying under any other circumstances is permitted solely under
-the conditions stated below. Sublicensing is not allowed; section 10
-makes it unnecessary.
-
- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
-
- No covered work shall be deemed part of an effective technological
-measure under any applicable law fulfilling obligations under article
-11 of the WIPO copyright treaty adopted on 20 December 1996, or
-similar laws prohibiting or restricting circumvention of such
-measures.
-
- When you convey a covered work, you waive any legal power to forbid
-circumvention of technological measures to the extent such circumvention
-is effected by exercising rights under this License with respect to
-the covered work, and you disclaim any intention to limit operation or
-modification of the work as a means of enforcing, against the work's
-users, your or third parties' legal rights to forbid circumvention of
-technological measures.
-
- 4. Conveying Verbatim Copies.
-
- You may convey verbatim copies of the Program's source code as you
-receive it, in any medium, provided that you conspicuously and
-appropriately publish on each copy an appropriate copyright notice;
-keep intact all notices stating that this License and any
-non-permissive terms added in accord with section 7 apply to the code;
-keep intact all notices of the absence of any warranty; and give all
-recipients a copy of this License along with the Program.
-
- You may charge any price or no price for each copy that you convey,
-and you may offer support or warranty protection for a fee.
-
- 5. Conveying Modified Source Versions.
-
- You may convey a work based on the Program, or the modifications to
-produce it from the Program, in the form of source code under the
-terms of section 4, provided that you also meet all of these conditions:
-
- a) The work must carry prominent notices stating that you modified
- it, and giving a relevant date.
-
- b) The work must carry prominent notices stating that it is
- released under this License and any conditions added under section
- 7. This requirement modifies the requirement in section 4 to
- "keep intact all notices".
-
- c) You must license the entire work, as a whole, under this
- License to anyone who comes into possession of a copy. This
- License will therefore apply, along with any applicable section 7
- additional terms, to the whole of the work, and all its parts,
- regardless of how they are packaged. This License gives no
- permission to license the work in any other way, but it does not
- invalidate such permission if you have separately received it.
-
- d) If the work has interactive user interfaces, each must display
- Appropriate Legal Notices; however, if the Program has interactive
- interfaces that do not display Appropriate Legal Notices, your
- work need not make them do so.
-
- A compilation of a covered work with other separate and independent
-works, which are not by their nature extensions of the covered work,
-and which are not combined with it such as to form a larger program,
-in or on a volume of a storage or distribution medium, is called an
-"aggregate" if the compilation and its resulting copyright are not
-used to limit the access or legal rights of the compilation's users
-beyond what the individual works permit. Inclusion of a covered work
-in an aggregate does not cause this License to apply to the other
-parts of the aggregate.
-
- 6. Conveying Non-Source Forms.
-
- You may convey a covered work in object code form under the terms
-of sections 4 and 5, provided that you also convey the
-machine-readable Corresponding Source under the terms of this License,
-in one of these ways:
-
- a) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by the
- Corresponding Source fixed on a durable physical medium
- customarily used for software interchange.
-
- b) Convey the object code in, or embodied in, a physical product
- (including a physical distribution medium), accompanied by a
- written offer, valid for at least three years and valid for as
- long as you offer spare parts or customer support for that product
- model, to give anyone who possesses the object code either (1) a
- copy of the Corresponding Source for all the software in the
- product that is covered by this License, on a durable physical
- medium customarily used for software interchange, for a price no
- more than your reasonable cost of physically performing this
- conveying of source, or (2) access to copy the
- Corresponding Source from a network server at no charge.
-
- c) Convey individual copies of the object code with a copy of the
- written offer to provide the Corresponding Source. This
- alternative is allowed only occasionally and noncommercially, and
- only if you received the object code with such an offer, in accord
- with subsection 6b.
-
- d) Convey the object code by offering access from a designated
- place (gratis or for a charge), and offer equivalent access to the
- Corresponding Source in the same way through the same place at no
- further charge. You need not require recipients to copy the
- Corresponding Source along with the object code. If the place to
- copy the object code is a network server, the Corresponding Source
- may be on a different server (operated by you or a third party)
- that supports equivalent copying facilities, provided you maintain
- clear directions next to the object code saying where to find the
- Corresponding Source. Regardless of what server hosts the
- Corresponding Source, you remain obligated to ensure that it is
- available for as long as needed to satisfy these requirements.
-
- e) Convey the object code using peer-to-peer transmission, provided
- you inform other peers where the object code and Corresponding
- Source of the work are being offered to the general public at no
- charge under subsection 6d.
-
- A separable portion of the object code, whose source code is excluded
-from the Corresponding Source as a System Library, need not be
-included in conveying the object code work.
-
- A "User Product" is either (1) a "consumer product", which means any
-tangible personal property which is normally used for personal, family,
-or household purposes, or (2) anything designed or sold for incorporation
-into a dwelling. In determining whether a product is a consumer product,
-doubtful cases shall be resolved in favor of coverage. For a particular
-product received by a particular user, "normally used" refers to a
-typical or common use of that class of product, regardless of the status
-of the particular user or of the way in which the particular user
-actually uses, or expects or is expected to use, the product. A product
-is a consumer product regardless of whether the product has substantial
-commercial, industrial or non-consumer uses, unless such uses represent
-the only significant mode of use of the product.
-
- "Installation Information" for a User Product means any methods,
-procedures, authorization keys, or other information required to install
-and execute modified versions of a covered work in that User Product from
-a modified version of its Corresponding Source. The information must
-suffice to ensure that the continued functioning of the modified object
-code is in no case prevented or interfered with solely because
-modification has been made.
-
- If you convey an object code work under this section in, or with, or
-specifically for use in, a User Product, and the conveying occurs as
-part of a transaction in which the right of possession and use of the
-User Product is transferred to the recipient in perpetuity or for a
-fixed term (regardless of how the transaction is characterized), the
-Corresponding Source conveyed under this section must be accompanied
-by the Installation Information. But this requirement does not apply
-if neither you nor any third party retains the ability to install
-modified object code on the User Product (for example, the work has
-been installed in ROM).
-
- The requirement to provide Installation Information does not include a
-requirement to continue to provide support service, warranty, or updates
-for a work that has been modified or installed by the recipient, or for
-the User Product in which it has been modified or installed. Access to a
-network may be denied when the modification itself materially and
-adversely affects the operation of the network or violates the rules and
-protocols for communication across the network.
-
- Corresponding Source conveyed, and Installation Information provided,
-in accord with this section must be in a format that is publicly
-documented (and with an implementation available to the public in
-source code form), and must require no special password or key for
-unpacking, reading or copying.
-
- 7. Additional Terms.
-
- "Additional permissions" are terms that supplement the terms of this
-License by making exceptions from one or more of its conditions.
-Additional permissions that are applicable to the entire Program shall
-be treated as though they were included in this License, to the extent
-that they are valid under applicable law. If additional permissions
-apply only to part of the Program, that part may be used separately
-under those permissions, but the entire Program remains governed by
-this License without regard to the additional permissions.
-
- When you convey a copy of a covered work, you may at your option
-remove any additional permissions from that copy, or from any part of
-it. (Additional permissions may be written to require their own
-removal in certain cases when you modify the work.) You may place
-additional permissions on material, added by you to a covered work,
-for which you have or can give appropriate copyright permission.
-
- Notwithstanding any other provision of this License, for material you
-add to a covered work, you may (if authorized by the copyright holders of
-that material) supplement the terms of this License with terms:
-
- a) Disclaiming warranty or limiting liability differently from the
- terms of sections 15 and 16 of this License; or
-
- b) Requiring preservation of specified reasonable legal notices or
- author attributions in that material or in the Appropriate Legal
- Notices displayed by works containing it; or
-
- c) Prohibiting misrepresentation of the origin of that material, or
- requiring that modified versions of such material be marked in
- reasonable ways as different from the original version; or
-
- d) Limiting the use for publicity purposes of names of licensors or
- authors of the material; or
-
- e) Declining to grant rights under trademark law for use of some
- trade names, trademarks, or service marks; or
-
- f) Requiring indemnification of licensors and authors of that
- material by anyone who conveys the material (or modified versions of
- it) with contractual assumptions of liability to the recipient, for
- any liability that these contractual assumptions directly impose on
- those licensors and authors.
-
- All other non-permissive additional terms are considered "further
-restrictions" within the meaning of section 10. If the Program as you
-received it, or any part of it, contains a notice stating that it is
-governed by this License along with a term that is a further
-restriction, you may remove that term. If a license document contains
-a further restriction but permits relicensing or conveying under this
-License, you may add to a covered work material governed by the terms
-of that license document, provided that the further restriction does
-not survive such relicensing or conveying.
-
- If you add terms to a covered work in accord with this section, you
-must place, in the relevant source files, a statement of the
-additional terms that apply to those files, or a notice indicating
-where to find the applicable terms.
-
- Additional terms, permissive or non-permissive, may be stated in the
-form of a separately written license, or stated as exceptions;
-the above requirements apply either way.
-
- 8. Termination.
-
- You may not propagate or modify a covered work except as expressly
-provided under this License. Any attempt otherwise to propagate or
-modify it is void, and will automatically terminate your rights under
-this License (including any patent licenses granted under the third
-paragraph of section 11).
-
- However, if you cease all violation of this License, then your
-license from a particular copyright holder is reinstated (a)
-provisionally, unless and until the copyright holder explicitly and
-finally terminates your license, and (b) permanently, if the copyright
-holder fails to notify you of the violation by some reasonable means
-prior to 60 days after the cessation.
-
- Moreover, your license from a particular copyright holder is
-reinstated permanently if the copyright holder notifies you of the
-violation by some reasonable means, this is the first time you have
-received notice of violation of this License (for any work) from that
-copyright holder, and you cure the violation prior to 30 days after
-your receipt of the notice.
-
- Termination of your rights under this section does not terminate the
-licenses of parties who have received copies or rights from you under
-this License. If your rights have been terminated and not permanently
-reinstated, you do not qualify to receive new licenses for the same
-material under section 10.
-
- 9. Acceptance Not Required for Having Copies.
-
- You are not required to accept this License in order to receive or
-run a copy of the Program. Ancillary propagation of a covered work
-occurring solely as a consequence of using peer-to-peer transmission
-to receive a copy likewise does not require acceptance. However,
-nothing other than this License grants you permission to propagate or
-modify any covered work. These actions infringe copyright if you do
-not accept this License. Therefore, by modifying or propagating a
-covered work, you indicate your acceptance of this License to do so.
-
- 10. Automatic Licensing of Downstream Recipients.
-
- Each time you convey a covered work, the recipient automatically
-receives a license from the original licensors, to run, modify and
-propagate that work, subject to this License. You are not responsible
-for enforcing compliance by third parties with this License.
-
- An "entity transaction" is a transaction transferring control of an
-organization, or substantially all assets of one, or subdividing an
-organization, or merging organizations. If propagation of a covered
-work results from an entity transaction, each party to that
-transaction who receives a copy of the work also receives whatever
-licenses to the work the party's predecessor in interest had or could
-give under the previous paragraph, plus a right to possession of the
-Corresponding Source of the work from the predecessor in interest, if
-the predecessor has it or can get it with reasonable efforts.
-
- You may not impose any further restrictions on the exercise of the
-rights granted or affirmed under this License. For example, you may
-not impose a license fee, royalty, or other charge for exercise of
-rights granted under this License, and you may not initiate litigation
-(including a cross-claim or counterclaim in a lawsuit) alleging that
-any patent claim is infringed by making, using, selling, offering for
-sale, or importing the Program or any portion of it.
-
- 11. Patents.
-
- A "contributor" is a copyright holder who authorizes use under this
-License of the Program or a work on which the Program is based. The
-work thus licensed is called the contributor's "contributor version".
-
- A contributor's "essential patent claims" are all patent claims
-owned or controlled by the contributor, whether already acquired or
-hereafter acquired, that would be infringed by some manner, permitted
-by this License, of making, using, or selling its contributor version,
-but do not include claims that would be infringed only as a
-consequence of further modification of the contributor version. For
-purposes of this definition, "control" includes the right to grant
-patent sublicenses in a manner consistent with the requirements of
-this License.
-
- Each contributor grants you a non-exclusive, worldwide, royalty-free
-patent license under the contributor's essential patent claims, to
-make, use, sell, offer for sale, import and otherwise run, modify and
-propagate the contents of its contributor version.
-
- In the following three paragraphs, a "patent license" is any express
-agreement or commitment, however denominated, not to enforce a patent
-(such as an express permission to practice a patent or covenant not to
-sue for patent infringement). To "grant" such a patent license to a
-party means to make such an agreement or commitment not to enforce a
-patent against the party.
-
- If you convey a covered work, knowingly relying on a patent license,
-and the Corresponding Source of the work is not available for anyone
-to copy, free of charge and under the terms of this License, through a
-publicly available network server or other readily accessible means,
-then you must either (1) cause the Corresponding Source to be so
-available, or (2) arrange to deprive yourself of the benefit of the
-patent license for this particular work, or (3) arrange, in a manner
-consistent with the requirements of this License, to extend the patent
-license to downstream recipients. "Knowingly relying" means you have
-actual knowledge that, but for the patent license, your conveying the
-covered work in a country, or your recipient's use of the covered work
-in a country, would infringe one or more identifiable patents in that
-country that you have reason to believe are valid.
-
- If, pursuant to or in connection with a single transaction or
-arrangement, you convey, or propagate by procuring conveyance of, a
-covered work, and grant a patent license to some of the parties
-receiving the covered work authorizing them to use, propagate, modify
-or convey a specific copy of the covered work, then the patent license
-you grant is automatically extended to all recipients of the covered
-work and works based on it.
-
- A patent license is "discriminatory" if it does not include within
-the scope of its coverage, prohibits the exercise of, or is
-conditioned on the non-exercise of one or more of the rights that are
-specifically granted under this License. You may not convey a covered
-work if you are a party to an arrangement with a third party that is
-in the business of distributing software, under which you make payment
-to the third party based on the extent of your activity of conveying
-the work, and under which the third party grants, to any of the
-parties who would receive the covered work from you, a discriminatory
-patent license (a) in connection with copies of the covered work
-conveyed by you (or copies made from those copies), or (b) primarily
-for and in connection with specific products or compilations that
-contain the covered work, unless you entered into that arrangement,
-or that patent license was granted, prior to 28 March 2007.
-
- Nothing in this License shall be construed as excluding or limiting
-any implied license or other defenses to infringement that may
-otherwise be available to you under applicable patent law.
-
- 12. No Surrender of Others' Freedom.
-
- If conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot convey a
-covered work so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you may
-not convey it at all. For example, if you agree to terms that obligate you
-to collect a royalty for further conveying from those to whom you convey
-the Program, the only way you could satisfy both those terms and this
-License would be to refrain entirely from conveying the Program.
-
- 13. Use with the GNU Affero General Public License.
-
- Notwithstanding any other provision of this License, you have
-permission to link or combine any covered work with a work licensed
-under version 3 of the GNU Affero General Public License into a single
-combined work, and to convey the resulting work. The terms of this
-License will continue to apply to the part which is the covered work,
-but the special requirements of the GNU Affero General Public License,
-section 13, concerning interaction through a network will apply to the
-combination as such.
-
- 14. Revised Versions of this License.
-
- The Free Software Foundation may publish revised and/or new versions of
-the GNU General Public License from time to time. Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
- Each version is given a distinguishing version number. If the
-Program specifies that a certain numbered version of the GNU General
-Public License "or any later version" applies to it, you have the
-option of following the terms and conditions either of that numbered
-version or of any later version published by the Free Software
-Foundation. If the Program does not specify a version number of the
-GNU General Public License, you may choose any version ever published
-by the Free Software Foundation.
-
- If the Program specifies that a proxy can decide which future
-versions of the GNU General Public License can be used, that proxy's
-public statement of acceptance of a version permanently authorizes you
-to choose that version for the Program.
-
- Later license versions may give you additional or different
-permissions. However, no additional obligations are imposed on any
-author or copyright holder as a result of your choosing to follow a
-later version.
-
- 15. Disclaimer of Warranty.
-
- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. Limitation of Liability.
-
- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGES.
-
- 17. Interpretation of Sections 15 and 16.
-
- If the disclaimer of warranty and limitation of liability provided
-above cannot be given local legal effect according to their terms,
-reviewing courts shall apply local law that most closely approximates
-an absolute waiver of all civil liability in connection with the
-Program, unless a warranty or assumption of liability accompanies a
-copy of the Program in return for a fee.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
-possible use to the public, the best way to achieve this is to make it
-free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest
-to attach them to the start of each source file to most effectively
-state the exclusion of warranty; and each file should have at least
-the "copyright" line and a pointer to where the full notice is found.
-
-
- Copyright (C)
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see .
-
-Also add information on how to contact you by electronic and paper mail.
-
- If the program does terminal interaction, make it output a short
-notice like this when it starts in an interactive mode:
-
- Copyright (C)
- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
- This is free software, and you are welcome to redistribute it
- under certain conditions; type `show c' for details.
-
-The hypothetical commands `show w' and `show c' should show the appropriate
-parts of the General Public License. Of course, your program's commands
-might be different; for a GUI interface, you would use an "about box".
-
- You should also get your employer (if you work as a programmer) or school,
-if any, to sign a "copyright disclaimer" for the program, if necessary.
-For more information on this, and how to apply and follow the GNU GPL, see
-.
-
- The GNU General Public License does not permit incorporating your program
-into proprietary programs. If your program is a subroutine library, you
-may consider it more useful to permit linking proprietary applications with
-the library. If this is what you want to do, use the GNU Lesser General
-Public License instead of this License. But first, please read
-.
+The MIT License
+
+Copyright (c) 2018 Aion Foundation https://aion.network/
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/aion_fastvm b/aion_fastvm
index e1414ca4d4..f3d846e983 160000
--- a/aion_fastvm
+++ b/aion_fastvm
@@ -1 +1 @@
-Subproject commit e1414ca4d4ca06e2da665c21b5620a39c97354cd
+Subproject commit f3d846e9834682c10e89fcaa1832c1ab2957cda8
diff --git a/build.gradle b/build.gradle
index 2d7ffd5cd4..d16963fe99 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,6 +15,7 @@ def javaHome = System.getProperty('java.home')
def vmVersion = "0.3.2"
def dirRuntimeJars = 'jars' // we'll store mod and lib stuff in here
+
allprojects {
apply plugin: 'java'
@@ -251,11 +252,14 @@ build {
task prePack(type:Exec) {
dependsOn ':aion_api:cleanPack'
dependsOn ':aion_api:build'
- if (project.hasProperty('noGui')) {
- environment "noGui", "true"
+
+ if(findProject(":modGui") != null && gradle.useGui) {
+ dependsOn ':modGui:setupAionRootProject';
+ environment "useGui", "true"
}
commandLine 'bash', 'script/prepack.sh'
}
+
task postPack(type:Exec) { commandLine 'sh', 'script/postpack.sh' }
/** Replaces `ant pack_build` */
@@ -277,9 +281,6 @@ task pack(type: Tar) {
into('/aion/') {
from dirWorkspace
include 'aion.sh'
- if (!project.hasProperty('noGui')) {
- include 'aion_gui.sh'
- }
}
into('/aion/native') {
from dirNative
diff --git a/gradle.properties b/gradle.properties
index 50611691d0..a696b84724 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -2,3 +2,6 @@ org.gradle.java.home=/usr/lib/jvm/jdk-11.0.1
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx6g -XX:MaxPermSize=4g -XX:ReservedCodeCacheSize=1024m
org.gradle.parallel=false
+
+# Uncomment to include modGui in build
+# modGuiPath=modGui
diff --git a/modAion/src/org/aion/zero/api/BlockConstants.java b/modAion/src/org/aion/zero/api/BlockConstants.java
index 93539ae7bb..e260fad3f5 100644
--- a/modAion/src/org/aion/zero/api/BlockConstants.java
+++ b/modAion/src/org/aion/zero/api/BlockConstants.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.api;
import java.math.BigInteger;
diff --git a/modAion/src/org/aion/zero/db/AionContractDetailsImpl.java b/modAion/src/org/aion/zero/db/AionContractDetailsImpl.java
index 3edd2dbf0d..690e8d83b8 100644
--- a/modAion/src/org/aion/zero/db/AionContractDetailsImpl.java
+++ b/modAion/src/org/aion/zero/db/AionContractDetailsImpl.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.db;
import static org.aion.base.util.ByteArrayWrapper.wrap;
diff --git a/modAion/src/org/aion/zero/db/AionRepositoryCache.java b/modAion/src/org/aion/zero/db/AionRepositoryCache.java
index 4806638842..8b5eb24d1a 100644
--- a/modAion/src/org/aion/zero/db/AionRepositoryCache.java
+++ b/modAion/src/org/aion/zero/db/AionRepositoryCache.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.db;
import java.util.HashMap;
diff --git a/modAion/src/org/aion/zero/exceptions/HeaderStructureException.java b/modAion/src/org/aion/zero/exceptions/HeaderStructureException.java
index dc979a6f7e..6e9da355d8 100644
--- a/modAion/src/org/aion/zero/exceptions/HeaderStructureException.java
+++ b/modAion/src/org/aion/zero/exceptions/HeaderStructureException.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.exceptions;
/**
diff --git a/modAion/src/org/aion/zero/types/A0BlockHeader.java b/modAion/src/org/aion/zero/types/A0BlockHeader.java
index 330db39d08..54220bd04d 100644
--- a/modAion/src/org/aion/zero/types/A0BlockHeader.java
+++ b/modAion/src/org/aion/zero/types/A0BlockHeader.java
@@ -1,30 +1,8 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import static org.aion.base.util.ByteUtil.longToBytes;
import static org.aion.base.util.ByteUtil.merge;
+import static org.aion.base.util.ByteUtil.oneByteToHexString;
import static org.aion.base.util.ByteUtil.toHexString;
import static org.aion.crypto.HashUtil.EMPTY_TRIE_HASH;
@@ -69,7 +47,7 @@ public class A0BlockHeader extends AbstractBlockHeader implements IPowBlockHeade
// TODO: Update this
public JSONObject toJSON() {
JSONObject obj = new JSONObject();
- obj.putOpt("version", toHexString(this.parentHash));
+ obj.putOpt("version", oneByteToHexString(this.version));
obj.putOpt("number", toHexString(longToBytes(this.number)));
obj.putOpt("parentHash", toHexString(this.parentHash));
obj.putOpt("coinBase", toHexString(this.coinbase.toBytes()));
diff --git a/modAion/src/org/aion/zero/types/A0BlockHeaderVersion.java b/modAion/src/org/aion/zero/types/A0BlockHeaderVersion.java
index e70d6c73f3..7b4f8a66e3 100644
--- a/modAion/src/org/aion/zero/types/A0BlockHeaderVersion.java
+++ b/modAion/src/org/aion/zero/types/A0BlockHeaderVersion.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.types;
import java.util.HashSet;
diff --git a/modAion/src/org/aion/zero/types/AionInternalTx.java b/modAion/src/org/aion/zero/types/AionInternalTx.java
index ce0551dab0..6928ddec56 100644
--- a/modAion/src/org/aion/zero/types/AionInternalTx.java
+++ b/modAion/src/org/aion/zero/types/AionInternalTx.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import static org.aion.base.util.ByteUtil.toHexString;
diff --git a/modAion/src/org/aion/zero/types/AionPendingTx.java b/modAion/src/org/aion/zero/types/AionPendingTx.java
index 2e5e6ea218..c8dbc0c857 100644
--- a/modAion/src/org/aion/zero/types/AionPendingTx.java
+++ b/modAion/src/org/aion/zero/types/AionPendingTx.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import java.math.BigInteger;
diff --git a/modAion/src/org/aion/zero/types/AionTransaction.java b/modAion/src/org/aion/zero/types/AionTransaction.java
index 67f6f6bfab..43d68e6c4d 100644
--- a/modAion/src/org/aion/zero/types/AionTransaction.java
+++ b/modAion/src/org/aion/zero/types/AionTransaction.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import static org.aion.base.util.ByteUtil.ZERO_BYTE_ARRAY;
diff --git a/modAion/src/org/aion/zero/types/AionTxExecSummary.java b/modAion/src/org/aion/zero/types/AionTxExecSummary.java
index d255ffd83d..e6b924adcc 100644
--- a/modAion/src/org/aion/zero/types/AionTxExecSummary.java
+++ b/modAion/src/org/aion/zero/types/AionTxExecSummary.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import static java.util.Collections.emptyList;
diff --git a/modAion/src/org/aion/zero/types/AionTxReceipt.java b/modAion/src/org/aion/zero/types/AionTxReceipt.java
index 449d815198..eb1de0ad49 100644
--- a/modAion/src/org/aion/zero/types/AionTxReceipt.java
+++ b/modAion/src/org/aion/zero/types/AionTxReceipt.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import static org.aion.base.util.ByteUtil.EMPTY_BYTE_ARRAY;
diff --git a/modAion/src/org/aion/zero/types/IAionBlock.java b/modAion/src/org/aion/zero/types/IAionBlock.java
index 70fdea6ab6..32e68542c0 100644
--- a/modAion/src/org/aion/zero/types/IAionBlock.java
+++ b/modAion/src/org/aion/zero/types/IAionBlock.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.types;
import java.math.BigInteger;
diff --git a/modAion/test/org/aion/types/AionTransactionTest.java b/modAion/test/org/aion/types/AionTransactionTest.java
index 7aa21decbd..dfbe8cfbec 100644
--- a/modAion/test/org/aion/types/AionTransactionTest.java
+++ b/modAion/test/org/aion/types/AionTransactionTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.types;
import static org.junit.Assert.assertArrayEquals;
diff --git a/modAion/test/org/aion/types/AionTxReceiptTest.java b/modAion/test/org/aion/types/AionTxReceiptTest.java
index db5e5f2098..52c0adbefb 100644
--- a/modAion/test/org/aion/types/AionTxReceiptTest.java
+++ b/modAion/test/org/aion/types/AionTxReceiptTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.types;
import static org.hamcrest.Matchers.equalTo;
diff --git a/modAionBase/src/org/aion/base/db/DetailsProvider.java b/modAionBase/src/org/aion/base/db/DetailsProvider.java
index 1ab8285c64..76d7cdc14f 100644
--- a/modAionBase/src/org/aion/base/db/DetailsProvider.java
+++ b/modAionBase/src/org/aion/base/db/DetailsProvider.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
/**
diff --git a/modAionBase/src/org/aion/base/db/Flushable.java b/modAionBase/src/org/aion/base/db/Flushable.java
index 5ccce8da5c..5460582228 100644
--- a/modAionBase/src/org/aion/base/db/Flushable.java
+++ b/modAionBase/src/org/aion/base/db/Flushable.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
public interface Flushable {
diff --git a/modAionBase/src/org/aion/base/db/IByteArrayKeyValueDatabase.java b/modAionBase/src/org/aion/base/db/IByteArrayKeyValueDatabase.java
index 431057c4a3..7acc2eb139 100644
--- a/modAionBase/src/org/aion/base/db/IByteArrayKeyValueDatabase.java
+++ b/modAionBase/src/org/aion/base/db/IByteArrayKeyValueDatabase.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
public interface IByteArrayKeyValueDatabase extends IByteArrayKeyValueStore, IDatabase {}
diff --git a/modAionBase/src/org/aion/base/db/IByteArrayKeyValueStore.java b/modAionBase/src/org/aion/base/db/IByteArrayKeyValueStore.java
index bf08d031a9..acabb1fab0 100644
--- a/modAionBase/src/org/aion/base/db/IByteArrayKeyValueStore.java
+++ b/modAionBase/src/org/aion/base/db/IByteArrayKeyValueStore.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
public interface IByteArrayKeyValueStore extends IKeyValueStore {}
diff --git a/modAionBase/src/org/aion/base/db/IContractDetails.java b/modAionBase/src/org/aion/base/db/IContractDetails.java
index 46876ba942..30504f2d03 100644
--- a/modAionBase/src/org/aion/base/db/IContractDetails.java
+++ b/modAionBase/src/org/aion/base/db/IContractDetails.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.util.Collection;
diff --git a/modAionBase/src/org/aion/base/db/IDatabase.java b/modAionBase/src/org/aion/base/db/IDatabase.java
index 4d93eb6d88..12b6726532 100644
--- a/modAionBase/src/org/aion/base/db/IDatabase.java
+++ b/modAionBase/src/org/aion/base/db/IDatabase.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.util.Optional;
diff --git a/modAionBase/src/org/aion/base/db/IKeyValueStore.java b/modAionBase/src/org/aion/base/db/IKeyValueStore.java
index ba63ef7d41..cbde9f3461 100644
--- a/modAionBase/src/org/aion/base/db/IKeyValueStore.java
+++ b/modAionBase/src/org/aion/base/db/IKeyValueStore.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.util.Collection;
diff --git a/modAionBase/src/org/aion/base/db/IPruneConfig.java b/modAionBase/src/org/aion/base/db/IPruneConfig.java
index f0b9f726d2..3b93b1fb50 100644
--- a/modAionBase/src/org/aion/base/db/IPruneConfig.java
+++ b/modAionBase/src/org/aion/base/db/IPruneConfig.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.db;
/**
diff --git a/modAionBase/src/org/aion/base/db/IRepository.java b/modAionBase/src/org/aion/base/db/IRepository.java
index f4d05a1ae9..90cab5ffe9 100644
--- a/modAionBase/src/org/aion/base/db/IRepository.java
+++ b/modAionBase/src/org/aion/base/db/IRepository.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.util.Map;
diff --git a/modAionBase/src/org/aion/base/db/IRepositoryCache.java b/modAionBase/src/org/aion/base/db/IRepositoryCache.java
index 8193702cc8..9871cf9589 100644
--- a/modAionBase/src/org/aion/base/db/IRepositoryCache.java
+++ b/modAionBase/src/org/aion/base/db/IRepositoryCache.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/db/IRepositoryConfig.java b/modAionBase/src/org/aion/base/db/IRepositoryConfig.java
index eed166a8ac..2a6566a31c 100644
--- a/modAionBase/src/org/aion/base/db/IRepositoryConfig.java
+++ b/modAionBase/src/org/aion/base/db/IRepositoryConfig.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.util.Properties;
diff --git a/modAionBase/src/org/aion/base/db/IRepositoryQuery.java b/modAionBase/src/org/aion/base/db/IRepositoryQuery.java
index 2c4c307ffd..b02248cbbf 100644
--- a/modAionBase/src/org/aion/base/db/IRepositoryQuery.java
+++ b/modAionBase/src/org/aion/base/db/IRepositoryQuery.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.db;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/io/File.java b/modAionBase/src/org/aion/base/io/File.java
index fabfeaf005..37e4b949cf 100644
--- a/modAionBase/src/org/aion/base/io/File.java
+++ b/modAionBase/src/org/aion/base/io/File.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.io;
import java.nio.file.Path;
diff --git a/modAionBase/src/org/aion/base/timer/ITimer.java b/modAionBase/src/org/aion/base/timer/ITimer.java
index a098d629bd..400864c9c9 100644
--- a/modAionBase/src/org/aion/base/timer/ITimer.java
+++ b/modAionBase/src/org/aion/base/timer/ITimer.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.timer;
/**
diff --git a/modAionBase/src/org/aion/base/timer/PoisonPillTask.java b/modAionBase/src/org/aion/base/timer/PoisonPillTask.java
index a946997e35..8415a1a14e 100644
--- a/modAionBase/src/org/aion/base/timer/PoisonPillTask.java
+++ b/modAionBase/src/org/aion/base/timer/PoisonPillTask.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.timer;
/**
diff --git a/modAionBase/src/org/aion/base/timer/StackTimer.java b/modAionBase/src/org/aion/base/timer/StackTimer.java
index 548540d5a6..506e7f1e7d 100644
--- a/modAionBase/src/org/aion/base/timer/StackTimer.java
+++ b/modAionBase/src/org/aion/base/timer/StackTimer.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.timer;
import java.util.concurrent.ExecutorService;
diff --git a/modAionBase/src/org/aion/base/timer/StackTimerRunnable.java b/modAionBase/src/org/aion/base/timer/StackTimerRunnable.java
index 1a7bbf5101..047e497c4e 100644
--- a/modAionBase/src/org/aion/base/timer/StackTimerRunnable.java
+++ b/modAionBase/src/org/aion/base/timer/StackTimerRunnable.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.timer;
import java.util.ArrayDeque;
diff --git a/modAionBase/src/org/aion/base/timer/TimerDummy.java b/modAionBase/src/org/aion/base/timer/TimerDummy.java
index 14604ac86f..dc41dff7c2 100644
--- a/modAionBase/src/org/aion/base/timer/TimerDummy.java
+++ b/modAionBase/src/org/aion/base/timer/TimerDummy.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.timer;
/**
diff --git a/modAionBase/src/org/aion/base/timer/TimerTask.java b/modAionBase/src/org/aion/base/timer/TimerTask.java
index ef231c3a13..113903ad4c 100644
--- a/modAionBase/src/org/aion/base/timer/TimerTask.java
+++ b/modAionBase/src/org/aion/base/timer/TimerTask.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
diff --git a/modAionBase/src/org/aion/base/type/Address.java b/modAionBase/src/org/aion/base/type/Address.java
index 719920672d..6e5ce8293a 100644
--- a/modAionBase/src/org/aion/base/type/Address.java
+++ b/modAionBase/src/org/aion/base/type/Address.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
import java.util.Arrays;
diff --git a/modAionBase/src/org/aion/base/type/Hash256.java b/modAionBase/src/org/aion/base/type/Hash256.java
index 6ce4a035c5..4609cddc38 100644
--- a/modAionBase/src/org/aion/base/type/Hash256.java
+++ b/modAionBase/src/org/aion/base/type/Hash256.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
import java.util.Arrays;
diff --git a/modAionBase/src/org/aion/base/type/IBlock.java b/modAionBase/src/org/aion/base/type/IBlock.java
index 29f148bf0c..63e71be8b9 100644
--- a/modAionBase/src/org/aion/base/type/IBlock.java
+++ b/modAionBase/src/org/aion/base/type/IBlock.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
/*
* @Copyright Nuco Inc. 2016
* @Author jin@nuco.io *
diff --git a/modAionBase/src/org/aion/base/type/IBlockHeader.java b/modAionBase/src/org/aion/base/type/IBlockHeader.java
index 201b49277e..e168eb08f0 100644
--- a/modAionBase/src/org/aion/base/type/IBlockHeader.java
+++ b/modAionBase/src/org/aion/base/type/IBlockHeader.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
/** @author jay */
diff --git a/modAionBase/src/org/aion/base/type/IBlockIdentifier.java b/modAionBase/src/org/aion/base/type/IBlockIdentifier.java
index 3291139a83..bea6979de9 100644
--- a/modAionBase/src/org/aion/base/type/IBlockIdentifier.java
+++ b/modAionBase/src/org/aion/base/type/IBlockIdentifier.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
/** @author jay */
diff --git a/modAionBase/src/org/aion/base/type/IBlockSummary.java b/modAionBase/src/org/aion/base/type/IBlockSummary.java
index 06dc8b7a43..8d300e3e92 100644
--- a/modAionBase/src/org/aion/base/type/IBlockSummary.java
+++ b/modAionBase/src/org/aion/base/type/IBlockSummary.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
import java.util.List;
diff --git a/modAionBase/src/org/aion/base/type/IExecutionResult.java b/modAionBase/src/org/aion/base/type/IExecutionResult.java
index eb60494235..c0e0d1b293 100644
--- a/modAionBase/src/org/aion/base/type/IExecutionResult.java
+++ b/modAionBase/src/org/aion/base/type/IExecutionResult.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.type;
public interface IExecutionResult {
diff --git a/modAionBase/src/org/aion/base/type/IPowBlockHeader.java b/modAionBase/src/org/aion/base/type/IPowBlockHeader.java
index 9dfa4d3f0a..85fbaf10e1 100644
--- a/modAionBase/src/org/aion/base/type/IPowBlockHeader.java
+++ b/modAionBase/src/org/aion/base/type/IPowBlockHeader.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/type/ISolution.java b/modAionBase/src/org/aion/base/type/ISolution.java
index bae6655c9e..04fd8797a1 100644
--- a/modAionBase/src/org/aion/base/type/ISolution.java
+++ b/modAionBase/src/org/aion/base/type/ISolution.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
/** Interface for any PoW and PoI miner solution. */
diff --git a/modAionBase/src/org/aion/base/type/ITransaction.java b/modAionBase/src/org/aion/base/type/ITransaction.java
index caf582bbee..75f0cb0109 100644
--- a/modAionBase/src/org/aion/base/type/ITransaction.java
+++ b/modAionBase/src/org/aion/base/type/ITransaction.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.type;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/type/ITxExecSummary.java b/modAionBase/src/org/aion/base/type/ITxExecSummary.java
index d341587aa5..1589e0722b 100644
--- a/modAionBase/src/org/aion/base/type/ITxExecSummary.java
+++ b/modAionBase/src/org/aion/base/type/ITxExecSummary.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.type;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/type/ITxReceipt.java b/modAionBase/src/org/aion/base/type/ITxReceipt.java
index ea32d77eaa..728d3a4c66 100644
--- a/modAionBase/src/org/aion/base/type/ITxReceipt.java
+++ b/modAionBase/src/org/aion/base/type/ITxReceipt.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.type;
import java.util.List;
diff --git a/modAionBase/src/org/aion/base/util/AbstractMap.java b/modAionBase/src/org/aion/base/util/AbstractMap.java
index 6a6b696703..6874fd1c2c 100644
--- a/modAionBase/src/org/aion/base/util/AbstractMap.java
+++ b/modAionBase/src/org/aion/base/util/AbstractMap.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.AbstractCollection;
diff --git a/modAionBase/src/org/aion/base/util/BIUtil.java b/modAionBase/src/org/aion/base/util/BIUtil.java
index e3e84af490..7ad7e5796e 100644
--- a/modAionBase/src/org/aion/base/util/BIUtil.java
+++ b/modAionBase/src/org/aion/base/util/BIUtil.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/util/ByteArrayMap.java b/modAionBase/src/org/aion/base/util/ByteArrayMap.java
index fb7e3f5164..f707910339 100644
--- a/modAionBase/src/org/aion/base/util/ByteArrayMap.java
+++ b/modAionBase/src/org/aion/base/util/ByteArrayMap.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.Arrays;
diff --git a/modAionBase/src/org/aion/base/util/ByteArrayWrapper.java b/modAionBase/src/org/aion/base/util/ByteArrayWrapper.java
index 62214119ae..67d9e10fd8 100644
--- a/modAionBase/src/org/aion/base/util/ByteArrayWrapper.java
+++ b/modAionBase/src/org/aion/base/util/ByteArrayWrapper.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.Serializable;
diff --git a/modAionBase/src/org/aion/base/util/ByteUtil.java b/modAionBase/src/org/aion/base/util/ByteUtil.java
index 7ec6b8daf0..ddfa984950 100644
--- a/modAionBase/src/org/aion/base/util/ByteUtil.java
+++ b/modAionBase/src/org/aion/base/util/ByteUtil.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.ByteArrayOutputStream;
@@ -44,6 +9,8 @@
import java.util.HashSet;
import java.util.Set;
+/** @apiNote This functionality is migrated to modUtil. Use that class instead. */
+@Deprecated
public class ByteUtil {
public static final byte[] EMPTY_WORD = new byte[32];
diff --git a/modAionBase/src/org/aion/base/util/Bytesable.java b/modAionBase/src/org/aion/base/util/Bytesable.java
index 5fd99b8862..ae6bc4189a 100644
--- a/modAionBase/src/org/aion/base/util/Bytesable.java
+++ b/modAionBase/src/org/aion/base/util/Bytesable.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
/** @author jin */
diff --git a/modAionBase/src/org/aion/base/util/Copyable.java b/modAionBase/src/org/aion/base/util/Copyable.java
index 05de01ddcb..5a3dc0daec 100644
--- a/modAionBase/src/org/aion/base/util/Copyable.java
+++ b/modAionBase/src/org/aion/base/util/Copyable.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
/**
diff --git a/modAionBase/src/org/aion/base/util/ExecutorPipeline.java b/modAionBase/src/org/aion/base/util/ExecutorPipeline.java
index 4d384cd46e..399d18e3d8 100644
--- a/modAionBase/src/org/aion/base/util/ExecutorPipeline.java
+++ b/modAionBase/src/org/aion/base/util/ExecutorPipeline.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.HashMap;
diff --git a/modAionBase/src/org/aion/base/util/FastByteComparisons.java b/modAionBase/src/org/aion/base/util/FastByteComparisons.java
index 8f1463e947..1cbfb79740 100644
--- a/modAionBase/src/org/aion/base/util/FastByteComparisons.java
+++ b/modAionBase/src/org/aion/base/util/FastByteComparisons.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.Arrays;
diff --git a/modAionBase/src/org/aion/base/util/Functional.java b/modAionBase/src/org/aion/base/util/Functional.java
index 1a0e158100..1bfd9fb3eb 100644
--- a/modAionBase/src/org/aion/base/util/Functional.java
+++ b/modAionBase/src/org/aion/base/util/Functional.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
public interface Functional {
diff --git a/modAionBase/src/org/aion/base/util/HashMap.java b/modAionBase/src/org/aion/base/util/HashMap.java
index 814ed0f6d0..a3f6547012 100644
--- a/modAionBase/src/org/aion/base/util/HashMap.java
+++ b/modAionBase/src/org/aion/base/util/HashMap.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.IOException;
diff --git a/modAionBase/src/org/aion/base/util/Hex.java b/modAionBase/src/org/aion/base/util/Hex.java
index 1a79fd8aab..0fb02b3ae4 100644
--- a/modAionBase/src/org/aion/base/util/Hex.java
+++ b/modAionBase/src/org/aion/base/util/Hex.java
@@ -1,45 +1,15 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
-/** Utility class for converting hex data to bytes and back again. */
+/**
+ * Utility class for converting hex data to bytes and back again.
+ *
+ * @apiNote This functionality is migrated to modUtil. Use that class instead.
+ */
+@Deprecated
public class Hex {
private static final HexEncoder encoder = new HexEncoder();
diff --git a/modAionBase/src/org/aion/base/util/HexEncoder.java b/modAionBase/src/org/aion/base/util/HexEncoder.java
index d3e43e063f..f8d688f406 100644
--- a/modAionBase/src/org/aion/base/util/HexEncoder.java
+++ b/modAionBase/src/org/aion/base/util/HexEncoder.java
@@ -1,44 +1,14 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.IOException;
import java.io.OutputStream;
-/** A streaming Hex encoder. */
+/**
+ * A streaming Hex encoder.
+ *
+ * @apiNote This functionality is migrated to modUtil. Use that class instead.
+ */
+@Deprecated
public class HexEncoder {
protected final byte[] encodingTable = {
diff --git a/modAionBase/src/org/aion/base/util/ImmutableByteArrayWrapper.java b/modAionBase/src/org/aion/base/util/ImmutableByteArrayWrapper.java
index b763483a8f..3c526c039b 100644
--- a/modAionBase/src/org/aion/base/util/ImmutableByteArrayWrapper.java
+++ b/modAionBase/src/org/aion/base/util/ImmutableByteArrayWrapper.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.Arrays;
diff --git a/modAionBase/src/org/aion/base/util/MAF.java b/modAionBase/src/org/aion/base/util/MAF.java
index 810daa5559..bfadee0d60 100644
--- a/modAionBase/src/org/aion/base/util/MAF.java
+++ b/modAionBase/src/org/aion/base/util/MAF.java
@@ -1,27 +1,4 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
import java.util.ArrayDeque;
diff --git a/modAionBase/src/org/aion/base/util/MAFast.java b/modAionBase/src/org/aion/base/util/MAFast.java
index ae2e2a8add..3c11566f4f 100644
--- a/modAionBase/src/org/aion/base/util/MAFast.java
+++ b/modAionBase/src/org/aion/base/util/MAFast.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
/**
diff --git a/modAionBase/src/org/aion/base/util/NativeLoader.java b/modAionBase/src/org/aion/base/util/NativeLoader.java
index 9e52bf5683..3e00ed14b4 100644
--- a/modAionBase/src/org/aion/base/util/NativeLoader.java
+++ b/modAionBase/src/org/aion/base/util/NativeLoader.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.io.File;
@@ -48,7 +13,9 @@
* Native library loader.
*
* @author jin
+ * @apiNote This functionality is migrated to modUtil. Use that class instead.
*/
+@Deprecated
public class NativeLoader {
/**
diff --git a/modAionBase/src/org/aion/base/util/TimeInstant.java b/modAionBase/src/org/aion/base/util/TimeInstant.java
index f33014a81a..f1b63fdd5a 100644
--- a/modAionBase/src/org/aion/base/util/TimeInstant.java
+++ b/modAionBase/src/org/aion/base/util/TimeInstant.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.time.Instant;
diff --git a/modAionBase/src/org/aion/base/util/TimeUtils.java b/modAionBase/src/org/aion/base/util/TimeUtils.java
index 8c3c7f8262..cbfa2bc6b2 100644
--- a/modAionBase/src/org/aion/base/util/TimeUtils.java
+++ b/modAionBase/src/org/aion/base/util/TimeUtils.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
public class TimeUtils {
diff --git a/modAionBase/src/org/aion/base/util/TypeConverter.java b/modAionBase/src/org/aion/base/util/TypeConverter.java
index fb60f2c1f9..16e0483023 100644
--- a/modAionBase/src/org/aion/base/util/TypeConverter.java
+++ b/modAionBase/src/org/aion/base/util/TypeConverter.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.math.BigInteger;
diff --git a/modAionBase/src/org/aion/base/util/Utils.java b/modAionBase/src/org/aion/base/util/Utils.java
index b19cdacba0..81cce12e01 100644
--- a/modAionBase/src/org/aion/base/util/Utils.java
+++ b/modAionBase/src/org/aion/base/util/Utils.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
// import java.lang.reflect.Array;
diff --git a/modAionBase/src/org/aion/base/vm/IDataWord.java b/modAionBase/src/org/aion/base/vm/IDataWord.java
index 99fc1c8627..fb4021b7f3 100644
--- a/modAionBase/src/org/aion/base/vm/IDataWord.java
+++ b/modAionBase/src/org/aion/base/vm/IDataWord.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.vm;
/** @author jay */
diff --git a/modAionBase/test/org/aion/base/type/AddressTest.java b/modAionBase/test/org/aion/base/type/AddressTest.java
index e081886cdd..7101312aff 100644
--- a/modAionBase/test/org/aion/base/type/AddressTest.java
+++ b/modAionBase/test/org/aion/base/type/AddressTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.type;
import static org.junit.Assert.assertEquals;
diff --git a/modAionBase/test/org/aion/base/type/Hash256Test.java b/modAionBase/test/org/aion/base/type/Hash256Test.java
index 187f5447ec..d4acf2d494 100644
--- a/modAionBase/test/org/aion/base/type/Hash256Test.java
+++ b/modAionBase/test/org/aion/base/type/Hash256Test.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.type;
import static org.junit.Assert.assertEquals;
diff --git a/modAionBase/test/org/aion/base/util/AddressValidationTest.java b/modAionBase/test/org/aion/base/util/AddressValidationTest.java
index 1a5e5fca20..601d6ff532 100644
--- a/modAionBase/test/org/aion/base/util/AddressValidationTest.java
+++ b/modAionBase/test/org/aion/base/util/AddressValidationTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
import static org.junit.Assert.assertEquals;
diff --git a/modAionBase/test/org/aion/base/util/BIUtilTest.java b/modAionBase/test/org/aion/base/util/BIUtilTest.java
index d6bf8d20b1..b2628dd668 100644
--- a/modAionBase/test/org/aion/base/util/BIUtilTest.java
+++ b/modAionBase/test/org/aion/base/util/BIUtilTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
import static org.aion.base.util.BIUtil.isCovers;
diff --git a/modAionBase/test/org/aion/base/util/ByteArrayWrapperTest.java b/modAionBase/test/org/aion/base/util/ByteArrayWrapperTest.java
index 00f0a333db..6c0c108247 100644
--- a/modAionBase/test/org/aion/base/util/ByteArrayWrapperTest.java
+++ b/modAionBase/test/org/aion/base/util/ByteArrayWrapperTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import static org.aion.base.util.ByteUtil.hexStringToBytes;
diff --git a/modAionBase/test/org/aion/base/util/ByteUtilTest.java b/modAionBase/test/org/aion/base/util/ByteUtilTest.java
index 27d951c519..849a63d422 100644
--- a/modAionBase/test/org/aion/base/util/ByteUtilTest.java
+++ b/modAionBase/test/org/aion/base/util/ByteUtilTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
import static org.aion.base.util.ByteUtil.and;
diff --git a/modAionBase/test/org/aion/base/util/MAFTest.java b/modAionBase/test/org/aion/base/util/MAFTest.java
index 6e07565fb5..75c84632e1 100644
--- a/modAionBase/test/org/aion/base/util/MAFTest.java
+++ b/modAionBase/test/org/aion/base/util/MAFTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.base.util;
import java.util.concurrent.ThreadLocalRandom;
diff --git a/modAionBase/test/org/aion/base/util/SizeParseTest.java b/modAionBase/test/org/aion/base/util/SizeParseTest.java
index 4bf85f99f6..680ddebb6d 100644
--- a/modAionBase/test/org/aion/base/util/SizeParseTest.java
+++ b/modAionBase/test/org/aion/base/util/SizeParseTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.base.util;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/src/org/aion/equihash/EquiUtils.java b/modAionImpl/src/org/aion/equihash/EquiUtils.java
index 4f7b0de790..170c5de2b5 100644
--- a/modAionImpl/src/org/aion/equihash/EquiUtils.java
+++ b/modAionImpl/src/org/aion/equihash/EquiUtils.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.ByteUtil.bytesToInts;
diff --git a/modAionImpl/src/org/aion/equihash/EquiValidator.java b/modAionImpl/src/org/aion/equihash/EquiValidator.java
index eadedfd4f1..25df6e8bf7 100644
--- a/modAionImpl/src/org/aion/equihash/EquiValidator.java
+++ b/modAionImpl/src/org/aion/equihash/EquiValidator.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.ByteUtil.bytesToInts;
diff --git a/modAionImpl/src/org/aion/equihash/Equihash.java b/modAionImpl/src/org/aion/equihash/Equihash.java
index fe305a9746..f6014a7dcc 100644
--- a/modAionImpl/src/org/aion/equihash/Equihash.java
+++ b/modAionImpl/src/org/aion/equihash/Equihash.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.ByteUtil.merge;
diff --git a/modAionImpl/src/org/aion/equihash/EquihashMiner.java b/modAionImpl/src/org/aion/equihash/EquihashMiner.java
index 44cd27b27d..dd17f65507 100644
--- a/modAionImpl/src/org/aion/equihash/EquihashMiner.java
+++ b/modAionImpl/src/org/aion/equihash/EquihashMiner.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.Hex.toHexString;
diff --git a/modAionImpl/src/org/aion/equihash/FullStepRow.java b/modAionImpl/src/org/aion/equihash/FullStepRow.java
index e027822d76..2048151603 100644
--- a/modAionImpl/src/org/aion/equihash/FullStepRow.java
+++ b/modAionImpl/src/org/aion/equihash/FullStepRow.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.ByteUtil.intToBytes;
diff --git a/modAionImpl/src/org/aion/equihash/OptimizedEquiValidator.java b/modAionImpl/src/org/aion/equihash/OptimizedEquiValidator.java
index 6a45f77a04..bcfe85f47f 100644
--- a/modAionImpl/src/org/aion/equihash/OptimizedEquiValidator.java
+++ b/modAionImpl/src/org/aion/equihash/OptimizedEquiValidator.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import static org.aion.base.util.ByteUtil.intToBytesLE;
diff --git a/modAionImpl/src/org/aion/equihash/Solution.java b/modAionImpl/src/org/aion/equihash/Solution.java
index 10b73b502f..60e0574a3a 100644
--- a/modAionImpl/src/org/aion/equihash/Solution.java
+++ b/modAionImpl/src/org/aion/equihash/Solution.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
import org.aion.base.type.ISolution;
diff --git a/modAionImpl/src/org/aion/equihash/StepRow.java b/modAionImpl/src/org/aion/equihash/StepRow.java
index 5bb96c4fe4..3783a1463f 100644
--- a/modAionImpl/src/org/aion/equihash/StepRow.java
+++ b/modAionImpl/src/org/aion/equihash/StepRow.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.equihash;
class StepRow {
diff --git a/modAionImpl/src/org/aion/net/Peer.java b/modAionImpl/src/org/aion/net/Peer.java
index d3871a63e5..56dde2823a 100644
--- a/modAionImpl/src/org/aion/net/Peer.java
+++ b/modAionImpl/src/org/aion/net/Peer.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.net;
import java.util.LinkedHashSet;
diff --git a/modAionImpl/src/org/aion/net/PeerSet.java b/modAionImpl/src/org/aion/net/PeerSet.java
index 68524e7cfb..5cf2e1a204 100644
--- a/modAionImpl/src/org/aion/net/PeerSet.java
+++ b/modAionImpl/src/org/aion/net/PeerSet.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.net;
/** Represents the application specific set of peers currently connected to this node */
diff --git a/modAionImpl/src/org/aion/utils/HeapDumper.java b/modAionImpl/src/org/aion/utils/HeapDumper.java
index 172e623e46..18965a78ae 100644
--- a/modAionImpl/src/org/aion/utils/HeapDumper.java
+++ b/modAionImpl/src/org/aion/utils/HeapDumper.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.utils;
import com.sun.management.HotSpotDiagnosticMXBean;
diff --git a/modAionImpl/src/org/aion/utils/NativeLibrary.java b/modAionImpl/src/org/aion/utils/NativeLibrary.java
index 4ca37fac8e..1637831c95 100644
--- a/modAionImpl/src/org/aion/utils/NativeLibrary.java
+++ b/modAionImpl/src/org/aion/utils/NativeLibrary.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.utils;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/utils/TaskDumpHeap.java b/modAionImpl/src/org/aion/utils/TaskDumpHeap.java
index 443303cc11..cc7a12580a 100644
--- a/modAionImpl/src/org/aion/utils/TaskDumpHeap.java
+++ b/modAionImpl/src/org/aion/utils/TaskDumpHeap.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.utils;
import java.io.File;
diff --git a/modAionImpl/src/org/aion/utils/TaskDumpThreadsAndBlocks.java b/modAionImpl/src/org/aion/utils/TaskDumpThreadsAndBlocks.java
index e0f1a0c191..cdd4684514 100644
--- a/modAionImpl/src/org/aion/utils/TaskDumpThreadsAndBlocks.java
+++ b/modAionImpl/src/org/aion/utils/TaskDumpThreadsAndBlocks.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.utils;
import java.io.IOException;
diff --git a/modAionImpl/src/org/aion/utils/ThreadDumper.java b/modAionImpl/src/org/aion/utils/ThreadDumper.java
index b0ae7d29ce..88720e4cba 100644
--- a/modAionImpl/src/org/aion/utils/ThreadDumper.java
+++ b/modAionImpl/src/org/aion/utils/ThreadDumper.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.utils;
import java.lang.management.LockInfo;
diff --git a/modAionImpl/src/org/aion/zero/impl/A0BCConfig.java b/modAionImpl/src/org/aion/zero/impl/A0BCConfig.java
index 07f7444010..75c1a5fdac 100644
--- a/modAionImpl/src/org/aion/zero/impl/A0BCConfig.java
+++ b/modAionImpl/src/org/aion/zero/impl/A0BCConfig.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import org.aion.base.type.Address;
diff --git a/modAionImpl/src/org/aion/zero/impl/AionBlockLoader.java b/modAionImpl/src/org/aion/zero/impl/AionBlockLoader.java
index d047878f7c..f50b405a6c 100644
--- a/modAionImpl/src/org/aion/zero/impl/AionBlockLoader.java
+++ b/modAionImpl/src/org/aion/zero/impl/AionBlockLoader.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import java.text.DateFormat;
diff --git a/modAionImpl/src/org/aion/zero/impl/AionBlockchainImpl.java b/modAionImpl/src/org/aion/zero/impl/AionBlockchainImpl.java
index 54ef1c80c2..34407005e5 100644
--- a/modAionImpl/src/org/aion/zero/impl/AionBlockchainImpl.java
+++ b/modAionImpl/src/org/aion/zero/impl/AionBlockchainImpl.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import static java.lang.Math.max;
diff --git a/modAionImpl/src/org/aion/zero/impl/AionGenesis.java b/modAionImpl/src/org/aion/zero/impl/AionGenesis.java
index 1187e3e8f9..654c757c87 100644
--- a/modAionImpl/src/org/aion/zero/impl/AionGenesis.java
+++ b/modAionImpl/src/org/aion/zero/impl/AionGenesis.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/AionHub.java b/modAionImpl/src/org/aion/zero/impl/AionHub.java
index b2796de5c0..7418ff04a7 100644
--- a/modAionImpl/src/org/aion/zero/impl/AionHub.java
+++ b/modAionImpl/src/org/aion/zero/impl/AionHub.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static org.aion.crypto.HashUtil.EMPTY_TRIE_HASH;
diff --git a/modAionImpl/src/org/aion/zero/impl/AionHubUtils.java b/modAionImpl/src/org/aion/zero/impl/AionHubUtils.java
index b8dc35c2f2..4f7dfbde49 100644
--- a/modAionImpl/src/org/aion/zero/impl/AionHubUtils.java
+++ b/modAionImpl/src/org/aion/zero/impl/AionHubUtils.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/BlockContext.java b/modAionImpl/src/org/aion/zero/impl/BlockContext.java
index 68a5cceabb..c6888c8979 100644
--- a/modAionImpl/src/org/aion/zero/impl/BlockContext.java
+++ b/modAionImpl/src/org/aion/zero/impl/BlockContext.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/GenesisBlockLoader.java b/modAionImpl/src/org/aion/zero/impl/GenesisBlockLoader.java
index 10f2dbf5b4..dddbe132fe 100644
--- a/modAionImpl/src/org/aion/zero/impl/GenesisBlockLoader.java
+++ b/modAionImpl/src/org/aion/zero/impl/GenesisBlockLoader.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import com.google.common.io.ByteStreams;
diff --git a/modAionImpl/src/org/aion/zero/impl/StandaloneBlockchain.java b/modAionImpl/src/org/aion/zero/impl/StandaloneBlockchain.java
index ece41c2bcd..c3b2bd0644 100644
--- a/modAionImpl/src/org/aion/zero/impl/StandaloneBlockchain.java
+++ b/modAionImpl/src/org/aion/zero/impl/StandaloneBlockchain.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/Version.java b/modAionImpl/src/org/aion/zero/impl/Version.java
index 68ce7ff624..2a09c4f6a5 100644
--- a/modAionImpl/src/org/aion/zero/impl/Version.java
+++ b/modAionImpl/src/org/aion/zero/impl/Version.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
public class Version {
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/AionFactory.java b/modAionImpl/src/org/aion/zero/impl/blockchain/AionFactory.java
index c6830dd35b..420ff63a47 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/AionFactory.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/AionFactory.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.blockchain;
import org.aion.log.AionLoggerFactory;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/AionImpl.java b/modAionImpl/src/org/aion/zero/impl/blockchain/AionImpl.java
index 2ab0601226..e48da830a1 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/AionImpl.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/AionImpl.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/AionPendingStateImpl.java b/modAionImpl/src/org/aion/zero/impl/blockchain/AionPendingStateImpl.java
index 6dbe7a0275..2094e93ebc 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/AionPendingStateImpl.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/AionPendingStateImpl.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/ChainConfiguration.java b/modAionImpl/src/org/aion/zero/impl/blockchain/ChainConfiguration.java
index 656df70bfe..9468678865 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/ChainConfiguration.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/ChainConfiguration.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/IAionChain.java b/modAionImpl/src/org/aion/zero/impl/blockchain/IAionChain.java
index f865c06f8d..4e43cfba7a 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/IAionChain.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/IAionChain.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/PendingTxCache.java b/modAionImpl/src/org/aion/zero/impl/blockchain/PendingTxCache.java
index f28fe1b515..13924503cd 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/PendingTxCache.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/PendingTxCache.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/blockchain/PoolDumpUtils.java b/modAionImpl/src/org/aion/zero/impl/blockchain/PoolDumpUtils.java
index c477a734bd..4ded39ed08 100644
--- a/modAionImpl/src/org/aion/zero/impl/blockchain/PoolDumpUtils.java
+++ b/modAionImpl/src/org/aion/zero/impl/blockchain/PoolDumpUtils.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import org.aion.zero.impl.AionHub;
diff --git a/modAionImpl/src/org/aion/zero/impl/cli/Arguments.java b/modAionImpl/src/org/aion/zero/impl/cli/Arguments.java
index 1191167604..aadd963a53 100644
--- a/modAionImpl/src/org/aion/zero/impl/cli/Arguments.java
+++ b/modAionImpl/src/org/aion/zero/impl/cli/Arguments.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.cli;
import java.util.ArrayList;
@@ -126,6 +103,11 @@ public class Arguments {
description = "execute kernel with selected database directory")
private String directory = null;
+ @Option(
+ names = {"-p", "--port"},
+ description = "execute kernel with selected port")
+ private String port = null;
+
// offline database query and update
@Option(
names = {"ps", "--state"},
@@ -240,6 +222,10 @@ public String getDirectory() {
return directory;
}
+ public String getPort() {
+ return port;
+ }
+
public String getPruneStateOption() {
return pruntStateOption;
}
diff --git a/modAionImpl/src/org/aion/zero/impl/cli/Cli.java b/modAionImpl/src/org/aion/zero/impl/cli/Cli.java
index 2d7d36d4bb..f066b84271 100644
--- a/modAionImpl/src/org/aion/zero/impl/cli/Cli.java
+++ b/modAionImpl/src/org/aion/zero/impl/cli/Cli.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.cli;
import static org.aion.zero.impl.cli.Cli.ReturnType.ERROR;
@@ -191,7 +168,37 @@ public ReturnType call(final String[] args, Cfg cfg) {
// true means the UUID must be set
boolean overwrite = cfg.fromXML(configFile);
- // 4. can be influenced by the -d argument above
+ // determine the port configuration, can be combined with the -n, -d, -c, -i arguments
+ if (options.getPort() != null) {
+
+ int currentPort = cfg.getNet().getP2p().getPort();
+ int portNumber = currentPort;
+ boolean validPort = true;
+
+ try {
+ portNumber = Integer.parseInt(options.getPort());
+ } catch (NumberFormatException e) {
+ validPort = false;
+ System.out.println("Port must be an integer value");
+ }
+
+ if (portNumber < 0 || portNumber > 0xFFFF) {
+ validPort = false;
+ System.out.println("Port out of range: " + portNumber);
+ }
+
+ if (validPort && portNumber != currentPort) {
+ // update port in config
+ cfg.getNet().getP2p().setPort(portNumber);
+ overwrite = true;
+ System.out.println("Port set to: " + portNumber);
+ } else {
+ System.out.println("Using the current port configuration: " + currentPort);
+ }
+ // no return, allow for other parameters combined with -p
+ }
+
+ // 4. can be influenced by the -n, -d, -p arguments above
if (options.getConfig() != null) {
// network was already set above
@@ -229,15 +236,15 @@ public ReturnType call(final String[] args, Cfg cfg) {
return ReturnType.EXIT;
}
- // 5. options that can be influenced by the -d and -n arguments
+ // 5. options that can be influenced by the -d, -n and -p arguments
if (options.isInfo()) {
System.out.println(
"Reading config file from: "
+ getRelativePath(configFile.getAbsolutePath()));
if (overwrite) {
- // updating the file in case the user id was not set
- cfg.toXML(new String[] {"--id=" + cfg.getId()}, configFile);
+ // updating the file in case the user id was not set; overwrite port
+ cfg.toXML(null, configFile);
}
printInfo(cfg);
return ReturnType.EXIT;
@@ -247,8 +254,8 @@ public ReturnType call(final String[] args, Cfg cfg) {
makeDirs(configFile, forkFile, cfg);
if (overwrite) {
- // only updating the file in case the user id was not set
- cfg.toXML(new String[] {"--id=" + cfg.getId()}, cfg.getExecConfigFile());
+ // updating the file in case the user id was not set; overwrite port
+ cfg.toXML(null, cfg.getExecConfigFile());
}
// set correct keystore directory
@@ -861,6 +868,9 @@ Set getSkippedTasks(Arguments options, TaskPriority breakingTaskPriority
if (options.getDirectory() != null) {
skippedTasks.add("--datadir");
}
+ if (options.getPort() != null) {
+ skippedTasks.add("--port");
+ }
if (options.getConfig() != null) {
skippedTasks.add("--config");
}
diff --git a/modAionImpl/src/org/aion/zero/impl/config/CfgAion.java b/modAionImpl/src/org/aion/zero/impl/config/CfgAion.java
index 0b07d5223b..c491f63dac 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/CfgAion.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/CfgAion.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config;
import com.google.common.base.Objects;
@@ -345,7 +322,9 @@ public void toXML(final String[] args, File file) {
if (subArgsArr.length > 0) {
List _nodes = new ArrayList<>();
for (String subArg : subArgsArr) {
- if (!subArg.equals("")) _nodes.add(subArg);
+ if (!subArg.equals("")) {
+ _nodes.add(subArg);
+ }
}
this.getNet().setNodes(_nodes.toArray(new String[0]));
}
@@ -354,7 +333,9 @@ public void toXML(final String[] args, File file) {
override = true;
String[] subArgsArr = arg.replace("--p2p=", "").split(",");
if (subArgsArr.length == 2) {
- this.getNet().getP2p().setIp(subArgsArr[0]);
+ if (!subArgsArr[0].equals("")) {
+ this.getNet().getP2p().setIp(subArgsArr[0]);
+ }
this.getNet().getP2p().setPort(Integer.parseInt(subArgsArr[1]));
}
}
diff --git a/modAionImpl/src/org/aion/zero/impl/config/CfgConsensusPow.java b/modAionImpl/src/org/aion/zero/impl/config/CfgConsensusPow.java
index a7d9ae7120..33231e92e6 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/CfgConsensusPow.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/CfgConsensusPow.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config;
import java.io.IOException;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/CfgEnergyStrategy.java b/modAionImpl/src/org/aion/zero/impl/config/CfgEnergyStrategy.java
index 7cafe21d46..ab931d5844 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/CfgEnergyStrategy.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/CfgEnergyStrategy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config;
import static org.aion.zero.impl.core.energy.EnergyStrategies.CLAMPED_DECAYING;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/Network.java b/modAionImpl/src/org/aion/zero/impl/config/Network.java
index 004f57d1a8..0699cfb0ca 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/Network.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/Network.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config;
import java.util.Arrays;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/ConfigProposalResult.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/ConfigProposalResult.java
index 04090fcf5a..d3b9495c40 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/ConfigProposalResult.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/ConfigProposalResult.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import java.io.Serializable;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/DynamicConfigKeyRegistry.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/DynamicConfigKeyRegistry.java
index e648a6e1d2..319a6f6757 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/DynamicConfigKeyRegistry.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/DynamicConfigKeyRegistry.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import com.google.common.annotations.VisibleForTesting;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/IDynamicConfigApplier.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/IDynamicConfigApplier.java
index 0f73f23cdd..d82594d1d8 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/IDynamicConfigApplier.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/IDynamicConfigApplier.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import org.aion.mcf.config.Cfg;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeException.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeException.java
index 4a26132de4..2076f81242 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeException.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeException.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
public class InFlightConfigChangeException extends Exception {
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeNotAllowedException.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeNotAllowedException.java
index 1a25d838e6..8148ed3d08 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeNotAllowedException.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeNotAllowedException.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
public class InFlightConfigChangeNotAllowedException extends InFlightConfigChangeException {
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeResult.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeResult.java
index 0a8bdf3683..c11d85e7f7 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeResult.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigChangeResult.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
public class InFlightConfigChangeResult {
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiver.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiver.java
index e6fade3408..4140457b06 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiver.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiver.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import com.google.common.annotations.VisibleForTesting;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiverMBean.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiverMBean.java
index 002121a7b2..dde8abca0f 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiverMBean.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/InFlightConfigReceiverMBean.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import javax.xml.stream.XMLStreamReader;
diff --git a/modAionImpl/src/org/aion/zero/impl/config/dynamic/RollbackException.java b/modAionImpl/src/org/aion/zero/impl/config/dynamic/RollbackException.java
index 32816ca4b2..46c18cbc97 100644
--- a/modAionImpl/src/org/aion/zero/impl/config/dynamic/RollbackException.java
+++ b/modAionImpl/src/org/aion/zero/impl/config/dynamic/RollbackException.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.config.dynamic;
import java.util.LinkedList;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/BloomFilter.java b/modAionImpl/src/org/aion/zero/impl/core/BloomFilter.java
index da6e458793..726ad72995 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/BloomFilter.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/BloomFilter.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core;
import org.aion.base.type.Address;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/DiffCalc.java b/modAionImpl/src/org/aion/zero/impl/core/DiffCalc.java
index fb66cbd1aa..8fcdafa2f4 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/DiffCalc.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/DiffCalc.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core;
import static org.aion.base.util.BIUtil.max;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/IAionBlockchain.java b/modAionImpl/src/org/aion/zero/impl/core/IAionBlockchain.java
index 423939a3ca..bf1568b8ed 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/IAionBlockchain.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/IAionBlockchain.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/RewardsCalculator.java b/modAionImpl/src/org/aion/zero/impl/core/RewardsCalculator.java
index ceffcb759a..e425310e81 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/RewardsCalculator.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/RewardsCalculator.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/AbstractEnergyStrategyLimit.java b/modAionImpl/src/org/aion/zero/impl/core/energy/AbstractEnergyStrategyLimit.java
index 66172edb2f..6658caf421 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/AbstractEnergyStrategyLimit.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/AbstractEnergyStrategyLimit.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import org.aion.zero.types.A0BlockHeader;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/ClampedDecayStrategy.java b/modAionImpl/src/org/aion/zero/impl/core/energy/ClampedDecayStrategy.java
index 92cb9f346f..3cd724c9bd 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/ClampedDecayStrategy.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/ClampedDecayStrategy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import org.aion.zero.types.A0BlockHeader;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/DecayStrategy.java b/modAionImpl/src/org/aion/zero/impl/core/energy/DecayStrategy.java
index 433b204664..65a570695c 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/DecayStrategy.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/DecayStrategy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import org.aion.zero.types.A0BlockHeader;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/EnergyStrategies.java b/modAionImpl/src/org/aion/zero/impl/core/energy/EnergyStrategies.java
index 4126b93d5b..6a48d390e6 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/EnergyStrategies.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/EnergyStrategies.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import java.util.HashMap;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/MonotonicallyIncreasingStrategy.java b/modAionImpl/src/org/aion/zero/impl/core/energy/MonotonicallyIncreasingStrategy.java
index 26745bf8b8..756b4f4270 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/MonotonicallyIncreasingStrategy.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/MonotonicallyIncreasingStrategy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import org.aion.zero.types.A0BlockHeader;
diff --git a/modAionImpl/src/org/aion/zero/impl/core/energy/TargetStrategy.java b/modAionImpl/src/org/aion/zero/impl/core/energy/TargetStrategy.java
index c5cfd967fc..25f4c48edd 100644
--- a/modAionImpl/src/org/aion/zero/impl/core/energy/TargetStrategy.java
+++ b/modAionImpl/src/org/aion/zero/impl/core/energy/TargetStrategy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.core.energy;
import org.aion.zero.types.A0BlockHeader;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/AionBlockStore.java b/modAionImpl/src/org/aion/zero/impl/db/AionBlockStore.java
index 9709ec5b5b..97208327ad 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/AionBlockStore.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/AionBlockStore.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.db;
import static java.math.BigInteger.ZERO;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryDummy.java b/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryDummy.java
index 49d9a3b7f4..4cfa6a7d98 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryDummy.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryDummy.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import static org.aion.crypto.HashUtil.h256;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryImpl.java b/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryImpl.java
index 317c8c3398..fd654b15fb 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryImpl.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/AionRepositoryImpl.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import static org.aion.base.util.ByteUtil.EMPTY_BYTE_ARRAY;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/AionTransactionStoreSerializer.java b/modAionImpl/src/org/aion/zero/impl/db/AionTransactionStoreSerializer.java
index cae4af288e..36e6cff543 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/AionTransactionStoreSerializer.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/AionTransactionStoreSerializer.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/ContractDetailsAion.java b/modAionImpl/src/org/aion/zero/impl/db/ContractDetailsAion.java
index 184d85be82..2c18de65b9 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/ContractDetailsAion.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/ContractDetailsAion.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import org.aion.base.db.DetailsProvider;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/PendingBlockStore.java b/modAionImpl/src/org/aion/zero/impl/db/PendingBlockStore.java
index 932309497a..fec3490088 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/PendingBlockStore.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/PendingBlockStore.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import static org.aion.mcf.db.DatabaseUtils.connectAndOpen;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/RecoveryUtils.java b/modAionImpl/src/org/aion/zero/impl/db/RecoveryUtils.java
index 2ca5f68685..79947967c9 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/RecoveryUtils.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/RecoveryUtils.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import java.io.IOException;
diff --git a/modAionImpl/src/org/aion/zero/impl/db/RepositoryConfig.java b/modAionImpl/src/org/aion/zero/impl/db/RepositoryConfig.java
index 697dc832e1..a5190df066 100644
--- a/modAionImpl/src/org/aion/zero/impl/db/RepositoryConfig.java
+++ b/modAionImpl/src/org/aion/zero/impl/db/RepositoryConfig.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.db;
import java.util.Map;
diff --git a/modAionImpl/src/org/aion/zero/impl/pow/AionPoW.java b/modAionImpl/src/org/aion/zero/impl/pow/AionPoW.java
index f6c03c4095..af90496b18 100644
--- a/modAionImpl/src/org/aion/zero/impl/pow/AionPoW.java
+++ b/modAionImpl/src/org/aion/zero/impl/pow/AionPoW.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.pow;
import static org.aion.mcf.core.ImportResult.IMPORTED_BEST;
diff --git a/modAionImpl/src/org/aion/zero/impl/query/BlockQueryInterface.java b/modAionImpl/src/org/aion/zero/impl/query/BlockQueryInterface.java
index 8c87336aa4..64c2b2a522 100644
--- a/modAionImpl/src/org/aion/zero/impl/query/BlockQueryInterface.java
+++ b/modAionImpl/src/org/aion/zero/impl/query/BlockQueryInterface.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.query;
import java.util.Optional;
diff --git a/modAionImpl/src/org/aion/zero/impl/query/QueryInterface.java b/modAionImpl/src/org/aion/zero/impl/query/QueryInterface.java
index 7e7348a502..5ae379d481 100644
--- a/modAionImpl/src/org/aion/zero/impl/query/QueryInterface.java
+++ b/modAionImpl/src/org/aion/zero/impl/query/QueryInterface.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.query;
public interface QueryInterface
diff --git a/modAionImpl/src/org/aion/zero/impl/query/StateQueryInterface.java b/modAionImpl/src/org/aion/zero/impl/query/StateQueryInterface.java
index 5e3da2411c..1507f43c48 100644
--- a/modAionImpl/src/org/aion/zero/impl/query/StateQueryInterface.java
+++ b/modAionImpl/src/org/aion/zero/impl/query/StateQueryInterface.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.query;
import java.util.Optional;
diff --git a/modAionImpl/src/org/aion/zero/impl/query/SyncQueryInterface.java b/modAionImpl/src/org/aion/zero/impl/query/SyncQueryInterface.java
index 3cef70008f..ae4d966375 100644
--- a/modAionImpl/src/org/aion/zero/impl/query/SyncQueryInterface.java
+++ b/modAionImpl/src/org/aion/zero/impl/query/SyncQueryInterface.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.query;
import java.util.Optional;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/Act.java b/modAionImpl/src/org/aion/zero/impl/sync/Act.java
index cf16eb1b28..3a1b69131c 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/Act.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/Act.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync;
/** @author chris */
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/BlocksWrapper.java b/modAionImpl/src/org/aion/zero/impl/sync/BlocksWrapper.java
index 8fd67d04ac..615c463c9e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/BlocksWrapper.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/BlocksWrapper.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/HeaderQuery.java b/modAionImpl/src/org/aion/zero/impl/sync/HeaderQuery.java
index ed2dd8f702..b65a41b941 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/HeaderQuery.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/HeaderQuery.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync;
/** @author chris */
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/HeadersWrapper.java b/modAionImpl/src/org/aion/zero/impl/sync/HeadersWrapper.java
index c997622a7b..b991bd288e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/HeadersWrapper.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/HeadersWrapper.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/NetworkStatus.java b/modAionImpl/src/org/aion/zero/impl/sync/NetworkStatus.java
index d48326f1ee..a3fa9e9bea 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/NetworkStatus.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/NetworkStatus.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/PeerState.java b/modAionImpl/src/org/aion/zero/impl/sync/PeerState.java
index e72579a067..7041f2765d 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/PeerState.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/PeerState.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import static org.aion.p2p.P2pConstant.STEP_COUNT;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/RequestCounter.java b/modAionImpl/src/org/aion/zero/impl/sync/RequestCounter.java
index 9d9eb76a3e..b1d7e95439 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/RequestCounter.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/RequestCounter.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
/**
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/RequestType.java b/modAionImpl/src/org/aion/zero/impl/sync/RequestType.java
index 1ecc8f04c2..56da4cb6d6 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/RequestType.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/RequestType.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
/**
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/SyncAid.java b/modAionImpl/src/org/aion/zero/impl/sync/SyncAid.java
index d462a2f5e0..5a8906cdb8 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/SyncAid.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/SyncAid.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/SyncMgr.java b/modAionImpl/src/org/aion/zero/impl/sync/SyncMgr.java
index 86e424703e..bc134b1b9b 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/SyncMgr.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/SyncMgr.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.sync;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/SyncStats.java b/modAionImpl/src/org/aion/zero/impl/sync/SyncStats.java
index 0eb8706558..c0b3dba823 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/SyncStats.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/SyncStats.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.Collections;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskDropImportedBlocks.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskDropImportedBlocks.java
index 6e2eb8dccc..daf9780b22 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskDropImportedBlocks.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskDropImportedBlocks.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.Arrays;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetBodies.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetBodies.java
index 964746fed0..1f026e218c 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetBodies.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetBodies.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetHeaders.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetHeaders.java
index dfd5248ac1..6d023f35b1 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetHeaders.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetHeaders.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import static org.aion.p2p.P2pConstant.BACKWARD_SYNC_STEP;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetStatus.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetStatus.java
index acc52840b9..780a01a325 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskGetStatus.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskGetStatus.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.concurrent.atomic.AtomicBoolean;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskImportBlocks.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskImportBlocks.java
index f76fcb88da..d8473b2919 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskImportBlocks.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskImportBlocks.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.sync;
import static org.aion.p2p.P2pConstant.COEFFICIENT_NORMAL_PEERS;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskShowStatus.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskShowStatus.java
index 39fcda7bef..1df39d6f6e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskShowStatus.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskShowStatus.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/TaskStorePendingBlocks.java b/modAionImpl/src/org/aion/zero/impl/sync/TaskStorePendingBlocks.java
index 6bd717bf28..c14e15913e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/TaskStorePendingBlocks.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/TaskStorePendingBlocks.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.sync;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/BlockPropagationHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/BlockPropagationHandler.java
index 36ffd7f440..4e015d0f05 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/BlockPropagationHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/BlockPropagationHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastNewBlockHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastNewBlockHandler.java
index 968dcbe689..58a3fbb780 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastNewBlockHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastNewBlockHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import org.aion.base.util.ByteUtil;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastTxHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastTxHandler.java
index 1b83d0b97d..afdc1be5ad 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastTxHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/BroadcastTxHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksBodiesHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksBodiesHandler.java
index a795367d12..177599af57 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksBodiesHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksBodiesHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksHeadersHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksHeadersHandler.java
index e11bdb02ef..bd6689c79a 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksHeadersHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqBlocksHeadersHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqStatusHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqStatusHandler.java
index fabf312428..72516e572b 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqStatusHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ReqStatusHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import org.aion.p2p.Ctrl;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksBodiesHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksBodiesHandler.java
index 86a432181b..664b7255bd 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksBodiesHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksBodiesHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksHeadersHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksHeadersHandler.java
index aa25c315ce..60ad630a4c 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksHeadersHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResBlocksHeadersHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResStatusHandler.java b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResStatusHandler.java
index d7dbf6062d..ffaad0263e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/handler/ResStatusHandler.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/handler/ResStatusHandler.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.handler;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastNewBlock.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastNewBlock.java
index 9410e608b8..ca97001026 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastNewBlock.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastNewBlock.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import org.aion.base.type.IBlock;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastTx.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastTx.java
index cc99fb64cf..48a04f68e8 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastTx.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/BroadcastTx.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksBodies.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksBodies.java
index 7b2bf4205d..1edd52a497 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksBodies.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksBodies.java
@@ -1,37 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
package org.aion.zero.impl.sync.msg;
import java.nio.ByteBuffer;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksHeaders.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksHeaders.java
index f6a6d8e13b..f074c841fa 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksHeaders.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqBlocksHeaders.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import java.nio.ByteBuffer;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqStatus.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqStatus.java
index be7771757d..4564cc2efa 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqStatus.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ReqStatus.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import org.aion.p2p.Ctrl;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksBodies.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksBodies.java
index 14f717b41e..6329ba49c8 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksBodies.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksBodies.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksHeaders.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksHeaders.java
index cfed7b04e8..9e99b6ef1e 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksHeaders.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResBlocksHeaders.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResStatus.java b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResStatus.java
index 581714fdbb..22bac6f53b 100644
--- a/modAionImpl/src/org/aion/zero/impl/sync/msg/ResStatus.java
+++ b/modAionImpl/src/org/aion/zero/impl/sync/msg/ResStatus.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.sync.msg;
import java.nio.ByteBuffer;
diff --git a/modAionImpl/src/org/aion/zero/impl/tx/A0TxTask.java b/modAionImpl/src/org/aion/zero/impl/tx/A0TxTask.java
index afcbeae194..9ff9b7cc84 100644
--- a/modAionImpl/src/org/aion/zero/impl/tx/A0TxTask.java
+++ b/modAionImpl/src/org/aion/zero/impl/tx/A0TxTask.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.tx;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/tx/TxBroadcaster.java b/modAionImpl/src/org/aion/zero/impl/tx/TxBroadcaster.java
index a1d4d1e791..9371425481 100644
--- a/modAionImpl/src/org/aion/zero/impl/tx/TxBroadcaster.java
+++ b/modAionImpl/src/org/aion/zero/impl/tx/TxBroadcaster.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.tx;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/tx/TxCollector.java b/modAionImpl/src/org/aion/zero/impl/tx/TxCollector.java
index 1c08d60519..60d7d78b9b 100644
--- a/modAionImpl/src/org/aion/zero/impl/tx/TxCollector.java
+++ b/modAionImpl/src/org/aion/zero/impl/tx/TxCollector.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.tx;
import java.util.ArrayList;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/AionBlkWrapper.java b/modAionImpl/src/org/aion/zero/impl/types/AionBlkWrapper.java
index 975f72f554..8cae0a6945 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/AionBlkWrapper.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/AionBlkWrapper.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/AionBlock.java b/modAionImpl/src/org/aion/zero/impl/types/AionBlock.java
index 3d22cf3f44..0e5f60942c 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/AionBlock.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/AionBlock.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/AionBlockHeaderWrapper.java b/modAionImpl/src/org/aion/zero/impl/types/AionBlockHeaderWrapper.java
index 2143a9af09..7948c8e3c8 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/AionBlockHeaderWrapper.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/AionBlockHeaderWrapper.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/AionBlockSummary.java b/modAionImpl/src/org/aion/zero/impl/types/AionBlockSummary.java
index a28d662f9f..42fc727273 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/AionBlockSummary.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/AionBlockSummary.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/AionTxInfo.java b/modAionImpl/src/org/aion/zero/impl/types/AionTxInfo.java
index d8a166faa8..b0a15e46cd 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/AionTxInfo.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/AionTxInfo.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/types/RetValidPreBlock.java b/modAionImpl/src/org/aion/zero/impl/types/RetValidPreBlock.java
index 97d7d44f9c..6fc7030b67 100644
--- a/modAionImpl/src/org/aion/zero/impl/types/RetValidPreBlock.java
+++ b/modAionImpl/src/org/aion/zero/impl/types/RetValidPreBlock.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.types;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/AionDifficultyRule.java b/modAionImpl/src/org/aion/zero/impl/valid/AionDifficultyRule.java
index 12b473e08c..ea279dbc3e 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/AionDifficultyRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/AionDifficultyRule.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.valid;
import static org.aion.base.util.BIUtil.isEqual;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/AionExtraDataRule.java b/modAionImpl/src/org/aion/zero/impl/valid/AionExtraDataRule.java
index bf71e9d60a..5b6d34bdbb 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/AionExtraDataRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/AionExtraDataRule.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.valid;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/AionHeaderVersionRule.java b/modAionImpl/src/org/aion/zero/impl/valid/AionHeaderVersionRule.java
index 99d77dc717..171689eff4 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/AionHeaderVersionRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/AionHeaderVersionRule.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/AionPOWRule.java b/modAionImpl/src/org/aion/zero/impl/valid/AionPOWRule.java
index 6901b3beb7..a840805199 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/AionPOWRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/AionPOWRule.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import java.math.BigInteger;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/EnergyConsumedRule.java b/modAionImpl/src/org/aion/zero/impl/valid/EnergyConsumedRule.java
index 1d1a5e08d1..61d3248031 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/EnergyConsumedRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/EnergyConsumedRule.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/EnergyLimitRule.java b/modAionImpl/src/org/aion/zero/impl/valid/EnergyLimitRule.java
index 422966d529..2909f6872d 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/EnergyLimitRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/EnergyLimitRule.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/EquihashSolutionRule.java b/modAionImpl/src/org/aion/zero/impl/valid/EquihashSolutionRule.java
index f0c0838a0e..e593b21599 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/EquihashSolutionRule.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/EquihashSolutionRule.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import java.util.List;
diff --git a/modAionImpl/src/org/aion/zero/impl/valid/TXValidator.java b/modAionImpl/src/org/aion/zero/impl/valid/TXValidator.java
index 26be89be2d..9b5ab4b5cb 100644
--- a/modAionImpl/src/org/aion/zero/impl/valid/TXValidator.java
+++ b/modAionImpl/src/org/aion/zero/impl/valid/TXValidator.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.valid;
import static org.aion.mcf.valid.TxNrgRule.isValidNrgContractCreate;
diff --git a/modAionImpl/src/org/aion/zero/impl/vm/AionExecutorProvider.java b/modAionImpl/src/org/aion/zero/impl/vm/AionExecutorProvider.java
index 1a5ea5fb44..7ca5168e3b 100644
--- a/modAionImpl/src/org/aion/zero/impl/vm/AionExecutorProvider.java
+++ b/modAionImpl/src/org/aion/zero/impl/vm/AionExecutorProvider.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.vm;
import org.aion.base.db.IRepositoryCache;
diff --git a/modAionImpl/test/org/aion/db/AionContractDetailsTest.java b/modAionImpl/test/org/aion/db/AionContractDetailsTest.java
index 146f9835e6..21db8915f8 100644
--- a/modAionImpl/test/org/aion/db/AionContractDetailsTest.java
+++ b/modAionImpl/test/org/aion/db/AionContractDetailsTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.db;
import static org.junit.Assert.assertEquals;
diff --git a/modAionImpl/test/org/aion/db/DoubleDataWordTest.java b/modAionImpl/test/org/aion/db/DoubleDataWordTest.java
index 760d9dcf12..4d3f212f7b 100644
--- a/modAionImpl/test/org/aion/db/DoubleDataWordTest.java
+++ b/modAionImpl/test/org/aion/db/DoubleDataWordTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.db;
import static org.junit.Assert.assertArrayEquals;
diff --git a/modAionImpl/test/org/aion/equihash/EquihashConversionTest210_9.java b/modAionImpl/test/org/aion/equihash/EquihashConversionTest210_9.java
index 6619281d87..84566aeae0 100644
--- a/modAionImpl/test/org/aion/equihash/EquihashConversionTest210_9.java
+++ b/modAionImpl/test/org/aion/equihash/EquihashConversionTest210_9.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.equihash;
import static org.junit.Assert.assertArrayEquals;
diff --git a/modAionImpl/test/org/aion/equihash/EquihashSolutionsGenerationTest210_9.java b/modAionImpl/test/org/aion/equihash/EquihashSolutionsGenerationTest210_9.java
index d764f6f4d0..d63b9bb827 100644
--- a/modAionImpl/test/org/aion/equihash/EquihashSolutionsGenerationTest210_9.java
+++ b/modAionImpl/test/org/aion/equihash/EquihashSolutionsGenerationTest210_9.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.equihash;
import static org.junit.Assert.assertArrayEquals;
diff --git a/modAionImpl/test/org/aion/equihash/EquihashValidatorTest.java b/modAionImpl/test/org/aion/equihash/EquihashValidatorTest.java
index 60b14dc7b6..e748bac3a5 100644
--- a/modAionImpl/test/org/aion/equihash/EquihashValidatorTest.java
+++ b/modAionImpl/test/org/aion/equihash/EquihashValidatorTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.equihash;
import static org.junit.Assert.assertEquals;
diff --git a/modAionImpl/test/org/aion/equihash/benchmark/BatchHeaderBenchmark.java b/modAionImpl/test/org/aion/equihash/benchmark/BatchHeaderBenchmark.java
index c214ef69c7..f8cf34bb47 100644
--- a/modAionImpl/test/org/aion/equihash/benchmark/BatchHeaderBenchmark.java
+++ b/modAionImpl/test/org/aion/equihash/benchmark/BatchHeaderBenchmark.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
// package org.aion.equihash.benchmark;
//
// import org.aion.base.type.Address;
diff --git a/modAionImpl/test/org/aion/util/TestResources.java b/modAionImpl/test/org/aion/util/TestResources.java
index f7a64d5000..baf93c035f 100644
--- a/modAionImpl/test/org/aion/util/TestResources.java
+++ b/modAionImpl/test/org/aion/util/TestResources.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.util;
import java.io.BufferedReader;
diff --git a/modAionImpl/test/org/aion/zero/impl/AionHubTest.java b/modAionImpl/test/org/aion/zero/impl/AionHubTest.java
index bd2c296231..17d99693d4 100644
--- a/modAionImpl/test/org/aion/zero/impl/AionHubTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/AionHubTest.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateBenchmark.java b/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateBenchmark.java
index 17519e2a38..d0932b977e 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateBenchmark.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateBenchmark.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateTest.java
index a9c7bb4efd..a29d96df9a 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainAccountStateTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrencyTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrencyTest.java
index dd8c54a136..a87f023e83 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrencyTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrencyTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrentImportTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrentImportTest.java
index e617239610..32b03aa83b 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrentImportTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainConcurrentImportTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainDataRecoveryTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainDataRecoveryTest.java
index 131437bf17..a686dde19b 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainDataRecoveryTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainDataRecoveryTest.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainDifficultyTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainDifficultyTest.java
index c110872fb7..5c698452f1 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainDifficultyTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainDifficultyTest.java
@@ -1,37 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainEnergyTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainEnergyTest.java
index 266d5f0319..56934286c7 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainEnergyTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainEnergyTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainForkingTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainForkingTest.java
index cfba8e7326..6951051449 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainForkingTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainForkingTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainImplementationTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainImplementationTest.java
index 990ce05875..eaefd5bf81 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainImplementationTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainImplementationTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainIndexIntegrityTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainIndexIntegrityTest.java
index 03293f81b6..c14eaa226c 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainIndexIntegrityTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainIndexIntegrityTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainIntegrationTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainIntegrationTest.java
index d858f9e85d..8e28626430 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainIntegrationTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainIntegrationTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainRewardTest.java b/modAionImpl/test/org/aion/zero/impl/BlockchainRewardTest.java
index 5c0cb30de9..611c09963a 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainRewardTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainRewardTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/BlockchainTestUtils.java b/modAionImpl/test/org/aion/zero/impl/BlockchainTestUtils.java
index 8190e27083..0f54c2e0e7 100644
--- a/modAionImpl/test/org/aion/zero/impl/BlockchainTestUtils.java
+++ b/modAionImpl/test/org/aion/zero/impl/BlockchainTestUtils.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import java.math.BigInteger;
diff --git a/modAionImpl/test/org/aion/zero/impl/GenesisSpecificationTest.java b/modAionImpl/test/org/aion/zero/impl/GenesisSpecificationTest.java
index 3c87b474c0..27884a4043 100644
--- a/modAionImpl/test/org/aion/zero/impl/GenesisSpecificationTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/GenesisSpecificationTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/GenesisTestNetJsonTest.java b/modAionImpl/test/org/aion/zero/impl/GenesisTestNetJsonTest.java
index 89a77e15ca..557e97a1c9 100644
--- a/modAionImpl/test/org/aion/zero/impl/GenesisTestNetJsonTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/GenesisTestNetJsonTest.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/MockRepositoryConfig.java b/modAionImpl/test/org/aion/zero/impl/MockRepositoryConfig.java
index 9edc957817..a86cd506e7 100644
--- a/modAionImpl/test/org/aion/zero/impl/MockRepositoryConfig.java
+++ b/modAionImpl/test/org/aion/zero/impl/MockRepositoryConfig.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import java.util.Properties;
diff --git a/modAionImpl/test/org/aion/zero/impl/PendingStateTest.java b/modAionImpl/test/org/aion/zero/impl/PendingStateTest.java
index 32826954ed..224e906d7c 100644
--- a/modAionImpl/test/org/aion/zero/impl/PendingStateTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/PendingStateTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static org.junit.Assert.assertEquals;
diff --git a/modAionImpl/test/org/aion/zero/impl/StandaloneBlockchainTest.java b/modAionImpl/test/org/aion/zero/impl/StandaloneBlockchainTest.java
index d6e4173329..22a23cd8f1 100644
--- a/modAionImpl/test/org/aion/zero/impl/StandaloneBlockchainTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/StandaloneBlockchainTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/blockchain/AionTxExecSummaryTest.java b/modAionImpl/test/org/aion/zero/impl/blockchain/AionTxExecSummaryTest.java
index 67426732ce..54e1df448f 100644
--- a/modAionImpl/test/org/aion/zero/impl/blockchain/AionTxExecSummaryTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/blockchain/AionTxExecSummaryTest.java
@@ -1,38 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
-
package org.aion.zero.impl.blockchain;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/blockchain/ChainConfigurationTest.java b/modAionImpl/test/org/aion/zero/impl/blockchain/ChainConfigurationTest.java
index 72e5c68396..d103141e40 100644
--- a/modAionImpl/test/org/aion/zero/impl/blockchain/ChainConfigurationTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/blockchain/ChainConfigurationTest.java
@@ -1,37 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * The aion network project leverages useful source code from other
- * open source projects. We greatly appreciate the effort that was
- * invested in these projects and we thank the individual contributors
- * for their work. For provenance information and contributors
- * please see .
- *
- * Contributors to the aion source files in decreasing order of code volume:
- * Aion foundation.
- * team through the ethereumJ library.
- * Ether.Camp Inc. (US) team through Ethereum Harmony.
- * John Tromp through the Equihash solver.
- * Samuel Neves through the BLAKE2 implementation.
- * Zcash project team.
- * Bitcoinj team.
- */
package org.aion.zero.impl.blockchain;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/blockchain/PendingTxCacheTest.java b/modAionImpl/test/org/aion/zero/impl/blockchain/PendingTxCacheTest.java
index d799d3661f..f93c4289d6 100644
--- a/modAionImpl/test/org/aion/zero/impl/blockchain/PendingTxCacheTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/blockchain/PendingTxCacheTest.java
@@ -1,26 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
-
package org.aion.zero.impl.blockchain;
import static org.junit.Assert.assertTrue;
diff --git a/modAionImpl/test/org/aion/zero/impl/cli/ArgumentsTest.java b/modAionImpl/test/org/aion/zero/impl/cli/ArgumentsTest.java
index d8dbb7c8d8..ba1b8cc1fc 100644
--- a/modAionImpl/test/org/aion/zero/impl/cli/ArgumentsTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/cli/ArgumentsTest.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.cli;
import static com.google.common.truth.Truth.assertThat;
diff --git a/modAionImpl/test/org/aion/zero/impl/cli/CliTest.java b/modAionImpl/test/org/aion/zero/impl/cli/CliTest.java
index b9ca5863b0..308b355cd3 100644
--- a/modAionImpl/test/org/aion/zero/impl/cli/CliTest.java
+++ b/modAionImpl/test/org/aion/zero/impl/cli/CliTest.java
@@ -1,25 +1,3 @@
-/*
- * Copyright (c) 2017-2018 Aion foundation.
- *
- * This file is part of the aion network project.
- *
- * The aion network project is free software: you can redistribute it
- * and/or modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation, either version 3 of
- * the License, or any later version.
- *
- * The aion network project is distributed in the hope that it will
- * be useful, but WITHOUT ANY WARRANTY; without even the implied
- * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with the aion network project source files.
- * If not, see .
- *
- * Contributors:
- * Aion foundation.
- */
package org.aion.zero.impl.cli;
import static com.google.common.truth.Truth.assertThat;
@@ -107,6 +85,10 @@ public class CliTest {
private static final File mainnetFork = new File(MAIN_CONFIG_PATH, forkFileName);
private static final File testnetFork = new File(TEST_CONFIG_PATH, forkFileName);
+ private static final String DEFAULT_PORT = "30303";
+ private static final String TEST_PORT = "12345";
+ private static final String INVALID_PORT = "123450";
+
/** @implNote set this to true to enable printing */
private static final boolean verbose = false;
@@ -608,6 +590,315 @@ public void testConfig_withMigration(String option) {
Cli.copyRecursively(config, mainnetConfig);
}
+ /** Parameters for testing {@Link #testPort(String[], ReturnType, String, String)}. */
+ @SuppressWarnings("unused")
+ private Object parametersWithPort() {
+ List