Coder Social home page Coder Social logo

anonymousbitcoin / anon Goto Github PK

View Code? Open in Web Editor NEW
19.0 8.0 18.0 435.04 MB

The Official Repository for ANON cryptocurrency

License: Other

Makefile 1.53% Shell 1.45% Python 7.86% M4 2.10% C++ 76.01% C 9.25% HTML 0.64% CSS 0.01% Assembly 0.36% Java 0.39% Sage 0.38%
anon cryptocurrency bitcoin zclassic fork

anon's Issues

MacOs Mojave build problem - cannot find a C99-compatible compiler

Describe the issue

Installation Build issue-

sudo ./anonutil/build-mac.sh -j$(sysctl -n hw.physicalcpu) results in an error

To reproduce

Recently upgraded to MacOS 10.14 and Have re-installed Xcode 10.0. To reproduce:

  1. Follow Mac install instructions
  2. Failure occurs after build

Expected behaviour

Expect build to complete

Actual behaviour + errors

results in error as below:

sudo ./anonutil/build-mac.sh -j$(sysctl -n hw.physicalcpu)
echo Configuring native_ccache...
Configuring native_ccache...
rm -rf /private/etc/anon/depends/x86_64-apple-darwin18.0.0; mkdir -p /private/etc/anon/depends/x86_64-apple-darwin18.0.0/lib; cd /private/etc/anon/depends/x86_64-apple-darwin18.0.0;
mkdir -p /private/etc/anon/depends/work/build/x86_64-apple-darwin18.0.0/native_ccache/3.3.1-79e6a38c70b/.
cd /private/etc/anon/depends/work/build/x86_64-apple-darwin18.0.0/native_ccache/3.3.1-79e6a38c70b/.; PKG_CONFIG_LIBDIR=/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native/lib/pkgconfig PKG_CONFIG_PATH=/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native/share/pkgconfig PATH=/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native/bin:/Users/dusername/anaconda/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain:/usr/local/go/bin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS ./configure --host=x86_64-apple-darwin18.0.0 --disable-dependency-tracking --prefix=/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native CC="gcc-5" CXX="g++-5" NM="nm" RANLIB="ranlib" AR="ar" CPPFLAGS="-I/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native/include " LDFLAGS="-L/private/etc/anon/depends/x86_64-apple-darwin18.0.0/native/lib "
configure: WARNING: unrecognized options: --disable-dependency-tracking
configure: Configuring ccache
checking build system type... x86_64-apple-darwin18.0.0
checking host system type... x86_64-apple-darwin18.0.0
checking for x86_64-apple-darwin18.0.0-gcc... gcc-5
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc-5 accepts -g... yes
checking for gcc-5 option to accept ISO C89... unsupported
checking for gcc-5 option to accept ISO C99... unsupported
configure: error: cannot find a C99-compatible compiler
make: *** [/private/etc/anon/depends/work/build/x86_64-apple-darwin18.0.0/native_ccache/3.3.1-79e6a38c70b/./.stamp_configured] Error 1

The version of ANON you were using:

Run anond --version to find out

Machine specs:

  • OS name + version: MacOS 10.14 Mojave
  • Compiler version (gcc -version): gcc5

anond compilation for Mac: libevent library is also needed.

Hi devs,

Please notice that when compiling anon for Mac on the latest High Sierra build (10.13.6) it does complain that libevent is not installed.

Running the command

brew install libevent

is required for the compilation to proceed.

Please considering adding libevent to the read me file.

Thank you.

[Minor] Remove the warning of blocks generating too fast - v2.2.0-60 Echelon

This version decreased block generating interval. When running anon-cli getinfo, it shows warnings that too many blocks generated than expected in last 4 hours. We may need to change the calculation mechanism to remove such warnings.

$ anon-cli getinfo
{
"version": 2020060,
"protocolversion": 180008,
"walletversion": 60000,
"balance": 0.00000000,
"blocks": 79458,
"timeoffset": 0,
"connections": 10,
"proxy": "",
"difficulty": 730150.4406224537,
"testnet": false,
"keypoololdest": 1573919873,
"keypoolsize": 101,
"paytxfee": 0.00000000,
"relayfee": 0.00001000,
"errors": "WARNING: abnormally high number of blocks generated, 100 blocks received in the last 4 hours (24 expected)"
}

Steps to reproduce:

  • Run anond v2.2.0-60 Echelon and sync to the highest block.
  • Run anon-cli getinfo .

Adding apt-get update and apt-get upgrade to the building instructions

In the build instructions for the full node, and later in the Masternode guide, there should be added that you should run

sudo apt-get update
sudo apt-get upgrade

before installing the dependencies. Otherwise you'll get the following error message, especially on a fresh VPS:

"E: Failed to fetch http://lon1.mirrors.digitalocean.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-131.157_amd64.deb 404 Not Found [IP: 5.101.111.50 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"

When updating and upgrading before you install the dependencies you don't run into any errors.

Error when sending ANON from a BTC imported key address

Describe the issue

When sending ANON from a BTC imported key address (hence address starting with 3ZN...) it is impossible to send ANON to a different address and the wallet returns an error

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Import a BTC key that qualifies for the airdrop
  2. Try to send the claimed ANON out to a different address

Expected behaviour

It should work as usual just like any other An address...

Actual behaviour + errors

The wallet returns the error "From address is invalid, it is too long"
See screenshot here: https://ibb.co/ew4RjU

The version of ANON you were using:

latest anond and anon-cli (1.3.0) and latest 1.0.2 Jar file

Machine specs:

n/a

Gradle Issues

I tried building that full node wallet but can't get further than running this command ./gradlew clean fatJar it tells me Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.

  • DK808 on discord

Binary Permission denied errors

If you have this issue try using - chmod 755 /usr/local/bin/anon*

Thank you GRiM for pointing this out. Probably should have this added to the instructions.

Problem with 'Version' field in RPC

./anon-cli getblock 0000003a94bed75b2aed697c8854785d7527d459c9ac0428bfbe2f23561fc11d

results in :

{ "hash": "0000003a94bed75b2aed697c8854785d7527d459c9ac0428bfbe2f23561fc11d", "confirmations": 1, "size": 3539, "height": 33131, "version": 536870912, "merkleroot": "ed9e374454ff5765b12bf100eb228b35d4d38674c0b7a69fefd5de59357656e5", "tx": [ "2af77275bef8fecd01eaa609771d936db13075f5de73d554935958a14f1d1660", "1f69fbc0a0ce6c1db55904071b18e9462f0d73ba899babab3f6dc706990642a4", "4f1d5a67c4fe66860a47345bb8f92afdcc172e118450c02b6334575c3294b147" ], "time": 1546269552, "nonce": "02e59cf5000000030000000000000000770b0168000000000000000068010b76", "solution": "0da7257c5137475e1f169804e7e497a58f832f8a7ed1cb62a9142739afc8b0f6e673fcbcd973c4bb075a361d11c2e7ec2a63258ba118aa954edd1b3ac3749296d92b787add688f82b97dd535ccd028396e2a436d9a251b16277dd4f0addb8f2763fcfdeb", "bits": "1d48030b", "difficulty": 59641567.01038337, "chainwork": "0000000000000000000000000000000000000000000000000000012823f68303", "anchor": "c6222012cf451310fa338e50379238f9113743e1147a9b74b56523cbdf1bfbf9", "previousblockhash": "0000000ed0ecee43d14abf2fa30e576b17bc7cff16bf6f69a74fe759ee4cd547" }

Get the hex version from RPC;

./anon-cli getblock 0000003a94bed75b2aed697c8854785d7527d459c9ac0428bfbe2f23561fc11d false 0000002047d54cee59e74fa7696fbf16ff7cbc176b570ea32fbf4ad143eeecd00e000000e556763559ded5ef9fa6b7c07486d3d4358b22eb00f12bb16557ff5444379eed000000000000000000000000000000000000000000000000000000000000000070332a5c0b03481d760b0168000000000000000068010b77000000000000000003000000f59ce502640da7257c5137475e1f169804e7e497a58f832f8a7ed1cb62a9142739afc8b0f6e673fcbcd973c4bb075a361d11c2e7ec2a63258ba118aa954edd1b3ac3749296d92b787add688f82b97dd535ccd028396e2a436d9a251b16277dd4f0addb8f2763fcfdeb0301000000010000000000000000000000000000000000000000000000000000000000

take the first 4 bytes (00000020) - Reverse the bytes to get the right endian format (20000000) and convert to decimal : 536870912

Same as the JSON

Hosted anon masternode on gincoin does not receive the start alias command from windowsx64 wallet.

This issue tracker is only for technical issues related to anond.

General Anonymous Bitcoin questions and/or support requests and are best directed to the ANON Github Repo.

Describe the issue

Created the masternode on p.ginplatform.io

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Try to start a masternode on the ginplatform
  2. They never get the command
  3. Seems to me someone forgot to code the push

Expected behaviour

Tell us what should happen

The masternode hosting site should receive a start alias or start missing command when I push the buttons in the java GUI wallet.

Actual behaviour + errors

Tell us what happens instead including any noticable error output (any messages displayed on-screen when e.g. a crash occurred)

The version of ANON you were using:

Run anond --version to find out

Machine specs:

  • OS name + version:
  • CPU:
  • RAM:
  • Disk size:
  • Disk Type (HD/SDD):
  • Linux kernel version (uname -a):
  • Compiler version (gcc -version):

Any extra information that might be useful in the debugging process.

This includes the relevant contents of ~/.anon/debug.log. You can paste raw text, attach the file directly in the issue or link to the text via a pastebin type site.
Please also include any non-standard things you did during compilation (extra flags, dependency version changes etc.) if applicable.

Do you have a back up of ~/.anon directory and/or take a VM snapshot?

  • Backing up / making a copy of the ~/.anon directory might help make the problem reproducible. Please redact appropriately.
  • Taking a VM snapshot is really helpful for interactively testing fixes

ipv6 disabled in code

This issue tracker is only for technical issues related to anond.

General Anonymous Bitcoin questions and/or support requests and are best directed to the ANON Github Repo.

Describe the issue

IPv6 disabled in code

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. tried IPv6, received error
    2.looked in source code, is disabled

Expected behaviour

IPv6 connectivity should work, only Masternode I've ran that it doesn't

I hope team will consider enabling IPv6 on future build...

Debian 9.5 x64 Stretch - build problem version 1.1.0

Hello.

I try to build version anon-1.1.0 with master node fixes
https://github.com/anonymousbitcoin/anon/releases/tag/1.1.0
but got this error:

...
checking for visibility attribute... yes
checking for Berkeley DB C++ headers... no
configure: error: libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality (--disable-wallet to disable wallet functionality)

apt :
libdb5.3++ is already the newest version (5.3.28-12+deb9u1).
libdb5.3++-dev is already the newest version (5.3.28-12+deb9u1)

How to build version 1.1.0 on Debian 9.5 ?
Thank you.

COMPILING ON MAC HIGH SIERRA FAILS WITH LATEST BUILD PROTOCOL 180005

Describe the issue

Although compiling anon did work fine in the past and no change occurred in my High Sierra 10.13.6, with the latest git pull for the protocol update it returns the error highlighted below.

Can you reliably reproduce the issue?

  1. Git pull to update the local anon to the latest commits
  2. Run the /.anonutil/build-mac.sh

Expected behaviour

Unless now there are different libraries to install that I am unaware of, the build should compile just fine as it used to do.

Actual behaviour + errors

Building Boost.Build engine with toolset darwin...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
make: *** [/Users/fabio/anon/depends/work/build/x86_64-apple-darwin17.7.0/boost/1_62_0-9f20f2abf0e/./.stamp_configured] Error 1

The version of ANON you were using:

Run anond --version to find out

Machine specs:

  • High Sierra 10.13.6

  • CPU: Intel i7

  • RAM: 4GB

  • Disk size: 70Gb /emulated)

  • Disk Type HD

  • Linux kernel version (uname -a): macos.shared 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

  • Compiler version (gcc -version):

onfigured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Thanks!

Error while building the testnet node (on Ubuntu 16.04.4 x64)

I'm trying to build the full node on a fresh VPS right now.
I updated and upgraded the system, installed the dependencies and then "./anonutil/build.sh -j$(nproc)" gives me the following error after some time:

Fetching libevent...
https://z.cash/depends-sources/libevent-2.1.8.tar.gz:
2018-08-19 15:07:30 ERROR 403: Forbidden.
https://codeload.github.com/libevent/libevent/tar.gz//release-2.1.8-stable:
2018-08-19 15:07:31 ERROR 404: Not Found.
funcs.mk:242: recipe for target '/home/mm0104/anon/depends/sources/download-stamps/.stamp_fetched-libevent-libevent-2.1.8.tar.gz.hash' failed
make: *** [/home/mm0104/anon/depends/sources/download-stamps/.stamp_fetched-libevent-libevent-2.1.8.tar.gz.hash] Error 8
make: Leaving directory '/home/mm0104/anon/depends'

Problems with Blockchain sync

I've been with the 93% blockchain for several weeks, a few days ago they sent me some coins through Tradesatoshi, but they are not in my wallet. How can I solve that.

This issue tracker is only for technical issues related to anond.

General Anonymous Bitcoin questions and/or support requests and are best directed to the ANON Github Repo.

Describe the issue

Please provide a general summary of the issue you're experiencing

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

Expected behaviour

Tell us what should happen

Actual behaviour + errors

Tell us what happens instead including any noticable error output (any messages displayed on-screen when e.g. a crash occurred)

The version of ANON you were using:

Run anond --version to find out

Machine specs:

  • OS name + version:
  • CPU:
  • RAM:
  • Disk size:
  • Disk Type (HD/SDD):
  • Linux kernel version (uname -a):
  • Compiler version (gcc -version):

Any extra information that might be useful in the debugging process.

This includes the relevant contents of ~/.anon/debug.log. You can paste raw text, attach the file directly in the issue or link to the text via a pastebin type site.
Please also include any non-standard things you did during compilation (extra flags, dependency version changes etc.) if applicable.

Do you have a back up of ~/.anon directory and/or take a VM snapshot?

  • Backing up / making a copy of the ~/.anon directory might help make the problem reproducible. Please redact appropriately.
  • Taking a VM snapshot is really helpful for interactively testing fixes

[BUG] not build v2.2.0-62 for windows

Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

build failed after run anonutil/build-win.sh in configuration process

++ ./configure --prefix=/home/dim/proj/anon-v.2.2.0-62/anonutil/depends/x86_64-w64-mingw32 --with-gui=no --host=x86_64-w64-mingw32 --enable-static --disable-shared '' --enable-hardening '' '' ''
--skip lines--
checking for main in -levent... yes
checking for zmq.h... yes
checking for zmq_ctx_shutdown in -lzmq... yes
checking for gmp.h... yes
checking for __gmpn_sub_n in -lgmp... no
configure: error: libgmp missing

But library builded and i see in depends/built/x86_64-w64-mingw32/libgmp
libgmp--2aeb063524b.tar.gz
libgmp--2aeb063524b.tar.gz.hash

in Ubuntu 20.04 the error is reproduced at this place

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.