Pages:
Author

Topic: [ANN] United SciFi Coin [SCIFI] PoW/PoS - page 12. (Read 41662 times)

member
Activity: 84
Merit: 10
October 18, 2017, 04:21:23 PM
how does this work?
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 18, 2017, 03:58:59 PM
I can't help with Ubuntu, but in windows leveldb compiled separate with different compiler, then compile QT itself.
legendary
Activity: 2940
Merit: 1090
October 18, 2017, 03:37:18 PM
I use db-4.8.30.NC

db is just the wallet isn't it? The machine has that, most coins use it. These errors I have now are to do with leveldb not db.

Code:
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
g++ -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/obj -DUSE_IPV6=1 -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/include -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -o federationcreditd leveldb/libleveldb.a 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/keystore.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/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o obj/blake.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 -Wl,-Bdynamic -l z -l dl -l pthread /home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/libleveldb.a /home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/libmemenv.a
obj/leveldb.o: In function `CLevelDB::CLevelDB(boost::filesystem::path const&, unsigned long, bool, bool)':
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.cpp:56: undefined reference to `leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string, std::allocator > const&, leveldb::DB**)'
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.cpp:51: undefined reference to `leveldb::DestroyDB(std::__cxx11::basic_string, std::allocator > const&, leveldb::Options const&)'
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.cpp:58: undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
obj/leveldb.o: In function `CLevelDB::WriteBatch(CLevelDBBatch&, bool)':
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.cpp:76: undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
obj/txdb.o: In function `bool CLevelDB::Exists >(std::pair const&)':
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.h:123: undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
obj/txdb.o: In function `bool CLevelDB::Exists(char const&)':
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.h:123: undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
obj/txdb.o: In function `bool CLevelDB::Read(char const&, int&)':
/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.h:94: undefined reference to `leveldb::Status::ToString[abi:cxx11]() const'
obj/txdb.o:/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb.h:94: more undefined references to `leveldb::Status::ToString[abi:cxx11]() const' follow
collect2: error: ld returned 1 exit status
makefile.unix:190: recipe for target 'federationcreditd' failed
make: *** [federationcreditd] Error 1

-MarkM-
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 18, 2017, 03:29:52 PM
I use db-4.8.30.NC
legendary
Activity: 2940
Merit: 1090
October 18, 2017, 03:17:19 PM
Try change in file rpcrawtransaction.cpp:241
const CScriptID& hash = boost::get(address);
to
const CScriptID& hash = boost::get(address);

Yes I did that then ran into the leveldb problem mentioned above. The machine must have leveldb on it as it has been used to compile all coins for years.

-MarkM-
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 18, 2017, 03:06:32 PM
Try change in file rpcrawtransaction.cpp:241
const CScriptID& hash = boost::get(address);
to
const CScriptID& hash = boost::get(address);
legendary
Activity: 2940
Merit: 1090
October 18, 2017, 02:48:55 PM
Well that is weird as I thought it was 1.59 that needed the fix.

I don't remnember exactly what happened in the past but I think my machines that had been upgraded to Ubuntu 16.04 still had an old boost on them so could compile things that machines started from scratch at Ubuntu 16.04 could not.

It sounds like you must have already applied the fix but somehow my compile machine is choosing to try to compile against the old boost (1.58) even though presumably ever since it got upgraded to Ubuntu 16.04 it must have a newer boost also.

Hmm. Well I guess I can try setting up compilers on a box that has never had an Ubuntu older than 16.04 on it and see if that works...


... It looks like something might be wrong with the source code .tar.gz, I made the boost fix and continued to compile and it said something about a fatal error due to the directory nor its parent directories being .git repositories, then a while later it died trying to reference stuff from leveldb. So I think maybe it had tried to grab a copy of leveldb and failed? Maybe the .tar.gz is missing some .git directories that tell it where to get a good copy of leveldb or something?

I could not see any URL from which to simply git clone the thing, that is why I am trying with the .tar.gz archive.

-MarkM-
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 18, 2017, 02:08:19 PM
I use boost_1_59_0
Swap version not compatible with main.
new port, reduced reward (5 coin), new min difficulty, new pchMessageStart[4]
legendary
Activity: 2940
Merit: 1090
October 18, 2017, 01:41:06 PM
It does not compile (Ubuntu 16.04), I think maybe you left out a recent fix that had been needed to make it work with recent version(s) of BOOST ?

Code:
g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -D_FILE_OFFSET_BITS=64 -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/obj -DUSE_IPV6=1 -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/include -I/home/markm/src/Cryptocoins/Federation-Credits-2.7.1/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/rpcrawtransaction.d -o obj/rpcrawtransaction.o rpcrawtransaction.cpp
In file included from /usr/include/boost/iterator/iterator_categories.hpp:22:0,
                 from /usr/include/boost/iterator/iterator_facade.hpp:14,
                 from /usr/include/boost/range/iterator_range_core.hpp:27,
                 from /usr/include/boost/range/iterator_range.hpp:13,
                 from /usr/include/boost/assign/list_of.hpp:20,
                 from rpcrawtransaction.cpp:6:
/usr/include/boost/variant/get.hpp: In instantiation of ‘typename boost::add_reference::type boost::strict_get(boost::variant&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference::type = const CScriptID&]’:
/usr/include/boost/variant/get.hpp:284:25:   required from ‘typename boost::add_reference::type boost::get(boost::variant&) [with U = const CScriptID&; T0 = CNoDestination; T1 = CKeyID; T2 = CScriptID; T3 = boost::detail::variant::void_; T4 = boost::detail::variant::void_; T5 = boost::detail::variant::void_; T6 = boost::detail::variant::void_; T7 = boost::detail::variant::void_; T8 = boost::detail::variant::void_; T9 = boost::detail::variant::void_; T10 = boost::detail::variant::void_; T11 = boost::detail::variant::void_; T12 = boost::detail::variant::void_; T13 = boost::detail::variant::void_; T14 = boost::detail::variant::void_; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference::type = const CScriptID&]’
rpcrawtransaction.cpp:241:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE
     BOOST_STATIC_ASSERT_MSG(
     ^
makefile.unix:176: recipe for target 'obj/rpcrawtransaction.o' failed
make: *** [obj/rpcrawtransaction.o] Error 1

Possibly it might be the error mentioned here: https://github.com/fedoracoin/fedoracoin/issues/11

By the way, what are you actually changing in these swap-only versions of coins? Presumably more than just the port to connect to else we'd be able to simply fire up our existing executables with a -port= argument, which would have saved having to recompile. ?

-MarkM-
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 18, 2017, 12:52:39 PM
I can't get the new UFC client to sync.
When it starts it shows 1 connection (47.20.253.239), and it reads a few blocks, but after a few seconds it disconnects.
I used blockchain backup of October 2.

Messages in debug log:
   received block 0000000017141cfa5c1342c34444e7c200685ea68593e317c0596306ce883868
   ERROR: ProcessBlock() : block with too little proof-of-work
   Misbehaving: 47.20.253.239:27009 (0 -> 100) DISCONNECTING
   disconnecting node 47.20.253.239:27009
   connection timeout

Any idea what's wrong?

Fixed.
https://github.com/scificrypto/Federation-Credits/releases/download/v2.7.1/federationcredit27.zip
full member
Activity: 162
Merit: 100
October 18, 2017, 01:56:35 AM
I can't get the new UFC client to sync.
When it starts it shows 1 connection (47.20.253.239), and it reads a few blocks, but after a few seconds it disconnects.
I used blockchain backup of October 2.

Messages in debug log:
   received block 0000000017141cfa5c1342c34444e7c200685ea68593e317c0596306ce883868
   ERROR: ProcessBlock() : block with too little proof-of-work
   Misbehaving: 47.20.253.239:27009 (0 -> 100) DISCONNECTING
   disconnecting node 47.20.253.239:27009
   connection timeout

Any idea what's wrong?
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 17, 2017, 09:54:05 AM
Most GPL miners not from Sci-Fi community and sell coins after get them. 288 GPL per day.
If not enough buyers, price drop. And now all altcoins drop.

Swap UFC2 to SCIFI procedure started October, 17:
Download swap version https://github.com/scificrypto/Federation-Credits/releases/download/v2.7.1/federationcredit27.zip
Unzip to directory, different from main UFC and start.
Directory Roaming\federationcredit2 will be created. Then stop federationcredit-qt.exe.
Use saved and unzip to Roaming\federationcredit2
Create file federationcredit.conf and add:

addnode=47.20.253.239

Add to directory Roaming\federationcredit2 your wallet.dat
Start federationcredit-qt.exe and wait for full blockchain download.
Create in wallet new address and send all coins to that new address. (use different new wallet.dat)
( it is necessary to prevent that someone steal yours UFC coins in main chain just for fun, because only I can get stolen coins)
Do not forget backup new wallet. For more protection, send yours UFC in main chain to different address before swap procedure.
Then, send me private message with yours new SCIFI address and I give you UFC2 address and send 1 SCIFI coin for testing.
Then send me 1 UFC2 for testing, if all OK I send you PM and you start sending UFC2, then  I send you SCIFI.
Send UFC2 to me only in swap version, from new consolidated address.

Swap rate: 1 UFC2 = 0.1885046588194788 SCIFI
full member
Activity: 162
Merit: 100
October 17, 2017, 01:14:13 AM
Poor GPL, it did not take the swap very well...
Those unpredictable Ferengis are behind this.
Dev, can't you talk some sense into them, you're the Nagus after all... Smiley

KED, on the other hand is still standing strong.
No wonder, the Klingons are famous for their hodling abilities... Smiley

member
Activity: 98
Merit: 10
October 16, 2017, 04:18:23 PM
Hello Dev

Good luck with project development.

Closely watching the progress !!! Cheers
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 16, 2017, 04:17:52 PM
Doing anything with ufc
Swap fork UFC after block 289588 (today)
Copy your database now.
legendary
Activity: 1470
Merit: 1001
Use Coinbase Account almosanywhere with Shift card
October 16, 2017, 02:15:53 PM
Doing anything with ufc
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
October 07, 2017, 11:11:49 AM
Important information for Cubits holders:
All unswapped  SCIFI coins will be swap to Cubits.
Swap rate based on total received QBT. Start after February, 1 2018

Swap QBT to SCIFI will be different from other.
No need send any coins in main and forked chain, just sign messages with yours addresses
as proof of own and send me before February, 1 2018
Based on QBT Richlist and unswapped coins I calculate swap rate and send SCIFI.
Try consolidate QBT in 1-5 addresses.
legendary
Activity: 1045
Merit: 1157
no degradation
October 07, 2017, 07:57:30 AM
Okay I got some of these coins, but I cannot see how to set the splitthreshold?

-MarkM-
Here you go. Smiley
legendary
Activity: 2940
Merit: 1090
October 06, 2017, 11:05:01 PM
Okay I got some of these coins, but I cannot see how to set the splitthreshold?

-MarkM-
hero member
Activity: 982
Merit: 517
Nature decays, but Latinum lasts forever. RoA:102
Pages:
Jump to: