# The MIT License (MIT)
#
# Copyright (c) 2014 Richard Moore
#
# 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.


# Do not use this directly, it is meant as a template for adding new coins

raise NotImplemented()


import coin

class ___coin(coin.Coin):

    name = "___"

    # All symbols the coin uses and "primary" symbol;
    # these are only used for UI purposes
    symbols = [___]
    symbol = symbols[0]

    # See: https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery
    # Usually in chainparams.cpp or net.cpp
    dns_seeds = [
        ("___", ___),
    ]

    # This function returns the block creation fee based on a block
    # Usually the chainparams.cpp or main.cpp has a method GetBlockValue
    # or uses a subsidy block halving interval
    #@staticmethod
    #def block_creation_fee(block):
    #     return (50 * 100000000) >> (block.height // 210000)

    # The default port this coin listens on; should not be on an otherwise
    # well-known port and not in the OS' ephemeral port range (>= 49152)
    # Usually in chainparams.cpp or protocol.h
    port = ___

    # Genesis block (hashes are little endiand; ie. 0's should be at the end)
    # @TODO: create a utility function to generate new genesis blocks
    genesis_version = ___                       # if ommitted, default is 1
    genesis_block_hash = '___'.decode('hex')
    genesis_merkle_root = '___'.decode('hex')
    genesis_timestamp = ___
    genesis_bits = ___                           # if ommitted, default is
    genesis_nonce = ___

    # The magic number should be 4-bytes, such that it represents a
    # non-printable string, and not symetric.
    # @TODO: create a utility function to generate safe-ish magic numbers
    # Usually in main.cpp
    magic = "\x__\x__\x__\x__"

    # This value will determine what character your addresses begin with
    # @TODO: create utility function to compute this based on prefix
    # Usually in chainparams.cpp of base58.h under PUBKEY_ADDRESS
    address_version = chr(__)

    # This public key will be used to verify alerts; you can use the
    # pycoind.wallet.Address to generate a public/private key pair
    alert_public_key = '___'.decode('hex')


