Coder Social home page Coder Social logo

monerov / monerov Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 27.0 8.92 MB

The MoneroV open source project

License: Other

CMake 2.13% Makefile 0.10% C 10.97% C++ 84.09% Shell 0.27% Batchfile 0.03% Objective-C 1.77% Python 0.25% Perl 6 0.10% Perl 0.03% q 0.13% Dockerfile 0.14%

monerov's Introduction

MoneroV

Copyright (c) 2018 The MoneroV Project.
Copyright (c) 2014-2018 The Monero Project.
Portions Copyright (c) 2012-2013 The Cryptonote developers.

Development resources

Build

Operating System Processor Build
Ubuntu 16.04 amd64 Ubuntu 16.04 amd64
OSX 10.12 amd64 OSX 10.12 amd64
Windows (MSYS2/MinGW) amd64 Windows (MSYS2/MinGW) amd64

Introduction

MoneroV is a private, secure, untraceable, decentralised digital currency. You are your bank, you control your funds, and nobody can trace your transfers unless you allow them to do so.

Privacy: MoneroV uses a cryptographically sound system to allow you to send and receive funds without your transactions being easily revealed on the blockchain (the ledger of transactions that everyone has). This ensures that your purchases, receipts, and all transfers remain absolutely private by default.

Security: Using the power of a distributed peer-to-peer consensus network, every transaction on the network is cryptographically secured. Individual wallets have a 25 word mnemonic seed that is only displayed once, and can be written down to backup the wallet. Wallet files are encrypted with a passphrase to ensure they are useless if stolen.

Untraceability: By taking advantage of ring signatures, a special property of a certain type of cryptography, MoneroV is able to ensure that transactions are not only untraceable, but have an optional measure of ambiguity that ensures that transactions cannot easily be tied back to an individual user or computer.

About this project

This is the core implementation of MoneroV. It is open source and completely free to use without restrictions, except for those specified in the license agreement below. There are no restrictions on anyone creating an alternative implementation of MoneroV that uses the protocol and network in a compatible manner.

As with many development projects, the repository on Github is considered to be the "staging" area for the latest changes. Before changes are merged into that branch on the main repository, they are tested by individual developers in their own branches, submitted as a pull request, and then subsequently tested by contributors who focus on testing and code reviews. That having been said, the repository should be carefully considered before using it in a production environment, unless there is a patch in the repository for a particular show-stopping issue you are experiencing. It is generally a better idea to use a tagged release for stability.

Anyone is welcome to contribute to MoneroV's codebase! If you have a fix or code change, feel free to submit it as a pull request directly to the "master" branch. In cases where the change is relatively small or does not affect other parts of the codebase it may be merged in immediately by any one of the collaborators. On the other hand, if the change is particularly large or complex, it is expected that it will be discussed at length either well in advance of the pull request being submitted, or even directly on the pull request.

License

See LICENSE.

Scheduled software upgrades

MoneroV uses a fixed-schedule mandatory software upgrade (hard fork) mechanism to implement new features. This means that users of MoneroV (end users and service providers) need to run current versions and upgrade their software on a regular schedule. Mandatory software upgrades occur during the months of March and September. The required software for these upgrades will be available prior to the scheduled date. Please check the repository prior to this date for the proper MoneroV software version. Below is the historical schedule and the projected schedule for the next upgrade.

Dates are provided in the format YYYY-MM-DD.

Software upgrade block height Date Fork version Minimum MoneroV version Recommended MoneroV version Details
1009827 2016-03-22 v2 v0.9.4 v0.9.4 Allow only >= ringsize 3, blocktime = 120 seconds, fee-free blocksize 60 kb
1141317 2016-09-21 v3 v0.9.4 v0.10.0 Splits coinbase into denominations
1220516 2017-01-05 v4 v0.10.1 v0.10.2.1 Allow normal and RingCT transactions
1288616 2017-04-15 v5 v0.10.3.0 v0.10.3.1 Adjusted minimum blocksize and fee algorithm
1400000 2017-09-16 v6 v0.11.0.0 v0.11.0.0 Allow only RingCT transactions, allow only >= ringsize 5
1546000 2018-04-06 v7 v0.12.0.0 v0.12.0.0 Cryptonight variant 1, ringsize >= 7, sorted inputs
1564966 2018-05-03 v8 v0.13.0.0 v0.13.0.0 MoneroV split height

X's indicate that these details have not been determined as of commit date.

Release staging schedule and protocol

Approximately three months prior to a scheduled software upgrade, a branch from Master will be created with the new release version tag. Pull requests that address bugs should then be made to both Master and the new release branch. Pull requests that require extensive review and testing (generally, optimizations and new features) should not be made to the release branch.

Compiling MoneroV from source

Dependencies

The following table summarizes the tools and libraries required to build. A few of the libraries are also included in this repository (marked as "Vendored"). By default, the build uses the library installed on the system, and ignores the vendored sources. However, if no library is found installed on the system, then the vendored source will be built and used. The vendored sources are also used for statically-linked builds because distribution packages often include only shared library binaries (.so) but not static library archives (.a).

Dep Min. version Vendored Debian/Ubuntu pkg Arch pkg Fedora Optional Purpose
GCC 4.7.3 NO build-essential base-devel gcc NO
CMake 3.0.0 NO cmake cmake cmake NO
pkg-config any NO pkg-config base-devel pkgconf NO
Boost 1.58 NO libboost-all-dev boost boost-devel NO C++ libraries
OpenSSL basically any NO libssl-dev openssl openssl-devel NO sha256 sum
libzmq 3.0.0 NO libzmq3-dev zeromq cppzmq-devel NO ZeroMQ library
libunbound 1.4.16 YES libunbound-dev unbound unbound-devel NO DNS resolver
libsodium ? NO libsodium-dev ? libsodium-devel NO libsodium
libminiupnpc 2.0 YES libminiupnpc-dev miniupnpc miniupnpc-devel YES NAT punching
libunwind any NO libunwind8-dev libunwind libunwind-devel YES Stack traces
liblzma any NO liblzma-dev xz xz-devel YES For libunwind
libreadline 6.3.0 NO libreadline6-dev readline readline-devel YES Input editing
ldns 1.6.17 NO libldns-dev ldns ldns-devel YES SSL toolkit
expat 1.1 NO libexpat1-dev expat expat-devel YES XML parsing
GTest 1.5 YES libgtest-dev^ gtest gtest-devel YES Test suite
Doxygen any NO doxygen doxygen doxygen YES Documentation
Graphviz any NO graphviz graphviz graphviz YES Documentation

[^] On Debian/Ubuntu libgtest-dev only includes sources and headers. You must build the library binary manually. This can be done with the following command sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv libg* /usr/lib/

Cloning the repository

Clone recursively to pull-in needed submodule(s):

$ git clone --recursive https://github.com/monerov/monerov.git

If you already have a repo cloned, initialize and update:

$ cd monerov && git submodule init && git submodule update

Build instructions

MoneroV uses the CMake build system and a top-level Makefile that invokes cmake commands as needed.

On Linux and OS X

  • Install the dependencies

  • Change to the root of the source code directory and build:

      cd monerov
      make
    

    Optional: If your machine has several cores and enough memory, enable parallel build by running make -j<number of threads> instead of make. For this to be worthwhile, the machine should have one core and about 2GB of RAM available per thread.

    Note: If cmake can not find zmq.hpp file on OS X, installing zmq.hpp from https://github.com/zeromq/cppzmq to /usr/local/include should fix that error.

  • The resulting executables can be found in build/release/bin

  • Add PATH="$PATH:$HOME/monerov/build/release/bin" to .profile

  • Run MoneroV with monerovd --detach

  • Optional: build and run the test suite to verify the binaries:

      make release-test
    

    NOTE: core_tests test may take a few hours to complete.

  • Optional: to build binaries suitable for debugging:

       make debug
    
  • Optional: to build statically-linked binaries:

       make release-static
    

You might need to build static librarie with -fPIC.

  • Optional: build documentation in doc/html (omit HAVE_DOT=YES if graphviz is not installed):

      HAVE_DOT=YES doxygen Doxyfile
    

On the Raspberry Pi

Tested on a Raspberry Pi Zero with a clean install of minimal Raspbian Stretch (2017-09-07 or later) from https://www.raspberrypi.org/downloads/raspbian/. If you are using Raspian Jessie, please see note in the following section.

  • apt-get update && apt-get upgrade to install all of the latest software

  • Install the dependencies for MoneroV from the 'Debian' column in the table above.

  • Increase the system swap size:

	sudo /etc/init.d/dphys-swapfile stop  
	sudo nano /etc/dphys-swapfile  
	CONF_SWAPSIZE=1024  
	sudo /etc/init.d/dphys-swapfile start  
  • Clone monerov and checkout most recent release version:
    git clone --recursive https://github.com/monerov/monerov.git
	cd monerov
	git checkout master
  • Build:
        make release
  • Wait 4-6 hours

  • The resulting executables can be found in build/release/bin

  • Add PATH="$PATH:$HOME/monerov/build/release/bin" to .profile

  • Run MoneroV with monerovd --detach

  • You may wish to reduce the size of the swap file after the build has finished, and delete the boost directory from your home directory

Note for Raspbian Jessie users:

If you are using the older Raspbian Jessie image, compiling MoneroV is a bit more complicated. The version of Boost available in the Debian Jessie repositories is too old to use with MoneroV, and thus you must compile a newer version yourself. The following explains the extra steps, and has been tested on a Raspberry Pi 2 with a clean install of minimal Raspbian Jessie.

  • As before, apt-get update && apt-get upgrade to install all of the latest software, and increase the system swap size
	sudo /etc/init.d/dphys-swapfile stop  
	sudo nano /etc/dphys-swapfile  
	CONF_SWAPSIZE=1024  
	sudo /etc/init.d/dphys-swapfile start  
  • Then, install the dependencies for MoneroV except libunwind and libboost-all-dev

  • Install the latest version of boost (this may first require invoking apt-get remove --purge libboost* to remove a previous version if you're not using a clean install):

	cd  
	wget https://sourceforge.net/projects/boost/files/boost/1.64.0/boost_1_64_0.tar.bz2  
	tar xvfo boost_1_64_0.tar.bz2  
	cd boost_1_64_0  
	./bootstrap.sh  
	sudo ./b2  
  • Wait ~8 hours
	sudo ./bjam install

On Windows:

Binaries for Windows are built on Windows using the MinGW toolchain within MSYS2 environment. The MSYS2 environment emulates a POSIX system. The toolchain runs within the environment and cross-compiles binaries that can run outside of the environment as a regular Windows application.

Preparing the build environment

  • Download and install the MSYS2 installer, either the 64-bit or the 32-bit package, depending on your system.

  • Open the MSYS shell via the MSYS2 Shell shortcut

  • Update packages using pacman:

      pacman -Syuu  
    
  • Exit the MSYS shell using Alt+F4

  • Edit the properties for the MSYS2 Shell shortcut changing "msys2_shell.bat" to "msys2_shell.cmd -mingw64" for 64-bit builds or "msys2_shell.cmd -mingw32" for 32-bit builds

  • Restart MSYS shell via modified shortcut and update packages again using pacman:

      pacman -Syuu  
    
  • Install dependencies:

    To build for 64-bit Windows:

      pacman -S mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-boost mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium
    

    To build for 32-bit Windows:

      pacman -S mingw-w64-i686-toolchain make mingw-w64-i686-cmake mingw-w64-i686-boost mingw-w64-i686-openssl mingw-w64-i686-zeromq mingw-w64-i686-libsodium
    
  • Open the MingW shell via MinGW-w64-Win64 Shell shortcut on 64-bit Windows or MinGW-w64-Win64 Shell shortcut on 32-bit Windows. Note that if you are running 64-bit Windows, you will have both 64-bit and 32-bit MinGW shells.

Building

  • If you are on a 64-bit system, run:

      make release-static-win64
    
  • If you are on a 32-bit system, run:

      make release-static-win32
    
  • The resulting executables can be found in build/release/bin

Building portable statically linked binaries

By default, in either dynamically or statically linked builds, binaries target the specific host processor on which the build happens and are not portable to other processors. Portable binaries can be built using the following targets:

  • make release-static-linux-x86_64 builds binaries on Linux on x86_64 portable across POSIX systems on x86_64 processors
  • make release-static-linux-i686 builds binaries on Linux on x86_64 or i686 portable across POSIX systems on i686 processors
  • make release-static-linux-armv8 builds binaries on Linux portable across POSIX systems on armv8 processors
  • make release-static-linux-armv7 builds binaries on Linux portable across POSIX systems on armv7 processors
  • make release-static-linux-armv6 builds binaries on Linux portable across POSIX systems on armv6 processors
  • make release-static-win64 builds binaries on 64-bit Windows portable across 64-bit Windows systems
  • make release-static-win32 builds binaries on 64-bit or 32-bit Windows portable across 32-bit Windows systems

Running monerovd

The build places the binary in bin/ sub-directory within the build directory from which cmake was invoked (repository root by default). To run in foreground:

./bin/monerovd

To list all available options, run ./bin/monerovd --help. Options can be specified either on the command line or in a configuration file passed by the --config-file argument. To specify an option in the configuration file, add a line with the syntax argumentname=value, where argumentname is the name of the argument without the leading dashes, for example log-level=1.

To run in background:

./bin/monerovd --log-file monerovd.log --detach

To run as a systemd service, copy monerovd.service to /etc/systemd/system/ and monerovd.conf to /etc/. The example service assumes that the user monerov exists and its home is the data directory specified in the example config.

If you're on Mac, you may need to add the --max-concurrency 1 option to monerov-wallet-cli, and possibly monerovd, if you get crashes refreshing.

Internationalization

See README.i18n.md.

Using Tor

While MoneroV isn't made to integrate with Tor, it can be used wrapped with torsocks, if you add --p2p-bind-ip 127.0.0.1 to the monerod command line. You also want to set DNS requests to go over TCP, so they'll be routed through Tor, by setting DNS_PUBLIC=tcp or use a particular DNS server with DNS_PUBLIC=tcp://a.b.c.d (default is 8.8.4.4, which is Google DNS). You may also disable IGD (UPnP port forwarding negotiation), which is pointless with Tor. To allow local connections from the wallet, you might have to add TORSOCKS_ALLOW_INBOUND=1, some OSes need it and some don't. Example:

DNS_PUBLIC=tcp torsocks monerovd --p2p-bind-ip 127.0.0.1 --no-igd

or:

DNS_PUBLIC=tcp TORSOCKS_ALLOW_INBOUND=1 torsocks monerovd --p2p-bind-ip 127.0.0.1 --no-igd

TAILS ships with a very restrictive set of firewall rules. Therefore, you need to add a rule to allow this connection too, in addition to telling torsocks to allow inbound connections. Full example:

sudo iptables -I OUTPUT 2 -p tcp -d 127.0.0.1 -m tcp --dport 19091 -j ACCEPT

DNS_PUBLIC=tcp torsocks ./monerovd --p2p-bind-ip 127.0.0.1 --no-igd --rpc-bind-ip 127.0.0.1 --data-dir /home/amnesia/Persistent/your/directory/to/the/blockchain

./monerov-wallet-cli

Debugging

This section contains general instructions for debugging failed installs or problems encountered with MoneroV. First ensure you are running the latest version built from the Github repo.

Obtaining stack traces and core dumps on Unix systems

We generally use the tool gdb (GNU debugger) to provide stack trace functionality, and ulimit to provide core dumps in builds which crash or segfault.

  • To use gdb in order to obtain a stack trace for a build that has stalled:

Run the build.

Once it stalls, enter the following command:

gdb /path/to/monerovd `pidof monerovd` 

Type thread apply all bt within gdb in order to obtain the stack trace

  • If however the core dumps or segfaults:

Enter ulimit -c unlimited on the command line to enable unlimited filesizes for core dumps

Enter echo core | sudo tee /proc/sys/kernel/core_pattern to stop cores from being hijacked by other tools

Run the build.

When it terminates with an output along the lines of "Segmentation fault (core dumped)", there should be a core dump file in the same directory as monerovd. It may be named just core, or core.xxxx with numbers appended.

You can now analyse this core dump with gdb as follows:

gdb /path/to/monerovd /path/to/dumpfile

Print the stack trace with bt

  • To run monerov within gdb:

Type gdb /path/to/monerovd

Pass command-line options with --args followed by the relevant arguments

Type run to run monerovd

Analysing memory corruption

We use the tool valgrind for this.

Run with valgrind /path/to/monerovd. It will be slow.

LMDB

Instructions for debugging suspected blockchain corruption as per @HYC

There is an mdb_stat command in the LMDB source that can print statistics about the database but it's not routinely built. This can be built with the following command:

cd ~/monerov/external/db_drivers/liblmdb && make

The output of mdb_stat -ea <path to blockchain dir> will indicate inconsistencies in the blocks, block_heights and block_info table.

The output of mdb_dump -s blocks <path to blockchain dir> and mdb_dump -s block_info <path to blockchain dir> is useful for indicating whether blocks and block_info contain the same keys.

These records are dumped as hex data, where the first line is the key and the second line is the data.

monerov's People

Contributors

arielony avatar miltonf 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

Watchers

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

monerov's Issues

Raspberry PI - undefined reference / collect2: error: ld returned 1 exit status

Hi,

I tried to build a monerov node on a Raspberry PI 3 B+ with all the steps explained in the readme file.

I always get errors like this:

[ 95%] Building CXX object src/daemon/CMakeFiles/daemon.dir/rpc_command_executor.cpp.o^M
...
[ 95%] Linking CXX executable ../../bin/monerovd
...
/usr/lib/gcc/arm-linux-gnueabihf/6/../../../arm-linux-gnueabihf/libzmq.a(src_libzmq_la-pgm_socket.o): In function zmq::pgm_socket_t::~pgm_socket_t()': (.text+0x20f0): undefined reference to pgm_close'
collect2: error: ld returned 1 exit status
src/daemon/CMakeFiles/daemon.dir/build.make:289: die Regel für Ziel „bin/monerovd“ scheiterte
make[3]: *** [bin/monerovd] Fehler 1
make[3]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
CMakeFiles/Makefile2:3017: die Regel für Ziel „src/daemon/CMakeFiles/daemon.dir/all“ scheiterte
make[2]: *** [src/daemon/CMakeFiles/daemon.dir/all] Fehler 2
make[2]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
Makefile:138: die Regel für Ziel „all“ scheiterte
make[1]: *** [all] Fehler 2
make[1]: Verzeichnis „/home/pi/monerov/monerov/build/release“ wird verlassen
Makefile:82: die Regel für Ziel „release-static-linux-armv7“ scheiterte
make: *** [release-static-linux-armv7] Fehler 2

Can someone help me with this?

Thanks!

Moe

monerovd stops syncing at height 1565026

my monerovd-0.13 is stuck at 1565026 for two weeks now, but the protocol discovers that there are new blocks:

top block candidate: 1565026 -> 1575592 [Your node is 10566 blocks (14 days) behind]
SYNCHRONIZATION started
status
Height: 1565026/1575592 (99.3%) on mainnet, not mining, net hash 0 H/s, v8, up to date, 4(out)+0(in)
connections, uptime 0d 0h 10m 46s
sync_info
Height: 1565026, target: 1575593 (99.3293%)
Downloading at 1 kB/s
3 peers
<IP>:19090       81d168f0ad8b6f72  1541124  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090     eab490248510bbf6  1575593  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090        3d0a68a473f52db4  1559554  1 kB/s, 0 blocks / 0 MB queued

after some time it haven't synced anything:

status
Height: 1565026/1565026 (100.0%) on mainnet, not mining, net hash 0 H/s, v8, up to date, 2(out)+0(in) connections, uptime 0d 0h 20m 3s
sync_info
Height: 1565026, target: 1565026 (100%)
Downloading at 0 kB/s
2 peers
<IP>:19090       81d168f0ad8b6f72  1541264  0 kB/s, 0 blocks / 0 MB queued
<IP>:19090        3d0a68a473f52db4  1560874  0 kB/s, 0 blocks / 0 MB queued

peers with newer blocks were dropped.

print_cn
Remote Host                   Peer id             Support Flags       Recv/Sent (inactive,sec)      State                    Livetime(sec)       Down (kB/s) Down(now)     Up (kB/s) Up(now)

OUT <IP>:19090       0ee7d99227545748    1                   15585(30)/6185453(25)         state_normal             39                  0           1             154       636
OUT <IP>:19090       5783e390e6088850    1                   33420(3)/7368915(3)           state_normal             114                 0           0             63        34
OUT <IP>:19090       81d168f0ad8b6f72    1                   52095(81)/5067819(80)         state_normal             330                 0           0             14        110

Unable to run the wallet rpc

When I try to run the wallet rpc i am getting this error
Consistency failure in amounts received.
I couldn't even start the wallet cli because of this. Could anyone help me how to resolve this isssue.

Genesis transaction

okay so odd question im trying to fork and i guess most wouldnt wanna help but its mainly educational,
i have made it to starting my daemon and when i do i get failed to add genesis transaction okay so i know --print-gensis-tx or something like that used to work but doesnt? i havent found alot of info on this because obviously most dont want you to fork i assume but i could use a point in how to get the gensis transaction

Build fails on Ubuntu 18.04 Linux

Scanning dependencies of target obj_cryptonote_core
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
make[3]: Entering directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/blockchain.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/tx_pool.cpp.o
[ 36%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o
In function ‘bool cryptonote::construct_miner_tx(size_t, size_t, uint64_t, size_t, uint64_t, const cryptonote::account_public_address&, cryptonote::transaction&, const blobdata&, size_t, uint8_t)’:
cc1plus: error: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
cc1plus: all warnings being treated as errors
src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/build.make:134: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o' failed
make[3]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o] Error 1
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
CMakeFiles/Makefile2:1259: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all' failed
make[2]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all] Error 2
make[2]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:140: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:64: recipe for target 'release-all' failed
make: *** [release-all] Error 2

unable to send amount to another account with in wallet

I have created two account within wallet.

If i try to send the amount to another account it throws,

2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1511     Consistency failure in amounts received
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1512     Check transaction <4b5aa8347e87cf22810e87f90860f2801a9ac6e75e233cdf51ee6218a997c137>
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1513     ********************************************************************** ```

Wallet GUI only starts in low graphics mode

Hi happy to have a monerov wallet available.
I've installed the WINDOWS 64bit GUI on a win10 64bit pc on an external drive.
The wallet will close itself immediately after starting the monerov-wallet-gui.exe.
When started from start-low-graphics-mode.bat the wallet seems to work.
Any suggestion?
monerov-wallet-gui.log

Build fails on Ubuntu 18.04 Linux

Using GCC 6.5.0.

[ 49%] Building CXX object src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o
/home/user/CRYPTO/monerov/UPDATE/monerov/src/simplewallet/simplewallet.cpp: In member function ‘bool cryptonote::simple_wallet::set_daemon(const std::vector<std::__cxx11::basic_string >&)’:
/home/user/CRYPTO/monerov/UPDATE/monerov/src/simplewallet/simplewallet.cpp:3818:84: error: invalid type argument of unary ‘*’ (have ‘bool’)
success_msg_writer() << boost::format("Daemon set to %s, %s") % daemon_url % (*m_trusted_daemon ? tr("trusted") : tr("untrusted"));
^~~~~~~~~~~~~~~~
src/simplewallet/CMakeFiles/simplewallet.dir/build.make:62: recipe for target 'src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o' failed
make[3]: *** [src/simplewallet/CMakeFiles/simplewallet.dir/simplewallet.cpp.o] Error 1
make[3]: Leaving directory '/home/user/CRYPTO/monerov/UPDATE/monerov/build/release'
CMakeFiles/Makefile2:2624: recipe for target 'src/simplewallet/CMakeFiles/simplewallet.dir/all' failed

Older Yosemite mac

Dear Monerov team,
Any news for the community running older mac versions... can we expect a wallet?
Thx

Support for Ubuntu 18.04 and later for 18.10

Hi Guys,

How is your project evolving? Since I upgraded to Ubuntu 18.04.1 I have issues with the packages. Obviously the systems do not stop fixing vulnerabilities and issues so I'd like to continue using your coin in my updated system. Could you please track and upgrade accordingly as currently I managed to create symlinks for libboost packages which you reference to version 1.58, but failed to fix an issue with libreadline.so.6...

We really need your support.

Raspberry PI - DB resizing does not work

Hi,

I set up a MoneroV node on a Raspberry PI 3b+. Currently the PI syncs the blockchain and when it comes to the point to resize the db, the software tries to resize, but nothing happens and syncing stops.

When I stop the daemon and start the daemon again, the software log show, the db has to be resized. The db will be rsized and everythink works.

Has anyone the same issue?

Bye

Moe

Cannot buid/run monerov on Fedora 28 x64

OS Version

[xmv@monero-mn-01 monerov]$ uname -a
Linux monero-mn-01 4.16.7-300.fc28.x86_64 #1 SMP Wed May 2 20:09:13 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Dependencies

sudo yum install -y git make gcc gcc-c++ cmake pkgconf boost-devel openssl-devel cppzmq-devel unbound-devel libsodium-devel

Make

-- Generating done
-- Build files have been written to: /home/xmv/git/monerov/build/release/translations
...
Scanning dependencies of target epee
make[3]: Leaving directory '/home/xmv/git/monerov/build/release'
make[3]: Entering directory '/home/xmv/git/monerov/build/release'
[ 10%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/hex.cpp.o
[ 10%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/http_auth.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/mlog.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/net_utils_base.cpp.o
[ 11%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/string_tools.cpp.o
[ 12%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/wipeable_string.cpp.o
[ 12%] Building C object contrib/epee/src/CMakeFiles/epee.dir/memwipe.c.o
[ 12%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/connection_basic.cpp.o
In file included from /home/xmv/git/monerov/src/serialization/crypto.h:37,
                 from /home/xmv/git/monerov/src/cryptonote_basic/cryptonote_basic.h:44,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_defs.h:35,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:34,
                 from /home/xmv/git/monerov/contrib/epee/include/net/../../../../src/cryptonote_core/cryptonote_core.h:39,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.inl:52,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.h:324,
                 from /home/xmv/git/monerov/contrib/epee/src/connection_basic.cpp:77:
/home/xmv/git/monerov/src/crypto/chacha.h: In function ‘void crypto::generate_chacha_key(const void*, size_t, crypto::chacha_key&)’:
/home/xmv/git/monerov/src/crypto/chacha.h:76:46: error: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of non-trivially copyable type ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’}; use copy-assignment or copy-initialization instead [-Werror=class-memacces]
     memcpy(&key, pwd_hash.data(), sizeof(key));
                                              ^
In file included from /home/xmv/git/monerov/contrib/epee/include/string_tools.h:48,
                 from /home/xmv/git/monerov/src/p2p/p2p_protocol_defs.h:37,
                 from /home/xmv/git/monerov/src/p2p/net_node_common.h:35,
                 from /home/xmv/git/monerov/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:33,
                 from /home/xmv/git/monerov/contrib/epee/include/net/../../../../src/cryptonote_core/cryptonote_core.h:39,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.inl:52,
                 from /home/xmv/git/monerov/contrib/epee/include/net/abstract_tcp_server2.h:324,
                 from /home/xmv/git/monerov/contrib/epee/src/connection_basic.cpp:77:
/home/xmv/git/monerov/contrib/epee/include/memwipe.h:53:10: note: ‘using chacha_key = tools::scrubbed_arr<unsigned char, 32>’ {aka ‘struct tools::scrubbed<std::array<unsigned char, 32> >’} declared here
   struct scrubbed : public T {
          ^~~~~~~~
cc1plus: all warnings being treated as errors
make[3]: *** [contrib/epee/src/CMakeFiles/epee.dir/build.make:154: contrib/epee/src/CMakeFiles/epee.dir/connection_basic.cpp.o] Error 1
make[3]: Leaving directory '/home/xmv/git/monerov/build/release'
make[2]: *** [CMakeFiles/Makefile2:366: contrib/epee/src/CMakeFiles/epee.dir/all] Error 2
make[2]: Leaving directory '/home/xmv/git/monerov/build/release'
make[1]: *** [Makefile:141: all] Error 2
make[1]: Leaving directory '/home/xmv/git/monerov/build/release'
make: *** [Makefile:65: release-all] Error 2

How to access ./monerovd with rpc-...?

Hi,

If I start monerovd on a Raspberry PI with this command:

./monerovd --detach --rpc-bind-ip=192.168.x.x --rpc-bin-port=19091 --confirm-external-bind --detach

I can not access the status with monerovd status. Then I get this information:

Error: Couldn't connect to daemon: 127.0.0.1:19091

Without --rpc... paramters it works.

What do I have to change?

Thanks!

Moe

Wallet crashes when sending to another account within same wallet

Hi,

I have created two account within the same wallet.

While transferring to another account within the wallet it throws.

2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1511     Consistency failure in amounts received
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1512     Check transaction <4b5aa8347e87cf22810e87f90860f2801a9ac6e75e233cdf51ee6218a997c137>
2018-10-22 11:43:31.423 [RPC0]  WARN    global  src/wallet/wallet2.cpp:1513     **********************************************************************

Error attempting to retrieve a block hash from the db: Cannot allocate memory

Hi,

I get randomly the following error message:

[P2P6] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P6] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack: [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [1] monerovd:__wrap___cxa_throw+0xac [0x95639c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [2] monerovd+0x476bb8 [0x883bb8] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [3] monerovd:cryptonote::BlockchainLMDB::add_spent_key(crypto::key_image const&)+0x1cc [0x891ae4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [4] monerovd:cryptonote::BlockchainDB::add_transaction(crypto::hash const&, cryptonote::transaction const&, crypto::hash const*)+0x334 [0x87e424] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [5] monerovd:cryptonote::BlockchainDB::add_block(cryptonote::block const&, unsigned int const&, unsigned long long const&, unsigned long long const&, std::vector<cryptonote::transaction, std::allocator<cryptonote::transaction> > const&)+0x234 [0x87ec14] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [6] monerovd:cryptonote::BlockchainLMDB::add_block(cryptonote::block const&, unsigned int const&, unsigned long long const&, unsigned long long const&, std::vector<cryptonote::transaction, std::allocator<cryptonote::transaction> > const&)+0x194 [0x8a87c4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [7] monerovd:cryptonote::Blockchain::handle_block_to_main_chain(cryptonote::block const&, crypto::hash const&, cryptonote::block_verification_context&)+0x1fb4 [0x8cc9a4] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [8] monerovd:cryptonote::Blockchain::add_new_block(cryptonote::block const&, cryptonote::block_verification_context&)+0x320 [0x8d1cc8] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [9] monerovd:cryptonote::core::handle_incoming_block(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cryptonote::block_verification_context&, bool)+0x36c [0x8e6590] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [10] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::try_add_next_blocks(cryptonote::cryptonote_connection_context&)+0x55c [0x854364] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [11] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_response_get_objects(int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&)+0x970 [0x856a60] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [12] monerovd:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > > >(cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > >, cryptonote::cryptonote_connection_context&)+0x5ac [0x6f8d88] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [13] monerovd:int cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_invoke_map<cryptonote::cryptonote_connection_context>(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::cryptonote_connection_context&, bool&)+0x30c [0x6fa6ac] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [14] monerovd:int nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::handle_invoke_map<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&, bool&)+0xf0 [0x6fa8fc] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [15] monerovd:nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::notify(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&)+0x5c [0x6fac9c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [16] monerovd:epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::handle_recv(void const*, unsigned int)+0x2d0 [0x867130] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [17] monerovd:epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::handle_read(boost::system::error_code const&, unsigned int)+0x254 [0x87c5ec] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [18] monerovd:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int> >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int>&)+0xc4 [0x859d10] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [19] monerovd:boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x168 [0x85a004] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [20] monerovd:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x29c [0x85a37c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [21] monerovd:boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ac [0x85a59c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [22] monerovd:boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ec [0x73938c] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [23] monerovd:epee::net_utils::boosted_tcp_server<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::worker_thread()+0x718 [0x830fec] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [24] monerovd+0x90b044 [0xd18044] [P2P6] INFO stacktrace src/common/stack_trace.cpp:163 [P2P6] ERROR blockchain src/cryptonote_core/blockchain.cpp:3604 Error adding block with hash: <df0345cf7ba3853357658cd1fdffb213cb457b7112967ec811aa26a1ea021168> to blockchain, what = Error adding spent key image to db transaction: Cannot allocate memory [P2P3] WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:75 Error attempting to retrieve a block hash from the db: Cannot allocate memory [P2P3] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P3] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack: [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [1] monerovd:__wrap___cxa_throw+0xac [0x95639c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [2] monerovd+0x477238 [0x884238] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [3] monerovd:cryptonote::BlockchainLMDB::get_block_hash_from_height(unsigned long long const&) const+0x2f4 [0x8a3c40] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [4] monerovd:cryptonote::Blockchain::get_short_chain_history(std::__cxx11::list<crypto::hash, std::allocator<crypto::hash> >&) const+0x1c4 [0x8b31a8] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [5] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::request_missing_objects(cryptonote::cryptonote_connection_context&, bool, bool)+0xe84 [0x851368] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [6] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::try_add_next_blocks(cryptonote::cryptonote_connection_context&)+0x138 [0x853f40] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [7] monerovd:cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_response_get_objects(int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&)+0x970 [0x856a60] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [8] monerovd:int epee::net_utils::buff_to_t_adapter<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request, cryptonote::cryptonote_connection_context, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > > >(cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::_bi::bind_t<int, boost::_mfi::mf3<int, cryptonote::t_cryptonote_protocol_handler<cryptonote::core>, int, cryptonote::NOTIFY_RESPONSE_GET_OBJECTS::request&, cryptonote::cryptonote_connection_context&>, boost::_bi::list4<boost::_bi::value<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>*>, boost::arg<1>, boost::arg<2>, boost::arg<3> > >, cryptonote::cryptonote_connection_context&)+0x5ac [0x6f8d88] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [9] monerovd:int cryptonote::t_cryptonote_protocol_handler<cryptonote::core>::handle_invoke_map<cryptonote::cryptonote_connection_context>(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, cryptonote::cryptonote_connection_context&, bool&)+0x30c [0x6fa6ac] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [10] monerovd:int nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::handle_invoke_map<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >(bool, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&, bool&)+0xf0 [0x6fa8fc] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [11] monerovd:nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >::notify(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context>&)+0x5c [0x6fac9c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [12] monerovd:epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::handle_recv(void const*, unsigned int)+0x2d0 [0x867130] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [13] monerovd:epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::handle_read(boost::system::error_code const&, unsigned int)+0x254 [0x87c5ec] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [14] monerovd:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int> >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::binder2<boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::system::error_code, unsigned int>&)+0xc4 [0x859d10] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [15] monerovd:boost::asio::detail::completion_handler<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x168 [0x85a004] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [16] monerovd:void boost::asio::detail::strand_service::dispatch<boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > > >(boost::asio::detail::strand_service::strand_impl*&, boost::asio::detail::rewrapped_handler<boost::asio::detail::binder2<boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned int>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> > >&)+0x29c [0x85a37c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [17] monerovd:boost::asio::detail::reactive_socket_recv_op<boost::asio::mutable_buffers_1, boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >, boost::system::error_code const&, unsigned int>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > > > >, boost::arg<1> (*)(), boost::arg<2> (*)()> >, boost::asio::detail::is_continuation_if_running> >::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ac [0x85a59c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [18] monerovd:boost::asio::detail::epoll_reactor::descriptor_state::do_complete(boost::asio::detail::task_io_service*, boost::asio::detail::task_io_service_operation*, boost::system::error_code const&, unsigned int)+0x1ec [0x73938c] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [19] monerovd:epee::net_utils::boosted_tcp_server<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::worker_thread()+0x718 [0x830fec] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [20] monerovd+0x90b044 [0xd18044] [P2P3] INFO stacktrace src/common/stack_trace.cpp:163 [P2P3] WARN blockchain.db.lmdb src/blockchain_db/lmdb/db_lmdb.cpp:75 Error attempting to retrieve a block hash from the db: Cannot allocate memory [P2P3] INFO stacktrace src/common/stack_trace.cpp:124 Exception: cryptonote::DB_ERROR [P2P3] INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack:
Can someone help me with this?

Failed to deinitialize core...

Hi,

my node stopped and now I get this error, if I try to restart it:

2018-05-23 17:21:00.704���������747b0e00��������WARN net.p2p src/p2p/net_node.inl:2050�������IGD was found but reported as not connected.
2018-05-23 17:21:00.712���������747b0e00��������DEBUG net.p2p contrib/epee/src/connection_basic.cpp:171
��������Destructing connection p2p#0 to 0.0.0.0
2018-05-23 17:21:00.714���������747b0e00��������INFO global src/daemon/core.h:103 Deinitializing core...
2018-05-23 17:21:00.716���������747b0e00��������DEBUG miner src/cryptonote_basic/miner.cpp:355����� Not mining - nothing to stop
2018-05-23 17:21:00.724���������747b0e00��������ERROR daemon src/daemon/core.h:108 Failed to deinitialize core...
2018-05-23 17:21:00.724���������747b0e00��������DEBUG miner src/cryptonote_basic/miner.cpp:355����� Not mining - nothing to stop
2018-05-23 17:21:00.724���������747b0e00��������INFO global src/daemon/protocol.h:75��������Stopping cryptonote protocol...
2018-05-23 17:21:00.724���������747b0e00��������INFO global src/daemon/protocol.h:79��������Cryptonote protocol stopped successfully

How can I fix this without reloading the whole Blockchain?

Bye

Moe

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.