drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 23, 2017, 06:33:22 AM |
|
How does burning work exactly? I burn some coins and have higher possibility of discovering a block? Is there a way to figure out a return rate? Like if I burn all my coins, is it possible to get nothing back?
Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
|
|
|
|
cryptovore
Member
Offline
Activity: 98
Merit: 10
|
|
July 23, 2017, 06:35:09 AM |
|
I report success in compiling the latest 0.5.0 version on an Odroid XU4, but it segfaults after 5-8 seconds. It gets connected, it starts to download the blockchain, but then it crashes - debug.log shows no info. Didn't see any core dumps either so my options are somehow limited, but here are paths I want to take with this:
- download a fresh version of the blockchain and see if it still crashes (anyone has a link? maybe it's worth putting it on the GitHub Readme as well?) - investigate if there's an RPC issue (daemon seems to segfaults after there's a getinfo command from the cli wallet) - the little box is behind a router, I compiled it with miniupnpc as well, but still crashes, after getting the same public IP as the other little boxes behind that router
Thoughts?
P.S. I think given the nature of Slimcoin, with PoB and such, small boxes can be an interesting route. I can see POSes created or small, more or less portable wallets or physical access points. You just transfer a certain seed amount of coins in that small box wallet and then let it burn, while it serves some real life purpose (like giving people access to a coworking space for a fee, etc).
|
|
|
|
muf18
|
|
July 23, 2017, 07:10:14 AM |
|
On the main page or in some of my posts there is sfx installer with 2 weeks old blockchain - you can unpack and pull from there blockchain, it should be the same files yes? It can run on arm? If yes we are really close to run this thing on Android I think if it's compatible with Linux on arm. It would be great. About small devices - my thought was to create a port of light slimcoin client to Android with burn function- I don't know how much work it must be put into it, maybe @gjhiggins can tell us?
|
|
|
|
cryptovore
Member
Offline
Activity: 98
Merit: 10
|
|
July 23, 2017, 07:43:05 AM |
|
It can run on arm?
It runs for half a year - if not more - on my tiny Raspberry Pi. It's version 0.4.1, though, but it does the job. Couldn't compile version 0.5.0 on Raspberry, probably because I run Debian Jessie (on Odroid I'm running Ubuntu). There's some error about OpenSSL files in Debian (it probably doesn't work with Open SSL over 1.0.x). Thanks for the blockchain link pointers, I'll try finding it.
|
|
|
|
cryptovore
Member
Offline
Activity: 98
Merit: 10
|
|
July 23, 2017, 08:14:20 AM |
|
I'm getting closer, here's what I see in debug.log: sending getdata: block 000000032cb2d62b2fe8 sending getdata: block cd826d316be05ca05380 sending getdata: block 0000000c80a7dc578516 sending getdata: block 000000218de412f31295 sending getdata: block 000000260f745adfe089 received block 0000000065b3881fe358 CBlock(hash=0000000065b3881fe358, ver=1, hashPrevBlock=f21390bbb2d882a0d789, hashMerkleRoot=f002d48d69, nTime=1499345776, nBits=1d3c230c, nNonce=4457656, vtx=1, vchBlockSig=3045022065df058722fd36576aa3b652f6359402e098203ba5385dc38d1f355dd48b388e022100f48ef65ed04084830fbd65bc656bd75e958b62b0125d6cf4bbf07cb957fd7c9e)
It looks like there is a problem when saving blocks to the database. If anyone (@ghiggins?) sees anything wrong with the code above or has hints on where to look, I'd appreciate.
|
|
|
|
muf18
|
|
July 23, 2017, 08:25:24 AM |
|
@cryptovore- can you make compiled version for rasperry pi to add to our main post on ann thread, or just give download link to your version? I know that normally we would just compile it but some ppl don't know how to do it.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 23, 2017, 09:06:24 AM |
|
How does burning work exactly? I burn some coins and have higher possibility of discovering a block? Is there a way to figure out a return rate? Like if I burn all my coins, is it possible to get nothing back?
You'll find pretty much all of that is covered in the ANN. If there's anything in there that you feel needs further or clearer explanation, the group would benefit from a brief report of your experience. Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
It takes a few days. The slimcoin.conf file should be edited to read reservebalance=0. Cheers Graham
|
|
|
|
muf18
|
|
July 23, 2017, 11:33:26 AM |
|
Ok, so I tell community what I'm trying to do and what I think would benefit us for community to do to benefit us. I'm trying to get as many translations as possible, I'm now speaking with my chinese friend and probably (not sure, but he said that he will do best), to translate it or if he can't he will ask his friends from university. I have friends from Korea and Japan, but I don't know if they will be able to do it. I will try other languages translated, but I would like to ask community from other countries to translate this ANN thread, website: http://slimco.in/, and whitepaper of Slimcoin. I have seen that in nodes we have many countries now: China, France, Germany, Sweden, Russia, Romania and many, many others. If anyone of you are reading this thread - I kindly ask you, any help and any language appreciated. You can contact me or @d5000 to provide sources and on github you can fork website and modify - the best would be to just add pages in specific language - it would make merging process easier. Till august better to contact @d5000 - I'm on holidays, but still trying to do outside here as much as I could for this project.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 23, 2017, 01:30:58 PM |
|
About small devices - my thought was to create a port of light slimcoin client to Android with burn function- I don't know how much work it must be put into it, maybe @gjhiggins can tell us?
Unfortunately, a lot. As roughly sketched out in the Peercoin forum: https://talk.peercoin.net/t/goals-18-android-wallet/1242/19Cheers Graham
|
|
|
|
muf18
|
|
July 23, 2017, 01:47:54 PM |
|
Ok, thanks for heads up. But still it's possible to fork out peercoinj libraries from github and make similar as in Google Play Peercoin Wallet? From my simple mind it shouldn't be too hard? And then from this we can start out building and adding other functions? One thing is also not clear - would/can I import to such mobile wallet my wallet.dat file encrypted or not? And also such solution is possible https://stackoverflow.com/questions/1636901/can-linux-apps-be-run-in-androidYeah, it's not pretty solution, and really lame , but it's possible to just run Linux app, when have rootted and all libraries installed to the kernel ? Yes you can. I have installed a complete Debian distribution in a chroot-jail enviroment using debootstrap. (You need a rooted device) I am now running ssh, apache, mysql, php and even a samba server under android on my htc-desire with no problems. It is possible to run x applications using a remote x server via ssh.
|
|
|
|
cryptovore
Member
Offline
Activity: 98
Merit: 10
|
|
July 23, 2017, 02:29:09 PM |
|
It is possible to run x applications using a remote x server via ssh.
IMHO running Linux on Android would be overkill for production. It may be fun to do it in a dev environment for fun, but too risky / slow / ugly for production.
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 23, 2017, 02:47:04 PM |
|
Ok, thanks for heads up. But still it's possible to fork out peercoinj libraries from github and make similar as in Google Play Peercoin Wallet? From my simple mind it shouldn't be too hard?
There doesn't seem to have been much progress on peercoinj: https://github.com/kac-/peercoinjOne thing is also not clear - would/can I import to such mobile wallet my wallet.dat file encrypted or not?
Not unless your mobile device both supports and provides BerkeleyDB libs in the same version as the version used by the client that created the wallet in the first instance No, it has to be an importprivkey if that's allowed, other than that, the SPV client creates a wallet that is suitably compatible to the host OS and that becomes your wallet. 'snot about the wallet, 'sabout the privkeys. Cheers Graham
|
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 23, 2017, 08:52:58 PM |
|
Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
It takes a few days. The slimcoin.conf file should be edited to read reservebalance=0. Cheers Graham Thanks for the reply, where can I find that file in OSX?
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 23, 2017, 10:00:48 PM |
|
Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
It takes a few days. The slimcoin.conf file should be edited to read reservebalance=0. Cheers Graham Thanks for the reply, where can I find that file in OSX? Users/drbarber/Library/Application Support/SLIMCoin If you don't know how to access Library directory, hold the Option key on your keyboard, and click the Go menu at the top of the screen. With the Go menu open, you'll notice that pressing and releasing Option will display or hide the Library choice in this menu.
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 23, 2017, 10:16:36 PM |
|
Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
It takes a few days. The slimcoin.conf file should be edited to read reservebalance=0. Cheers Graham Thanks for the reply, where can I find that file in OSX? Users/drbarber/Library/Application Support/SLIMCoin If you don't know how to access Library directory, hold the Option key on your keyboard, and click the Go menu at the top of the screen. With the Go menu open, you'll notice that pressing and releasing Option will display or hide the Library choice in this menu. Ah thanks. Weird though, I don't have a slimcoin.conf file... what coding should be in it? Did I waste time/coins by burning/mining without it?
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 23, 2017, 10:36:40 PM |
|
Edit: Also do I need to do anything or have a set amount of coins in order to stake? I got like 19k sitting in my wallet now.
It takes a few days. The slimcoin.conf file should be edited to read reservebalance=0. Cheers Graham Thanks for the reply, where can I find that file in OSX? Users/drbarber/Library/Application Support/SLIMCoin If you don't know how to access Library directory, hold the Option key on your keyboard, and click the Go menu at the top of the screen. With the Go menu open, you'll notice that pressing and releasing Option will display or hide the Library choice in this menu. Ah thanks. Weird though, I don't have a slimcoin.conf file... what coding should be in it? Did I waste time/coins by burning/mining without it? I don't know. But I don't think this file has something to do with burning, reservebalance=0 only tells your wallet do not reserve any of your coins for yourself and use all off them to stake. I've got the file right here.
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 23, 2017, 10:50:46 PM |
|
I don't know. But I don't think this file has something to do with burning, reservebalance=0 only tells your wallet do not reserve any of your coins for yourself and use all off them to stake.
I've got the file right here.
Okay thanks. I think I might have deleted it when I added the archive... Can you post the code in that here if it's not too long? Or do I only need to make it with reservebalance?
|
|
|
|
dzarmush
Legendary
Offline
Activity: 1806
Merit: 1001
|
|
July 23, 2017, 10:54:16 PM |
|
I don't know. But I don't think this file has something to do with burning, reservebalance=0 only tells your wallet do not reserve any of your coins for yourself and use all off them to stake.
I've got the file right here.
Okay thanks. I think I might have deleted it when I added the archive... Can you post the code in that here if it's not too long? Or do I only need to make it with reservebalance? Do not know that too ) rpcuser=user rpcpassword=pass listen=0 server=1 deamon=1 rpcport=41684 splash=0 reservebalance=1000000 addnode=37.187.100.75:41682 addnode=212.243.7.37:57208 addnode=161.53.40.94:54692 addnode=217.175.119.125:35959 addnode=217.65.8.75:34987 addnode=217.65.8.75:27670 addnode=5.9.39.9:41682 addnode=212.74.203.97:21773 addnode=91.20.13.10:56064 addnode=92.193.110.121:48782 addnode=92.193.110.121:40066 addnode=92.193.110.121:51681 addnode=5.105.63.44:64536 addnode=94.25.179.179:53001 addnode=39.128.196.200:2410
|
|
|
|
drbarber
Member
Offline
Activity: 81
Merit: 10
|
|
July 23, 2017, 10:57:38 PM |
|
Thanks appreciate it!
|
|
|
|
|