Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Dirk Diggler

Pages: [1] 2 3
General FIMK Discussion / FIMK Version Updater - Feedback Needed
« on: January 26, 2016, 02:39:29 PM »
The new version manager in FIMK 0.6.2 comes with an update script (bash) that downloads the new version, verifies its integrity and installs it.
I've written and tested the script on my (linux) desktop but would like to hear if the script in it's current form works on the servers or desktop of other FIMK users.

The script was uploaded to github

To (easily) test the script create a new empty directory and execute the script. It should download and install FIMK.
To see if the update part also works please try these commands and let me know it worked for you!

Code: [Select]
# Important! Use an empty directory
mkdir my_temp
cd my_temp
curl -L -k -O

# now download and install 0.6.0
sh 0.6.0 0be939172917f1bc14cf1b09903b47045124f0fab12b5dfae1fb8f5f405c8470

# see if it works

# shutdown FIMK
# now download and install 0.6.1
sh 0.6.1 66a68b9591b79655568b485dd048d501e2761da310d43ce40b6c8ec828be1847

# see if it works


English News / interview
« on: December 29, 2015, 10:23:42 AM » interview.

Read the interview here

FIMK Client discussion / Hard Fork is coming. Pre-announcement.
« on: September 13, 2015, 02:24:13 PM »
Hi Fimkers.

Just a quick heads-up for what to expect in the coming weeks.

We are currently upgrading the FIMK server (java) to the NXT 1.5 code base, which requires a hard fork.
This means we'll automatically be getting support for some excellent new NXT inventions.

  • Prunable Messages
  • Voting System
  • Monetary System
  • Websocket P2P Connections (excellent when combined with the FIMK Gossip protocol)

To keep the number of hard forks at a minimum we'll also be rolling out FIMK only features.

  • Private Assets for Financial Institutions
  • New Account Identifiers (accounts will come in two flavors or (sounds simple but believe me when I say there is a lot more to it)
  • New Unique Secret Feature .... Offline Vouchers
  • Offchain Free Gossip Protocol Improvements
  • Virtual AE Improvements
  • Namespaced Alias Improvements

The FIMK Gossip protocol is expected to get a huge boost in speed when combined with the NXT websocket based p2p server.


Side note: While going over all the NXT code improvements for NXT 1.5.* I must say they did an excellent job.
Code quality just keeps getting better! You can thank them if you like.

Technical Discussion / Finally.. we have the gossip protocol
« on: August 27, 2015, 11:38:43 PM »


Finally I got around to implementing a protocol I've had in mind for a long time.
The idea is extremely simple but at the same time extremely powerful.

With the gossip protocol everyone running a FIMK server can send a message to one or more of his connected peers and be pretty sure that same message is distributed as fast as possible among all other peers.

Nothing is stored however!
All that remains on any of the servers is the ID of the message. And only for a limited amount of time just to make sure we don't keep sending the same message around.

To actually do something with gossip messages the receiving party should be actively listening for them.

A party does not need to listen for all gossip messages!

What you do is create a special key which is built up from a sender, recipient and or topic (or any combination of that) and you'll subscribe to that key through two-way websocket client/server connections.

Now when anyone sends a gossip that matches that key, as soon as that message reaches the (p2p) server your client is connected to you will be notified.

Having a free distributed messaging protocol could potentially come at a cost.
That's why all transactions and blocks on the network always go first.

It is a very early stage and these extra measures have not been enabled yet but this protocol comes with excellent spam prevention methods.
Since every gossip message has a sender and every peer in the network has knowledge of that sender's balance we could easily require a sender to have a minimum balance, we could also limit the number of messages per minute/hour/day etc per account ..

Every gossip message is signed with a secret phrase which proves who send the message (same mechanism as signing blocks).
Every gossip message is timestamped and the timestamp is included in the signature, messages older than - or from more than 15 seconds in the future are discarded.

The live chat feature is just one of it's uses and is what is available in lompsa (used to be mofowallet) 0.4.7 now.

Lompsa 0.4.7 shows how with this relatively simple protocol we can create a sophisticated client side (javascript) distributed real-time communications platform.

# client side protocol implementation

# messages are stored and served from indexeddb

Lots of other uses exist. Free fast real-time communications between FIMK users is just one of them.
Eventually the protocol could be used for anything.. communications, games, live multi-sig, live trading etc..

Technical Discussion / Blockchain tests in Javascript
« on: May 01, 2015, 10:33:13 PM »
For several new features we are currently making quite extensive changes to FIMK core.
Right now mainly for the private assets feature but some other big implementations are around the corner.

To make sure this all works properly tests are required that can simulate a working blockchain.
We've had the Java based Junit tests for some time now but the main recurring problem was all the code you'd have to write to make a simple test.

This had to be done easier. Writing tests should be quick and fun, only then will you write tests that touch all parts of the software. And having an easy to use testing tool allows for much faster development.

Through combining the new native Javascript support in Java 8 and the existing Junit work that was done by the NXT team I was able to come up with a super easy to use javascript -> java -> FIMK integration with which it's now very easy to write complex tests that touch all parts of FIMK and do it in a human friendly readable way.

Since we already had all the conversion scripts to work with internal FIMK units (so called NQT, QNT and the variable asset decimal places) available in mofowallet - and since mofowallet is javascript and our tests are now too - i was able to reuse all those scripts.

To get an idea what that looks like please check out these working FIMK tests written in javascript: BlockchainTest.js

Now that all this is working I'll try and formalize it so anyone could stick a javascript test in a folder and easily run his tests.
Hopefully soon we'll have more people writing tests which leads to a better code base and allows other developers to get started quicker with FIMK core development.

I'm going to try something new here. I'm going to keep this single thread updated for all the latest server and desktop version releases.
This opening post will from now on link to the latest releases and will include the release texts.
I'll also post the release texts as a post to this thread.

Desktop version

Hash: SHA1

███████╗██╗███╗   ███╗██╗  ██╗          Release : 0.6.2
██╔════╝██║████╗ ████║██║ ██╔╝          Date    : 2016-04-08
█████╗  ██║██╔████╔██║█████╔╝ 
██╔══╝  ██║██║╚██╔╝██║██╔═██╗ 
██║     ██║██║ ╚═╝ ██║██║  ██╗
╚═╝     ╚═╝╚═╝     ╚═╝╚═╝  ╚═╝


██╗      ██████╗ ███╗   ███╗██████╗ ███████╗ █████╗
██║     ██╔═══██╗████╗ ████║██╔══██╗██╔════╝██╔══██╗
██║     ██║   ██║██╔████╔██║██████╔╝███████╗███████║
██║     ██║   ██║██║╚██╔╝██║██╔═══╝ ╚════██║██╔══██║
███████╗╚██████╔╝██║ ╚═╝ ██║██║     ███████║██║  ██║
╚══════╝ ╚═════╝ ╚═╝     ╚═╝╚═╝     ╚══════╝╚═╝  ╚═╝

Embeds FIMK 0.6.4 (based on NXT 1.5.10).

Includes a fix that allows to send FIMK fractions again (0.00000001 minimum),
this functionality got lost during a refactoring of transaction dialogs.

Includes a fix for the merchant/pay me FIMK link functionality, merchant url
now supoprts payments in asset as well as FIMK. Includes option for a callback
url to notify merchant of payment and a redirect link to send customer back
to merchant website.


Specs are in the source for now:

Fixes for messenger, reloads messages now when you switch users.

User balance displayed in toolbar now updates in real-time.

Various marketplace smaller fixes, now hides delisted and no longer in stock items.

                             ~~~ DOWNLOAD ~~~

SHA256 dc28313e7274b0817167d7fd807001f1049dc46e62c080f578c4634db0b18818
MD5    47e40a552adb2148e7d96ee0b4ea78a3

SHA256 5ab934ac7c175c9cf1bdcc552e38e5ac6b5bd470b5a3d556e94d4ce586448466
MD5    d1d272e09d7852d0ffd504f9e9171dd7

SHA256 25f49b1930c86a874c8af914578ba25f0829e0842cc535c34e2f77d49d9af4b2
MD5    5ca4d04f947cebaf1d06a0f339582202

SHA256 53cc39df6cad06bd7a915094138ee4130a5fe9b9f94a1a8c41964b2473c811bd
MD5    20370062089977da61cc861aca099bd0

SHA256 5110ea3a1f9b489f37b3fb22a9199e33bdfe3ae3d0c52db656b6fc708ef1af62
MD5    3aab2b45df442954be954b8bffdac9b1

SHA256 1ed24ebde45902a4742eb5bc879941ec6d1eeebea74e825178327c4f05c55259
MD5    0ac14fac1fe210664eae2f1d8f09198f

Version: GnuPG v1


Server version

Users running 0.6.3 or later can update their FIMK installation through the update script.
To update to this latest release run this command in your installation folder.

sh 0.6.4 e02ba501fd1c321fcf4e5cda8274618beb1833366aaecc00d5bea06855a214b4

Thats it.

Hash: SHA1

███████╗██╗███╗   ███╗██╗  ██╗           Date    : 2016-02-11
██╔════╝██║████╗ ████║██║ ██╔╝           Release : 0.6.4
█████╗  ██║██╔████╔██║█████╔╝
██╔══╝  ██║██║╚██╔╝██║██╔═██╗  
██║     ██║██║ ╚═╝ ██║██║  ██╗ 
╚═╝     ╚═╝╚═╝     ╚═╝╚═╝  ╚═╝  [online wallet]

Fixes a bug where fresh blockchain downloads could not verify one or more
block generation signatures.

Fixes a bug where pre-private-asset-fork asset issuance transactions where
incorrectly read while uploading blocks to blockchain downloaders.

Introduces some new and extends some existing HTTP API's for use in new
Lompsa client 2.0. These API's are likely to change in the future.

- - getTransactionCount
- - getAccountTransactionCount
- - getBlockchainTransactions

Introduces new websocket push event mechanism for use in Lompsa 2.0, through
this new mechanism clients can register/unregister for detailed server side
push events. Lompsa 2.0 new codebase and extension mechanism are tightly
coupled with this event mechanism.

Adds column sort functionality to getNamespacedAlias API, this is also available
in the bundled client.

Includes a fix for incorrect namespaced alias handling, this fix requires a
hard fork of the network which will be enabled through the setting of another
hard fork alias (this functionality was introduced a few releases ago).

Before we enable the hard fork we would like to see a considerable amount of
nodes to have updated.

                             ~~~ DOWNLOAD ~~~

SHA256 e02ba501fd1c321fcf4e5cda8274618beb1833366aaecc00d5bea06855a214b4
MD5    9ec0a3ec5b5fcf5cd2567f010adcde8c

Version: GnuPG v1


FIMK Client discussion / NXT has put out a critical release update...
« on: April 19, 2015, 10:33:47 PM »
The NXT project has released a critical bug fix with their 1.4.17 release.
While I understand why NXT calls this a critical fix for FIMK (since it's relatively low transaction volume) this is not nearly as critical.

I've gone ahead and pulled in the fix to the FIMK server code which will give us FIMK server 0.4.2, this code is ready and available on github

Since I don't see a reason to rush this I will release a public release tomorrow.

Get it while it's hot..

Hash: SHA1

 /$$$$$$$$ /$$$$$$ /$$      /$$          Release : 0.4.2         
| $$_____/|_  $$_/| $$$    /$$$          Date    : 2015-04-13         
| $$        | $$  | $$$$  /$$$$                 
| $$$$$     | $$  | $$ $$/$$ $$       
| $$__/     | $$  | $$  $$$| $$
| $$        | $$  | $$\  $ | $$         
| $$       /$$$$$$| $$ \/  | $$
|__/      |______/|__/     |__/                 
                     /$$                                       /$$             
                    | $$                                      | $$             
                    | $$   /$$  /$$$$$$  /$$   /$$  /$$$$$$  /$$$$$$    /$$$$$$
                    | $$  /$$/ /$$__  $$| $$  | $$ /$$__  $$|_  $$_/   /$$__  $$
                    | $$$$$$/ | $$  \__/| $$  | $$| $$  \ $$  | $$    | $$  \ $$
                    | $$_  $$ | $$      | $$  | $$| $$  | $$  | $$ /$$| $$  | $$
                    | $$ \  $$| $$      |  $$$$$$$| $$$$$$$/  |  $$$$/|  $$$$$$/
                    |__/  \__/|__/       \____  $$| $$____/    \___/   \______/
                                         /$$  | $$| $$                         
                                        |  $$$$$$/| $$                         
                                         \______/ |__/           


             /$$      /$$            /$$$$$$                               
            | $$$    /$$$           /$$__  $$                             
            | $$$$  /$$$$  /$$$$$$ | $$  \__//$$$$$$                       
            | $$ $$/$$ $$ /$$__  $$| $$$$   /$$__  $$                     
            | $$  $$$| $$| $$  \ $$| $$_/  | $$  \ $$                     
            | $$\  $ | $$| $$  | $$| $$    | $$  | $$                     
            | $$ \/  | $$|  $$$$$$/| $$    |  $$$$$$/                     
            |__/     |__/ \______/ |__/     \______/                       

                         /$$      /$$           /$$ /$$             /$$   
                        | $$  /$ | $$          | $$| $$            | $$   
                        | $$ /$$$| $$  /$$$$$$ | $$| $$  /$$$$$$  /$$$$$$ 
                        | $$/$$ $$ $$ |____  $$| $$| $$ /$$__  $$|_  $$_/ 
                        | $$$$_  $$$$  /$$$$$$$| $$| $$| $$$$$$$$  | $$   
                        | $$$/ \  $$$ /$$__  $$| $$| $$| $$_____/  | $$ /$$
                        | $$/   \  $$|  $$$$$$$| $$| $$|  $$$$$$$  |  $$$$/
                        |__/     \__/ \_______/|__/|__/ \_______/   \___/ 

Contains FIMK Server 0.4.1 and NXT+ Server based on NXT 1.4.16

Lots of bug fixes in both client and server.

Freetext blockchain search with instant results as you type.

MofoWallet is now available in 64 languages.

                             ~~~ DOWNLOAD ~~~

SHA256 c9084059fec5c463b267f63bf36ee4b6a0f00c9e859c6a80ef903869bdec3098
MD5    1e2e4f88c5ba14cd5196b420de64a499

SHA256 d43f411443986d06193777c9252ff656e08eebc43b3606346f992e4ef776c6cf
MD5    b184bfe54806f9d08a3ae0fc512b93eb

SHA256 f510f87c390ff225680f30964ce68513c6595d4a32019f32ba07bb1cb0e18a7a
MD5    e9f4f031c60a0b8c7a69126487c20404

SHA256 ea4b039a06fdfba379c76b844ad14144243aa592f7c97152a4321070cc3f057f
MD5    b31d91ebf1f3a35e4c47f669977e5255

SHA256 5ec16e1dc8f4d026ef3342faa2d7c16f8ba79977fbc0744c8a2cf2479fd0626c
MD5    66951503b4b2139ae7530ada6cfd31e1

SHA256 92e644052502a68b192ded27743952decbe481c42b073a46ebe5fd239699f9f2
MD5    4b15fd21dccd678e15d950ba656d52e5

Version: GnuPG v1.4.11 (GNU/Linux)


FIMK Client discussion / Translators wanted
« on: April 12, 2015, 06:14:14 PM »
Please have a look at our post detailing the translation status.
If you want to help out with the translations that can be done on hosted mofowallet now to0.
Desktop mofowallet 0.4.2 will be released tomorrow probably.

Hosted Crowd Translator tool:

Blog post explaining how it should work:

There is an email address in the client to send translation to but since these are just files they can be provided through other means to (forum with public link for instance).

Have fun!

FIMK Client discussion / FIMK SERVER 0.4.1 RELEASED
« on: April 12, 2015, 05:38:09 PM »
I'm in the process of uploading and completing the FIMK 0.4.1 server package.
This is the version that you would normally install on your server.

We have fixed the problem where you could not just drop the folder on your server and have it work like before we removed the default NXT client.
Now that is the case, it [the bundled mofowallet] will also work on any custom domain (not just localhost) and will work when run on HTTPS as well as HTTP.

I've written a blog post about the release only realizing it's both about the server as its about the client.

Highlights from the blog post:

1. Many bugs fixed
2. Free text (instant) blockchain search (google would probably be jealous)
3. Translated in 64 languages
4. Built into the client crowd-translator tool
5. New Payments module that allows for sending many payments at once (basic income, dividends etc..)

Download link for FIMK server 0.4.1 will follow shortly.

Don't we all google our selves sometimes? Well I just did (not myself really but FIMKrypto)
And I noticed that there are 6,790 results when searching for FIMKrypto on google.  :cheers:

I really had no idea it would have been that much..

Also noticed btw that our little side-project FIMKrypto's NXT+ was mentioned in the bitcoindark/supernet newsletter.

I've had somewhat of a busy weekend and I've seen some questions asked about forging on the forum. I'll promise to answer them when i have a moment which is not right now.   :-[ hopefully i'll be able to get those answered by tomorrow.

For now i wanted to point your attention to a feature I've implemented these last days which I think makes FIMK a lot more fun (and NXT since I also ported the changes to our NXT fork).

Currently it's only available as hosted edition but downloadable 0.4.2 will have this ability built in.

With regard to the implementation there was some excellent for-work done by our friends over at NXT when it comes to database search hooks (lucene is used under the hood) i had to add a new RPC call (our websocket API) and Account and Alias search support to the server core. And some UI of course.

The underlying engine for search is lucene which has it's own syntax, the plan is to make our mofowallet angular front end better aware of users search terms.

To get an idea of the lucene syntax look here

At this time i'm appending a "*" to each search query before the client sends it to the server.

If you look in lucene docs you'll see the mention of fields. These fields are currently available:

Account [Name, Description]
Goods [Name, description, tags]
asset [name, description]
Currency [Name, description, code]

When I have a moment I'll try and wrap this in a blog post and release 0.4.2.

To try it out look here:

About this release

Official release

Or use online.
If you used it before it could be required to CTRL+F5 to clear your browser cache.

Improvements have been made to forging and leasing UI and several bugs where fixed
From now on each account shows you if, to who and for how long he/she leased the balance.

Forging pools now list what accounts and for how long they leased their balance to the pool.

We have a new heavy duty server to allow the client to work without the need to download the blockchain and which can support more simultaneous WebSocket connections.

Technical Discussion / Get ready for JAVA 8
« on: March 24, 2015, 05:02:31 PM »
Our dear friends at NXT warned us about the upcoming NXT 1.5 and the fact that it will require JAVA 8 instead of JAVA 7 which is now the required version.
NXT 1.5 will contain a couple nice improvements (multi sig among others) and will undoubtedly include lots of bug fixes so my guess is we'll be updating FIMK to NXT 1.5 soon after it's released.

If you are on ubuntu follow these instructions to install JAVA 8.

# optional this is needed by add-apt-repository
apt-get install python-software-properties
add-apt-repository ppa:webupd8team/java
apt-get update
# this has to be done once to auto-accept the license while running over ssh (headless)
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
apt-get install oracle-java8-installer

Follow the JAVA 8 discussion (for tips and tricks) at the NXT forum here.

Pages: [1] 2 3