OPEN BLOCKCHAIN-SPECIFIC LICENSE

Copyright 2019 Aleksandar Dinkov

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 other than the conditions set out below, including without limitation the rights to use, copy, modify, merge, publish, distribute, 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:

1.  Usage Limitations. The grant to deal provided above is restricted to dealing in the Software only for purposes relating to one or multiple of the following:
    - Purposes related to The Bitcoin SV Blockchain
        - defined as the Bitcoin chain with the most SHA-256 Proof of Work accumulated, following block height #560000 with this hash: 0000000000000000035cb1baaf4f82d8358a8b9ed22aec52c2801a02b9c6f18f.
    - Purposes related to The Bitcoin Blockchain
        - defined as the Bitcoin chain with the most SHA-256 Proof of Work accumulated, following block height #1 with this hash: 00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048.
    - Purposes related to Government (FIAT) money.
        - Defined as any form of money issued by a government and declared a legal tender by a government.
    - Purposes not related to money
        - defined as any usage of the software that does not interact in any way with any form of money

    In case of competing blockchain protocols, if the difference of their total accumulated Proof of Work is less than the required sufficient advantage, the license is valid on both chains, until one of them gains sufficient advantage in accumulated proof of work.
		- Competing protocols are defined as cryptocurrency protocols originating from the same genesis block (or block with a specific height and hash, if such is specified in the above permission notice) and using the same proof of work algorithm. 
		- A sufficient advantage is an advantage of at least 1000 blocks with the difficulty of the latest block on the chain with more accumulated Proof of Work.
		- The proof of work difficulty of a block is measured by the leading zeroes of its hash, where each extra zero is worth twice as much as the previous one.
			- For example: A block with 4 leading zeroes is measured as 15 units of difficulty (1+2+4+8).
		- The accumulated Proof of Work of a chain is defined as the sum of the difficulties of all the blocks in that chain.


2.  Redistributions of all copies or substantial portions of the source code of the Software must retain the above copyright notice and above permission notice (with blockchain limitation), this list of conditions and the following disclaimer.

3.  Redistributions of all copies or substantial portions of the object code of the Software must reproduce the above copyright notice and above permission notice (with blockchain limitation), this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

4.  Any work to the extent consisting of the Software or modifications made thereto, must be licensed under this license to anyone who comes into possession of a copy. regardless of how such work is packaged.  Each time such a work is conveyed to a recipient, the recipient automatically receives this license from the original licensors, to run, modify and otherwise deal with that work.

5.  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 OF OR OTHER DEALINGS IN THE SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
