Great news thanks! Can someone verify that everything works as expected, and post the sha1sum of the version you used?
Has anyone been able to verify/test the Mac wallet?
I know one person with a Mac, my retired father - I can't picture that ending well... I was honestly happy the day he got a Mac - it meant an end to being tech support for him!
+1, (lol)
but on another note, I have some additions to the UI experience, not the underlying workings of YACoin. It is too late ATM tonight to do battle with GitHub, but here are some of the additions I have done and tested on the Windows (gcc and MSVC++) builds of YACoind and the gcc YACoin-qt.
http://youtu.be/C8GvHpjbAnMYACoin is also mentioned in the end of the last of the short video series I did on building static libraries for MSVS, Bitcoin and YACoin and others, see (from message # 2119)
https://www.youtube.com/playlist?list=PLFnWb0ttBBMLyUuniLp3PJ5Mn4tVUlliZWhat's not shown is one more addition to the code, to enable wallet.dat to change its name, to anything! And to be anywhere on your computer. I don't have a video, but it would cover something like this:
In YACoin.conf (or on the command line) for Windows (#ifdef WIN32) versions of YACoind (MS), YACoind (gcc) & YACoin-qt (gcc) there is a new optional
walletpath argument. I don't have Linux or a Mac, so I can't test it on other OS's. That is why I "guarded" it with the WIN32 test, but it should work with any OS.
walletpath can take a full or partial path (or just a filename) to an existing 'wallet.dat' file or a non-existing name to create a new wallet with that new name. If it's a partial path or just a name, the code 'falls back' to using
'datadir' to compose the full path, which is what the normal code does anyway.
The 'wallet.dat' name can be any legal filename!
One thing one can do with this capability is run the wallet off of a USB memory drive and never have it on the hard drive of the computer!
Change wallets by editing a line in YACoin.conf, without losing the other wallet, which is the same as running the same blockchain with different wallets.
Perhaps an odd use of running the same wallet on different blockchains?
All one needs to know is how the BerkeleyDB code is written in Bitcoin/YACoin, etc.
In YACoin, the wallet code expects a
blkindex.dat and (possibly) a
database/log.0000000nnn file in the directory with the wallet file,
'wallet.dat' or whatever you want to rename it!
The blockchain, I think, is in the
'datadir' directory, wherever that is on your computer, and it expects to find a
blk0001.dat and perhaps a
peers.dat and the ability to have a
.lock file.
There is some connection, I believe, but again there is
no documentation, on the relationship between the
'datadir'/blk001.dat file and the
blkindex.dat and (possibly) a
database/log.0000000nnn files in the
walletpath which now can be a separate directory!
Perhaps YACoin can soon (?) have multiple wallets on one block chain? Built in! Without an RPC connection? Or with one? Can you see an "exchange" kind of application? Or other possibilities?
Is there any interest in these additions? I have found it very useful for testing as a developer and as a user, and have been using this code on my Bitcoin MSVC++ and gcc versions for some time
Ron
YAC: Y3ZggXDvnRJaRwtVGyGJwt6DMLN3EPQpQf