Author

Topic: Slimcoin | First Proof of Burn currency | Decentralized Web - page 134. (Read 137076 times)

legendary
Activity: 2254
Merit: 1290
Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0
In the absence of (promptly notified) strenuous objections, I have effected this reversion.
That's OK for me. Thought a bit about it but I think it doesn't make a significant difference.
Quote
Note for users of 14.04: due to differences in support for C++ versions, to compile successfully with 14.04, use the following:
qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1
Does this also work when compiling the daemon alone? I don't want to install QT on my small cloud vserver Wink

When compiling the daemon, just use the standard make -f makefile.unix

 The Travis CI log shows all the commands executed and the results - the slimcoind binary is compiled first, then (atm) the test_slimcoin is compiled and run, then finally the Qt wallet is compiled.

Cheers

Graham

Edited for brevity
hero member
Activity: 819
Merit: 502
Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0

In the absence of (promptly notified) strenuous objections, I have effected this reversion.

That's OK for me. Thought a bit about it but I think it doesn't make a significant difference.

Quote
Note for users of 14.04: due to differences in support for C++ versions, to compile successfully with 14.04, use the following:

qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1

Does this also work when compiling the daemon alone? I don't want to install QT on my small cloud vserver Wink

slimcoind is fine as well i was using make -f makefile.unix USE_UPNP=-
legendary
Activity: 3906
Merit: 6249
Decentralization Maximalist
Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0

In the absence of (promptly notified) strenuous objections, I have effected this reversion.

That's OK for me. Thought a bit about it but I think it doesn't make a significant difference.

Quote
Note for users of 14.04: due to differences in support for C++ versions, to compile successfully with 14.04, use the following:

qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1

Does this also work when compiling the daemon alone? I don't want to install QT on my small cloud vserver Wink
hero member
Activity: 819
Merit: 502
My error trying to compile windows wallet

Code:
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_system-mgw49-mt-s-1_55
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_filesystem-mgw49-mt-s-1_55
/mnt/mxe/usr/bin/i686-w64-mingw32.static-ld: cannot find -lboost_program_options-mgw49-mt-s-1_55
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libcrypto.a(sha256.o):sha256.c:(.text+0x2d0): multiple definition of `SHA224'
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x180): first defined here
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libcrypto.a(sha256.o):sha256.c:(.text+0x630): multiple definition of `SHA256'
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x100): first defined here
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libcrypto.a(sha512.o):sha512.c:(.text+0x13f0): multiple definition of `SHA384'
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x80): first defined here
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libcrypto.a(sha512.o):sha512.c:(.text+0x1cb0): multiple definition of `SHA512'
/mnt/mxe/usr/lib/gcc/i686-w64-mingw32.static/5.4.0/../../../../i686-w64-mingw32.static/lib/../lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
Makefile.Release:442: recipe for target 'release/slimcoin-qt.exe' failed
make: *** [release/slimcoin-qt.exe] Error 1
hero member
Activity: 819
Merit: 502
Wallet compiled for Ubuntu 17.04 Beta 2 successful

Edit: Found this for Windows wallet https://github.com/MonetaryUnit/MUE-Src/wiki/Compiling-MUE#todo i will try it later
legendary
Activity: 2254
Merit: 1290
Wallet compiled successfully in Ubuntu 14.04!!!

phew! that's a relief.

Quote
Edit: What need more to have final release? Thank you

I may have to strip out the torrent stuff. Although it only uses SQlite for local storage, Qt drags in mysqlclient libs (spit), resulting in:

Code:
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libcrypto.a(sha256.o):sha256.c:(.text+0x2d0): multiple definition of `SHA224'
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x180): first defined here
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libcrypto.a(sha256.o):sha256.c:(.text+0x630): multiple definition of `SHA256'
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x100): first defined here
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libcrypto.a(sha512.o):sha512.c:(.text+0x13f0): multiple definition of `SHA384'
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x80): first defined here
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libcrypto.a(sha512.o):sha512.c:(.text+0x1cb0): multiple definition of `SHA512'
/usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libmysqlclient.a(my_sha2.cc.obj):my_sha2.cc:(.text+0x0): first defined here
collect2: error: ld returned 1 exit status
Makefile.Release:448: recipe for target 'release/slimcoin-qt.exe' failed

which is a bit of a show-stopper. In MXE, the conjunction of crypto and database in Qt is not exactly a well-trodden path by the looks of it as I can't even find any hints of a reported issue.

I will cast around for different approaches, maybe use a more recent version of MXE, maybe clone the repos and compile a version of MXE without the issue, maybe see if I can find an example that uses BerkeleyDB instead, maybe try the build on 14.04 / 15.10 / 17.04. Maybe not bother with DB storage at all.

Cheers

Graham
hero member
Activity: 819
Merit: 502
Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0

In the absence of (promptly notified) strenuous objections, I have effected this reversion.

Tests still pass.

Importantly, this latter fact can be verified by consulting the Travis CI build record:

https://travis-ci.org/gjhiggins/slimcoin-dev/builds/218075235

The Travis CI build uses Ubuntu Trusty (14.04) - both slimcoind and Slimcoin-Qt now compile successfully under Ubuntu 14.04.

I'm still refining this phase of automating the build process, hence the use of an alternative repos.

https://travis-ci.org/slimcoin-project/Slimcoin

Please note, the changes enabling compilation under 14.04 have not yet been propagated to Slimcoin master.

https://github.com/slimcoin-project/Slimcoin/commit/a010f8e1dcf0a893bf75c88671920612d9a4e43c

Note for users of 14.04: due to differences in support for C++ versions, to compile successfully with 14.04, use the following:

qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1

Cheers

Graham


Wallet compiled successfully in Ubuntu 14.04!!!

Edit: What need more to have final release? Thank you
legendary
Activity: 2254
Merit: 1290
Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0

In the absence of (promptly notified) strenuous objections, I have effected this reversion.

Tests still pass.

Importantly, this latter fact can be verified by consulting the Travis CI build record:

https://travis-ci.org/gjhiggins/slimcoin-dev/builds/218075235

The Travis CI build uses Ubuntu Trusty (14.04) - both slimcoind and Slimcoin-Qt now compile successfully under Ubuntu 14.04.

I'm still refining this phase of automating the build process, hence the use of an alternative repos.

https://travis-ci.org/slimcoin-project/Slimcoin

Please note, the changes enabling compilation under 14.04 have not yet been propagated to Slimcoin master.

https://github.com/slimcoin-project/Slimcoin/commit/a010f8e1dcf0a893bf75c88671920612d9a4e43c

Note for users of 14.04: due to differences in support for C++ versions, to compile successfully with 14.04, use the following:

qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1

Cheers

Graham
hero member
Activity: 819
Merit: 502
I compiled again wallet from master.

1. Sync is OK
2. Mining works (low hash rate not found block yet)
3. Burn works well (burnt 1000 SLM and waiting for block)
legendary
Activity: 2254
Merit: 1290
Whilst hunting around for the meaning of stealth_version_byte (a bitcoin address prefix, it transpires), I found the following summary of stealth addresses/transactions on Bitcoin stackexchange:

Quote
As I understand it, the "stealth address" is intended to address a very specific problem. If you wish to solicit payments from the public, say by posting a donation address on your website, then everyone can see on the block chain that all those payments went to you, and perhaps try to track how you spend them.

With a stealth address, you ask payers to generate a unique address in such a way that you (using some additional data which is attached to the transaction) can deduce the corresponding private key. So although you publish a single "stealth address" on your website, the block chain sees all your incoming payments as going to separate addresses and has no way to correlate them. (Of course, any individual payer knows their payment went to you, and can trace how you spend it, but they don't learn anything about other people's payments to you.)

But you can get the same effect another way: just give each payer a unique address. Rather than posting a single public donation address on your website, have a button that generates a new unique address and saves the private key, or selects the next address from a long list of pre-generated addresses (whose private keys you hold somewhere safe). Just as before, the payments all go to separate addresses and there is no way to correlate them, nor for one payer to see that other payments went to you.

So the only difference with stealth addresses is essentially to move the chore of producing a unique address from the server to the client. Indeed, in some ways stealth addresses may be worse, since very few people use them, and if you are known to be one of them, it will be easier to connect stealth transactions with you.

It doesn't provide "100% anonymity". The fundamental anonymity weakness of Bitcoin remains - that everyone can follow the chain of payments, and if you know something about one transaction or the parties to it, you can deduce something about where those coins came from or where they went.
(my italics)

Unfortunately, the client handles this quite poorly, stealth addresses are very much longer than WIF addresses and this wrecks the GUI comprehensively, the label is truncated in the display and the rest of the space is filled with (let's not be too coy about this) random characters of a profoundly uninformative and uncommunicative nature:

e.g.

SfSLMCoinMainNetworkBurnAddr1DeTK5

vs

dooGjSHpy846JJtVcxfCxVoA2o9aaPsC98cJvpRiqrtAAyXwkcUDFEpTFNpppx7ENMHBx6yDrEyhLHX NsdLvwwYbet4pLvtqAbweDB

Unless there are strenuous objections (if so, please communicate them), I intend to revert the addition of stealth addresses to Slimcoin 0.5.0 for the following reasons:

a. the core functionality already exists in the Slimcoin codebase
b. the imported code introduces additional, untested cryptography
c. receipts and payments to stealth addresses are not shown in the GUI
d. there are no tests
e. 102-character addresses overwhelm the GUI's layout algorithms

Cheers

Graham
legendary
Activity: 2254
Merit: 1290
Now it says this :
"blockchain redownload required approaching or past v0.4 upgrade deadline."

The warning is a harmless inheritance from the Peercoin code:

https://github.com/slimcoin-project/Slimcoin/blob/slimcoin/src/main.cpp#L3238

and there seems no objection to my suggestion of removing it from the Slimcoin 0.4.[0|1] codebase.

The warning doesn't appear in the 0.5.0 version of Slimcoin that I am preparing for contribution.

Cheers

Graham
full member
Activity: 222
Merit: 103

Thanks again for all your slimcoin work and updates! Can you please provide your SLM address so I can send some SLM as a donation or bounties or a thanks?
newbie
Activity: 14
Merit: 0
Now it says this :
"blockchain redownload required approaching or past v0.4 upgrade deadline."
legendary
Activity: 3906
Merit: 6249
Decentralization Maximalist
Sorry, but i only have these commands

  


These are the command line options. The RPC commands will be available if you run the slimcoind daemon:

Code:
slimcoind -daemon -listen=1

and then in the same terminal, type:

Code:
slimcoind help

(Basically, it's the same like the Peercoin daemon - with the exception of the specific Proof of Burn messages like getburndata - , maybe there is more documentation about it.)



newbie
Activity: 14
Merit: 0
Sorry, but i only have these commands

  http://imgur.com/Hvzf77il.png
legendary
Activity: 2254
Merit: 1290
Srry for bothering where i can learn how to use CLI slimcoind

It's no bother, it's why this thread exists Smiley

You can open the debug window, select the console tab and type help on the built-in console which results in the following list of commands ...

Code:
addmultisigaddress  <'["key","key"]'> [account]
backupwallet
burncoins [minconf=1] [comment] [comment-to]
calcburnhash [fPrintRegardless=false]
checkwallet
dumpprivkey
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance [account] [minconf=1]
getblock [txinfo]
getblockcount
getblockhash
getblocktemplate [params]
getburndata
getcheckpoint
getconnectioncount
getdifficulty
getgenerate
gethashespersec
getinfo
getmemorypool [data]
getmininginfo
getnetworkghps
getnewaddress [account]
getpeerinfo
getrawtransaction [verbose=0]
getreceivedbyaccount [minconf=1]
getreceivedbyaddress [minconf=1]
gettransaction
getwork [data]
help [command]
importpassphrase "" [label]
importprivkey [label]
keypoolrefill
listaccounts [minconf=1]
listburnminted [verbose=false]
listreceivedbyaccount [minconf=1] [includeempty=false]
listreceivedbyaddress [minconf=1] [includeempty=false]
listsinceblock [blockhash] [target-confirmations]
listtransactions [account="*"] [fBurnTx=false] [count=10] [from=0]
makekeypair [prefix]
move [minconf=1] [comment]
repairwallet
reservebalance [ [amount]]
sendalert [cancelupto]
sendfrom [minconf=1] [comment] [comment-to]
sendmany {address:amount,...} [minconf=1] [comment]
sendrawtransaction
sendtoaddress [comment] [comment-to]
setaccount
setgenerate [genproclimit]
settxfee
signmessage
signrawtransaction [{"txid":txid,"vout":n,"scriptPubKey":hex},...] [,...] [sighashtype="ALL"]
stop
submitblock [optional-params-obj]
validateaddress
verifymessage

Detailed help on each command is available by typing help , e.g. help submitblock

Code:
submitblock  [optional-params-obj]
[optional-params-obj] parameter is currently ignored.
Attempts to submit new block to network.
See https://en.bitcoin.it/wiki/BIP_0022 for full specification.

(You can also use the CLI with the headless daemon by setting listen=1 in the config file and then ./slimcoind help submitblock for example).

BTW, there's a list of command-line options at the foot of the master branch's README file https://github.com/slimcoin-project/Slimcoin/blob/master/README.md

HTH

Cheers

Graham

Edit: added README ref
newbie
Activity: 14
Merit: 0
Srry for bothering where i can learn how to use CLI slimcoind
legendary
Activity: 3906
Merit: 6249
Decentralization Maximalist
I've compiled the newest version now with the transcription error fix, but in Ubuntu 14.04 with Boost 1.58 (parallel install to 1.54) it still crashes after the first CBlock message in the debug.log. Maybe it's simply too old :-/ but it is a LTS and that's why I chose it for my VPS back in 2015.

Ah, I forgot, just a comment to the GUI changes. I think the Burn coins button should continue to be visible in the main window. It may be little used but Proof of Burn is the unique feature of Slimcoin, so the symbol would visually reinforce the "brand". I've also thought on a renewed Slimcoin logo with a stylized flame replacing the "i-point" as a hint to PoB. Just an opinion.


legendary
Activity: 1612
Merit: 1608
精神分析的爸
I try to compile qt and failed...
In the CLI version , how i can see my wallet?

Check 'slimcoind help' for a list of supported rpc commands you can send to a running daemon. For a start check 'slimcoind getinfo'.

HTH
newbie
Activity: 14
Merit: 0
I try to compile qt and failed...
In the CLI version , how i can see my wallet?
Jump to: