Giter VIP home page Giter VIP logo

scala-v7's Introduction

Scala

Copyright (c) 2018-2020 The Scala Network. Copyright (c) 2014-2019 The Monero Project.
Portions Copyright (c) 2012-2013 The Cryptonote developers.

Table of Contents

Development resources

  • Web: scalaproject.io
  • Forum: discord
  • Mail: [email protected]
  • GitHub: https://github.com/scala-network/scala
  • It is HIGHLY recommended that you join the discord channel if you are developing software that uses Scala. Due to the nature of this open source software project, joining this channel and idling is the best way to stay updated on best practices and new developments in the Scala ecosystem. All you need to do is join the discord channel and idle to stay updated with the latest in Scala development. If you do not, you risk wasting resources on developing integrations that are not compatible with the Scala network. The Scala core team and community continuously make efforts to communicate updates, developments, and documentation via other platforms – but for the best information, you need to talk to other Scala developers, and they are on discord.

Vulnerability response

Please reach out to us at [email protected] if you would like to report any vulnerabilities in the Scala codebase.

Announcements

  • You can follow our twitter to get all the new information regarding the project.

Introduction

Scala 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: Scala 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, Scala 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.

Decentralization: The utility of scala depends on its decentralised peer-to-peer consensus network - anyone should be able to run the scala software, validate the integrity of the blockchain, and participate in all aspects of the scala network using consumer-grade commodity hardware. Decentralization of the scala network is maintained by software development that minimizes the costs of running the scala software and inhibits the proliferation of specialized, non-commodity hardware.

About this project

This is the core implementation of Scala. 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 Scala 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 Scala'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.

Contributing

If you want to help out, see CONTRIBUTING for a set of guidelines.

Scheduled software upgrades

Scala uses a fixed-schedule software upgrade (hard fork) mechanism to implement new features. This means that users of Scala (end users and service providers) should run current versions and upgrade their software on a regular schedule.

Compiling Scala 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 Void pkg Fedora pkg Optional Purpose
GCC 4.7.3 NO build-essential base-devel base-devel gcc NO
CMake 3.5 NO cmake cmake cmake cmake NO
pkg-config any NO pkg-config base-devel base-devel pkgconf NO
Boost 1.58 NO libboost-all-dev boost boost-devel boost-devel NO C++ libraries
OpenSSL basically any NO libssl-dev openssl libressl-devel openssl-devel NO sha256 sum
libzmq 3.0.0 NO libzmq3-dev zeromq zeromq-devel zeromq-devel NO ZeroMQ library
OpenPGM ? NO libpgm-dev libpgm openpgm-devel NO For ZeroMQ
libnorm[2] ? NO libnorm-dev YES For ZeroMQ
libunbound 1.4.16 YES libunbound-dev unbound unbound-devel unbound-devel NO DNS resolver
libsodium ? NO libsodium-dev libsodium libsodium-devel libsodium-devel NO cryptography
libunwind any NO libunwind8-dev libunwind libunwind-devel libunwind-devel YES Stack traces
liblzma any NO liblzma-dev xz liblzma-devel xz-devel YES For libunwind
libreadline 6.3.0 NO libreadline6-dev readline readline-devel readline-devel YES Input editing
ldns 1.6.17 NO libldns-dev ldns libldns-devel ldns-devel YES SSL toolkit
expat 1.1 NO libexpat1-dev expat expat-devel expat-devel YES XML parsing
GTest 1.5 YES libgtest-dev[1] gtest gtest-devel gtest-devel YES Test suite
Doxygen any NO doxygen doxygen doxygen doxygen YES Documentation
Graphviz any NO graphviz graphviz graphviz graphviz YES Documentation
lrelease ? NO qttools5-dev-tools qt5-tools qt5-tools qt5-linguist YES Translations
libhidapi ? NO libhidapi-dev hidapi hidapi-devel hidapi-devel YES Hardware wallet
libusb ? NO libusb-dev libusb libusb-devel libusb-devel YES Hardware wallet
libprotobuf ? NO libprotobuf-dev protobuf protobuf-devel protobuf-devel YES Hardware wallet
protoc ? NO protobuf-compiler protobuf protobuf protobuf-compiler YES Hardware wallet

[1] 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/ [2] libnorm-dev is needed if your zmq library was built with libnorm, and not needed otherwise

Install all dependencies at once on Debian/Ubuntu:

sudo apt update && sudo apt install build-essential cmake pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libexpat1-dev doxygen graphviz libpgm-dev qttools5-dev-tools libhidapi-dev libusb-dev libprotobuf-dev protobuf-compiler

Install all dependencies at once on macOS with the provided Brewfile: brew update && brew bundle --file=contrib/brew/Brewfile

FreeBSD one liner for required to build dependencies pkg install git gmake cmake pkgconf boost-libs libzmq libsodium

Cloning the repository

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

$ git clone --recursive https://github.com/scala-network/scala

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

$ cd scala && git submodule init && git submodule update

Build instructions

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

On Linux and macOS

  • Install the dependencies

  • Change to the root of the source code directory, change to the most recent release branch, and build:

    cd scala
    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.

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

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

  • Run Scala with scalad --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

Dependencies need to be built with -fPIC. Static libraries usually aren't, so you may have to build them yourself with -fPIC. Refer to their documentation for how to build them.

  • 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 Scala 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=2048
    sudo /etc/init.d/dphys-swapfile start
  • If using an external hard disk without an external power supply, ensure it gets enough power to avoid hardware issues when syncing, by adding the line "max_usb_current=1" to /boot/config.txt

  • Clone scala and checkout the most recent release version:

    git clone --recurisive https://github.com/scala-network/scala.git
    cd scala
  • Build:

    make release
  • Wait 4-6 hours

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

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

  • Run Scala with scalad --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 Scala is a bit more complicated. The version of Boost available in the Debian Jessie repositories is too old to use with Scala, 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=2048
    sudo /etc/init.d/dphys-swapfile start
  • Then, install the dependencies for Scala except libunwind and libboost-all-dev

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

    cd
    wget https://sourceforge.net/projects/boost/files/boost/1.72.0/boost_1_72_0.tar.bz2
    tar xvfo boost_1_72_0.tar.bz2
    cd boost_1_72_0
    ./bootstrap.sh
    sudo ./b2
  • Wait ~8 hours

    sudo ./bjam cxxflags=-fPIC cflags=-fPIC -a install
  • Wait ~4 hours

  • From here, follow the general Raspberry Pi instructions from the "Clone scala and checkout most recent release version" step.

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 -Syu
  • 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 -Syu
  • 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 mingw-w64-x86_64-hidapi

    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 mingw-w64-i686-hidapi
  • 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.

Cloning

  • To git clone, run:

    git clone --recursive https://github.com/scala-network/scala.git

Building

  • Change to the cloned directory, run:

    cd scala
  • If you would like a specific version/tag, do a git checkout for that version. eg. 'v0.15.0.0'. If you don't care about the version and just want binaries from master, skip this step:

    git checkout v0.15.0.0
  • 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

  • Optional: to build Windows binaries suitable for debugging on a 64-bit system, run:

    make debug-static-win64
  • Optional: to build Windows binaries suitable for debugging on a 32-bit system, run:

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

On FreeBSD:

The project can be built from scratch by following instructions for Linux above(but use gmake instead of make). If you are running scala in a jail, you need to add sysvsem="new" to your jail configuration, otherwise lmdb will throw the error message: Failed to open lmdb environment: Function not implemented.

Scala is also available as a port or package as 'scala-cli`.

On OpenBSD:

You will need to add a few packages to your system. pkg_add cmake gmake zeromq libiconv boost.

The doxygen and graphviz packages are optional and require the xbase set. Running the test suite also requires py-requests package.

Build scala: env DEVELOPER_LOCAL_TOOLS=1 BOOST_ROOT=/usr/local gmake release-static

Note: you may encounter the following error, when compiling the latest version of scala as a normal user:

LLVM ERROR: out of memory
c++: error: unable to execute command: Abort trap (core dumped)

Then you need to increase the data ulimit size to 2GB and try again: ulimit -d 2000000

On Solaris:

The default Solaris linker can't be used, you have to install GNU ld, then run cmake manually with the path to your copy of GNU ld:

mkdir -p build/release
cd build/release
cmake -DCMAKE_LINKER=/path/to/ld -D CMAKE_BUILD_TYPE=Release ../..
cd ../..

Then you can run make as usual.

On Linux for Android (using docker):

# Build image (for ARM 32-bit)
docker build -f utils/build_scripts/android32.Dockerfile -t scala-android .
# Build image (for ARM 64-bit)
docker build -f utils/build_scripts/android64.Dockerfile -t scala-android .
# Create container
docker create -it --name scala-android scala-android bash
# Get binaries
docker cp scala-android:/src/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

Cross Compiling

You can also cross-compile static binaries on Linux for Windows and macOS with the depends system.

  • make depends target=x86_64-linux-gnu for 64-bit linux binaries.
  • make depends target=x86_64-w64-mingw32 for 64-bit windows binaries.
    • Requires: python3 g++-mingw-w64-x86-64 wine1.6 bc
  • make depends target=x86_64-apple-darwin11 for macOS binaries.
    • Requires: cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev
  • make depends target=i686-linux-gnu for 32-bit linux binaries.
    • Requires: g++-multilib bc
  • make depends target=i686-w64-mingw32 for 32-bit windows binaries.
    • Requires: python3 g++-mingw-w64-i686
  • make depends target=arm-linux-gnueabihf for armv7 binaries.
    • Requires: g++-arm-linux-gnueabihf
  • make depends target=aarch64-linux-gnu for armv8 binaries.
    • Requires: g++-aarch64-linux-gnu
  • make depends target=riscv64-linux-gnu for RISC V 64 bit binaries.
    • Requires: g++-riscv64-linux-gnu
  • make depends target=x86_64-unknown-freebsd for freebsd binaries.
    • Requires: clang-8
  • make depends target=arm-linux-android for 32bit android binaries
  • make depends target=aarch64-linux-android for 64bit android binaries

The required packages are the names for each toolchain on apt. Depending on your distro, they may have different names.

Using depends might also be easier to compile Scala on Windows than using MSYS. Activate Windows Subsystem for Linux (WSL) with a distro (for example Ubuntu), install the apt build-essentials and follow the depends steps as depicted above.

The produced binaries still link libc dynamically. If the binary is compiled on a current distribution, it might not run on an older distribution with an older installation of libc. Passing -DBACKCOMPAT=ON to cmake will make sure that the binary will run on systems having at least libc version 2.17.

Running scalad

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/scalad

To list all available options, run ./bin/scalad --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/scalad --log-file scalad.log --detach

To run as a systemd service, copy scalad.service to /etc/systemd/system/ and scalad.conf to /etc/. The example service assumes that the user scala 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 scala-wallet-cli, and possibly scalad, if you get crashes refreshing.

Internationalization

See README.i18n.md.

Using Tor

There is a new, still experimental, integration with Tor. The feature allows connecting over IPv4 and Tor simulatenously - IPv4 is used for relaying blocks and relaying transactions received by peers whereas Tor is used solely for relaying transactions received over local RPC. This provides privacy and better protection against surrounding node (sybil) attacks.

While Scala isn't made to integrate with Tor, it can be used wrapped with torsocks, by setting the following configuration parameters and environment variables:

  • --p2p-bind-ip 127.0.0.1 on the command line or p2p-bind-ip=127.0.0.1 in scalad.conf to disable listening for connections on external interfaces.
  • --no-igd on the command line or no-igd=1 in scalad.conf to disable IGD (UPnP port forwarding negotiation), which is pointless with Tor.
  • DNS_PUBLIC=tcp or DNS_PUBLIC=tcp://x.x.x.x where x.x.x.x is the IP of the desired DNS server, for DNS requests to go over TCP, so that they are routed through Tor. When IP is not specified, scalad uses the default list of servers defined in src/common/dns_utils.cpp.
  • TORSOCKS_ALLOW_INBOUND=1 to tell torsocks to allow scalad to bind to interfaces to accept connections from the wallet. On some Linux systems, torsocks allows binding to localhost by default, so setting this variable is only necessary to allow binding to local LAN/VPN interfaces to allow wallets to connect from remote hosts. On other systems, it may be needed for local wallets as well.
  • Do NOT pass --detach when running through torsocks with systemd, (see utils/systemd/scalad.service for details).
  • If you use the wallet with a Tor daemon via the loopback IP (eg, 127.0.0.1:9050), then use --untrusted-daemon unless it is your own hidden service.

Example command line to start scalad through Tor:

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

Using Tor on Tails

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 18081 -j ACCEPT
DNS_PUBLIC=tcp torsocks ./scalad --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

Debugging

This section contains general instructions for debugging failed installs or problems encountered with Scala. 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/scalad `pidof scalad`

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 scalad. 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/scalad /path/to/dumpfile`

Print the stack trace with bt

  • If a program crashed and cores are managed by systemd, the following can also get a stack trace for that crash:
coredumpctl -1 gdb

To run scala within gdb:

Type gdb /path/to/scalad

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

Type run to run scalad

Analysing memory corruption

There are two tools available:

ASAN

Configure Scala with the -D SANITIZE=ON cmake flag, eg:

cd build/debug && cmake -D SANITIZE=ON -D CMAKE_BUILD_TYPE=Debug ../..

You can then run the scala tools normally. Performance will typically halve.

valgrind

Install valgrind and run as valgrind /path/to/scalad. It will be very 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 ~/scala/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.

Known Issues

Protocols

Socket-based

Because of the nature of the socket-based protocols that drive scala, certain protocol weaknesses are somewhat unavoidable at this time. While these weaknesses can theoretically be fully mitigated, the effort required (the means) may not justify the ends. As such, please consider taking the following precautions if you are a scala node operator:

  • Run scalad on a "secured" machine. If operational security is not your forte, at a very minimum, have a dedicated a computer running scalad and do not browse the web, use email clients, or use any other potentially harmful apps on your scalad machine. Do not click links or load URL/MUA content on the same machine. Doing so may potentially exploit weaknesses in commands which accept "localhost" and "127.0.0.1".
  • If you plan on hosting a public "remote" node, start scalad with --restricted-rpc. This is a must.

Blockchain-based

Certain blockchain "features" can be considered "bugs" if misused correctly. Consequently, please consider the following:

  • When receiving scala, be aware that it may be locked for an arbitrary time if the sender elected to, preventing you from spending that scala until the lock time expires. You may want to hold off acting upon such a transaction until the unlock time lapses. To get a sense of that time, you can consider the remaining blocktime until unlock as seen in the show_transfers command.

scala-v7's People

Contributors

hayzamjs avatar teredic avatar

Stargazers

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

Watchers

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

scala-v7's Issues

Missing Files

CMake Error at tests/CMakeLists.txt:74 (file):
file COPY cannot find "/home/dagere76/Scala/tests/data/unsigned_scala_tx

I noticed there was one in the master branch, I believe it is v6. There is a monero unsigned and signed. Do those names need to be changed?

Thanks

Provide a windows 32bit version

Please provide a windows 32bit CLI version a lot of people does not have 64bit yet, The lack of the 32bit version drives a lot of new users away.

scala-3.0.0.4 2 does not compile on Mac OS Catalina 10.15.13

64%] Building CXX object src/checkpoints/CMakeFiles/obj_checkpoints.dir/checkpoints.cpp.o
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:315:41: error: unknown type name
'scala_dir_usable'
std::ofstream o(scala_dir_usable);
^
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:315:40: warning: parentheses were disambiguated
as a function declaration [-Wvexing-parse]
std::ofstream o(scala_dir_usable);
^~~~~~~~~~~~~~~~~~
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:315:41: note: add a pair of parentheses to
declare a variable
std::ofstream o(scala_dir_usable);
^
(
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:393:22: error: unknown type name
'scala_dir_usable'
std::ofstream o2(scala_dir_usable);
^
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:393:21: warning: parentheses were disambiguated
as a function declaration [-Wvexing-parse]
std::ofstream o2(scala_dir_usable);
^~~~~~~~~~~~~~~~~~
/Users/rene/Downloads/Scala-3.0.0.4 2/src/checkpoints/checkpoints.cpp:393:22: note: add a pair of parentheses to
declare a variable
std::ofstream o2(scala_dir_usable);

[BUG] Failed to find tx meta

Daemon spamming the error "E failed to find tx meta" when the rpc method getblocktemplate is called.

DEBUG OUTPUT

Seems to go away after a reboot for a little while, but it always returns.

dyld: Symbol not found

I can't get the software to work on my Mac... (MacOS 10.15.6)
I installed it with "Brew" and the Brewfile.

`2020-08-23 23:16:35.386 I Scala 'Panthera' (v4.0.0.0-64f35d8a4)
2020-08-23 23:16:35.386 I Initializing cryptonote protocol...
2020-08-23 23:16:35.386 I Cryptonote protocol initialized OK
2020-08-23 23:16:35.387 I Initializing core...
dyld: lazy symbol binding failed: Symbol not found: __ZN5boost16re_detail_10720027cpp_regex_traits_char_layerIcE4initEv
Referenced from: /Users/user/Desktop/Scala/bin/scalad
Expected in: /usr/local/opt/boost/lib/libboost_regex-mt.dylib

dyld: Symbol not found: __ZN5boost16re_detail_10720027cpp_regex_traits_char_layerIcE4initEv
Referenced from: /Users/user/Desktop/Scala/bin/scalad
Expected in: /usr/local/opt/boost/lib/libboost_regex-mt.dylib

zsh: abort /Users/user/Desktop/Scala/bin/scalad`

Failed to initialize wallet RPC server

daemon is fully synced I have no idea about this issue, have nothing but problems since the update,

Stellite 'Adamantium' (v2.0.0.1-master-release)
Logging to ./stellite-wallet-rpc.log
2019-01-31 05:36:18.153 7f036c826780 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:3400 Loading wallet...
2019-01-31 05:36:18.280 7f036c826780 WARN wallet.wallet2 src/wallet/wallet2.cpp:4587 Loaded wallet keys file, with public address: Se3xVT6mXDvUMJDsnL5EDSBmEHHrBcaARVz2CfBQFGeBVLJFDKbqQEvdt5oUn6Bh4JPRxbW3XHfrrCyT1x2p7z7Y36hpbEGHN
2019-01-31 05:36:18.846 7f036c826780 INFO global contrib/epee/include/net/http_server_impl_base.h:76 Binding on 127.0.0.1:20190
2019-01-31 05:36:18.850 7f036c826780 FATAL net contrib/epee/include/net/abstract_tcp_server2.inl:856 Error starting server: bind: Address already in use
2019-01-31 05:36:18.851 7f036c826780 ERROR wallet.rpc src/wallet/wallet_rpc_server.cpp:3449 Failed to initialize wallet RPC server
root@localhost:~/Stellite/build/Linux/master/release/bin#

Fix for "__memcpy_chk" undefined (Msys/Windows)

Hello,

I've updated msys and its packages, and now i was unable to compile the windows build.

I got several "__memcpy_chk" undefined errors, and then it stops.

After several research, i found the fix on the loki git

I applied the same change in the CMakeList.txt, but here you can find the same section on the line 643.

You have to remove these 2 lines :

line 644 : if (NOT WIN32)
line 649 : endif()

Afterwards it works perfectly and the compilation ends as expected.

wallet-rpc with nodejs-pool

Hi. Trying to get a nodejs-pool working and i get the following when trying to make payments. Could you please help?

2018-06-21 04:49:07.002 7f38bb615740 INFO global contrib/epee/include/net/http_server_impl_base.h:70 Binding on 127.0.0.1:8070
2018-06-21 04:49:07.002 7f38bb615740 WARN wallet.rpc src/wallet/wallet_rpc_server.cpp:1948 Starting wallet rpc server
2018-06-21 04:49:42.191 [RPC0] INFO stacktrace src/common/stack_trace.cpp:120 Exception: std::runtime_error
2018-06-21 04:49:42.191 [RPC0] INFO stacktrace src/common/stack_trace.cpp:121 Unwound call stack:
2018-06-21 04:49:42.195 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [1] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:__cxa_throw+0x106 [0x7c72a6]
2018-06-21 04:49:42.195 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [2] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::serialization::convert_to_integral<double, unsigned long, false>::convert(double const&, unsigned long&)+0x1bc [0x6514cc]
2018-06-21 04:49:42.195 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [3] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:bool epee::serialization::kv_serialization_overloads_impl_is_base_serializable_types::kv_unserialize<unsigned long, epee::serialization::portable_storage>(unsigned long&, epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection, char const*)+0x158 [0x65b758]
2018-06-21 04:49:42.195 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [4] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc() [0x5f7b5a]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [5] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:bool epee::json_rpc::requesttools::wallet_rpc::COMMAND_RPC_TRANSFER::request::loadepee::serialization::portable_storage(epee::serialization::portable_storage&, epee::serialization::portable_storage::hsection)+0xa5 [0x661f15]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [6] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:bool tools::wallet_rpc_server::handle_http_request_mapepee::net_utils::connection_context_base(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x663 [0x675493]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [7] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:tools::wallet_rpc_server::handle_http_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&, epee::net_utils::connection_context_base&)+0x15c [0x680a4c]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [8] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base::handle_request(epee::net_utils::http::http_request_info const&, epee::net_utils::http::http_response_info&)+0xa2 [0x662f32]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [9] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::http::simple_http_connection_handlerepee::net_utils::connection_context_base::handle_request_and_send_response(epee::net_utils::http::http_request_info const&)+0x22e [0x63610e]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [10] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::http::simple_http_connection_handlerepee::net_utils::connection_context_base::handle_retriving_query_body()+0x14f [0x63643f]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [11] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::http::simple_http_connection_handlerepee::net_utils::connection_context_base::handle_buff_in(std::__cxx11::basic_string<char, std::char_traits, std::allocator >&)+0x1c0 [0x681d10]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [12] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::http::simple_http_connection_handlerepee::net_utils::connection_context_base::handle_recv(void const*, unsigned long)+0x37 [0x682137]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [13] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >::handle_read(boost::system::error_code const&, unsigned long)+0x1ba [0x68235a]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [14] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc: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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::system::error_code, unsigned long> >(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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::system::error_code, unsigned long>&)+0x71 [0x65cfb1]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [15] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:void boost::asio::detail::wrapped_handler<boost::asio::io_service::strand, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::asio::detail::is_continuation_if_running>::operator()<boost::system::error_code, unsigned long>(boost::system::error_code const&, unsigned long const&)+0x69 [0x65d1f9]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [16] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc: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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, 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 long)+0x12b [0x65d39b]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [17] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc: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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, 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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> >, boost::asio::detail::is_continuation_if_running>, boost::system::error_code, unsigned long>, boost::_bi::bind_t<void, boost::_mfi::mf2<void, epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, boost::arg<1> ()(), boost::arg<2> ()()> > >&)+0x20a [0x65d6ba]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [18] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc: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::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >, boost::system::error_code const&, unsigned long>, boost::_bi::list3<boost::_bi::value<boost::shared_ptr<epee::net_utils::connection<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base > > >, 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 long)+0x233 [0x65d973]
2018-06-21 04:49:42.196 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [19] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc: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 long)+0x1f5 [0x605f15]
2018-06-21 04:49:42.197 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [20] /home/alex/Stellite/build/release/bin/stellite-wallet-rpc:epee::net_utils::boosted_tcp_server<epee::net_utils::http::http_custom_handlerepee::net_utils::connection_context_base >::worker_thread()+0x807 [0x61c307]
2018-06-21 04:49:42.197 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [21] /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.58.0+0x115d5 [0x7f38ba94c5d5]
2018-06-21 04:49:42.197 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [22] /lib/x86_64-linux-gnu/libpthread.so.0+0x76ba [0x7f38b8e346ba]
2018-06-21 04:49:42.197 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159 [23] /lib/x86_64-linux-gnu/libc.so.6:clone+0x6d [0x7f38b8b6a41d]
2018-06-21 04:49:42.197 [RPC0] INFO stacktrace src/common/stack_trace.cpp:159
2018-06-21 04:49:42.197 [RPC0] ERROR net.http contrib/epee/include/net/jsonrpc_structs.h:21 Exception on unserializing: WRONG DATA CONVERSION: from type=d to type m

Imported the latest .raw, wallet shows 50K remaining

I dont know if it is a bug or a feature, the importer clearlu showed importing 109K blocks. though some weird jump seemed to happen after 55K, starting the wallet gave me 50K remaining, which is now taking hours ago. Could this raw be corrupt somewhere between 55K and 60K, or some other feature?

wallet-rpc

hi I try to get a connection with my pool payment processor- to the Stellite wallet-
what setup I have to do to get a connection on this

"wallet": {
    "host": "127.0.0.1",
    "port": 18980
},

Raspberry Pi 4 (4gb) make release error file missing emmintrin.h

/home/pi/Desktop/Scala/external/defyx/src/blake2/yescrypt-simd.c:37:10: fatal error: emmintrin.h: No such file or directory #include <emmintrin.h> ^~~~~~~~~~~~~ compilation terminated. make[3]: *** [external/defyx/CMakeFiles/defyx.dir/build.make:479: external/defyx/CMakeFiles/defyx.dir/src/blake2/yescrypt-simd.c.o] Error 1 make[3]: Leaving directory '/home/pi/Desktop/Scala/build/release' make[2]: *** [CMakeFiles/Makefile2:413: external/defyx/CMakeFiles/defyx.dir/all] Error 2 make[2]: Leaving directory '/home/pi/Desktop/Scala/build/release' make[1]: *** [Makefile:141: all] Error 2 make[1]: Leaving directory '/home/pi/Desktop/Scala/build/release' make: *** [Makefile:87: release] Error 2

Not seeing my mined blocks showing up in the wallet

I am not seeing my mined blocks showing up in the wallet. I verified on the (official) block chain explorer that the mined blocks are mine, but nothing in the wallet. I rescanned the full blockchain a few times.

please update root-zone trust-anchors in dnssec_test.py file

Users of your software that enable DNSSEC will not be able to validate DNS after October the 11th 2018.

Your repository contains a dnssec_test.py file without the new DNSSEC trust-anchors:

resolver.add_ta(". IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5")

It should also include:

resolver.add_ta(". IN DS 20326 8 2 E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D")

More information can be found at: https://www.icann.org/resources/pages/ksk-rollover

Please don’t hesitate to get in touch.

Warmly,

Roy Arends
ICANN

Building for Arm8

Trying to cross compile by using the command:
make depends target=aarch64-linux-gnu

Error:
cd contrib/depends && make HOST=aarch64-linux-gnu && cd ../.. && mkdir -p build/aarch64-linux-gnu/release
make[1]: Entering directory '/home/mcadoryfire/scala/contrib/depends'
Checksum missing or mismatched for native_ccache source. Forcing re-download.
Fetching ccache-3.3.4.tar.bz2 from https://samba.org/ftp/ccache
/bin/sh: 1: curl: not found
Fetching ccache-3.3.4.tar.bz2 from https://bitcoincore.org/depends-sources
/bin/sh: 1: curl: not found
make[1]: *** [funcs.mk:262: /home/mcadoryfire/scala/contrib/depends/sources/download-stamps/.stamp_fetched-native_ccache-ccache-3.3.4.tar.bz2.hash] Error 127
make[1]: Leaving directory '/home/mcadoryfire/scala/contrib/depends'
make: *** [Makefile:51: depends] Error `2

IPFS-Zeronet Testing

I got a small error while launching the zeronet argument...

Here's the details :
2018-08-03 08:37:18.684 9508 INFO global src/daemon/main.cpp:279 Stellite 'Titanium v3' (v1.2.4.2-release)
2018-08-03 08:37:18.685 9508 INFO global src/daemon/protocol.h:55 Initializing cryptonote protocol...
2018-08-03 08:37:18.685 9508 INFO global src/daemon/protocol.h:60 Cryptonote protocol initialized OK
2018-08-03 08:37:18.697 9508 INFO global src/daemon/p2p.h:63 Initializing p2p server...
2018-08-03 08:37:21.013 9508 INFO global src/p2p/net_node.inl:426 Fetching seed list from ZeroNet/IPFS...
panic: interface conversion: interface {} is nil, not float64

goroutine 190 [running]:
github.com/donovansolms/ZeroGo/downloader.(*Downloader).Download(0xc042692280, 0xc0422567e0, 0x0, 0x0, 0x0)
C:/GoPath/src/github.com/donovansolms/ZeroGo/downloader/downloader.go:72 +0x9ed
github.com/donovansolms/ZeroGo/site.(*Site).Download.func1(0xc042692200, 0xc0422567e0)
C:/GoPath/src/github.com/donovansolms/ZeroGo/site/site.go:67 +0x9a
created by github.com/donovansolms/ZeroGo/site.(*Site).Download
C:/GoPath/src/github.com/donovansolms/ZeroGo/site/site.go:60 +0xae

please update root-zone trust-anchors in dns_utils.cpp

Users of your software that enable DNSSEC will not be able to validate DNS after October the 11th 2018.

Your repository contains a “dns_utils.cpp” file without the new DNSSEC trust-anchors:

". IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5\n"

It should also include:

". IN DS 20326 8 2 E06D44B80B8F1D39A95C0B0D7C65D08458E880409BBC683457104237C7F8EC8D\n"

More information can be found at: https://www.icann.org/resources/pages/ksk-rollover

Please don’t hesitate to get in touch.

Warmly,

Roy Arends
ICANN

readme

The readme under build instructions has wrong address it shows github.com/scala-project/scala which gives a 404 I assume it should be updated to github.com/scala-network/Scala

StelliteD not syncing blocks after 100940

2018-04-05 11:44:25.074 [P2P2] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [54.38.39.0:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102169 [Your node is 1229 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:47:12.152 [P2P4] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [216.244.77.114:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102171 [Your node is 1231 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:50:35.892 [P2P0] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [191.35.20.34:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102174 [Your node is 1234 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:51:19.498 [P2P9] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [191.35.20.34:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102175 [Your node is 1235 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:51:59.319 [P2P2] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [175.148.23.202:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102176 [Your node is 1236 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:53:22.148 [P2P3] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [84.209.24.93:20188 OUT] Sync data returned a new top block candidate: 100940 -> 101992 [Your node is 1052 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:53:22.840 [P2P0] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [216.244.77.114:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102177 [Your node is 1237 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:53:37.033 [P2P6] WARN net.dns src/common/dns_utils.cpp:487 WARNING: no two valid StellitePulse DNS checkpoint records were received
2018-04-05 11:54:05.943 [P2P1] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [217.151.232.60:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102121 [Your node is 1181 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:54:48.457 [P2P8] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [191.35.20.34:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102178 [Your node is 1238 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:55:58.071 [P2P8] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [175.148.23.202:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102180 [Your node is 1240 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:57:20.300 [P2P5] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [118.178.122.224:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102182 [Your node is 1242 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 11:58:16.683 [P2P1] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [174.7.34.152:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102185 [Your node is 1245 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:06:52.146 [P2P9] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [213.133.103.136:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102198 [Your node is 1258 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:08:30.620 [P2P4] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [154.20.179.123:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102199 [Your node is 1259 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:12:10.543 [P2P8] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [94.130.67.112:20188 OUT] Sync data returned a new top block candidate: 100940 -> 101656 [Your node is 716 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:12:11.435 [P2P7] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [154.20.179.123:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102201 [Your node is 1261 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:14:00.084 [P2P3] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [94.130.67.112:20188 OUT] Sync data returned a new top block candidate: 100940 -> 101656 [Your node is 716 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:14:00.752 [P2P1] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [72.201.232.122:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102201 [Your node is 1261 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:15:04.789 [P2P6] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [191.35.20.34:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102203 [Your node is 1263 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:15:46.226 [P2P2] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [72.201.232.122:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102204 [Your node is 1264 blocks (0 days) behind]
SYNCHRONIZATION started
2018-04-05 12:16:47.271 [P2P4] INFO global src/cryptonote_protocol/cryptonote_protocol_handler.inl:302 [213.133.103.136:20188 OUT] Sync data returned a new top block candidate: 100940 -> 102206 [Your node is 1266 blocks (0 days) behind]
SYNCHRONIZATION started

i am stuck at block 100940 ....

issue compiling binaries

I keep having this error every time I try to compile the binaries

[ 78%] Linking CXX executable unit_tests
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libgtest.a(gtest-all.cc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libgtest.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
tests/unit_tests/CMakeFiles/unit_tests.dir/build.make:1544: recipe for target 'tests/unit_tests/unit_tests' failed
make[3]: *** [tests/unit_tests/unit_tests] Error 1
make[3]: Leaving directory '/root/Stellite/build/Linux/master/release'
CMakeFiles/Makefile2:4568: recipe for target 'tests/unit_tests/CMakeFiles/unit_tests.dir/all' failed
make[2]: *** [tests/unit_tests/CMakeFiles/unit_tests.dir/all] Error 2
make[2]: Leaving directory '/root/Stellite/build/Linux/master/release'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/root/Stellite/build/Linux/master/release'
Makefile:81: recipe for target 'release-test' failed
make: *** [release-test] Error 2

The file naming convention for torque releases lacks a proper prefix

Hi,

I was very surprised to discover, in my downloads folder, a copy of macOS 2.0.03, with ~37MB. Well this is odd I thought to myself...

Please, consider prefixing the torque deamon with torque, going from:

linux-x64-2.0.0.3.tar.gz
macOS-x64-2.0.0.3.zip
windows-x64-2.0.0.3.zip

to:

torque-linux-x64-2.0.0.3.tar.gz
torque-macOS-x64-2.0.0.3.zip
torque-windows-x64-2.0.0.3.zip

Thanks

Exception: std::runtime_error

Getting regular core dumps on v4.0.0.0.

Tried the Download, and also my own compile.

Here is the log extract:

2020-09-27 17:51:58.456	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:133	Exception: std::runtime_error
2020-09-27 17:51:58.456	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:134	Unwound call stack:
2020-09-27 17:51:58.460	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [1]  0x10d) [0x5641b97293bf]:__cxa_throw+0x10d) [0x5641b97293bf]
2020-09-27 17:51:58.460	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [2] ./scala/scalad(+0x352f06) [0x5641b9767f06] 
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [3]  0x195) [0x5641b9deea85]:_alloc_cache+0x195) [0x5641b9deea85]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [4]  0x2ec) [0x5641b9bcdd4c]:_slow_hash+0x2ec) [0x5641b9bcdd4c]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [5]  0xa3) [0x5641b9bb66b3]:_ZN10cryptonote18get_block_longhashEPKNS_10BlockchainERKNS_5blockERN6crypto4hashEmi+0xa3) [0x5641b9bb66b3]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [6]  0x22) [0x5641b9bb6792]:_ZN10cryptonote18get_block_longhashEPKNS_10BlockchainERKNS_5blockEmi+0x22) [0x5641b9bb6792]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [7]  0xb5) [0x5641b9b64585]:_ZNK10cryptonote10Blockchain21block_longhash_workerEmRKN4epee4spanIKNS_5blockEEERSt13unordered_mapIN6crypto4hashESA_St4hashISA_ESt8equal_toISA_ESaISt4pairIKSA_SA_EEE+0xb5) [0x5641b9b64585]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [8]  0x348) [0x5641b9c0cbf8]:_ZN5tools10threadpool3runEb+0x348) [0x5641b9c0cbf8]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [9] ./scala/scalad(+0xa2e365) [0x5641b9e43365] 
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [10]  0x76ba) [0x7f2b34a126ba]:_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7f2b34a126ba]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	    [11]  0x6d) [0x7f2b347484dd]:_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2b347484dd]
2020-09-27 17:51:58.461	    7f28cbafe700	INFO	stacktrace	src/common/stack_trace.cpp:172	

Wallet balance is 0 after transfer

edit2. Restored wallet - after a sync everything appeared into the balance. Closing this.
edit. I noticed there are some related bug fixes in release 1.2.3.2. Will test.

Stellite 'Carbon v1' (v1.2.3.1-release)

Created a new wallet with the stellite-wallet-cli on Linux. Sent 10 XTL to it from another wallet. XTL left from originating wallet - transactions shown. Receiving wallet balance stays at 0. Both use the exact same versions of the software. Daemon on receiving end is up-to-date with blocks.

On the originating end:
Transaction successfully submitted, transaction

On receiving end stellite daemon status:
Height: 142941/142941 (100.0%) on mainnet, not mining, net hash 18.22 MH/s, v3, up to date, 8(out)+0(in) connections, uptime 0d 0h 8m 37s

rejected shares

Hi guys

iv set up a stellite pool as per instructions but when I try to connect I get these issues.

im using hive os and xmr stak for the rig set up. when I connect to the community pool I have no issues with the same settings. not sure what I have done wrong on the pool side.

thanks
screen shot 2018-08-12 at 8 29 01 pm

daemon refuses to accept block sometimes

pool log:

2018-02-27 20:13:38 (Thread 3) Error submitting block at height 53856 from Se2..................................a@::ffff:70.xx.xx.xx, share type: "valid" - {"code":-7,"message":"Block not accepted"}

this is deamon log at the same time:

2018-02-27 19:13:38.461 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 .[1;34m----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 53856
id:     <e630822f0ff0ada2e06d79ad86cfb5c1be2d4225eb2956c4c5478660a9df8aab>
PoW:    <7c41d4fc26ec6aa4d78fcdce2df15d5425e9da82e0787897b064cf5808000000>
difficulty:     337541675.[0m

sometimes quite often:

2018-02-26 15:20:02.890 [RPC0]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52408
2018-02-26 15:21:08.205 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52406
2018-02-26 15:22:09.181 [RPC0]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52417
2018-02-26 15:22:24.165 [RPC0]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52419
2018-02-26 15:26:43.746 [RPC0]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52435
2018-02-27 01:59:23.120 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 52722
2018-02-27 10:18:54.598 [RPC0]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 53291
2018-02-27 18:19:29.944 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 53752
2018-02-27 18:23:08.460 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 53766
2018-02-27 19:13:38.461 [RPC1]  INFO    global  src/cryptonote_core/blockchain.cpp:1427 ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 53856

stellite-wallet-rpc issue

after using open_wallet and getbalance, wallet-rpc doesnt answer to rpc calls during 2-3 minutes, each time a wallet is opened

step to reproduce :

echo "call 1"
time curl --digest -u test:1324 -X POST http://0.0.0.0:20191/json_rpc -d '{"method":"open_wallet","params":{"filename":"wallet-test","password":"1234"},"id":0}' -H 'Content-Type: application/json'
sleep 1
echo "call 2"
time curl --digest -u test:1324 -X POST http://0.0.0.0:20191/json_rpc -d '{"jsonrpc":"2.0","id":"1","method":"getbalance"}' -H 'Content-Type: application/json'
sleep 1
echo "call 3"
time curl --digest -u test:1324 -X POST http://0.0.0.0:20191/json_rpc -d '{"method":"incoming_transfers","params":{"transfer_type":"all","account_index":0},"id":2}' -H 'Content-Type: application/json'
sleep 1
echo "call 4"
time curl --digest -u test:1324 -X POST http://0.0.0.0:20191/json_rpc -d '{"method":"make_integrated_address","params":{"standard_addres":"","payment_id":"4dda712c29fb7ba2"},"id":3}' -H 'ContentType: application/json'
echo "sleep 5 sec"
sleep 5
echo "call 5"
time curl --digest -u test:1324 -X POST http://0.0.0.0:20191/json_rpc -d '{"method":"make_integrated_address","params":{"standard_addres":"","payment_id":"4dda712c29fb7ba2"},"id":4}' -H 'ContentType: application/json'

No such file or directory

It appears there is a missing file: scala_7.5.2/external/trezor-common/protob/messages-scala.proto'

-- Found miniupnpc API version 17
-- Using in-tree miniupnpc
-- Looking for libunbound
-- Found libunbound include (unbound.h) in /usr/include
-- Found libunbound library
-- Using 64-bit LMDB from source tree
-- Backtrace_LIBRARY:
-- Performing Test _march=native_cxx
-- Performing Test _march=native_cxx - Success
-- Setting CXX flag -march=native
-- Performing Test _march=native_c
-- Performing Test _march=native_c - Success
-- Setting C flag -march=native
-- Using HIDAPI include dir at /usr/include/hidapi
-- Protobuf lib: /usr/lib/x86_64-linux-gnu/libprotobuf.so, inc: /usr/include, protoc: /usr/bin/protoc
CMake Warning at cmake/CheckTrezor.cmake:126 (message):
Trezor protobuf messages could not be regenerated (err=1, python ).OUT: ,
ERR: Traceback (most recent call last):

File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 219, in <module>
  main()
File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 213, in main
  protoc(
File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py", line 104, in protoc
  shutil.copy(file, tmp_file)
File "/usr/lib/python3.9/shutil.py", line 418, in copy
  copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
  with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:

### FileNotFoundError: [Errno 2] No such file or directory:
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-scala.proto'

Traceback (most recent call last):

File "/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/build_protob.py", line 45, in <module>
  subprocess.check_call(exec_args)
File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
  raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/python3.9',
'/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/pb2cpp.py', '-o',
'/home/keefer/scala_7.5.2/src/device_trezor/trezor/tools/../messages',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-common.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-management.proto',
'/home/keefer/scala_7.5.2/external/trezor-common/protob/messages-scala.proto']'
returned non-zero exit status 1.

Building portable statically linked binaries

make release-static-linux-armv6

error:

[ 34%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/byte_slice.cpp.o
cc1plus: error: bad value (‘armv8-a’) for ‘-march=’ switch
cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native
make[3]: *** [contrib/epee/src/CMakeFiles/epee.dir/build.make:63: contrib/epee/src/CMakeFiles/epee.dir/byte_slice.cpp.o] Error 1
make[3]: Leaving directory '/home/mcadoryfire/scala/build/Linux/development/release'
make[2]: *** [CMakeFiles/Makefile2:1178: contrib/epee/src/CMakeFiles/epee.dir/all] Error 2
make[2]: Leaving directory '/home/mcadoryfire/scala/build/Linux/development/release'
make[1]: *** [Makefile:141: all] Error 2
make[1]: Leaving directory '/home/mcadoryfire/scala/build/Linux/development/release'
make: *** [Makefile:136: release-static-linux-armv8] Error 2

Code/variable error (with the fix) - while compiling to mac

Hello,

I was compiling the mac version and it gives an error in the file "src/cryptonote_core/blockchain.cpp", line 3399.

There aren't the right variable being called on the previous line (3398). You need to change

std::vector<size_t> weights;

to

std::vector<uint64_t> weights;


It's obviously a typo in the code, because all the other variables "std::vector" call the <uint64_t> afterwards.

1.1.0.0 version

Hello,

running new version, still shows 1.0.0.0
$ ./stellited
2018-01-30 08:27:04.503 7fc910713740 INFO global src/daemon/main.cpp:279 Stellite 'Cobalt' (v1.0.0.0-release)

simplewallet cannot open 1GB+ wallet

2018-02-28 06:20:12.066     7f49722ca6c0        INFO    logging contrib/epee/src/mlog.cpp:148   New log categories: *:WARNING,net:FATAL,net.p2p:FATAL,net.cn:FATAL,global:INFO,verify:FATAL,stacktrace:INFO,logging:INFO,msgwriter:INFO
2018-02-28 06:20:12.066     7f49722ca6c0        INFO    logging contrib/epee/src/mlog.cpp:156   New log categories: *:TRACE
2018-02-28 06:20:12.067     7f49722ca6c0        INFO    msgwriter       src/common/scoped_message_writer.h:102  Monero 'Chromium' (v1.2.0.0-release)
2018-02-28 06:20:12.067     7f49722ca6c0        INFO    wallet.wallet2  src/wallet/wallet_args.cpp:171  Setting log level = 4
2018-02-28 06:20:12.067     7f49722ca6c0        INFO    wallet.wallet2  src/wallet/wallet_args.cpp:174  Logging to: ./stellite-wallet-cli.log
2018-02-28 06:20:12.067     7f49722ca6c0        INFO    msgwriter       src/common/scoped_message_writer.h:102  Logging to ./stellite-wallet-cli.log
2018-02-28 06:20:12.147     7f49722ca6c0        WARN    wallet.wallet2  src/wallet/wallet2.cpp:2497     Loaded wallet keys file, with public address: Se2.......................S
2018-02-28 06:20:12.147     7f49722ca6c0        ERROR   wallet.wallet2  src/wallet/wallet2.cpp:2511     !r. THROW EXCEPTION: error::file_read_error
2018-02-28 06:20:12.147     7f49722ca6c0        WARN    net.http        src/wallet/wallet_errors.h:707  /opt/Stellite/src/wallet/wallet2.cpp:2511:N5tools5error15file_error_baseILi2EEE: failed to read file "pool"
2018-02-28 06:20:12.148     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:120  Exception: tools::error::file_error_base<2>
2018-02-28 06:20:12.148     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:121  Unwound call stack:
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [1] ./stellite-wallet-cli:__cxa_throw+0xfe [0x56255915a44e]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [2] ./stellite-wallet-cli:void tools::error::throw_wallet_ex<tools::error::file_error_base<2>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x1a7 [0x5625590d68b7]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [3] ./stellite-wallet-cli:tools::wallet2::load(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> > const&)+0x5d8 [0x56255908ae78]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [4] ./stellite-wallet-cli:tools::wallet2::make_from_file(boost::program_options::variables_map const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xdb [0x56255908c4eb]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [5] ./stellite-wallet-cli:cryptonote::simple_wallet::open_wallet(boost::program_options::variables_map const&)+0xba [0x562558fbf62a]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [6] ./stellite-wallet-cli:cryptonote::simple_wallet::init(boost::program_options::variables_map const&)+0x138 [0x562558fc9d38]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [7] ./stellite-wallet-cli:main+0x255 [0x562558f9e0b5]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [8] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf1 [0x7f496ee852b1]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159      [9] ./stellite-wallet-cli:_start+0x2a [0x562558fa5bba]
2018-02-28 06:20:12.149     7f49722ca6c0        INFO    stacktrace      src/common/stack_trace.cpp:159
2018-02-28 06:20:12.149     7f49722ca6c0        ERROR   msgwriter       src/common/scoped_message_writer.h:102  Error: failed to load wallet: failed to read file "pool"
2018-02-28 06:20:12.149     7f49722ca6c0        ERROR   wallet.simplewallet     src/simplewallet/simplewallet.cpp:1374  failed to open account
2018-02-28 06:20:12.149     7f49722ca6c0        ERROR   wallet.simplewallet     src/simplewallet/simplewallet.cpp:4956  Failed to initialize wallet

(I was able to import the seed to the gui and sweep this wallet)

3.0.0.4 scalad does not respect data-dir for ipfs related stuff

3.0.0.4 scalad does not respect data-dir for ipfs related stuff

./scalad --log-level=4 --data-dir=/home/scala/.scala2

2020-02-05 11:03:38.954 F Uncaught exception! boost::filesystem::canonical: No such file or directory: "/home/scala/.scala"

After folder "/home/scala/.scala" created it starts fine and creates ipfs folder inside.

That is an issue in case several daemons running on the same host.

Set priority is not working after hard fork...

Hello dev team,

Before the hard fork updated the "Set priority" command of cli wallet used to work well, but after hard fork i find that the tx fee just do not change even i set priority as 4. Can u please find out why this happen?

Thanks

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.