soon I'm going to be removing the old electrum deterministic wallet commands. people should switch to using the newer HD commands which all wallets (electrum included) are adopting.
|
|
|
I want to add Litecoin and Dogecoin to libbitcoin. Might be a month or so before it happens, but we want this in DW and SX.
Right now I have to focus on optimising the blockchain.
|
|
|
gocoin@testnet:~$ ls src/code.google.com/p/ go.crypto snappy-go gocoin@testnet:~$ cd src/github.com/piotrnar/gocoin/ gocoin@testnet:~/src/github.com/piotrnar/gocoin$ cd downloader/ gocoin@testnet:~/src/github.com/piotrnar/gocoin/downloader$ ls addr.go blks.go hdrs.go main.go netw.go ping.go README.md stat.go usif.go gocoin@testnet:~/src/github.com/piotrnar/gocoin/downloader$ go build # github.com/piotrnar/gocoin/secp256k1 ../secp256k1/num.go:85: new(big.Int).SetUint64 undefined (type *big.Int has no field or method SetUint64) ../secp256k1/num.go:85: new(big.Int).And(&num.Int, new(big.Int).SetUint64(1 << bits - 1)).Uint64 undefined (type *big.Int has no field or method Uint64) # github.com/piotrnar/gocoin/others/sys ../others/sys/stuff.go:119: undefined: debug.FreeOSMemory # github.com/piotrnar/gocoin/qdb ../qdb/db.go:83: function ends without a return statement ../qdb/index_disk.go:58: function ends without a return statement gocoin@testnet:~/src/github.com/piotrnar/gocoin/downloader$
|
|
|
In the install-sx.sh script, in the function called install_libbitcoin, change ./configure with --enable-testnet I think I did that. Also added "--enable-testnet" for libwallet I'm looking at config.log in libbitcoin-git and libwallet-git - they both show "ENABLE_TESTNET 1" But the "sx stealth-show-addr" still says "Invalid stealth address" for any testnet stealth. At the other hand it has no problems to decode a non-testnet stealth addresses. EDIT: I think I know where is the problem. In libwallet-git/src/stealth.cpp, there should be: #ifdef ENABLE_TESTNET constexpr uint8_t stealth_version_byte = 0x2b; #else constexpr uint8_t stealth_version_byte = 0x2a; #endif
I added that in git. Also now there is a --develop switch: bash install-sx.sh PREFIX --develop
|
|
|
btw, can I have the sx tools for testnet? the ones I finally managed to build cannot even do $ sx stealth-show-addr waPV5rHToBq3NoR7y5J9UdE7aUbuqJybNpE88Dve7WgWhEfvMrcuaSvF6tSQ3Fbe8dErL6ks8byJPcp3QCK2HHviGCSjg42VgMAPJb sx: Invalid stealth address. In the install-sx.sh script, in the function called install_libbitcoin, change ./configure with --enable-testnet this line: https://github.com/spesmilo/sx/blob/master/install-sx.sh#L313install_libbitcoin(){ ... ./configure --enable-leveldb --prefix $INSTALL_PREFIX --with-libsecp256k1=$INSTALL_PREFIX --enable-testnet ... }
|
|
|
Yep, I saw it already - thx.
But it seems to be already working well in my s/w (sending and receiving). I can exchanging coins via stealth addresses with DW - don't need sx for it anymore.
Unfortunately sx nor DW support stealth addresses with non-zero length prefixes ATM, so I cannot test that part of mine. But zero length prefixes seem to work just fine.
correct. glad to hear that.
|
|
|
SX may release - stealth tools, EC commands, HD keysSee the tutorials on HD keys and stealth payments. $ sx stealth-newkey Stealth address: vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L Scan secret: af4afaeb40810e5f8abdbb177c31a2d310913f91cf556f5350bca10cbfe8b9ec Spend secret: d39758028e201e8edf6d6eec6910ae4038f9b1db3f2d4e2d109ed833be94a026 $ sx mktx txfile.tx --output vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L:100 Added output sending 100 Satoshis to 1BjqrpQqr4tY5YPQkL8aG7NGkFbTbiuVu. $ sx fetch-stealth ephemkey: 0276044981dc13bdc5e118b63c8715f0d1b00e6c0814d778668fa6b594b2a0ffbd address: 1DUhzP41otHNKijH4B6dZN1SRVuYJyYfrp tx_hash: 63e75e43de21b73d7eb0220ce44dcfa5fc7717a8decebb254b31ef13047fa518 ephemkey: 024398667c6a11652ae80fe6370e140cc67d4f82fb8310122cdaddae1524dad9e0 address: 1Nw1EKu8Y6mPGhMGyrKPS9TZWDyTPLvi8a tx_hash: 6a6246ccc7cb9427efee85dd3c7b80164f8a61213a7ce357b8cfd3816f59aab9 ...
$ SEED=$(sx hd-seed) $ echo $SEED xprv9s21ZrQH143K3YEx9tNjNtm6FJJHWuKRMmnXw42Eq6RiKt7oRpkKViHPJDnVvVZweqnjxEn6UsFLmztqCc5STduaMMGbwxgwMEkR8xM5wbK $ echo $SEED | sx hd-seed | sx hd-priv 0 | sx hd-priv 0 | sx hd-priv 1 --hard xprv9zShfTYMrPQdXBs1x4zYcf99DGyvykdvYxfdovarBZTh7RTZZ5vNgrdS4eQDPTxN9YnjSzfjVf6eWvEKuNubwLUoEYNg5cDfKp5RQVmYj2x
$ sx help ... EC MATH ec-add-modp Calculate the result of INTEGER + INTEGER. ec-multiply Multiply an integer and a point together. ec-tweak-add Calculate the result of POINT + INTEGER * G.
Install globally: $ wget https://sx.dyne.org/install-sx.sh $ sudo bash install-sx.sh
Install locally (non-root): $ wget https://sx.dyne.org/install-sx.sh $ bash install-sx.sh usr/
|
|
|
SX may release - stealth tools, EC commands, HD keys See the tutorials on HD keys and stealth payments. $ sx stealth-newkey Stealth address: vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L Scan secret: af4afaeb40810e5f8abdbb177c31a2d310913f91cf556f5350bca10cbfe8b9ec Spend secret: d39758028e201e8edf6d6eec6910ae4038f9b1db3f2d4e2d109ed833be94a026 $ sx mktx txfile.tx --output vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L:100 Added output sending 100 Satoshis to 1BjqrpQqr4tY5YPQkL8aG7NGkFbTbiuVu.
$ SEED=$(sx hd-seed) $ echo $SEED xprv9s21ZrQH143K3YEx9tNjNtm6FJJHWuKRMmnXw42Eq6RiKt7oRpkKViHPJDnVvVZweqnjxEn6UsFLmztqCc5STduaMMGbwxgwMEkR8xM5wbK $ echo $SEED | sx hd-seed | sx hd-priv 0 | sx hd-priv 0 | sx hd-priv 1 --hard xprv9zShfTYMrPQdXBs1x4zYcf99DGyvykdvYxfdovarBZTh7RTZZ5vNgrdS4eQDPTxN9YnjSzfjVf6eWvEKuNubwLUoEYNg5cDfKp5RQVmYj2x
$ sx help ... EC MATH ec-add-modp Calculate the result of INTEGER + INTEGER. ec-multiply Multiply an integer and a point together. ec-tweak-add Calculate the result of POINT + INTEGER * G.
|
|
|
See the tutorials on HD keys and stealth payments. $ sx stealth-newkey Stealth address: vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L Scan secret: af4afaeb40810e5f8abdbb177c31a2d310913f91cf556f5350bca10cbfe8b9ec Spend secret: d39758028e201e8edf6d6eec6910ae4038f9b1db3f2d4e2d109ed833be94a026 $ sx mktx txfile.tx --output vJmwY32eS5VDC2C4GaZyXt7i4iCjzSMZ1XSd6KbkA7QbGE492akT2eZZMjCwWDqKRSYhnSA8Bgp78KeAYFVCi8ke5mELdoYMBNep7L:100 Added output sending 100 Satoshis to 1BjqrpQqr4tY5YPQkL8aG7NGkFbTbiuVu. $ sx fetch-stealth ephemkey: 0276044981dc13bdc5e118b63c8715f0d1b00e6c0814d778668fa6b594b2a0ffbd address: 1DUhzP41otHNKijH4B6dZN1SRVuYJyYfrp tx_hash: 63e75e43de21b73d7eb0220ce44dcfa5fc7717a8decebb254b31ef13047fa518 ephemkey: 024398667c6a11652ae80fe6370e140cc67d4f82fb8310122cdaddae1524dad9e0 address: 1Nw1EKu8Y6mPGhMGyrKPS9TZWDyTPLvi8a tx_hash: 6a6246ccc7cb9427efee85dd3c7b80164f8a61213a7ce357b8cfd3816f59aab9 ...
$ SEED=$(sx hd-seed) $ echo $SEED xprv9s21ZrQH143K3YEx9tNjNtm6FJJHWuKRMmnXw42Eq6RiKt7oRpkKViHPJDnVvVZweqnjxEn6UsFLmztqCc5STduaMMGbwxgwMEkR8xM5wbK $ echo $SEED | sx hd-seed | sx hd-priv 0 | sx hd-priv 0 | sx hd-priv 1 --hard xprv9zShfTYMrPQdXBs1x4zYcf99DGyvykdvYxfdovarBZTh7RTZZ5vNgrdS4eQDPTxN9YnjSzfjVf6eWvEKuNubwLUoEYNg5cDfKp5RQVmYj2x
$ sx help ... EC MATH ec-add-modp Calculate the result of INTEGER + INTEGER. ec-multiply Multiply an integer and a point together. ec-tweak-add Calculate the result of POINT + INTEGER * G.
Install globally: $ wget https://sx.dyne.org/install-sx.sh $ sudo bash install-sx.sh
Install locally (non-root): $ wget https://sx.dyne.org/install-sx.sh $ bash install-sx.sh usr/
|
|
|
I want to clear up some facts which I'm seeing propagated around this community about the CoinJoin trustless mixing used in Dark Wallet. Dark Wallet coinjoin goes through a server, but the server cannot see any details of your transaction nor can they steal your coins. All details are encrypted for the counterparty, and all signing happens in the client. The only weakness here is that a server gets taken down stopping the service in which case you switch to another service. Even if the NSA controlled the server, they wouldn't be able to steal your coins or observe your transaction at all. Lastly the server is sharing messages with other servers (we are improving this too), so it isn't really centralised. It is federated kind of like how different email providers inter-operate with each other. The decentralised aspect will only improve over time as we develop standards and deploy technology. More info: https://bitcointalk.org/index.php?topic=279249.msg6526623#msg6526623DW dev
|
|
|
I want to clear up some facts which I'm seeing propagated a lot.
Dark Wallet coinjoin goes through a server, but the server cannot see any details of your transaction nor can they steal your coins. All details are encrypted for the counterparty, and all signing happens in the client.
The only weakness here is that a server gets taken down stopping the service in which case you switch to another service. Even if the NSA controlled the server, they wouldn't be able to steal your coins or observe your transaction at all.
Lastly the server is sharing messages with other servers (we are improving this too), so it isn't really centralised. It is federated kind of like how different email providers inter-operate with each other. The decentralised aspect will only improve over time as we develop standards and deploy technology.
|
|
|
piotr you will need to eventually upgrade anyway we're on freenode irc #darkwallet too if you have any questions https://webchat.freenode.net/ or use XChat I'm currently improving the stealth commands in SX then will merge to master after.
|
|
|
Terrorist is in the eye of the beholder. It's a term that has been used to. Bitcoin is in fact not anonymous. The entire ledger of every transaction ever made since its inception is publicly replicated online, it's probably the least anonymous system ever created and used.
blaa blaa keep trotting this tired and untrue lie like a parrot. bitcoin can be very anonymous, and will only get more so as we make the tools more user friendly. this propaganda is spoonfed to people on a plate of bitcoin legitimisation and acceptance. you are being manipulated for some group's own ends.
|
|
|
good idea, i'll ask the other wallets about something like this. it should be fair and open though.
|
|
|
@dabura667 cheers. so the prefix length cannot be bigger than 32 bits? and if it was all 32 bits, but I could not find a matching nonce - what then? pick up a different "ephemkey"? @genjix yeah, I had gone through these specs. none of them was even close to be as useful as one post from dabura667 btw, building the tools on my old ubuntu 12.04 was a real fight. first I needed gcc 4.7 (I had 4.6) then leveldb version was apparently too old and libbboost - I also had to upgrade this one to 1.49. the biggest problem was that the errors I saw did not help much to diagnose the problems. the second biggest: this version of ubuntu would not just upgrade any of these packages in a simple way. cmon man upgrade your ubuntu. that is super old! ubuntu 14 is a new LTS
|
|
|
|