Skip to content
/ lee Public

Implemented Phi1612 hashing algorithm

Notifications You must be signed in to change notification settings

5mil/lee

Repository files navigation

leecoin Logo

"Developed For Mining And Trading Pleasure"

Discord

Introduction

+New PHI1612 PoW/PoS Hybrid Algorithm Implemented +Masternode + Parallel masternode implemented +Static PoS implemented +I2p full C++ implemented +leegate implemented

The leecore Project is a decentralized peer-to-peer banking financial platform, created under an open source license, featuring a built-in cryptocurrency, end-to-end encrypted messaging and decentralized marketplace. The decentralized network aims to provide anonymity and privacy for everyone through a simple user-friendly interface by taking care of all the advanced cryptography in the background.

Releases

Click on this link to go to the latest release - v2.2.1

Supported Operating Systems:

  • Linux (64 bit)
  • ~~Linux (32 bit)
  • Windows (32 bit)
  • Windows (64 bit)

Development process

Version 2.2.1

=============== +Upgraded QT wallet UI +Added PoS automate function +Added client control function +Added network statistics into block explorer +Redesign dashboard tab

Version 2.2.0

=============== +Fixed Sync error +Fixed seednode +Fixed network protocol +Fixed some typo

Version 2.1.0

=============== +Fixed Typo +Added new checkpoint +Added Block brownser.cpp & blockbrownser.h +Update QT wallet UI +Added Block Explorer UI

Version 2.0.0

============== +Reduced outbounce connection to 12 +Add more seednodes +Inscreased faster peers +Fixed qt version missmatch

lee Detail:

lee.conf server=1

daemon=1

listen=1

rpcuser=your-user-name

rpcpassword=your-password

rpcport=9898

rpcallowip=127.0.0.1

staking=1

PoW rewards

// miner's coin base reward
// First block reward                              -----------------------(Official reward)---------------------------
// Initilised B'd reward for lee at block 1001000  -----------------------(Special event)-----------------------------

int64_t GetProofOfWorkReward(int64_t nFees, int nHeight)
{
int64_t nSubsidy = 1 * COIN;

if(pindexBest->nHeight == 1)
{
    nSubsidy = 3000000 * COIN;                     // Initilised static pre-mine
}
    else if(pindexBest->nHeight < 500)             // First halving - Activated instamine protection 
{
    nSubsidy = 1 * COIN;   // ~500
}
    else if(pindexBest->nHeight == 501)            // Official Bonus Rewards 
{
    nSubsidy = 1000 * COIN; // 1000                // 1000 lee for the first block mined after instamine protection
}
    else if(pindexBest->nHeight < 1000000)         // Second halving - Initilised normal blockchain
{
    nSubsidy = 10 * COIN;  // ~10m
}
    else if(pindexBest->nHeight < 1001000)         // Third halving - Superblock rewards | Happy Birthday lee 1 Year | 10/10/2018 | 30 lee/block reward 
{
    nSubsidy = 30 * COIN;  // ~30,000 reward to miner
}
    else if(pindexBest->nHeight < 5000000)         // Last halving - Re-activate normal blockchain
{
    nSubsidy = 10 * COIN;  // ~10m
}
	else if(pindexBest->nHeight < 6000000) // PoW end block 6m - Reduce block reward | Automatic initilised new blockchain after 6m blocks 
{
    nSubsidy = 10 * COIN;  // ~10m
}
    else
{
    nSubsidy = 1 * COIN; 
}

LogPrint("creation", "GetProofOfWorkReward() : create=%s nSubsidy=%d nHeight=%d\n", FormatMoney(nSubsidy), nSubsidy, nHeight);

return nSubsidy + nFees;
} 

PoS rewards

// Miner's coin stake reward based on coin age spent (coin-days)
int64_t GetProofOfStakeReward(int64_t nCoinAge, int64_t nFees, int nHeight)
{
int64_t nSubsidy = 1 * COIN;

if(pindexBest->nHeight < 100000) // First 100,000 blocks double stake for masternode ready
{
    nSubsidy = 2 * COIN;
}
    else
{
    nSubsidy = 1 * COIN;
}


LogPrint("creation", "GetProofOfStakeReward(): create=%s nCoinAge=%d nHeight=%d\n", FormatMoney(nSubsidy), nCoinAge, nHeight);

return nSubsidy + nFees;
}

Masternodes Requirement:

static const int64_t DARKSEND_COLLATERAL = (16120*COIN);    //161.20 lee 
static const int64_t DARKSEND_FEE = (0.002*COIN);
static const int64_t DARKSEND_POOL_MAX = (1999999.99*COIN);

Develop process before launch

===============================

01/10/2017 -----> PHI1612 hash initilized, replaced novacoin-qt, json, add intallised-dependencies.sh, changed qt/res,etc....

02/10/2017 -----> Added echo hash into PHI1612

03/10/2017 -----> New Phi1612 hashing algorithm completed Note: Not finished yet, still need some work.

04/10/2017 ------> testnet trial version released

06/10/2017 ------> Final test before launch ( 06/10/2017 - 09/10/2017)

07/10/2017 ------> Changed bhcoin to lee ( Trial Version v3)

09/10/2017 ------> Updated New Trial Version lee - PHI | PoW/PoS Hybrid - Parallel Masternode Implemented | I2pd Networks Remote Activation


Install

========= -Unix daemon compile:

cd lee

sudo sh install-dependencies.sh install

cd src/leveldb

chmod +x build_detect_platform

make clean && make libleveldb.a libmemenv.a

cd ..

make -f makefile.unix 

-Unix QT wallet compile:

cd lee

qmake USE_QRCODE=1

make