Coder Social home page Coder Social logo

vic-en / lux Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 5mil/lee

0.0 1.0 1.0 125.84 MB

Luxcore Major Upgraded Segwit & Smartcontract

License: GNU General Public License v3.0

Python 1.32% Shell 6.12% QMake 0.29% NSIS 0.09% C++ 73.04% C 16.83% Makefile 0.25% HTML 0.79% CSS 0.02% OpenEdge ABL 0.03% Objective-C 0.01% Objective-C++ 0.10% Assembly 0.80% M4 0.28% Java 0.03%

lux's Introduction

Luxcoin 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 +Luxgate implemented

The Luxcore 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.3

=============== +Fixed Masternode payment error

Version 2.2.2

=============== +Fixed Masternode Pubkey +Added Masternode Config

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

Lux Detail:

lux.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 LUX 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 LUX 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 Lux 1 Year | 10/10/2018 | 30 LUX/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 LUX 
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 lux ( Trial Version v3)

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


Install

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

cd lux

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 lux

qmake USE_QRCODE=1

make

lux's People

Contributors

216k155 avatar hairetikos avatar matwaller avatar vic-en avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.