[Dev] Develop new core 0.9.3 for feathercoin, together
-
Jeez… and that’s why we trail behind and implement fixed versions or better versions…
So there’s an issue here?
-
I create a Multi-Sign transaction,send 1 ftc to myself, the multi-address is 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo. It look great.
C:\FTC>feathercoind listunspent
[
{
“txid” : “413d80e439cd13753a61cdde79dd5d4cc0abf309f4fe903bde7bfed47f4945
00”,
“vout” : 0,
“address” : “3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo”,
“account” : “Mutli-sign”,
“scriptPubKey” : “a914969a44f8edeb0ad6c8a8f234507d581163f55b8b87”,
“redeemScript” : “522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9d
db71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29de
be372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae”,
“amount” : 1.00000000,
“confirmations” : 12
},
{
“txid” : “413d80e439cd13753a61cdde79dd5d4cc0abf309f4fe903bde7bfed47f4945
00”,
“vout” : 1,
“address” : “6yDXDB45znZVpkWiXgHmgX5NPNzfWQF6Qn”,
“scriptPubKey” : “76a914d5b9bb0d3a13d578163dfa87e58c7096d99dfd2588ac”,
“amount” : 1.99000000,
“confirmations” : 12
}
]how to create a multisigaddress in 0.9.3 ?
feathercoind validateaddress 6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j
{
“isvalid” : true,
“address” : “6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j”,
“ismine” : true,
“isscript” : false,
“pubkey” : “03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915”,
“iscompressed” : true,
“account” : “m1”
}
feathercoind validateaddress 6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac
{
“isvalid” : true,
“address” : “6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac”,
“ismine” : true,
“isscript” : false,
“pubkey” : “0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37”,
“iscompressed” : true,
“account” : “m2”
}
feathercoind validateaddress 6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw
C:\FTC>feathercoind validateaddress 6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw
{
“isvalid” : true,
“address” : “6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw”,
“ismine” : true,
“isscript” : false,
“pubkey” : “03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4”,
“iscompressed” : true,
“account” : “m3”
}C:\FTC>feathercoind createmultisig 2 [\“03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915\”,\“0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37\”,\“03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4\”]
You will get a multisigaddress in wallet.
{
“address” : “3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo”,
“redeemScript” : “522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae”
} -
More info on the Litecoin Multisig “bug” on Github. First ever Litecoin hard fork…
Re: Need to make sure FTC multisig addrresses also is not start with 3…
**wtogami ** commented
an hour agoI agree it has been a problem. #blamecoblee =P The unfortunate problem with this type of transition is that it would require the first ever hardfork in Litecoin’s history. Can the plan be written in a more detailed proposal in the format of a Bitcoin BIP? We will need to propose it to the community, receive feedback and buy-in from stakeholders.
-
Yes, I find FTC multisig addrresses also is start with 3…
The unfortunate problem :'(
It is not a bug, However, it is easy to make us confused ;)
A back in github
“I think you can contact Quickwallet (https://twitter.com/quickwalletcom), they are huobi store’s website, is to use Multisig addresses versions are ‘3’.”
We can not modify rpcmisc.cpp.
-
I got the 0.9.3 core compiled on OpenSuSe 12.3
It was a bit tricky, as OpenSuSe uses non-standard directories for 64bit libraries and the dependencies are always a challenge ;)
Good Work Lizhi!
I noticed that I can’t create qr-codes in the ‘receive’ tab,although I configured with --enable-qr=yes
-
I think we need to support qr-codes ,I will read 0.8.7 codes , then find them.
-
Re: Multisig prefix, same for Bitcoin, LTC and FTC.
I note Charlie is proposing multiple start values for LTC, al la Ghostlanders solution for the genesis code confusion between coins.
I think changing Litecoin multisig prefix is a good idea. Anton, are you suggesting doing this as a soft fork? Basically, we can have it so that new versions allow both '3' and '4' addresses. '4' addresses will be rejected by the network until the soft fork happens. If you can write up a detailed proposal, that would be helpful. â€" Reply to this email directly or [view it on GitHub][0].![AEZWALX8V_a1kKgRA9QMZPR0z15v83pJks5nNGjf](https://github.com/notifications/beacon/AEZWALX8V_a1kKgRA9QMZPR0z15v83pJks5nNGjfgaJpZM4C3HPH.gif)
I realise that this would need its own development sub area. But this will cause a lot of problems to exchanges and merchants accepting multicoins, so would be a killer feature (over Litecoin) and may not require a hard fork if it is developed before release. Although I haven’t had time yet to fully investigate the details of the development of multisignature technology.
-
so how difficult would it be to change our multi sig address to something other than 3/4 e.g. 9 or whatever.??
-
Now, Core Wallet support QRcode, I will continue to complete QR-snap.
-
Wow, you have been busy, would be great to get this made the official wallet soon
-
so how difficult would it be to change our multi sig address to something other than 3/4 e.g. 9 or whatever.??
I think changing Feathercoin multisig prefix is a good idea, But I need helpful.a detailed proposal.
-
I solved the issue, Core wallet can support QR-Snap .
I must modify ZebraCrossing, Because it compile on Visual Studio 2013 only.
How to compile ZebraCrossing
cd /D/FTC/dev/ZebraCrossing-master mkdir mw cd mw cmake -G "Unix Makefiles" .. make
then libzxing.a copy *.a to /D/FTC/dev/ZebraCrossing-master/build32/Release
You need to modify some files
- BitMatrixParser.h and DecodedBitStreamParser.cpp, create a new stdint2.h
typedef long int int64_t;
- LinesSampler.cpp
add #include
delete using std::abs;
I had add USE_ZXING option to configure.ac , A simple way is to directly modify src\qt\Makefile.
CPPFLAGS = -I/D/FTC/dev/ZebraCrossing-master/src/libsrc LDFLAGS = -L/D/FTC/dev/ZebraCrossing-master/build32/Release LIBS = -lzxing -L/D/FTC/dev/ZebraCrossing-master/build32/Release
-
is that on your github?
Then I could try to compile on Linux
-
Woo!
-
is that on your github?
Then I could try to compile on Linux
Yes, I had git my codes . https://github.com/cqtenq/feathercoin_core
Bush’s ZebraCrossing lib https://docs.google.com/file/d/0B3j45cVgrEz0Qkg2bndIWENBMDg/edit
**libzxing ** https://github.com/ClaireDuSoleil/ZebraCrossing
Any questions please let me know.
-
So how do we go about getting this new core fleshed out and implemented as the defult core?
-
I assume there’s still a lot of testing required?
-
I assume there’s still a lot of testing required?
Yes, I think so. Multisig need to optimize. All of the code need to be carefully tested.
I need a month’s time at least, Testing, comparison, modification, optimization, learning, that sort of thing .
Now it is a Alpha 2.
Feathercoin Core 0.9.3 QT-Wallet Downloads (binary for windows Alpha 2)
https://forum.feathercoin.com/index.php?/topic/8018-friendly-testneed-volunteers-feathercoin-core-093-alpha-released/ -
I’ll assume that is the new Primary thread, so ive moved, pinned, unpinned things around. Dev/testing stuff was seeping into the discussion area.
-
You give me infinite power , developed the new multisign address, prefix f. ^-^