Some news

I have been working on MicroCash but not as much as I would like. I have had some personal things to deal with in the last weeks and some more coming up but rest assured I am still involved in this project and hope to release more soon! Thanks.

Economic decisions and address improvement

Image1The last few days I spent putting together the 2 alphas and disk access. I have a single thread which writes out to disk to avoid any locking issues and which allows the main worker threads to be running full speed without worrying about slow disk access. In Bitcoin disk access is involved in nearly everything when it comes to transactions which makes the engine very slow in comparison. I have also been brainstorming a bit more in regards to the MicroCash addresses and I am interested in what other people think.

Continue reading

MicroCash Server Alpha 2

Here is another server benchmark but this time multithreaded. It should correctly find the number of CPU cores on your system and use 100% CPU in an attempt to maximize performance

64Bit Windows Download – 475KB

SHA256: B3C24FDB849A2FA50DB8ECE61F0E3DFDD3AA7399E2D6BC4C367BAF9D2B73694F

I used C++11 Lambdas to make this multithreading benchmark code really easy to do. However it added nearly 200KB to the binary in doing so! Since I won’t use lambdas in any other place it isn’t that big a deal but I was really surprised that so little code could bloat the binary so much. Beware of using C++11 features blindly!

MicroCash Server Alpha 1

I am releasing the server benchmark for MicroCash to get an idea about performance and any issues relating to the current startup code. There is no networking in this, just a lot of raw calling of the base functions in MicroCash. Run it and give any feedback. I am only releasing the Windows version at the moment and even though MicroCash can easily support 32bit CPUs such usage will be unofficial.

64Bit Windows Download – 288KB
SHA256: F4F29B6DA8BE87B10920317CA164F656D7F1DB11A6B61D60BA4FE4B852D5242E

Saving and loading data

MicroCash at its simplest is just a chain of transactions which makes disk access quite simple. Simply serialize the transactions to disk and load them back when required. Today I began the code which does the actual loading and saving of the data, which is a bit more complicated than it should be due to the fact I have to code a platform independent version of it.

Continue reading

Node Message Handling

I worked on moving the new Serialization code into the node message handling which went pretty smooth. I had a buffer before with structures pointing directly into it and had a lot of boilerplate code to handle each specific message. With the new serialization code I decided I wanted to do it a bit more Objected Orientated and with less code.
Continue reading

The boring work

IC20067I have kept working all these days but it is rather boring stuff. For instance the serialization of classes. That is code which takes a C++ class and converts it to a string of 1s and 0s that can be sent over the network or saved to disk. The old MicroCash code I’m working on already had a serialization implementation but I wanted something different. The old one was inspired by Bitcoin and even though it had improved on that one by handling the edge cases it was more verbose than I thought it could be.

Continue reading

Distributed File Server

With MicroCash it will be possible to do a variety of non money based activities even though it is only optimized for basic money to money transfers. One of these is linking accounts together to form a data stream. An account in MicroCash allows the owner of that account to store a small amount of data which will likely be around 128 or 256 bytes. Not much when it comes to file storage. But by linking an account to another you can then put as much data as you want into MicroCash.

Continue reading

Transactions… Addresses and PROGRESS

I have been busy refactoring parts of the networking and messaging class and building the basic structure of the main message between nodes. Transactions!

Continue reading

EdDSA added

I had a nice surprise this morning as Realsolid had pushed some code that contained a complete C++ implementation of EdDSA . This is similar to the ECDSA that Bitcoin uses but is more modern and something that many believe is more secure and faster.
Continue reading

Follow

Get every new post delivered to your Inbox.