Giter Club home page Giter Club logo

prosusmoney's People

Contributors

arielony avatar driquelme avatar goro2030 avatar iamjuarez avatar prosus-money avatar rigoy22k avatar yerkobits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

prosusmoney's Issues

Error while mining on testnet

Assertion failed: (m_difficultyWindow_2 >= 2), function nextDifficultyV2, 
file /Users/daniel/CLionProjects/prosus.money-testnet-1/cli/src/CryptoNoteCore/Currency.cpp, line 500.

Connection issue in 0.7.2?

Downloaded and compiled 0.7.2, and now not being able to connect to any node:

019-Sep-20 08:09:11.896820 DEBUG   Selected peer: 7307302927830981033 18.221.201.1:18161 [white=1] last_seen: never
2019-Sep-20 08:09:11.897041 DEBUG   Connecting to 18.221.201.1:18161 (white=1, last_seen: never)...
2019-Sep-20 08:09:12.039358 DEBUG   Connection to 18.221.201.1:18161 failed: TcpConnector::connect, connection failed
2019-Sep-20 08:09:12.039480 DEBUG   Selected peer: 8770694130787931982 200.42.190.22:16180 [white=1] last_seen: never
2019-Sep-20 08:09:12.039516 DEBUG   Connecting to 200.42.190.22:16180 (white=1, last_seen: never)...
2019-Sep-20 08:09:17.040303 DEBUG   Connection to 200.42.190.22:16180 timed out, interrupt it
2019-Sep-20 08:09:17.040604 DEBUG   Connection timed out

Maybe a version compatibility issue, meaning my 0.7.2 client is newer or older than the other nodes' version? @yerkobits

error al compilar

puedo compilar otros algoritmos pero con prous me pasa esto :c

[ 34%] Building CXX object src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Currency.cpp.o
/root/prosus/src/CryptoNoteCore/Currency.cpp: In member function ‘bool CryptoNote::Currency::generateGenesisBlock()’:
/root/prosus/src/CryptoNoteCore/Currency.cpp:75:38: error: ‘GENESIS_COINBASE_TX_HEX’ was not declared in this scope
   std::string genesisCoinbaseTxHex = GENESIS_COINBASE_TX_HEX;
                                      ^
src/CMakeFiles/CryptoNoteCore.dir/build.make:446: recipe for target 'src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Currency.cpp.o' failed
make[3]: *** [src/CMakeFiles/CryptoNoteCore.dir/CryptoNoteCore/Currency.cpp.o] Error 1
make[3]: Leaving directory '/root/prosus/build/release'
CMakeFiles/Makefile2:798: recipe for target 'src/CMakeFiles/CryptoNoteCore.dir/all' failed
make[2]: *** [src/CMakeFiles/CryptoNoteCore.dir/all] Error 2
make[2]: Leaving directory '/root/prosus/build/release'
Makefile:94: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/prosus/build/release'
Makefile:20: recipe for target 'build-release' failed
make: *** [build-release] Error 2
root@mail:~/prosus#

Found CRITICAL Vulnerability in your website !

Hello I am Chirag Prajapati a Certified Penetration Tester and Ethical Hacker my License no is: 10188-161-078-1726.

I found a CRITICAL Vulnerability on your website: prosusmoney.cl

For more information I request you to kindly revert me back so that I can share with you the report !
Looking forward to hearing from you !

CryptoNote compilation warning #2 - Upgrade from memcpy

CryptoNote compilation warning #2

/prosus/cryptonote/src/crypto/chacha8.h:48:40: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘struct Crypto::chacha8_key’; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(&key, &pwd_hash, sizeof(key));
                                        ^

Can't compile on Ubuntu under Raspberry Pi arm64 architecture

@yerkobits

I installed all the dependencies, like this:

apt-get install build-essential git cmake libboost-all-dev

I didn't isntall QT because i just want the CLI compiled, as the RPI runs text-mode only.

But i'm getting the following cmake compilation error:

CMake Error at /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
  Found package configuration file:

    /usr/lib/aarch64-linux-gnu/cmake/boost_system-1.71.0/boost_system-config.cmake

  but it set boost_system_FOUND to FALSE so package "boost_system" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_system.so.1.71.0 (shared, Boost_USE_STATIC_LIBS=ON)

  * libboost_system.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /usr/lib/aarch64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:489 (find_package)

Command line wallet reports balances incorrectly

All the calculations in the command line balance shows 10 times less coins than what it should... for example:

2021-May-03 13:31:10.176613 INFO available balance: 4940.824

When in the GUI Windows wallet, it shows that I have 49408.24 coins

Compiled Linux Wallet needs a default node IP to connect to

If I run the wallet with no parameters, it doesn't connect to any default node, therefore it fails to connect and create the wallet. The log looks like this:

2020-Jun-19 22:41:12.322363 INFO    prosus wallet v0.7.2 (antiasic)
Nor 'generate-new-wallet' neither 'wallet-file' argument was specified.
What do you want to do?
O - open wallet
G - generate new wallet
I - import wallet from keys
R - restore backup/paperwallet
T - import tracking wallet
E - exit
g
Specify wallet file name (e.g., wallet.bin).
Wallet file name: test
2020-Jun-19 22:41:15.558417 ERROR   Error: Error connecting to the remote node: TcpConnector::connect, connection failed
2020-Jun-19 22:41:15.561360 ERROR   Error: Failed to parse remote node response

We should add the default IP recommended for the daemon into the code.

Compiling on UBUNTU 20 with libboost 1.71.0

@yerkobits , I'm trying to update the software to compile and run on UBUNTU 20, since we need to make Prosus "Linux version independent" and not depend on a specific version of Linux, or libboost, etc ... and I'm failing miserably ...

First of all, the instructions that you reverted to the previous version will just not work for someone that sets up a new Ubuntu box, since the DEV libraries are not in the default installation package, so I added back:

Adding the repository for dev ( to get libboost):

sudo add-apt-repository -s 'deb http://us.archive.ubuntu.com/ubuntu/ focal universe'

Now we need like 300MB of the QT Graphical interface libraries, since those are also custom, non-default:

sudo apt install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-xmllistmodel qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel qttools5-dev-tools qml-module-qtquick-templates2 libqt5svg5-dev

Did 2 changes to my fork that you can see there, to use libboost 1.71.0, since 1.58 is not available for Ubuntu 20 anymore ... so I changed the setup instructions like this:

OLD: apt-get install build-essential git cmake libboost1.58-all-dev
NEW: apt-get install build-essential git cmake libboost-all-dev

Then I changed the versions in file /cryptonote/CmakeLists.txt:


OLD: -find_package(Boost 1.55 QUIET REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options coroutine context atomic)
NEW: find_package(Boost 1.71 QUIET REQUIRED COMPONENTS system filesystem thread date_time chrono regex serialization program_options coroutine context atomic)

Assuming that's what defines the libboost version ... i got it past the first error in compilation, but now when trying to compile it, it fails with the following:

root@ubuntu:/mnt/git# mkdir build && cd build
root@ubuntu:/mnt/git/build# cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any parent up to mount point /mnt)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/boost_date_time-1.71.0/boost_date_time-config.cmake

  but it set boost_date_time_FOUND to FALSE so package "boost_date_time" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_date_time.so.1.71.0 (shared, Boost_USE_STATIC_LIBS=ON)

  * libboost_date_time.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:32 (find_package)

libboost install

The boost1.67-dev alone does not work ... I did now download all 450 megabytes of libraries with:

apt-get install libboost1.67-all-dev

And it works... since I don't know which ones you use, cannot pick and choose the right ones...

Originally posted by @Goro2030 in #18 (comment)

Issues compiling on PopLinux

using the standard build tools suggested I have compilation errors including "uint32_t / uint8_t not a valid type" and "runtime_error not a member of std"

I was able to compile after adding these includes to Dispatcher.h
#include <stdexcept>
#include <stdint.h>

Assertion failed when doing a transfer in testnet

When I attempt a transfer using a wallet with enough balance in testnet I get the following assertion failure.

[wallet Prosus]: transfer 1 Prosus23a548CfzKnXrXZC9Sz3uTQPzeWWWL721PkyPkQBMbjNH85FgdLvzCLG4ooQEUP3VvCmDz26UraS2XFPcZBnf6St3Zq7A4N 1000000 -f 1000000
Assertion failed: (!vec.empty()), function popRandomValue, file /cli/src/WalletLegacy/WalletTransactionSender.cpp, line 334.
[1]    98873 abort      ./binaries/prosus-wallet --testnet

cc: @yerkobits

cmake + Qt5Gui

prosus/build$ cmake ..

-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:21 (find_package):
By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Gui", but
CMake did not find one.

Could not find a package configuration file provided by "Qt5Gui" with any
of the following names:

Qt5GuiConfig.cmake
qt5gui-config.cmake

Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
"Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui"
provides a separate development package or SDK, be sure it has been
installed.

-- Configuring incomplete, errors occurred!

Is this project alive?

I like the idea behind Bytecoin, and apparently you have developed your own code from a Bytecoin fork. It is interesting to know that this project is an older cryptocurrency still working.
Can I support with some commits?

Installation issue on Ubuntu

When trying to install on a base brand new Ubuntu 19, I get this:

apt-get install build-essential git cmake libboost1.58-all-dev

E: Unable to locate package libboost1.58-all-dev
E: Couldn't find any package by glob 'libboost1.58-all-dev'
E: Couldn't find any package by regex 'libboost1.58-all-dev'

CryptoNote compilation issues

During compilation and building of CryptoNote, we're getting a ton of "warning" . Let's try to know them down one at at time.

Starting with the most repetitive one, is this one:

 struct chacha8_key {
          ^~~~~~~~~~~
/prosus/cryptonote/src/CryptoNoteCore/Blockchain.cpp: In member function ‘bool CryptoNote::Blockchain::update_next_comulative_size_limit()’:
/prosus/cryptonote/src/CryptoNoteCore/Blockchain.cpp:1809:94: warning: ‘height’ is used uninitialized in this function [-Wuninitialized]

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.