[Dev] Feathercoin Core 0.9.3 - Alpha release
-
We will continue to advance,We’re heading in the right direction.and we’re not going to let up.Today ,I think I had finished the main development for feathercoin core.I need some volunteers,download and test it.
Why do we need core wallet ?
Feathercoin core wallet base on Bitcoin framework, is not Litecoin framework.I rewrote the code.Now out of shadow from Litecoin finally! For users, it provides some new features.
What is the difference between feathercoin core and feathercoin ?
The last feathercoin wallet is 0.8.7.1, The last feathercoin core wallet 0.9.3. feathercoin core had support ACP,eHRC,neoscrypt and fork history.
-
The new menu and page. I tune overview page, add report page and merchantlist page . About menu tuning , I add “Advanced” menu. Users can quickly find the page needs to use.
-
Multi-sign .This is an important function.You can have tow or more signatures.It would increase the security of the transaction.
-
New database . I upgrade db-4.8.30.NC to db-5.1.29.NC. BerkeleyDB.5.1.29 is performance improvements and bug fixes.
4)Plugins. Wallet can team working with Bitmessage.Impliment shapeshift,support feathercoin shift other coin.
-
Run faster. Feathercoin core can init blockindex faster,At the same time,core have DNS Seed, BlockChain download quickly.
-
Other. I upgrade QT 4.8.5 to QT 5.3.1,It provide more interface.
7)Inherit 0.8.X, include ACP,eHRC,QRCode,QRSnap.
How to use feathercoin core ?
I put a feathercoin-qt.exe,you can download a binary file,not need to compile it. Now I give a windows version file for test only.
Note
Feathercoin core will upgrade your blocks and wallet,you will can not go back 0.8.7, so please backup your feathercoin directory.How to compile feathercoin core ?
You need MinGW 4.9 for WINDOWS BUILD.
Dependencies:
OpenSSL 1.0.1i
Berkeley DB 5.1.29.NC
Boost 1.55.0
miniupnpc 1.9
Qt 5.3.1
protobuf 2.5.0
libpng 1.6.12
libqrencode 3.4.4ZebraCrossing 1.0
See a post https://bitcointalk.org/index.php?topic=149479.0
./autogen.sh CPPFLAGS="-I/D/BTC/Dev/miniupnpc \ -I/D/BTC/Dev/boost_1_55_0 \ -I/D/FTC/dev/db-5.1.29.NC/build_unix \ -I/D/BTC/Dev/openssl-1.0.1i/include \ -I/D/BTC/Dev \ -I/D/BTC/Dev/protobuf-2.5.0/src \ -I/D/BTC/Dev/libpng-1.6.12 \ -I/D/BTC/Dev/qrencode-3.4.4 \ -I/D/FTC/dev/ZebraCrossing-master/src/libsrc \ -DSTATICLIB " \ LDFLAGS="-L/D/BTC/Dev/boost_1_55_0/stage/lib \ -L/D/FTC/dev/db-5.1.29.NC/build_unix \ -L/D/BTC/Dev/openssl-1.0.1i \ -L/D/BTC/Dev/miniupnpc \ -L/D/BTC/Dev/protobuf-2.5.0/src/.libs \ -L/D/BTC/Dev/libpng-1.6.12/.libs \ -L/D/BTC/Dev/qrencode-3.4.4/.libs \ -L/D/FTC/dev/ZebraCrossing-master/build32/Release " \ ./configure \ --disable-upnp-default \ --disable-tests \ --with-qt-incdir=/D/BTC/Dev/QT/5.3.1/include \ --with-qt-libdir=/D/BTC/Dev/QT/5.3.1/lib \ --with-qt-bindir=/D/BTC/Dev/QT/5.3.1/bin \ --with-qt-plugindir=/D/BTC/Dev/QT/5.3.1/plugins \ --with-boost-system=mgw49-mt-s-1_55 \ --with-boost-filesystem=mgw49-mt-s-1_55 \ --with-boost-program-options=mgw49-mt-s-1_55 \ --with-boost-thread=mgw49-mt-s-1_55 \ --with-boost-chrono=mgw49-mt-s-1_55 \ --with-protoc-bindir=/D/BTC/Dev/protobuf-2.5.0/src \ --with-boost=/D/BTC/Dev/boost_1_55_0/stage \ --with-boost-libdir=/D/BTC/Dev/boost_1_55_0/stage/lib make
Wish you a good time!
Feathercoin Core 0.9.3 QT-Wallet Downloads (binary for windows Alpha 2)
http://www.ftc-c.com/pack/feathercoin-core.rar 58,306,809 Bytes
http://www.ftc-c.com/pack/feathercoind.rar 20,828,900 Bytes
Source code
https://github.com/cqtenq/feathercoin_core -
-
Works for me, awesome!
Really good job ;)
-
Good work Lizhi,
I will try to compile for Linux in the next days. I don’t have a windows environment available.
-
You did a lot of work Lizhi!
good job.
-
Great work, wallet has been backed up but new code works like a charm.
-
If you sync all blockchain,it will spend about 12 hours.
-
Today, the birth of the first multisig address.I create a 2-of-3 multisig address using addmultisigaddress.
I have 3 feathercoin address : 6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j ,6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac,6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw ,then I get their public keys using the validateaddress RPC command 3 times.
feathercoind.exe addmultisigaddress 2 [\"03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915\",\"0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37\",\"03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4\"]
addmultisigaddress returns the multisignature address. It is 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo
C:\FTC>feathercoind.exe validateaddress 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo { "isvalid" : true, "address" : "3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo", "ismine" : true, "isscript" : true, "script" : "multisig", "hex" : "522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae", "addresses" : [ "6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j", "6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac", "6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw" ], "sigsrequired" : 2, "account" : "" }
-
Thank you lizhi!
This is remarkable…
This plus 2fa, dark addresses and bitmessage implementation, will = one very powerful Qt
-
If you sync all blockchain,it will spend about 12 hours.
I did not have to resync my wallet, just changed to the new exe.
New wallet is also faster than the 0.8.7 code
-
Fantastic work. I’m very excited about Multi Sig.
-
I did not have to resync my wallet, just changed to the new exe.
New wallet is also faster than the 0.8.7 code
Yes, New wallet have DNS Seed Service, It will automatically connect default fastest full node (eg:pool.ftc-c.com,pool2b.d2.cc). They will be the default settings in your peers.dat
-
Today , I finished a multisig transaction. I sent one feathercoin to a 2-of-3 multisig, then spend them. :)
My multisig address is 3PjAax8rHZpaYCBy4GYc9rcQNFTKYukaWF .
See Sreen shot
(Send 1 FTC)
(Receive 1 FTC)
Transaction in explorer.feathercoin.com
http://explorer.feathercoin.com/tx/8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd
How to create multisig transaction ?
This is a complex process,You need to install two feathercoin core , test a 2-of-3 multisig transaction. Soon after, I will write a special manual for multisig transaction.
about more multisign information ,you can see them.
https://bitcointalk.org/index.php?topic=82213.msg906833
https://bitcointalk.org/index.php?topic=704444.0**feathercoind.exe createrawtransaction **[{\“txid\”:\“8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd\”,\“vout\”:0,\“scriptPubKey\”:\“a914f1bad47b69e385f45338acc928dd0bb0b6e0678587\”,\“redeemScript\”:\“522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553ae\”}] {\“6u6Junx4E8jmBaLwaCtUAwgmKrPmu56ukz\”:1}
0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd459880000000000ffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000
**feathercoind.exe signrawtransaction **0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd459880000000000ffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000 [{\“txid\”:\“8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd\”,\“vout\”:0,\“scriptPubKey\”:\“a914f1bad47b69e385f45338acc928dd0bb0b6e0678587\”,\“redeemScript\”:\“522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553ae\”}] [\“KzkfTiNMvZRzYpdjkucrbDjqxkRJfkQpDLXYrkNaX4bVEohyFNMM\”]
{ "hex" : "0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd4598800000000fc004730440220145e0b59767a32d49d9b9501e7f1a18aa1c4fdd98e40e34a5c8a10a0295539be02202b5466e874e389914c89cd65a514a104c848af22a53f2e38efc9b2dde72cb1f801473044022037d5c647e3fa71fe5a0e9e172dd31eecf13fea3f99473f972d110332d3372869022053d14fc6c6826608acbbecba7fe8b2245607718b223710040cda911974237a1d014c69522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553aeffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000", "complete" : true }
-
Now , You can compile feathercoin core in linux. I test with Ubuntu 12.04 64bit.
Install Dependencies
apt-get install git apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev apt-get install zlib1g-dev libminiupnpc-dev autoconf apt-get install autotools-dev autoconf pkg-config apt-get install libtool
Install BerkeleyDB.5.1.29
tar -xvf db-5.1.29.NC.tar.gz cd db-5.1.29.NC/build_unix BITCOIN_ROOT=$(pwd) BDB_PREFIX="${BITCOIN_ROOT}/db5" ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX make install
compile feathercoin-core 0.9.3
cd feathercoin_core ./autogen.sh ./configure --disable-upnp-default --disable-tests LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" make
May have a problem:
libbitcoin_common.a(neoscrypt.o): relocation R_X86_64_32 against `.rodata’ can not be used when making a shared object; recompile with -fPIC
You need to modifysrc\Makefile
CCASFLAGS = -g -O2 -fPIC
CFLAGS = -g -O2 -fPIC
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIC
OBJCXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPICReference
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
http://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/
-
I get this error when trying to compile on OpenSuSe:
In file included from util.cpp:71:0:
/usr/include/boost/program_options/detail/config_file.hpp: In instantiation of ‘bool boost::program_options::detail::basic_config_file_iterator::getline(std::string&) [with charT = char; std::string = std::basic_string]’:
util.cpp:1438:1: required from here
/usr/include/boost/program_options/detail/config_file.hpp:163:13: error: ‘to_internal’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /usr/include/boost/program_options/detail/parsers.hpp:9:0,
from /usr/include/boost/program_options/parsers.hpp:265,
from util.cpp:72:
/usr/include/boost/program_options/detail/convert.hpp:75:34: note: ‘template std::vector -
Hi Wellenreiter, I think you should try to compile bitcoin-core 0.9.3 , I guess your boost-lib need update. I can compile in Ubuntu 12.04.
I set up a full node with feathercoin core 0.9.3.
-
That one was a bug in the boost libraries.
solved.
Let’s see what comes next ;)
-
Today, FTC wallet can team working with Bitmessage. Bitmessage can been launched from the Feathercoin core.
Core wallet can pass parameters to Bitmessage, include Address,TransactionID, amount or more. They can automatically fill in to subject .
Bitmessage version 0.4.4.
-
Wow! Now this I like! Top work Lizhi.
-
Cool!
-
I just wonder.
Is it possible to have both latest official wallet and this beta release at the same machine with the same time opened using same wallet.dat?
Or more important is it safe to execute such setup??