veriumreserve / verium-oldrepo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vericoin/vericoin-oldrepo
A Proof of Work-Time Reserve
Home Page: http://www.vericoin.info
License: Other
This project forked from vericoin/vericoin-oldrepo
A Proof of Work-Time Reserve
Home Page: http://www.vericoin.info
License: Other
Verium official development tree Verium is a Proof of Work-Time reserve. Development process =========================== Developers work in their own trees, then submit pull requests when they think their feature or bug fix is ready. The patch will be accepted if there is broad consensus that it is a good thing. Developers should expect to rework and resubmit patches if they don't match the project's coding conventions (see coding.txt) or are controversial. The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are regularly created to indicate new official, stable release versions of Verium. Feature branches are created when there are major new features being worked on by several people. From time to time a pull request will become outdated. If this occurs, and the pull is no longer automatically mergeable; a comment on the pull will be used to issue a warning of closure. The pull will be closed 15 days after the warning if action is not taken by the author. Pull requests closed in this manner will have their corresponding issue labeled 'stagnant'. Issues with no commits will be given a similar warning, and closed after 15 days from their last activity. Issues closed in this manner will be labeled 'stale'.
I am trying to install on an AWS amzn-ami-hvm-2017.09.1.20171120-x86_64-gp2 (ami-15e9c770) instance but having trouble.
First I tried this method:
sudo yum groupinstall 'Development Tools' -y
sudo yum install openssl-devel -y
wget http://www.vericoin.info/downloads/Verium_1.1_64bit.run
sudo chmod +x Verium_1.1_64bit.run
./Verium_1.1_64bit.run
Then get the following error:
Verifying archive integrity... 100% All good.
Uncompressing
Copyright (c) 2014-2017 The Verium Developers
Verium will start when the installation is complete...
100%
[ec2-user@ip-172-31-47-49 ~]$ ./verium-qt: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Output of openssl is:
[ec2-user@ip-172-31-47-49 ~]$ sudo rpm -qa | grep openssl
openssl-devel-1.0.2k-8.106.amzn1.x86_64
openssl-1.0.2k-8.106.amzn1.x86_64
Then I tried to compile from source:
[ec2-user@ip-172-31-47-49 src]$ make -f makefile.unix
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/ec2-user/verium/src -I/home/ec2-user/verium/src/obj -DUSE_UPNP=1 -DUSE_IPV6=1 -DUSE_AVX -I/home/ec2-user/verium/src/leveldb/include -I/home/ec2-user/verium/src/leveldb/helpers -DUSE_ASM -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/alert.d -o obj/alert.o alert.cpp
alert.cpp:5:29: fatal error: boost/foreach.hpp: No such file or directory
#include <boost/foreach.hpp>
I tried appending -mt
to the boost libraries in makefile.unix
but results are the same.
Linux version:
[ec2-user@ip-172-31-47-49 ~]$ cat /proc/version
Linux version 4.9.62-21.56.amzn1.x86_64 (mockbuild@gobi-build-64013) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Thu Nov 16 05:37:08 UTC 2017
uname -a
Linux odroid 4.14.5-92 #1 SMP PREEMPT Mon Dec 11 15:48:15 UTC 2017 armv7l armv7l armv7l GNU/Linux
output of tail -f debug.log
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 0c413b4b0e6c2c240510
trying connection 81.97.211.191:36988 lastseen=10.5hrs
connected 81.97.211.191:36988
send version message: version 80001, blocks=206320, us=92.85.153.91:36988, them=81.97.211.191:36988, peer=81.97.211.191:36988
trying connection 173.52.115.83:36988 lastseen=4.4hrs
Postponing 128 reconnects
REORGANIZE
REORGANIZE: Disconnect 0 blocks; f0439eb36d12afac005e..f0439eb36d12afac005e
REORGANIZE: Connect 1 blocks; f0439eb36d12afac005e..162d900b594c244febb6
ERROR: FetchInputs() : b4daab3d26 prev tx 0ef22fef1f index entry not found
ERROR: Reorganize() : ConnectBlock 162d900b594c244febb6 failed
InvalidChainFound: invalid block=0c413b4b0e6c2c240510 height=206449 trust=6397358199101 blocktrust=69170044 date=04/25/18 23:49:38
InvalidChainFound: current best=f0439eb36d12afac005e height=206320 trust=6388309363978 blocktrust=70808553 date=04/25/18 15:40:18
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED
received block 360722221f533cb9233a
Postponing 129 reconnects
REORGANIZE
I tried to do ./veriumd blockchain false
I tried to do rm -r ~/.verium and copy back the wallet.dat and peers.dat files but I end up in the same loop of above error messages.
Hi there,
After the Linux release installation, downloading the bootstrap and running the Verium app, the 0 Connections
and waiting for the network connection
will not be disappeared. I noticed that the terminal shows the bellow error.
Ubuntu by default doesn't include the sslv2, so may you provide another solution?
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
No way to un - maximize once the screen is maximized....
App restart does not fix.
Version 1.1
Mac OS @latest
I have tried to compile the wallet on 14.04 and 16.04 and get the same error on both.
Building LevelDB ...
make[1]: Entering directory '/root/verium/src/leveldb'
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/builder.cc -o db/builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/c.cc -o db/c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/dbformat.cc -o db/dbformat.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/db_impl.cc -o db/db_impl.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/db_iter.cc -o db/db_iter.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/filename.cc -o db/filename.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/log_reader.cc -o db/log_reader.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/log_writer.cc -o db/log_writer.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/memtable.cc -o db/memtable.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/repair.cc -o db/repair.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/table_cache.cc -o db/table_cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/version_edit.cc -o db/version_edit.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/version_set.cc -o db/version_set.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c db/write_batch.cc -o db/write_batch.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/block_builder.cc -o table/block_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/block.cc -o table/block.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/filter_block.cc -o table/filter_block.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/format.cc -o table/format.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/iterator.cc -o table/iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/merger.cc -o table/merger.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/table_builder.cc -o table/table_builder.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/table.cc -o table/table.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c table/two_level_iterator.cc -o table/two_level_iterator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/arena.cc -o util/arena.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/bloom.cc -o util/bloom.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/cache.cc -o util/cache.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/coding.cc -o util/coding.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/comparator.cc -o util/comparator.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/crc32c.cc -o util/crc32c.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/env.cc -o util/env.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/env_posix.cc -o util/env_posix.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/env_win.cc -o util/env_win.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/filter_policy.cc -o util/filter_policy.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/hash.cc -o util/hash.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/histogram.cc -o util/histogram.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/logging.cc -o util/logging.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/options.cc -o util/options.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c util/status.cc -o util/status.o
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c port/port_posix.cc -o port/port_posix.o
rm -f libleveldb.a
ar -rs libleveldb.a db/builder.o db/c.o db/dbformat.o db/db_impl.o db/db_iter.o db/filename.o db/log_reader.o db/log_writer.o db/memtable.o db/repair.o db/table_cache.o db/version_edit.o db/version_set.o db/write_batch.o table/block_builder.o table/block.o table/filter_block.o table/format.o table/iterator.o table/merger.o table/table_builder.o table/table.o table/two_level_iterator.o util/arena.o util/bloom.o util/cache.o util/coding.o util/comparator.o util/crc32c.o util/env.o util/env_posix.o util/env_win.o util/filter_policy.o util/hash.o util/histogram.o util/logging.o util/options.o util/status.o port/port_posix.o
ar: creating libleveldb.a
g++ -I. -I./include -fno-builtin-memcmp -pthread -DOS_LINUX -DLEVELDB_PLATFORM_POSIX -O2 -DNDEBUG -c helpers/memenv/memenv.cc -o helpers/memenv/memenv.o
rm -f libmemenv.a
ar -rs libmemenv.a helpers/memenv/memenv.o
ar: creating libmemenv.a
make[1]: Leaving directory '/root/verium/src/leveldb'
g++ -c -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/root/verium/src -I/root/verium/src/obj -DUSE_IPV6=1 -DUSE_AVX2 -I/root/verium/src/leveldb/include -I/root/verium/src/leveldb/helpers -DUSE_ASM -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/txdb-leveldb.d -o obj/txdb-leveldb.o txdb-leveldb.cpp
g++ -c -MMD -o obj/scrypt-arm.o scrypt-arm.S
g++ -c -MMD -o obj/scrypt-x86.o scrypt-x86.S
g++ -c -MMD -o obj/scrypt-x64.o scrypt-x64.S
g++ -c -MMD -o obj/sha2-arm.o sha2-arm.S
g++ -c -MMD -o obj/sha2-x86.o sha2-x86.S
g++ -c -MMD -o obj/sha2-x64.o sha2-x64.S
g++ -O2 -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/root/verium/src -I/root/verium/src/obj -DUSE_IPV6=1 -DUSE_AVX2 -I/root/verium/src/leveldb/include -I/root/verium/src/leveldb/helpers -DUSE_ASM -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -o veriumd obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/irc.o obj/keystore.o obj/miner.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/noui.o obj/scrypt.o obj/miniunz.o obj/txdb-leveldb.o obj/scrypt-arm.o obj/scrypt-x86.o obj/scrypt-x64.o obj/sha2-arm.o obj/sha2-x86.o obj/sha2-x64.o -Wl,-z,relro -Wl,-z,now -Wl,-Bdynamic -l boost_system -l boost_filesystem -l boost_program_options -l boost_thread -l db_cxx -l ssl -l crypto -l curl -l minizip -Wl,-Bdynamic -l z -l dl -l pthread /root/verium/src/leveldb/libleveldb.a /root/verium/src/leveldb/libmemenv.a
obj/scrypt.o: In function HMAC_SHA256_80_init_8way': /root/verium/src/scrypt.cpp:335: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:338: undefined reference to sha256_init_8way' /root/verium/src/scrypt.cpp:343: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:345: undefined reference to sha256_init_8way' /root/verium/src/scrypt.cpp:350: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:335: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:338: undefined reference to
sha256_init_8way'
/root/verium/src/scrypt.cpp:343: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:345: undefined reference to
sha256_init_8way'
/root/verium/src/scrypt.cpp:350: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:335: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:338: undefined reference to sha256_init_8way' /root/verium/src/scrypt.cpp:343: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:345: undefined reference to sha256_init_8way' /root/verium/src/scrypt.cpp:350: undefined reference to
sha256_transform_8way'
obj/scrypt.o: In function PBKDF2_SHA256_80_128_8way': /root/verium/src/scrypt.cpp:363: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:388: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:391: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:363: undefined reference to sha256_transform_8way' obj/scrypt.o:/root/verium/src/scrypt.cpp:388: more undefined references to
sha256_transform_8way' follow
obj/scrypt.o: In function scrypt_N_1_1_256_24way': /root/verium/src/scrypt.cpp:591: undefined reference to
scrypt_core_6way'
/root/verium/src/scrypt.cpp:592: undefined reference to scrypt_core_6way' /root/verium/src/scrypt.cpp:593: undefined reference to
scrypt_core_6way'
/root/verium/src/scrypt.cpp:594: undefined reference to scrypt_core_6way' obj/scrypt.o: In function
PBKDF2_SHA256_128_32_8way':
/root/verium/src/scrypt.cpp:403: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:404: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:405: undefined reference to sha256_transform_8way' /root/verium/src/scrypt.cpp:413: undefined reference to
sha256_transform_8way'
/root/verium/src/scrypt.cpp:403: undefined reference to sha256_transform_8way' obj/scrypt.o:/root/verium/src/scrypt.cpp:404: more undefined references to
sha256_transform_8way' follow
collect2: error: ld returned 1 exit status
makefile.unix:202: recipe for target 'veriumd' failed
make: *** [veriumd] Error 1
root@localhost:~/verium/src#
Ubuntu-budgie 17.10
VRM wallet binary 1.1 at time of issue filing (most recent in Releases tab of GH home)
Binary is linked to old libraries libminiupnpc, libboost, etc.
Have not [yet] attempted to compile from source to learn if it auto-links to current libs.
Update binaries to allow linking to any lib with minimum versions equal to those used to compile? And/or release binaries for newer version tags.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.