Code Monkey home page Code Monkey logo

qwertycoin's People

Contributors

bgonuller avatar evensbor avatar exploshot avatar gladcow avatar j3k4 avatar nnian avatar speqtr avatar sw0rdf1sh1 avatar wannabej0 avatar who-biz avatar xecute0101 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

Watchers

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

qwertycoin's Issues

Linux Build Warning

https://travis-ci.org/qwertycoin-org/qwertycoin/jobs/512233076

[ 4%] Performing build step for 'sparsehash'
/home/travis/build/qwertycoin-org/qwertycoin/build/_ExternalProjects/Build/sparsehash/missing: line 52: aclocal-1.11: command not found

WARNING: aclocal-1.11' is missing on your system. You should only need it if you modified acinclude.m4' or configure.ac'. You might want to install the Automake' and `Perl' packages. Grab them from
any GNU archive site.

cd . && /bin/bash /home/travis/build/qwertycoin-org/qwertycoin/build/_ExternalProjects/Build/sparsehash/missing --run automake-1.11 --gnu
/home/travis/build/qwertycoin-org/qwertycoin/build/_ExternalProjects/Build/sparsehash/missing: line 52: automake-1.11: command not found

WARNING: automake-1.11' is missing on your system. You should only need it if you modified Makefile.am', acinclude.m4' or configure.ac'.
You might want to install the Automake' and Perl' packages.
Grab them from any GNU archive site.

aclocal.m4:16: warning: this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.

@speqtr Could you look into this as well?

problems with compilation

qwertycoin# make
CMake Error: The source directory "/home/qwc/QWERTY/qwertycoin-tacos" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Makefile:732: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1

How fix?
Ubuntu 16.04

EPoSe Movement #3 - EPoS implementation

As a succession of EPoW, QWC will be implementing EPoS consensus along with EPoW finalizing the first chapter of EPoSe.

EPoS development will include major updates and features for nodes and wallets and again as a pioneer of new norm in crypto, these codes will be QWC original.

Also parameters such as mining difficulties and block time of 120 seconds will become much more flexible to make our chain adaptive.

The uptime without staking nodes will also be able to participate in the network as promised.

Another managing software for blockchain and software will be deployed to keep all the network up to date.

An exciting development challenge waits ahead. Join us.

Compilation Message Update

"/home/user/.hunter/_Base/bc7da32/7f32107/75298a5/Install/include/boost/pending/integer_log2.hpp:7:89: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead."

Above msg keeps popping on Linux 16/18. Can hunter be updated to use the file in recommendation instead?

Progress of "code style changes"

NOTE: This issue is created in order to keep track of code style changes and code base cleanup that I'm working on. For more details, please, refer to one of the issue or PR links that are listed below.

Libraries cleanup (include and lib folders):

  • cleanup in include folder (PR #92, merged);
  • cleanup in lib/BlockchainExplorer (PR #65, merged);
  • cleanup in lib/Common (PR #66, merged);
  • cleanup in lib/crypto (not doing, it's third-party lib and should be moved outside lib dir);
  • cleanup in lib/CryptoNoteCore (PR #94, merged);
  • cleanup in lib/CryptoNoteProtocol (PR #68, merged);
  • cleanup in lib/Http (PR #71, merged);
  • cleanup in lib/InProcessNode (PR #69, merged);
  • cleanup in lib/JsonRpcServer (PR #70, merged);
  • cleanup in lib/Logging (PR #72, merged);
  • cleanup in lib/Mnemonics (PR #73, merged);
  • cleanup in lib/NodeRpcProxy (#74, merged);
  • cleanup in lib/P2p (PR #77, merged);
  • cleanup in lib/PaymentGate (PR #76, merged);
  • cleanup in lib/Platform (PR #86, merged);
  • cleanup in lib/Rpc (PR #80, merged);
  • cleanup in lib/Serialization (PR #82, merged);
  • cleanup in lib/System (PR #83, merged);
  • cleanup in lib/Transfers (PR #85, merged);
  • cleanup in lib/Wallet (PR #88, merged);
  • cleanup in lib/WalletLegacy (PR #91, merged).

Sources cleanup (src folder)

  • cleanup in config (PR #93, merged);
  • cleanup in ConnectivityTool (PR #93, merged);
  • cleanup in Daemon (PR #93, merged);
  • cleanup in Miner (PR #93, merged);
  • cleanup in PaymentGateService (PR #93, merged);
  • cleanup in SimpleWallet (PR #93, merged);

Regressions (that will be fixed in the subsequent PRs):

  • [fixed] changes in StringBuffer or StringView classes breaks two UnitTests;
  • [fixed] changes in lib/BlockchainExplorer breaks BlockchainExplorerTests.getPoolStateEmpty; and BlockchainExplorerTests.getPoolStateMany;
  • [fixed] changes in PR #75 broke test TransactionValidation.gen_tx_check_input_unlock_time, test data was updated to match new logic (PR #84);
  • [fixed] fixed regressions in lib/P2p that broke test UnitTests.peer_list.peer_list_general (PR #84);

Where are the executables

Hi @speqtr

maybe i forgot something but, where are the executables in the build directory?
qwertycoind.exe
miner.exe
walletd.exe
simplewallet.exe
connectivity_tool.exe

i can't find it in my build folder. But maybe it's only a outdated Readme.md

cmake -DBUILD_ALL:BOOL=TRUE ..
Or do you prefer other variant?

@qwertycoin-org This PR can be merge once you see that all CI scripts are "green" 🙂

Originally posted by @speqtr in #42 (comment)

EPoSe Movement #2 - Proposing Changes in Mixin

Prerequisite: DB Implementation

Instead of utilizing ring confidential transaction (hiding information),

We should think about using statistics to make it more difficult to trace and pinpoint txs.

1

Here we see the pretty amounts for making outputs. From our blockchain history, the chain can analyze the population of each output in each digit space (statistical term). If conventional mixin focuses on mixing sudo and real inputs to obfuscate real outputs. What I am suggesting is to populate certain outputs so that their population grows over time and tracing txs more difficult because they all look the same or alike.

2

When high mixin is selected, outputs with most population in each digit is used to create txs and vice versa.

Any thoughts, guys?

Running pool found same block as qwertycoin.site??

Hello,

I test to run qwerty pool today. Everything seemed running well and found a couple of blocks with my hash rate ~2K/s. Then, I saw https://qwertycoin.site/ also found the same block later after my finding more than an hour.

Another funny is that, I open: http://qwcpool.partyvibe.com and found it has hash rate just only 30H/s to 40H/s but found so many blocks and paid. (Is it testnet)?

Can anybody let me know if this coin just only for testing not release yet

Build Error on Ubuntu 16.04 | Header deprecated | Hunter

System Information

Operating System: Ubuntu
OS Version: 16.04.6 x64
CPU Make, Model, & Speed: Unknown 1 Core
Amount of RAM: 1 GB
Hard Drive Size: 25 GB

Qwertycoin Build Information

Version: 5.1.4 (0278679)
Binary Source: Latest Master
If self compiled, please provide all the build commands you used

mkdir build && cd build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release

If self compiled, please provide of your Qwertycoin CMake output at the default verbosity:

[ 61%] Building CXX object lib/CMakeFiles/QwertycoinFramework_Rpc.dir/Rpc/RpcServer.cpp.o
In file included from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/random/detail/integer_log2.hpp:19:0,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/random/detail/large_arithmetic.hpp:19,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/random/detail/const_mod.hpp:23,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/random/detail/seed_impl.hpp:26,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/random/mersenne_twister.hpp:30,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/uuid/random_generator.hpp:17,
                 from /root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/uuid/uuid_generators.hpp:17,
                 from /root/qwertycoin/lib/P2p/P2pNetworks.h:20,
                 from /root/qwertycoin/lib/P2p/NetNode.h:47,
                 from /root/qwertycoin/lib/Rpc/RpcServer.cpp:41:
/root/.hunter/_Base/7f1604b/0ec0fcc/ac3fe71/Install/include/boost/pending/integer_log2.hpp:7:89: note: #pragma message: This header is deprecated. Use <boost/integer/integer_log2.hpp> instead.
virtual memory exhausted: Cannot allocate memory
lib/CMakeFiles/QwertycoinFramework_Rpc.dir/build.make:101: recipe for target 'lib/CMakeFiles/QwertycoinFramework_Rpc.dir/Rpc/RpcServer.cpp.o' failed
make[2]: *** [lib/CMakeFiles/QwertycoinFramework_Rpc.dir/Rpc/RpcServer.cpp.o] Error 1
CMakeFiles/Makefile2:903: recipe for target 'lib/CMakeFiles/QwertycoinFramework_Rpc.dir/all' failed
make[1]: *** [lib/CMakeFiles/QwertycoinFramework_Rpc.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
root@qwertycoin-1:~/qwertycoin/build#

Boost.Asio 1.66 bug on macOS with Xcode 10.2

System Information

Operating System: macOS
OS Version: 10.14
Build tool: Xcode 10.12

Qwertycoin Build Information

Version: 5.1.3 and above

mkdir build && cd build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release

Issue Report

When compiling on macOS with Xcode 10.2 compilation process crashes with errors in Boost.Asio. This issue also affects qwertycoin-gui and qwertycoin-zero.

Expected Behavior

Project compiles without any errors.

Current Behavior

Project crashes at compile time.

Steps to Reproduce

  1. Run build on macOS with Xcode 10.2;
  2. Wait for it to crash with errors in Boost.Asio.

Possible Solution

Update hunter config to use newer version of Boost libraries.

Running pool for almost 2 days and no luck

Hello, I test a small pool with average hash 1.5KH/s to 2KH/s and almost two days now and could not get any block. Is that so unlucky or anything behind the setting up of pool?

Transaction still unconfirmed for more than 12 hours

Hello,

I am having issue with pending confirmation of transaction which listed as Unconfirmed transaction

Example:
http://xplorer.qwertycoin.org/?hash=caa596d282715ef620a5a1be0bacb39b5356a92cc6bd45896208e91b76900ecf#blockchain_transaction

http://xplorer.qwertycoin.org/?hash=1de2d116f31eeadb01e141175f703e3687da75528f50cddd2e630a7334357948#blockchain_transaction

locked amount: 302558.00000000 in http://qwcpool.partyvibe.com/ but some recent transaction was successful instead.

Can you let me know if it is from pool issue or my daemon or else?

Minidump path: as default

Hi @speqtr,

when i start qwertycoind, or in this case the simplewallet :
I can't use the daemon or simplewallet, only via RPC commands.

foo@bar:/opt/QWC# ./simplewallet    
Minidump path:

[QIP] Improve application constants management

QIP - Qwertycoin Improvement Proposal

Summary
Improve application constants management.

Motivation

  • Using global variables is problematic, and it is common wisdom to avoid them unless they're absolutely necessary. Helpful comments can be found here;
  • Global variables with static storage duration in many cases lead to "undefined behavior" and exceptions thrown by this variables can't be caught;
  • Global definitations (like #define VARIABLE_NAME VALUE) can accidentally override variables from third-party modules, this will also result in "undefined behavior".

Solution
Create a single entry point (new Constants module) that will replace all currently existing:

  • global variables (#define VARIABLE_NAME VALUE);
  • settings (variables with static storage duration);
  • #undef ERROR (this things in code look bad and extremely hack-ish);
  • other const data.

In addition to all of the above, this new module will also help us to:

  • remove relative imports like #include "../src/config/header.h";
  • simplify process of enabling disabling custom features at compile- and runtime.

LMDB Development - potential issue in 'loadTransactions'

When running LMDB, I'm running into an issue with the loadTransactions function in Blockchain.cpp. For reference:

bool Blockchain::loadTransactions(const Block &block, std::vector<Transaction> &transactions)
{
    transactions.resize(block.transactionHashes.size());
    size_t transactionSize;
    uint64_t fee;
    for (size_t i = 0; i < block.transactionHashes.size(); ++i) {
        if (!m_tx_pool.take_tx(block.transactionHashes[i], transactions[i], transactionSize, fee)) {
            tx_verification_context context;
            for (size_t j = 0; j < i; ++j) {
                if (!m_tx_pool.add_tx(transactions[i - 1 - j], context, true)) {
                    throw std::runtime_error(
                        "Blockchain::loadTransactions, failed to add transaction to pool"
                    );
                }
            }

            return false;
        }
    }

Within the m_tx_pool.add_tx member function, can anyone provide some clarity on why [i - 1 - j] is being used for the index in the loop? It seems like this would skip both, the miner transaction, and the transaction following it (since we stop at j = (i-1), inclusive). That would mean that any transaction at index 0 or 1 would be skipped, as j is incremented prior to the first loop.

When this is modified to [i - j] and j <= i, I get the following error, which is confusing me. Error below:

ERROR   Coinbase transaction doesn't use full amount of block reward: spent 173802.10365430, block reward is 351581.42279954

This seems to say that QWC miner transactions consist of two outputs? Or am I incorrect in that?

Without any modifications, blocks with transactions in them fail verification when using the LMDB format for storage, but not with the blockchain.bin format. So the error is likely on my part (probably due to not understanding why the i - 1 - j value is being used for the index here).

I am fairly sure that I've narrowed down the issue to this function, which I hadn't modified from the current source code, originally. However, its possible its arising out of my mishandling the index elsewhere.

Clarification is appreciated.

ERROR Exception: SwappedVector::operator[] when syncing from Zero. Occurs from v5.2.0 onward.

The blockchain, when synced from zero, after version 5.1.4 (5.1.4 works fine) fails to initialize with: ERROR Exception: SwappedVector::operator[]

Moved below from speqtr's constant management PR:

@speqtr I know it happens on Windows 100% if bin files are not present from previous operation. blockindex and block.bin files are at 0 or 1kb and swapped vector error[] will be saved in the log file.

It is not from this update. After 5.1.4, we started to see this problem. 5.1.4 works fine.

This was what I experienced as well, when merging the changes from master branch into the LMDB repository. I fixed the issue, by reverting to 5.1.4.

It is probably helpful to note that the error does not occur if the blockchain has already begun syncing on a prior attempt. So the error appears to only occur when syncing from 0. @Xecute0101 could you clarify the bit about 1kb?

EPoSe Movement #1 - EPoW : Proposing Changes in Block Reward Algorithm

This is the first proposal to change our reward system for Qwertycoin Network.

Purpose: Qwertycoin aims to incentivize/disincentivize the network through a systematic approach by adjusting equations related to block reward calculations.

Current Status:

  1. Basic Block Reward Emission Equation (Abbreviated):
    ((Total Supply - Previously Emitted Supply) / Emission Factor) - Penalty for Block Size

Proposed Change:

  1. Basic Block Reward Emission Equation (Abbreviated):
    (((Total Supply - Previously Emitted Supply) / Emission Factor) - Penalty for Block Size) * ((Timestamp of New Block - Timestamp of Previous Block) / Block Target)

Premises:

  1. The block reward is designed to decrease per each block based on the previous emission.
  2. Since Basic Block Reward Emission is controlled and reduced to a fraction of normal block reward from such attacks, the overall block reward reduction will not be affected by this change.

Implications of This Change:

  1. By reinforcing the consistency of block reward emission over time (instead of block rewards by its sequence in the blockchain), the network hash rate is expected to be supported continuously and find an equilibrium automatically.
  2. Even if an attacker creates a high difficulty for the next block and exit, existing miners are incentivized to receive a huge block reward when they find the next block.
  3. Prevention of attacks with intermittent hash rate jumps must be dealt in a separate issue.

Block 391 has invalid miner transaction.

I encountered this as I'm finishing up LMDB. It appears that Block 391 does not use the full amount of the block reward. You can see based on the prior block, as well as the next one, that the first transaction in the block should be around 351,000 QWC (reward). However, the transaction's amount is only 173,000 or so. I am unsure of why.

Transaction in question: https://explorer.qwertycoin.org/?hash=f12661c4858886e1d40a158b81549e01157e18a2032671bdee765ed16fba2e88#blockchain_transaction

Corresponding error I'm getting when using LMDB for storage is as follows (this should show up when using blockchain.bin storage too, but it isn't for some reason):

 ERROR   Coinbase transaction doesn't use full amount of block reward: spent 173802.10365430, block reward is 351581.42279954
 INFO    Block a42ee3502cafdaeb8c38fe40769eab787f68b9b19060052f6e24f48ee26bde93 has invalid miner transaction

How to create a ticket

System Information

Operating System:
OS Version:
CPU Make, Model, & Speed:
Amount of RAM:
Hard Drive Type:
Hard Drive Size:
Volume Type:

Qwertycoin Build Information

Version:
Binary Source:
If self compiled, please provide all the build commands you used

Please insert your build commands here. Example:

mkdir build && cd build
cmake -DBUILD_ALL:BOOL=TRUE ..
cmake --build . --config Release

If self compiled, please provide of your Qwertycoin CMake output at the default verbosity:

Please insert your default verbosity CMake output here

Issue Report

Binary Reported:

Expected Behavior

Current Behavior

Screen Shots

Steps to Reproduce

Possible Solution

[bug] Syncing without fast-sync checkpoints returns an error

I receive the following error when attempting to sync from scratch, using the --without-checkpoints flag. When were minimum fees applied? 1.0 seems awfully high. If fees lower were allowed prior to a certain height, that needs added to tx verification it looks like.

 DEBUG   transaction 0e7ea5c090b4f85ef54c6f3e17afb9b618dbb7a00cfaf8a93a39219ff045733e came in processObjects
 ERROR   [Core] Transaction fee is not enough: 0.01000000, minimum fee: 1.00000000

getTransactions return null

curl --data-binary '{"jsonrpc":"2.0","id":"curltext","method":"getTransactions","params":{"blockHash":"093cc6db4e697146725f9a6499c79b48dcfba10e529b391e7aff13bdf04db881","blockCount":1}}' -H 'content-type:text/plain;' http://127.0.0.1:8071/json_rpc
return:
{"id":"curltext","jsonrpc":"2.0","result":{"items":[]}}
wallet start by:
walletd --container-file=/var/qwc/biweitest1 --container-password=11111111 --bind-address=127.0.0.1 --bind-port=8071 --daemon-address=127.0.0.1 --daemon-port=8197 --daemon
qwertycoind start by:
qwertycoind --log-file=/var/qwc/log/qwertycoin.log --enable-blockchain-indexes --rpc-bind-ip=127.0.0.1 --rpc-bind-port=8197
walletd --version
walletd v5.1.4.3030
qwertycoind --version
Qwertycoin v5.1.4.3030
请问这样有什么问题吗?为什么getTransactions返回null?

c++: error: unrecognized command line option ‘-maes’ on ARM

While trying to follow the instructions for building this software, I ran into the error listed in the title. After a little bit of research, I found the solution here.

monero-project/monero#954

Basically, the -maes flag is an x86 specific flag which is not used on ARM architecture.

I removed the "-maes" flag from the "CMakeLists.txt" file. I don't know how to adjust the file to make it recognize when not to place the flag.

I am building this project now. So far, I have gotten further in the process than I had before.

Usage for API which is not json rpc

Is there any words for how to use the rpc which is not json rpc?
I want to use /getblocks, but I don't know how to fix the body for the request...

Someone tries to steal you work

I just met this guy he’s some kind of a scammer or something like that and maybe it’s interesting for you to know that this troll stole your work. He’s trolling and just being a annoying dud I wouldn’t want someone like him having my repo in his listed but not a s a fork. Here a link to one of his repos https://github.com/minereobot1/qwerty-wallet-gui
Maybe you are fine with it but I just wanted to let you know that this stupid troll exists

Contribution. Details?

I've forked the project and I'm interested in contributing to it. I want to discuss that with someone. Where can I? Do you have a slack room?

Issue with Json Rpc

When ever I use simplewallet and try to call it from my web browser and check its details I get this error:

{"error": {"code" : -32700 , "message" : "Parse error"} , "jsonrpc" : "2.0"}

Kindly help me to resolve this.

Not move at block 49899 for alternative chain, have not enough proof of work

Hello,

I just test to run this qwerty today and also test a pool. I got some error and not move:

2018-Apr-12 09:58:16.649229 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:58:16.649229 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:58:16.649229 INFO expected difficulty: 17261521
2018-Apr-12 09:58:19.668371 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:58:19.668371 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:58:19.668371 INFO expected difficulty: 17261521
2018-Apr-12 09:58:34.421860 INFO [195.201.96.78:49213 INC] Sync data returned unknown top block: 49899 -> 49902 [3 blocks (0 days) behind]
2018-Apr-12 09:58:34.421860 INFO SYNCHRONIZATION started
2018-Apr-12 09:58:34.898160 INFO [183.171.77.237:62844 INC] Sync data returned unknown top block: 49899 -> 49933 [34 blocks (0 days) behind]
2018-Apr-12 09:58:34.898160 INFO SYNCHRONIZATION started
2018-Apr-12 09:58:37.447850 INFO [77.55.237.152:8196 OUT] Sync data returned unknown top block: 49899 -> 49902 [3 blocks (0 days) behind]
2018-Apr-12 09:58:37.447850 INFO SYNCHRONIZATION started
2018-Apr-12 09:58:44.965723 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:58:44.965723 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:58:44.965723 INFO expected difficulty: 17261521
2018-Apr-12 09:58:49.276881 INFO Block with id: a12e73ea06bd85bb0790ce2e46ff90836474023a74dbdf189b0898d8055835bc
2018-Apr-12 09:58:49.276881 INFO for alternative chain, have not enough proof of work: 0e600c9d963f3037f44d8df84b849cd70dcf00f251ab801ef029c3d732020000
2018-Apr-12 09:58:49.276881 INFO expected difficulty: 14070894
2018-Apr-12 09:58:52.475500 INFO Block with id: a12e73ea06bd85bb0790ce2e46ff90836474023a74dbdf189b0898d8055835bc
2018-Apr-12 09:58:52.475500 INFO for alternative chain, have not enough proof of work: 0e600c9d963f3037f44d8df84b849cd70dcf00f251ab801ef029c3d732020000
2018-Apr-12 09:58:52.475500 INFO expected difficulty: 14070894
2018-Apr-12 09:58:52.975680 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:58:52.975680 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:58:52.975680 INFO expected difficulty: 17261521
2018-Apr-12 09:59:00.392508 INFO [91.229.219.130:50038 INC] Sync data returned unknown top block: 49899 -> 49933 [34 blocks (0 days) behind]
2018-Apr-12 09:59:00.392508 INFO SYNCHRONIZATION started
2018-Apr-12 09:59:02.104185 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:59:02.104185 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:59:02.104185 INFO expected difficulty: 17261521
2018-Apr-12 09:59:21.534590 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:59:21.534590 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:59:21.534590 INFO expected difficulty: 17261521
2018-Apr-12 09:59:21.644632 INFO [95.46.74.227:55794 INC] Sync data returned unknown top block: 49899 -> 49933 [34 blocks (0 days) behind]
2018-Apr-12 09:59:21.644632 INFO SYNCHRONIZATION started
2018-Apr-12 09:59:29.461582 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:59:29.461582 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:59:29.461582 INFO expected difficulty: 17261521
2018-Apr-12 09:59:33.802897 INFO Block with id: 7266edca4916a26760961255f3e422f2cfcc6c507c674fcd3a428cd0aa8cc5d8
2018-Apr-12 09:59:33.802897 INFO for alternative chain, have not enough proof of work: d3f60f08a02f53211893c89df4f8800dd3be055972ea76bf257d46ccc5760000
2018-Apr-12 09:59:33.802897 INFO expected difficulty: 17261521
2018-Apr-12 09:59:37.279953 INFO [95.46.74.227:8196 OUT] Sync data returned unknown top block: 49899 -> 49933 [34 blocks (0 days) behind]
2018-Apr-12 09:59:37.279953 INFO SYNCHRONIZATION started
2018-Apr-12 09:59:38.841296 INFO [39.119.94.221:13368 INC] Sync data returned unknown top block: 49899 -> 49933 [34 blocks (0 days) behind]
2018-Apr-12 09:59:38.841296 INFO SYNCHRONIZATION started

Can't compile it on linux for android

Hello, i can't compile it for android on ubuntu:

root@xnx-virtual-machine:~/qwertycoin/build# cmake -DCMAKE_TOOLCHAIN_FILE=/root/qwertycoin/cmake/polly/android-ndk-r18b-api-21-x86-clang-libcxx.cmake -DBUILD_TESTS=OFF -DSTATIC=ON -DBUILD_64=OFF -DANDROID=true -DBUILD_TAG="android" ..
-- Building build tag android
CMake Warning (dev) at CMakeLists.txt:83 (set):
implicitly converting 'TYPE' to 'STRING' type.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Building for a 32-bit system
-- Building internal libraries as static
-- Building on x86_64 for native
-- AES support enabled
-- Enabling PIE executable
-- Installing Boost using Hunter package manager...
-- [hunter] Calculating Toolchain-SHA1

[hunter ** INTERNAL **] Compilation of /root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/scripts/ShowPredefined.cpp failed. Result: FALSE

[hunter ** INTERNAL **] Output:
--- OUTPUT BEGIN ---
Change Dir: /root/qwertycoin/build/_3rdParty/Hunter/toolchain/_builds/_test/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_8a4b4/fast
/usr/bin/make -f CMakeFiles/cmTC_8a4b4.dir/build.make CMakeFiles/cmTC_8a4b4.dir/build
make[1]: Verzeichnis „/root/qwertycoin/build/_3rdParty/Hunter/toolchain/builds/test/CMakeFiles/CMakeTmp“ wird betreten
Building CXX object CMakeFiles/cmTC_8a4b4.dir/ShowPredefined.cpp.o
/root/.android/android-ndk-r18b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=i686-none-linux-android --gcc-toolchain=/root/.android/android-ndk-r18b/toolchains/x86-4.9/prebuilt/linux-x86_64 --sysroot=/root/.android/android-ndk-r18b/sysroot -DANDROID -isystem /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include -isystem /root/.android/android-ndk-r18b/sources/android/support/include -isystem /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++abi/include -std=c++11 -funwind-tables -no-canonical-prefixes -D__ANDROID_API
=21 -fexceptions -frtti -g -fPIE -std=c++11 -o CMakeFiles/cmTC_8a4b4.dir/ShowPredefined.cpp.o -c /root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/scripts/ShowPredefined.cpp
In file included from /root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/scripts/ShowPredefined.cpp:12:
In file included from /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include/exception:82:
In file included from /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include/cstdlib:86:
In file included from /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include/stdlib.h:94:
In file included from /root/.android/android-ndk-r18b/sources/android/support/include/stdlib.h:32:
In file included from /root/.android/android-ndk-r18b/sysroot/usr/include/stdlib.h:34:
In file included from /root/.android/android-ndk-r18b/sysroot/usr/include/malloc.h:22:
In file included from /root/.android/android-ndk-r18b/sources/cxx-stl/llvm-libc++/include/stdio.h:108:
In file included from /root/.android/android-ndk-r18b/sysroot/usr/include/stdio.h:42:
In file included from /root/.android/android-ndk-r18b/sysroot/usr/include/sys/types.h:36:
/root/.android/android-ndk-r18b/sysroot/usr/include/linux/types.h:21:10: fatal error: 'asm/types.h' file not found
#include <asm/types.h>
^~~~~~~~~~~~~
1 error generated.
CMakeFiles/cmTC_8a4b4.dir/build.make:65: die Regel für Ziel „CMakeFiles/cmTC_8a4b4.dir/ShowPredefined.cpp.o“ scheiterte
make[1]: *** [CMakeFiles/cmTC_8a4b4.dir/ShowPredefined.cpp.o] Fehler 1
make[1]: Verzeichnis „/root/qwertycoin/build/_3rdParty/Hunter/toolchain/_builds/_test/CMakeFiles/CMakeTmp“ wird verlassen
Makefile:121: die Regel für Ziel „cmTC_8a4b4/fast“ scheiterte
make: *** [cmTC_8a4b4/fast] Fehler 2

--- OUTPUT END ---
[hunter ** INTERNAL **] [Directory:/root/qwertycoin/build/_3rdParty/Hunter/toolchain]

------------------------------ WIKI -------------------------------
https://github.com/ruslo/hunter/wiki/error.internal

CMake Error at /root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_wiki)
CMakeLists.txt:85 (hunter_internal_error)

[hunter ** INTERNAL **] Generate failed: exit with code 1
[hunter ** INTERNAL **] [Directory:/root/qwertycoin]

------------------------------ WIKI -------------------------------
https://github.com/ruslo/hunter/wiki/error.internal

CMake Error at /root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_wiki)
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_calculate_toolchain_sha1.cmake:110 (hunter_internal_error)
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_apply_gate_settings.cmake:135 (hunter_calculate_toolchain_sha1)
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_finalize.cmake:73 (hunter_apply_gate_settings)
/root/.hunter/_Base/Download/Hunter/0.23.105/1c7aaff/Unpacked/cmake/modules/hunter_add_package.cmake:23 (hunter_finalize)
CMakeLists.txt:501 (hunter_add_package)

-- Configuring incomplete, errors occurred!
See also "/root/qwertycoin/build/CMakeFiles/CMakeOutput.log".
See also "/root/qwertycoin/build/CMakeFiles/CMakeError.log".
root@xnx-virtual-machine:~/qwertycoin/build#

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.