Code Monkey home page Code Monkey logo

lux-core / lux Goto Github PK

View Code? Open in Web Editor NEW
3.8K 3.8K 95.0 168.45 MB

LUX - Hybrid PoW/PoS & Unique PHI2 Algorithm | Masternode | Parallel masternode | Segwit | Smartcontract | Luxgate | Proof of file storage (Decentralised distributed file storage)

Home Page: https://luxcore.io

License: GNU Affero General Public License v3.0

CMake 0.81% Makefile 0.74% Shell 3.13% M4 1.07% Python 3.81% Roff 0.09% QMake 0.14% C++ 80.10% C 7.91% CSS 0.46% Dockerfile 0.03% Batchfile 0.06% Perl 0.01% Assembly 0.92% HTML 0.26% OpenEdge ABL 0.01% Objective-C++ 0.04% Java 0.16% Solidity 0.08% Sage 0.16%

lux's People

Contributors

216k155 avatar agora94 avatar alternateam avatar anorganix avatar ars0nic avatar barrystyle avatar chatzich avatar claudebol avatar djm34 avatar dvajdual avatar enkayz avatar fossabot avatar geraroz avatar ggsava avatar giaki3003 avatar grapelux avatar grapelux2 avatar heidi-dang avatar karikaristov avatar mattiasgeniar avatar matwaller avatar nguyenhoangtran11 avatar okislitsin avatar rej156 avatar ssdbkey avatar superdev810 avatar topox84 avatar tpruvot avatar whyamiroot avatar xotonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lux's Issues

error loading block database

Hi,

My wallet windows 4.2 stop syncing with network around the 26th july. So i tried to install the latest mercury 5.1 windows wallet and since then, i can't open my 4.2 wallet, i'm having the error error loading block database.

I tried to restore my backup on the 5.1 i got the message can't obtain a lock on data directory users/me/appData/Roaming/Lux luxcore is probably already running. But I don't see anything running.

I downloaded version 5.2.2 but when I restore my wallet I got the following messages :
Unable to bind to 0.0.0.0:26969 on this computer. Luxcore is probably already running.
Failed to listen on any port. Use -listen=0 if you want this.
I tried on windows 7 and mac os X sierra, both OS are giving the same error messages.

How can i get around this?

Lux-qt

Problem with lux-qt
BTW: Awesome coin and glad Tanguy is now on the team!

tested in lux.conf
stake=0 and mint=0 does not stop the wallet from staking.

Further TX outputs listed in masternodes.conf are not kept from staking or blocked from spending with a Lock ICON.

When unlocking the wallet to send MN generated inputs during the transaction countdown (5 seconds) to press ok the 16120lux stakes almost instantly requiring an 80 block wait and regeneration of the masternode output.

The current workaround solution we are using is to sync the wallet, close the wallet. Wait a few blocks and quickly make the transaction before the wallet is fully synced again so staking function can't enable.

I realize lux now has a stronger team and a real path forward and wanted to bring this SMALL issue forward that MN holders are experiencing.

Please advise if we have made a mistake somewhere. Thank you!

Provided gitian descriptors do not work

Provided linux binaries use shared libraries. An attempt to build a static version of master branch from the repository using gitian builder has failed since can't find a submodule. It seems there is no such submodule at all by the path.

The gitian builder tested for many coins, so the issue is with Lux descriptors and/or non-standard build sequence (in that case the descriptors must be fixed):

Initialized empty Git repository in /home/debian/gitian-builder/inputs/lux/.git/
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (110/110), done.
remote: Total 24638 (delta 98), reused 84 (delta 51), pack-reused 24477
Receiving objects: 100% (24638/24638), 155.08 MiB | 5.67 MiB/s, done.
Resolving deltas: 100% (17339/17339), done.
From https://github.com/lux-core/lux
 * [new tag]           v4.3.1                   -> v4.3.1
 * [new tag]           v5.0.0                   -> v5.0.0
 * [new tag]           v5.0.1                   -> v5.0.1
 * [new tag]           v5.0.2                   -> v5.0.2
 * [new tag]           v5.0.3                   -> v5.0.3
 * [new tag]           v5.1.0                   -> v5.1.0
 * [new tag]           v5.2.0                   -> v5.2.0
 * [new tag]           v5.2.1                   -> v5.2.1
 * [new tag]           v5.2.2                   -> v5.2.2
 * [new tag]           v5.2.3                   -> v5.2.3
 * [new tag]           v5.2.5                   -> v5.2.5
 * [new branch]        5.2.X                    -> 5.2.X
 * [new branch]        5.3.X                    -> 5.3.X
 * [new branch]        HDWallet                 -> HDWallet
 * [new branch]        Networking               -> Networking
 * [new branch]        PoS                      -> PoS
 * [new branch]        SPV                      -> SPV
 * [new branch]        TradingPlot              -> TradingPlot
 * [new branch]        backup-master            -> backup-master
 * [new branch]        bip174                   -> bip174
 * [new branch]        btc-0.16                 -> btc-0.16
 * [new branch]        bug_fix                  -> bug_fix
 * [new branch]        bugfix                   -> bugfix
 * [new branch]        coldstake                -> coldstake
 * [new branch]        development              -> development
 * [new branch]        dfs                      -> dfs
 * [new branch]        docker                   -> docker
 * [new branch]        hd_button_encrypted      -> hd_button_encrypted
 * [new branch]        i2p                      -> i2p
 * [new branch]        logrotation              -> logrotation
 * [new branch]        luxgate                  -> luxgate
 * [new branch]        luxgate-fix-sig          -> luxgate-fix-sig
 * [new branch]        luxgate-fix-zmq-undef    -> luxgate-fix-zmq-undef
 * [new branch]        luxgate-global-orderbook -> luxgate-global-orderbook
 * [new branch]        luxgate-qt               -> luxgate-qt
 * [new branch]        luxgate-testing          -> luxgate-testing
 * [new branch]        luxgate-ui               -> luxgate-ui
 * [new branch]        master                   -> master
 * [new branch]        metrics                  -> metrics
 * [new branch]        mining-tests             -> mining-tests
 * [new branch]        p2p-network              -> p2p-network
 * [new branch]        pos-signing              -> pos-signing
 * [new branch]        refactoring              -> refactoring
 * [new branch]        rpc                      -> rpc
 * [new branch]        testing                  -> testing
 * [new branch]        testnet                  -> testnet
 * [new branch]        tests                    -> tests
 * [new branch]        time_drift               -> time_drift
 * [new branch]        topia_keypool_issue      -> topia_keypool_issue
 * [new branch]        tran                     -> tran
 * [new branch]        ubuntu-18.10             -> ubuntu-18.10
 * [new branch]        v6.0.X                   -> v6.0.X
 * [new branch]        web3-api                 -> web3-api
 * [new branch]        win-bug                  -> win-bug
Submodule 'src/lux-installer' (https://github.com/216k155/lux-installer.git) registered for path 'src/lux-installer'
Cloning into '/home/debian/gitian-builder/inputs/lux/src/lux-installer'...
Username for 'https://github.com': git
Password for 'https://[email protected]':
remote: Invalid username or password.

balance inconsistency

Hi,

After importing priv key on a linux machine the balance value is different:

./lux-cli getinfo
"balance": 16128.80000000, <--- balance ok

./lux-cli listaddressgroupings
[
"Lxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
16129.00000000, <--- it shows balance including immature transactions ... ok
"mn1"
]

./lux-cli getbalance
16128.80000000 <--- balance ok

./lux-cli getbalance mn1
16226.40000000 <----- ???

I restarted luxd with -rescan option

I would like to import multiple addresses and acquire the balance for every address individually
Any ideas ?

thanks,
Andrei

Integrate decentralized file storage with ipfs

Decentralized file storage (dfs) can be integrated with ipfs ipfs, but there are some difficulties:

  • Dfs cannot use the storage format of a file that uses ipfs
  • Dfs will not support the feature set used in ipfs
  • Files stored in dfs will not be accessible from ipfs.

In this regard, the module of interaction between ipfs and dfs is required.

Can't mine

[2021-03-24 18:06:12] POOL 0: 127.0.0.1:26969 USER user -s 10
[2021-03-24 18:06:12] CUDA GPU 0 matches NVML GPU 0 by busId 1
[2021-03-24 18:06:12] NVML GPU monitoring enabled.
[2021-03-24 18:06:12] CUDA GPU 0 matches NVAPI GPU 0 by busId 1
[2021-03-24 18:06:12] NVAPI GPU monitoring enabled.
[2021-03-24 18:06:12] 1 miner thread started, using 'rx2' algorithm.
[2021-03-24 18:06:12] HTTP request failed: Empty reply from server
[2021-03-24 18:06:12] get_work failed, retry after 30 seconds

No block source available

Hello,

My wallet says "No block source available" and it is "8 days behind".

I am using version 5.2.2.0-a2083ff that I compiled myself on linux

What should I do?

Thank you

immature amount less than 1 LUX included in balance

hi,

I compiled master and the issue opened on 216k's github is not fixed so I'm opening again:

./lux-cli getinfo
{
"version": 5020000,
"protocolversion": 69500,
"walletversion": 61000,

./lux-cli listtransactions
look at amount ... it shows 0.0000 and it should be 0.2 lux reward
{
"account": "",
"address": "Lxxxxxxxxx",
"category": "immature",
"amount": 0.00000000,
"label": "",
"vout": 2,
"confirmations": 19,
"bcconfirmations": 19,
"generated": true,

./lux-cli getbalance
16124.20000000 <-- here are included all 0.2 LUX with less than 80 confirmations

Andrei

Que hago

Para empesar todo es en ingles y no se ni ablar menos leer inglis podrian traducirmelo al español mexico x fa y esplicarme paso a paso que debo haser
Gracias x su comprencion

Make - Error 'Failing to include Boost library':

uname -a:
GE70-2OC-2OE 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Error 'Failing to include Boost library':

make
Making all in src
make[1]: Entering directory '/home/philfrom1983/lux/src'
make[2]: Entering directory '/home/philfrom1983/lux/src'
make[3]: Entering directory '/home/philfrom1983/lux/src/secp256k1'
make[3]: Leaving directory '/home/philfrom1983/lux/src/secp256k1'
CXXLD luxd
libbitcoin_common.a(libbitcoin_common_a-ChainParams.o): In function std::unordered_set<dev::FixedHash<20u>, std::hash<dev::FixedHash<20u> >, std::equal_to<dev::FixedHash<20u> >, std::allocator<dev::FixedHash<20u> > > dev::eth::commit<dev::MemoryDB>(std::unordered_map<dev::FixedHash<20u>, dev::eth::Account, std::hash<dev::FixedHash<20u> >, std::equal_to<dev::FixedHash<20u> >, std::allocator<std::pair<dev::FixedHash<20u> const, dev::eth::Account> > > const&, dev::SpecificTrieDB<dev::FatGenericTrieDB<dev::MemoryDB>, dev::FixedHash<20u> >&)': /usr/include/boost/random/uniform_int_distribution.hpp:220: undefined reference to boost::random::random_device::operator()()'
libbitcoin_common.a(libbitcoin_common_a-State.o): In function unsigned long boost::random::detail::generate_uniform_int<boost::random::random_device, unsigned long>(boost::random::random_device&, unsigned long, unsigned long, mpl_::bool_<true>)': /usr/include/boost/random/uniform_int_distribution.hpp:117: undefined reference to boost::random::random_device::operator()()'
/usr/include/boost/random/uniform_int_distribution.hpp:220: undefined reference to boost::random::random_device::operator()()' /usr/include/boost/random/uniform_int_distribution.hpp:69: undefined reference to boost::random::random_device::operator()()'
libbitcoin_common.a(libbitcoin_common_a-State.o): In function dev::eth::CodeSizeCache::store(dev::FixedHash<32u> const&, unsigned long)': /usr/include/boost/random/uniform_int_distribution.hpp:220: undefined reference to boost::random::random_device::operator()()'
libbitcoin_common.a(libbitcoin_common_a-ICAP.o):/usr/include/boost/random/uniform_int_distribution.hpp:220: more undefined references to boost::random::random_device::operator()()' follow libbitcoin_common.a(libbitcoin_common_a-FixedHash.o): In function __static_initialization_and_destruction_0':
/home/philfrom1983/lux/src/cpp-ethereum/libdevcore/FixedHash.cpp:29: undefined reference to boost::random::random_device::random_device()' /home/philfrom1983/lux/src/cpp-ethereum/libdevcore/FixedHash.cpp:29: undefined reference to boost::random::random_device::~random_device()'
collect2: error: ld returned 1 exit status
Makefile:5350: recipe for target 'luxd' failed
make[2]: *** [luxd] Error 1
make[2]: Leaving directory '/home/philfrom1983/lux/src'
Makefile:16242: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/philfrom1983/lux/src'
Makefile:636: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Fix:

./make LIBS+=-lboost_random

fork lux coin

hi, can we with you to make a fork of your coin with your help ??

ProcessNewBlock: block not accepted

Hello there,
during first blockchain download I have this error:

2021-11-29 22:24:15 ERROR: CheckProof: prevented masternode from staking
2021-11-29 22:24:15 ERROR: CheckWork: invalid proof-of-stake (block 2110380f4899658bb8a68f0b42da7b163534d2932d19e99a284b5a3638185382)
2021-11-29 22:24:15 ERROR: ProcessNewBlock: block not accepted
2021-11-29 22:24:34 ERROR: CheckProof: prevented masternode from staking
2021-11-29 22:24:34 ERROR: CheckWork: invalid proof-of-stake (block 2110380f4899658bb8a68f0b42da7b163534d2932d19e99a284b5a3638185382)
2021-11-29 22:24:34 ERROR: ProcessNewBlock: block not accepted
2021-11-29 22:25:50 ERROR: CheckProof: prevented masternode from staking
2021-11-29 22:25:50 ERROR: CheckWork: invalid proof-of-stake (block 2110380f4899658bb8a68f0b42da7b163534d2932d19e99a284b5a3638185382)
2021-11-29 22:25:50 ERROR: ProcessNewBlock: block not accepted
2021-11-29 22:25:54 ERROR: CheckProof: prevented masternode from staking
2021-11-29 22:25:54 ERROR: CheckWork: invalid proof-of-stake (block 2110380f4899658bb8a68f0b42da7b163534d2932d19e99a284b5a3638185382)
2021-11-29 22:25:54 ERROR: ProcessNewBlock: block not accepted

Could you please help me?

Packages/macOS_SDK_headers_for_macOS_10.14.pkg not there anymore

Hi

I am following the OSX build instructions in OSX 15 beta, probably it is similar in OSX 14. The .pkg does not seem to be there anymore, instead there are directories of this kind

/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/Library/Apple/System/Library/

Any ideas what this means for the future of OSX compiling?

Thanks!

Wallet not syncing

using latet wallet: v5.5.0.0-bf495ad9-Luxcore
number of connections: 11
stuck at block: 1612505
last blocktime: Thu Feb 18 00:58:06 2021

having two or more corresponding or identical height and hash , can any one resolve this ?

2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)
2018-09-26 07:17:58 ProcessNewBlock: ACCEPTED 419463 71366b0a87d43cd1a9d539948f6d571c385be150a0ccc96ba420be6260fa4b85 (pos)

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.