Author Topic: MofoWallet 0.4.1 released - FORGING & LEASING IMPROVEMENTS  (Read 6056 times)

Dirk Diggler on: March 24, 2015, 11:05:02 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
About this release
http://fimkchat.com/2015/03/fimk-client-0-4-1-forging-leasing-improvements/

Official release
https://github.com/fimkrypto/mofowallet/releases/tag/v0.4.1

Or use online.
If you used it before it could be required to CTRL+F5 to clear your browser cache.
https://fimkrypto.github.io/mofo/launch.html

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.
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

abctc #1 on: March 25, 2015, 06:56:01 PM

  • Fresh Fimker
  • *
  • Posts: 44
    • View Profile
Thank you for your efforts!

MOFO shows zero balance when I access my VPS with https as usual (it worked with 0.2 - 0.3.3):  https://<VPS's IP>:7886
Of course nxt.apiSSL=true in the properties, as well as nxt.websocketSSL=true

- I've installed FIM sever 0.4.1 from MofoWallet 0.4.1 :
Code: [Select]
# Initializing FIM server version 0.4.1 (based on NXT 1.4.13)
2015-03-25 17:37:17 INFO: logging enabled
2015-03-25 17:37:17 FINE: java.version = 1.7.0_45
2015-03-25 17:37:17 FINE: java.vm.version = 24.45-b08
2015-03-25 17:37:17 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
2015-03-25 17:37:17 FINE: java.vendor = Oracle Corporation
2015-03-25 17:37:17 FINE: java.vm.vendor = Oracle Corporation
2015-03-25 17:37:17 FINE: java.home = /usr/java/jre1.7.0_45
2015-03-25 17:37:17 FINE: java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2015-03-25 17:37:17 FINE: java.class.path = fim.jar:lib/lucene-core-3.6.2.jar:lib/websocket-server-9.2.9.v20150224.jar:lib/jetty-io-9.2.9.v20150224.jar:lib/json-simple-1.1.1.jar:lib/jetty-http-9.2.9.v20150224.jar:lib/jetty-server-9.2.9.v20150224.jar:lib/jetty-continuation-9.2.9.v20150224.jar:lib/websocket-servlet-9.2.9.v20150224.jar:lib/h2-1.3.176.jar:lib/jetty-servlet-9.2.9.v20150224.jar:lib/jetty-util-9.2.9.v20150224.jar:lib/servlet-api-3.1.jar:lib/bcprov-jdk15on-151.jar:lib/jetty-servlets-9.2.9.v20150224.jar:lib/slf4j-jdk14-1.7.7.jar:lib/websocket-api-9.2.9.v20150224.jar:lib/jetty-security-9.2.9.v20150224.jar:lib/websocket-common-9.2.9.v20150224.jar:lib/slf4j-api-1.7.7.jar:conf
2015-03-25 17:37:17 FINE: os.arch = amd64
2015-03-25 17:37:17 FINE: sun.arch.data.model = 64
2015-03-25 17:37:17 FINE: os.name = Linux
2015-03-25 17:37:17 FINE: file.encoding = ANSI_X3.4-1968
2015-03-25 17:37:17 FINE: availableProcessors = 1
2015-03-25 17:37:17 FINE: maxMemory = 486539264
2015-03-25 17:37:18 FINE: Database jdbc url set to: jdbc:h2:fim_db/fim;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=24000
2015-03-25 17:37:25 FINE: Database connection pool current size: 1
2015-03-25 17:37:25 INFO: Database update may take a while if needed, current db version 250...
2015-03-25 17:37:25 FINE: My peer info:
{"shareAddress":true,"platform":"SSSSS","application":"FIMK","announcedAddress":"111.111.111.xxx","nxtversion":"1.4.13","version":"0.4.1"}
2015-03-25 17:37:25 INFO: Using SSL (https) for the API server
2015-03-25 17:37:25 INFO: User interface server not enabled
2015-03-25 17:37:25 FINE: Begin building asset price chart table
2015-03-25 17:37:25 FINE: Database connection pool current size: 2
2015-03-25 17:37:25 FINE: Database connection pool current size: 3
2015-03-25 17:37:25 FINE: Done building asset price chart table
2015-03-25 17:37:25 FINE: Running 2 tasks...
2015-03-25 17:37:25 FINE: Loading known peers from the database...
2015-03-25 17:37:25 INFO: Genesis block already in database
2015-03-25 17:37:25 INFO: Last block height: 442919
2015-03-25 17:37:25 FINE: Running 3 final tasks...
2015-03-25 17:37:25 INFO: Started peer networking server at 0.0.0.0:7884
2015-03-25 17:37:26 INFO: Started WebSocket server at 0.0.0.0:7986
2015-03-25 17:37:26 INFO: Started API server at 0.0.0.0:7886
2015-03-25 17:37:26 FINE: Starting 8 background jobs
2015-03-25 17:37:26 FINE: Starting 2 delayed tasks
2015-03-25 17:37:26 INFO: Initialization took 8 seconds
2015-03-25 17:37:26 INFO: FIM server 0.4.1 (based on NXT 1.4.13) started successfully.
2015-03-25 17:37:26 FINE: Known peers: 38
2015-03-25 17:37:29 FINE: Got 0 confirmations
2015-03-25 17:37:29 FINE: Downloaded 13 blocks

but embedded MOFO still shows zero balance when I access my VPS with https (it worked with 0.2 - 0.3.3):  https://<my VPS's IP>:7886

zibrus #2 on: March 26, 2015, 01:27:10 AM

  • Fresh Fimker
  • *
  • Posts: 3
    • View Profile
Hi All,

I know I'm probably just noob (with linux running ubuntu 14.04). I can run the run.sh (inside fim folder), no problem.

I cannot for the life of me get the 'mofowallet' file to run, I was wondering if you could give some help.

Pretend I know nothing and have just downloaded the mofo zip file, version 4.1. I create a folder mofo and place the contents of the zip inside. At this point? how do I get the mofowallet program to run. It doesn't do anything when I click on the mofowallet file, and i get errors when trying what others have said to do here in the terminal.


Maybe a short how-to posted on the mofo wallet website or inside a how-to file in the zip would help.


Thanks in advanced, I've been trying to get away from running anything in windows.

z

EDIT: After being down from forging for 10+ days, I'm back up and running on the 4.1 versions on Windows. It looks like the forging/block/fork issues were resolved. But I'd still like some help on the above, as to how to get it running on Ubuntu. thns again, and the new mofowallet is looking much improved! Thanks production team.
« Last Edit: March 26, 2015, 04:11:23 AM by zibrus »

Hyo #3 on: March 26, 2015, 09:11:36 AM

  • Fresh Fimker
  • *
  • Posts: 24
    • View Profile
« Last Edit: March 26, 2015, 09:20:08 AM by Hyo »

Hyo #4 on: March 26, 2015, 09:21:25 AM

  • Fresh Fimker
  • *
  • Posts: 24
    • View Profile

rjr #5 on: March 28, 2015, 07:42:00 PM

  • Senior Fimker
  • ***
  • Posts: 106
    • View Profile
I'm trying to start the 0.4.1 client and after spending hours downloading the blockchain at 719 blocks at a time, the log file is showing as below.  Should I continue to wait, or is something stuck?

2015-03-28 11:16:29 INFO: received block 445000
2015-03-28 11:16:47 FINE: Got 1 confirmations
2015-03-28 11:16:47 FINE: Downloaded 719 blocks
2015-03-28 11:17:56 FINE: Got 1 confirmations
2015-03-28 11:17:56 FINE: Downloaded 719 blocks
2015-03-28 11:18:10 FINE: Got 1 confirmations
2015-03-28 11:18:10 FINE: Downloaded 719 blocks
2015-03-28 11:19:20 FINE: Got 1 confirmations
2015-03-28 11:19:20 FINE: Downloaded 719 blocks
2015-03-28 11:19:42 FINE: Got 1 confirmations
2015-03-28 11:19:42 FINE: Downloaded 719 blocks
2015-03-28 11:20:18 FINE: Got 0 confirmations
2015-03-28 11:20:18 FINE: Downloaded 90 blocks
2015-03-28 11:37:50 FINE: Will process a fork of 2 blocks
2015-03-28 11:37:50 FINE: Rollback from 448052 to 448051
2015-03-28 11:37:50 FINE: Switched to peer's fork
2015-03-28 12:21:08 FINE: Will process a fork of 1 blocks
2015-03-28 12:21:08 FINE: Rollback from 448108 to 448107
2015-03-28 12:21:08 FINE: Switched to peer's fork
2015-03-28 13:06:52 FINE: Will process a fork of 1 blocks
2015-03-28 13:06:52 FINE: Rollback from 448162 to 448161
2015-03-28 13:06:52 FINE: Switched to peer's fork
2015-03-28 13:09:13 FINE: Will process a fork of 2 blocks
2015-03-28 13:09:13 FINE: Rollback from 448164 to 448163
2015-03-28 13:09:13 FINE: Switched to peer's fork
2015-03-28 13:22:39 FINE: Will process a fork of 3 blocks
2015-03-28 13:22:39 FINE: Rollback from 448186 to 448185
2015-03-28 13:22:39 FINE: Switched to peer's fork
2015-03-28 13:23:15 FINE: Will process a fork of 1 blocks
2015-03-28 13:23:15 FINE: Rollback from 448188 to 448187
2015-03-28 13:23:15 FINE: Switched to peer's fork


kani #6 on: March 28, 2015, 07:54:18 PM

  • Senior Fimker
  • ***
  • Posts: 154
    • View Profile
I'm trying to start the 0.4.1 client and after spending hours downloading the blockchain at 719 blocks at a time, the log file is showing as below.  Should I continue to wait, or is something stuck?

2015-03-28 11:16:29 INFO: received block 445000
2015-03-28 11:16:47 FINE: Got 1 confirmations
2015-03-28 11:16:47 FINE: Downloaded 719 blocks
2015-03-28 11:17:56 FINE: Got 1 confirmations
2015-03-28 11:17:56 FINE: Downloaded 719 blocks
2015-03-28 11:18:10 FINE: Got 1 confirmations
2015-03-28 11:18:10 FINE: Downloaded 719 blocks
2015-03-28 11:19:20 FINE: Got 1 confirmations
2015-03-28 11:19:20 FINE: Downloaded 719 blocks
2015-03-28 11:19:42 FINE: Got 1 confirmations
2015-03-28 11:19:42 FINE: Downloaded 719 blocks
2015-03-28 11:20:18 FINE: Got 0 confirmations
2015-03-28 11:20:18 FINE: Downloaded 90 blocks
2015-03-28 11:37:50 FINE: Will process a fork of 2 blocks
2015-03-28 11:37:50 FINE: Rollback from 448052 to 448051
2015-03-28 11:37:50 FINE: Switched to peer's fork
2015-03-28 12:21:08 FINE: Will process a fork of 1 blocks
2015-03-28 12:21:08 FINE: Rollback from 448108 to 448107
2015-03-28 12:21:08 FINE: Switched to peer's fork
2015-03-28 13:06:52 FINE: Will process a fork of 1 blocks
2015-03-28 13:06:52 FINE: Rollback from 448162 to 448161
2015-03-28 13:06:52 FINE: Switched to peer's fork
2015-03-28 13:09:13 FINE: Will process a fork of 2 blocks
2015-03-28 13:09:13 FINE: Rollback from 448164 to 448163
2015-03-28 13:09:13 FINE: Switched to peer's fork
2015-03-28 13:22:39 FINE: Will process a fork of 3 blocks
2015-03-28 13:22:39 FINE: Rollback from 448186 to 448185
2015-03-28 13:22:39 FINE: Switched to peer's fork
2015-03-28 13:23:15 FINE: Will process a fork of 1 blocks
2015-03-28 13:23:15 FINE: Rollback from 448188 to 448187
2015-03-28 13:23:15 FINE: Switched to peer's fork

When you get something other than 719 blocks from a peer, usually is indicative of that you have now received the most current blocks available:   See 2015-03-28 11:20:18 FINE: Downloaded 90 blocks above.  You can also see local progress compared with network blocks in lower right hand corner of Mofo Wallet.  (Two numbers, one has a 'world' icon, the other has a 'computer' icon).

You may now begin forging.

The 1,2,3 block rollbacks are normal, and I experience the same phenomena.
BitShares - Your share in the Decentralized Exchange

rjr #7 on: March 28, 2015, 08:34:58 PM

  • Senior Fimker
  • ***
  • Posts: 106
    • View Profile
When you get something other than 719 blocks from a peer, usually is indicative of that you have now received the most current blocks available:   See 2015-03-28 11:20:18 FINE: Downloaded 90 blocks above.  You can also see local progress compared with network blocks in lower right hand corner of Mofo Wallet.  (Two numbers, one has a 'world' icon, the other has a 'computer' icon).

You may now begin forging.

The 1,2,3 block rollbacks are normal, and I experience the same phenomena.

Roger, thanks.  After also making setup changes as Dirk said previously (and repeated below),  I'm up and forging.

So in nxt.properties or nxt-default.properties you need to set

nxt.apiServerEnforcePOST=false
nxt.enableAPIServer=true
« Last Edit: March 28, 2015, 08:40:25 PM by rjr »

Dirk Diggler #8 on: March 29, 2015, 12:11:10 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
Thank you for your efforts!

- I've installed FIM sever 0.4.1 from MofoWallet 0.4.1 :
Code: [Select]
# Initializing FIM server version 0.4.1 (based on NXT 1.4.13)
2015-03-25 17:37:17 INFO: logging enabled
2015-03-25 17:37:17 FINE: java.version = 1.7.0_45
2015-03-25 17:37:17 FINE: java.vm.version = 24.45-b08
2015-03-25 17:37:17 FINE: java.vm.name = Java HotSpot(TM) 64-Bit Server VM
2015-03-25 17:37:17 FINE: java.vendor = Oracle Corporation
2015-03-25 17:37:17 FINE: java.vm.vendor = Oracle Corporation
2015-03-25 17:37:17 FINE: java.home = /usr/java/jre1.7.0_45
2015-03-25 17:37:17 FINE: java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
2015-03-25 17:37:17 FINE: java.class.path = fim.jar:lib/lucene-core-3.6.2.jar:lib/websocket-server-9.2.9.v20150224.jar:lib/jetty-io-9.2.9.v20150224.jar:lib/json-simple-1.1.1.jar:lib/jetty-http-9.2.9.v20150224.jar:lib/jetty-server-9.2.9.v20150224.jar:lib/jetty-continuation-9.2.9.v20150224.jar:lib/websocket-servlet-9.2.9.v20150224.jar:lib/h2-1.3.176.jar:lib/jetty-servlet-9.2.9.v20150224.jar:lib/jetty-util-9.2.9.v20150224.jar:lib/servlet-api-3.1.jar:lib/bcprov-jdk15on-151.jar:lib/jetty-servlets-9.2.9.v20150224.jar:lib/slf4j-jdk14-1.7.7.jar:lib/websocket-api-9.2.9.v20150224.jar:lib/jetty-security-9.2.9.v20150224.jar:lib/websocket-common-9.2.9.v20150224.jar:lib/slf4j-api-1.7.7.jar:conf
2015-03-25 17:37:17 FINE: os.arch = amd64
2015-03-25 17:37:17 FINE: sun.arch.data.model = 64
2015-03-25 17:37:17 FINE: os.name = Linux
2015-03-25 17:37:17 FINE: file.encoding = ANSI_X3.4-1968
2015-03-25 17:37:17 FINE: availableProcessors = 1
2015-03-25 17:37:17 FINE: maxMemory = 486539264
2015-03-25 17:37:18 FINE: Database jdbc url set to: jdbc:h2:fim_db/fim;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;CACHE_SIZE=24000
2015-03-25 17:37:25 FINE: Database connection pool current size: 1
2015-03-25 17:37:25 INFO: Database update may take a while if needed, current db version 250...
2015-03-25 17:37:25 FINE: My peer info:
{"shareAddress":true,"platform":"SSSSS","application":"FIMK","announcedAddress":"111.111.111.xxx","nxtversion":"1.4.13","version":"0.4.1"}
2015-03-25 17:37:25 INFO: Using SSL (https) for the API server
2015-03-25 17:37:25 INFO: User interface server not enabled
2015-03-25 17:37:25 FINE: Begin building asset price chart table
2015-03-25 17:37:25 FINE: Database connection pool current size: 2
2015-03-25 17:37:25 FINE: Database connection pool current size: 3
2015-03-25 17:37:25 FINE: Done building asset price chart table
2015-03-25 17:37:25 FINE: Running 2 tasks...
2015-03-25 17:37:25 FINE: Loading known peers from the database...
2015-03-25 17:37:25 INFO: Genesis block already in database
2015-03-25 17:37:25 INFO: Last block height: 442919
2015-03-25 17:37:25 FINE: Running 3 final tasks...
2015-03-25 17:37:25 INFO: Started peer networking server at 0.0.0.0:7884
2015-03-25 17:37:26 INFO: Started WebSocket server at 0.0.0.0:7986
2015-03-25 17:37:26 INFO: Started API server at 0.0.0.0:7886
2015-03-25 17:37:26 FINE: Starting 8 background jobs
2015-03-25 17:37:26 FINE: Starting 2 delayed tasks
2015-03-25 17:37:26 INFO: Initialization took 8 seconds
2015-03-25 17:37:26 INFO: FIM server 0.4.1 (based on NXT 1.4.13) started successfully.
2015-03-25 17:37:26 FINE: Known peers: 38
2015-03-25 17:37:29 FINE: Got 0 confirmations
2015-03-25 17:37:29 FINE: Downloaded 13 blocks

but embedded MOFO still shows zero balance when I access my VPS with https (it worked with 0.2 - 0.3.3):  https://<my VPS's IP>:7886

This applies here to http://forum.fimk.fi/index.php?topic=493.msg3942;topicseen#msg3942
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

Dirk Diggler #9 on: March 29, 2015, 12:17:24 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
Pretend I know nothing and have just downloaded the mofo zip file, version 4.1. I create a folder mofo and place the contents of the zip inside. At this point? how do I get the mofowallet program to run. It doesn't do anything when I click on the mofowallet file, and i get errors when trying what others have said to do here in the terminal.

Please provide us with the errors you have in the terminal, best guess is those errors come from missing depencies which also prevent it from running when you double click the executable.

What OS version are you and what are the errors?
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

Hyo #10 on: March 29, 2015, 02:11:19 PM

  • Fresh Fimker
  • *
  • Posts: 24
    • View Profile
This appears in terminal

Initializing FIM server version 0.4.1 (based on NXT 1.4.13)
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
   at nxt.Nxt.<clinit>(Nxt.java:44)

when i enter

cd /home/user/mofowallet.linux64-0.4.1 
java -cp fim.jar:lib/*:conf nxt.Nxt

OS is Ubuntu
I have the extracted mofowallet.linux64-0.4.1 folder in the home directory

Dirk Diggler #11 on: March 30, 2015, 02:15:02 PM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
This appears in terminal

Initializing FIM server version 0.4.1 (based on NXT 1.4.13)
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.lang.RuntimeException: nxt-default.properties not in classpath and system property nxt-default.properties not defined either
   at nxt.Nxt.<clinit>(Nxt.java:44)

when i enter

cd /home/user/mofowallet.linux64-0.4.1 
java -cp fim.jar:lib/*:conf nxt.Nxt

OS is Ubuntu
I have the extracted mofowallet.linux64-0.4.1 folder in the home directory

To start mofowallet on linux do:

cd /home/user/mofowallet.linux64-0.4.1
mofowallet

It should open a new window then.
FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

Hyo #12 on: March 31, 2015, 05:56:38 AM

  • Fresh Fimker
  • *
  • Posts: 24
    • View Profile

When i try the terminal responds

mofowallet: command not found

as if it can not read the run.sh

Inside the Mofowallet folder are following files

 - fim - nxt - fim.jar - icudtl.dat - libffmpegsumo.so - mofowallet - nw.pak


Dirk Diggler #13 on: March 31, 2015, 11:35:12 AM

  • FIMK Staff
  • *****
  • Posts: 486
    • View Profile
    • Krypto Fin ry
When i try the terminal responds
mofowallet: command not found
as if it can not read the run.sh
Inside the Mofowallet folder are following files
- fim - nxt - fim.jar - icudtl.dat - libffmpegsumo.so - mofowallet - nw.pak

The mofowallet file is the executable but perhaps it's not allowed to execute.
To make a file executable run

Code: [Select]
$ chmod +x mofowallet
# now mofowallet should be able to start by entering ...
$ mofowallet


FIMK Developer | GPG fingerprint: CEF2 7C39 43BE 6800 504E  71BC 7E87 A7B0 AC34 E2D5 | mofowallet.com | blog

kani #14 on: March 31, 2015, 01:39:51 PM

  • Senior Fimker
  • ***
  • Posts: 154
    • View Profile
Linux does not usually include local directory in PATH search by default.

Try:
./mofowallet
BitShares - Your share in the Decentralized Exchange