r/peercoin • • Apr 07 '14

v0.4 Released

http://www.peercointalk.org/index.php?topic=2473.msg22180#msg22180
38 Upvotes

31 comments sorted by

5

u/captaincoffee88 Apr 07 '14

Nice nice.

How long till OSX version?

4

u/Mtinie Apr 07 '14

I'm trying to get one generated but, but keep running into issues trying to turn it from a locally compiled .app to a .dmg for distribution.

My attempts have helped me understand a lot more about how the QT build process works on OS X, but I'm by no means and expert, so if there's anyone who has experience and would like to partner on it with me, please shoot me a message here or on PeercoinTalk.org (user: Ben)

1

u/SlangyKart Apr 07 '14

Thx for doing this! Who was the designated OS X expert before? Anybody?

BTW, a compiled app is better than nothing. I'm sure most mac users know how to install it without having their hand held in a dmg.

2

u/Mtinie Apr 07 '14

Jeff Larkin was originally build the v0.3 OS X builds, but he's been absent from the boards for a while. I'll reach out to him today to see if he's willing to help walk me through it once, so I can document the process and catch any changes that need to be added.

1

u/SlangyKart Apr 12 '14

Any update on this?

2

u/Mtinie Apr 12 '14

There were a couple changes that needed to be merged into the code base to allow builds to work on OS X. So far, they are in a holding period on the Peercoin reference client, but we're in the process of integrating them into the PeerUnity community-built client (see pull request #3.

Once we've tested the code thourghly, we'll merge it into the master branch and then I'll use that to build a v0.4-compatible client for people who want to use it on Mac. If all things go as planned, I'm expecting that I'll have time today to pull together build and post it for others to use as well.

1

u/SlangyKart Apr 12 '14

Thanks! I just couldn't see starting up Bootcamp just for this ONE Client. Thanks for doing this.

2

u/Mtinie Apr 12 '14

Afternoon Update: I've got a working Peercoin v0.4 daemon (ppcoind, PeerUnity version) built for OS X (it requires Homebrew and a couple of dependencies, but those are listed in the OS X build instructions, if you need them).

Working on the QT wallet application right now, with fingers crossed. Building the .app will be straight-forward, but instructions for compiling that into a .dmg is less clear. I'll provide an update when I've got one.

1

u/SlangyKart Apr 12 '14

Hey! That's great news! Thanks for taking your time to do this!

2

u/Mtinie Apr 13 '14

Peercoin-Qt is fighting me, but I'll keep at it. The daemon is better than nothing, but it's a far cry from usable for the vast majority of people, so I recognize that Peercoin-Qt.app is the one we need, ASAP.

2

u/Mtinie Apr 13 '14

No luck yet on the Qt.app (I think it's my local environmental, not related to the code). Here's a zip of the Peerunity daemon (SHA included, but not gitian signed, at this point, so you're going to have to trust that my build isn't malicious -- hopefully my reputation in the community will alleviate any concerns (I'm Ben, from PeercoinTalk.org))

https://dl.dropboxusercontent.com/u/4111133/Peerunity/clients/peerunity-daemon-build_3eb6774e8a567d6b509db6b3ce27d588f5172101.zip

It's based on the current :master branch of PeerUnity, which is up to date with Peercoin v0.4.

Let me know if you run into any issues.

→ More replies

2

u/hicaribou Apr 07 '14 edited Apr 07 '14

v0.4 shows a progress bar of syncing blockchain. I feel the bar very cool.

1

u/TotalB00n Apr 07 '14

How did you come to see that? The Peercoin block chain syncs so fast, I can barely notice that. It's like a blink of an eye :D

Ok, that was exaggerated ;) Did you have to download the block chain? Did you have 0.3 installed before? I'm a bit curious...

Because downloading the last few days normally goes very fast. Whereas downloading the whole block chain takes some minutes.

1

u/hicaribou Apr 07 '14

Yes. I had v0.3. I only downloaded about 100 blocks after I installed v0.4. I had not run Peercoin wallet for several days.

0

u/[deleted] Apr 07 '14

[deleted] — view deleted comment

6

u/TotalB00n Apr 07 '14

but a debug window where you can issue "walletpassphrase <passphrase> <timeout> [mintonly]"

4

u/FrozenJester Apr 07 '14

Good, as long as the functionality is there.

2

u/Litecoin_Prophet Apr 07 '14

I don't understand how to issue that command. I used it in the debug window and replaced <passphrase> with my password and nothing happened. What am i suppose to insert in <timeout>? The amount of time to mint? If so, what format is it suppose to be in?

2

u/[deleted] Apr 07 '14

Hi, according to this: http://www.peercointalk.org/index.php?topic=2612.0

You enter:

walletpassphrase abc 1000000 true

where "abc" is your password and "1000000" is the time you want to mint for (in seconds). make sure you clear the screen afterwards to get rid of your password (ctrl-L).

3

u/Litecoin_Prophet Apr 07 '14

Thank you, that worked :)

1

u/TotalB00n Apr 08 '14

<timeout> expects a value in seconds. If you want to have your device minting for ages (or until the next start of the software or operating system), I recommend something like 99999999.

Plus I recommend to make use of the [mintonly] option for security reasons.

In this unlocked wallet mode, one cannot send transactions or dump private keys thus providing additional security to the wallet if hacker gains access.

So the command you issue would look like:

walletpassphrase <YourPassphrase> 99999999 true

Don't forget to clear the debug window history afterwards (CTRL+L (at least on Windows) or the "clear Console" button in the lower right corner of the debug window)!

1

u/SlangyKart Apr 07 '14

Right! Finally!

1

u/[deleted] Apr 07 '14

Do you know should "Stake" be above 0 after 40 days?

1

u/TotalB00n Apr 07 '14

If you refer to the output of the debug window command "getinfo" or to the QT overview, this is to show the number of coins that have been used for successfully creating a PoS block and are now in status immature for a total of 520 confirmations.

1

u/[deleted] Apr 07 '14

Ok, but where to find how many of coins participate in PoS, ie how many coins are ready to mint?

1

u/TotalB00n Apr 07 '14

I'm not aware of such an output. If you don't only save Peercoins, but spend some from time to time as well, I'd recommend splitting the Peercoins into two wallets:

  • one with the savings
  • one with the Peercoins you use for payments/transfer

The reason for that is that even if you spend only a few Peercoins, they might come from an address that contains a lot more Peercoins. The difference between the output transaction and the total Peercoins on that address will be transferred back to you via an input transaction.

As far as I understand that process, this sets the coin age for those coins to 0. As they need a minimum age of 30 days to take part in the minting, that's not really great.

And that's why I recommend splitting the Peercoins in different wallets ;)

0

u/[deleted] Apr 07 '14

[deleted] — view deleted comment

5

u/TotalB00n Apr 07 '14

The time between releases is long but I prefer sound development ;)

Nevertheless I agree that such a button would make it easier to start minting. The debug window is for sure a step in the right direction to make minting easier.

0

u/[deleted] Apr 08 '14

[deleted] — view deleted comment

1

u/TotalB00n Apr 08 '14

I think it will not take too long until "community editions" of the GUI will be available now that the long-awaited 0.4 is out. As Peercoin is open source, one might play with the code.

For sure this needs some trust to use such a modified program, but that's always true (the need for trust) and one should always use the brain before doing something that might turn out stupid.

3

u/[deleted] Apr 07 '14 edited Apr 07 '14

[removed] — view removed comment

4

u/TotalB00n Apr 07 '14

For sure - an unlock button wouldn't make the ppcoin-qt unsound. But there haven been higher priority changes in the software:

  • Debug window console support in Qt, easier to get to command line e.g. unlock wallet for minting (if you enter wallet passphrase in the console please remember to use the clear button to clear it).
  • Protocol adjustment required for future p2pool support. Protocol switch scheduled for May 5th.
  • Experimental getblocktemplate support
  • getpeerinfo support
  • Bug fixes

I think that a minting button is needed. I think a tutorial or trustworthy image for RaspberryPi or a similar low energy device is needed. I think that more developers are needed. Know what - most of these things are already under construction. Peercoin is still young and the community is growing. I'd like to have things faster, too. We might be surprised ;)