[Dev] Feathercoin Core 0.9.3 - Alpha release
-
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??
-
That’s a good question. I’d like to know that too.
-
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??
New core wallet compatible with the previous version.
Feathercoin core 0.9.3 will upgrade your database and **wallet **autokinetic,you will **can not **go back 0.8.7.X. So Please backup your feathercoin directory and wallet.dat.
-
Lizhi, I know you have done alot of work already, and i know this might be even more work…
But is there any chance that you could start turning the ShapeShift implementation into the first “Plugin” for the ftc Qt.
Can you, in this new core, establish the platform for a modular/ 3rd party plugin aspect for the wallet.
The qr code support needs to be ingrain in the wallet. But companies like shapeshift should be optional modules.
If we lay the groundwork for a modular system, we can have link publishing and a whole arrangement of optional tools that can be added on to the core / standard Qt.
I can make it worth your time.
-
Before we can create modules, we need a flexible interface implementing standard procedure calls to:
- get information about the function and procedures contained into the module
- get information which menu items need to be added to the gui to give the user access to these functions
For 1. I think one standard function inside a module is required, that returns the function and menu items.
another way to implemment modules could be, that the module registers with the core wallet on load, so the core wallet just needs to scan a directory for the different module files and then load them. During registration menu items could be added to access the function of a module.
Does anybody know how this works for Firefox?
-
-
I’m making this the primary thread and I’ve moved it into Dev.