343
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: April 04, 2015, 02:22:28 AM
|
Quote from: no141 on April 01, 2015, 09:57:37 PM @TheTribesman, Have you looked at http://www.hashengineeringsolutions.com/forum/index.php?topic=598.0 or in general that whole site(leaving the forum)? The issue with X15 is it's 15 rounds of scientific hashing functions (blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, echo, hamsi, fugue, shabal, whirlpool). And you don't have native Java fuctions for all of them. As this is a POS coin now, how important is the hashing algorithm? Do you know what exactly the transactions are encoded with? I'm thinking way out of the box now, but good luck to figuring things out. Thanks. Yes, I've seen that thread some time ago. I've gotten past that stage now (the hashing calc and chain seems to be working). Getting the app to display was another issue. What you've brought up about the hashing chain is what was causing an issue with the Abe explorer. The original x15_hash module had been modified so heavily that the chaining order was incorrect (I see you got it correct in your post Cheesy) and therefore the final hash produced was incorrect. Once that chain order was aligned with the coin's chain order (you can get that from the coin's source code) then the hashing calc was corrected. The same problem also existed with X15 on the Android wallet (re the link you posted) As you said, because it's PoS now (and we have the 2 dns seeders as well) there's a possibility (it's not scientific - just a hunch) that the latest Schildbach wallet will do the job if I embed the seeders just like the desktop wallets. I've downloaded the latest Bitcoinj and Schildbach wallet (a new kobocoinj and kobocoin-wallet), and I've started the build. I'm just setting up the build path. Once the build path is working I'll make the necessary changes and cross my fingers. I suppose in theory the way to look at the android wallet is as an app sitting on top of the blockchain, rather than associating it with the PoS functions of the coin itself. All it needs to do is receive, send, and store, just like any other app that will eventually sit on the blockchain. I like the transparency atm,,, so this issue only related to the android wallet yeah ? Yeah, but it is being worked on. It will be resolved. Do you have any android tips/knowledge to throw my way?
|
|
|
344
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: April 02, 2015, 12:39:58 AM
|
@TheTribesman, Have you looked at http://www.hashengineeringsolutions.com/forum/index.php?topic=598.0 or in general that whole site(leaving the forum)? The issue with X15 is it's 15 rounds of scientific hashing functions (blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, echo, hamsi, fugue, shabal, whirlpool). And you don't have native Java fuctions for all of them. As this is a POS coin now, how important is the hashing algorithm? Do you know what exactly the transactions are encoded with? I'm thinking way out of the box now, but good luck to figuring things out. Thanks. Yes, I've seen that thread some time ago. I've gotten past that stage now (the hashing calc and chain seems to be working). Getting the app to display was another issue. What you've brought up about the hashing chain is what was causing an issue with the Abe explorer. The original x15_hash module had been modified so heavily that the chaining order was incorrect (I see you got it correct in your post ) and therefore the final hash produced was incorrect. Once that chain order was aligned with the coin's chain order (you can get that from the coin's source code) then the hashing calc was corrected. The same problem also existed with X15 on the Android wallet (re the link you posted) As you said, because it's PoS now (and we have the 2 dns seeders as well) there's a possibility (it's not scientific - just a hunch) that the latest Schildbach wallet will do the job if I embed the seeders just like the desktop wallets. I've downloaded the latest Bitcoinj and Schildbach wallet (a new kobocoinj and kobocoin-wallet), and I've started the build. I'm just setting up the build path. Once the build path is working I'll make the necessary changes and cross my fingers. I suppose in theory the way to look at the android wallet is as an app sitting on top of the blockchain, rather than associating it with the PoS functions of the coin itself. All it needs to do is receive, send, and store, just like any other app that will eventually sit on the blockchain.
|
|
|
346
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: April 01, 2015, 11:16:41 AM
|
@TheTribesman, Aren't you able to look at crash reports of the application?
What app can people download that shows a working example of what you are trying to do?
The adb logs show the crash reports (it's a realtime log of the kernel that's running on the phone). This is what's I'm seeing: F/art (26408): art/runtime/runtime.cc:284] "GCDaemon" prio=5 tid=9 Waiting F/art (26408): art/runtime/runtime.cc:284] | group="" sCount=0 dsCount=0 obj=0x12c3d200 self=0xb7817508 F/art (26408): art/runtime/runtime.cc:284] | sysTid=26423 nice=0 cgrp=apps sched=0/0 handle=0xb7817ac8 F/art (26408): art/runtime/runtime.cc:284] | state=S schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100 F/art (26408): art/runtime/runtime.cc:284] | stack=0xa73db000-0xa73dd000 stackSize=1036KB F/art (26408): art/runtime/runtime.cc:284] | held mutexes= F/art (26408): art/runtime/runtime.cc:284] kernel: futex_wait_queue_me+0xe0/0x108 F/art (26408): art/runtime/runtime.cc:284] kernel: futex_wait+0x170/0x238 F/art (26408): art/runtime/runtime.cc:284] kernel: do_futex+0xfc/0x9fc F/art (26408): art/runtime/runtime.cc:284] kernel: ret_fast_syscall+0x0/0x30 F/art (26408): art/runtime/runtime.cc:284] native: #02 pc 0001f39b /system/lib/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+138) F/art (26408): art/runtime/runtime.cc:284] native: #04 pc 0001f8ed /system/lib/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+48) F/art (26408): art/runtime/runtime.cc:284] native: #06 pc 000104fd /system/lib/libutils.so (android::Thread::_threadLoop(void*)+112) F/art (26408): art/runtime/runtime.cc:284] native: #08 pc 000100d3 /system/lib/libutils.so (???) F/art (26408): art/runtime/runtime.cc:284] native: #10 pc 00013e37 /system/lib/libc.so (__start_thread+6) F/art (26408): art/runtime/runtime.cc:284] F/libc (26408): Fatal signal 6 (SIGABRT), code -6 in tid 26408 (_android_wallet) I/DEBUG ( 271): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 271): Build fingerprint: 'motorola/falcon_retgb/falcon_umts:5.0.2/LXB22.46-28.1/1:user/release-keys' I/DEBUG ( 271): Revision: 'p3c0' I/DEBUG ( 271): ABI: 'arm' I/DEBUG ( 271): pid: 26408, tid: 26408, name: _android_wallet >>> com.machadocrypto.kobocoin_android_wallet <<< I/DEBUG ( 271): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- I/DEBUG ( 271): Abort message: 'art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI RegisterNatives called with pending exception 'java.lang.ClassNotFoundException' thrown in unknown throw location' I/DEBUG ( 271): r0 00000000 r1 00006728 r2 00000006 r3 00000000 I/DEBUG ( 271): r4 b6f66114 r5 00000006 r6 0000000b r7 0000010c I/DEBUG ( 271): r8 00000000 r9 b7604908 sl b760e4c0 fp 00000001 I/DEBUG ( 271): ip 00006728 sp beb9e9b0 lr b6f01679 pc b6f26c30 cpsr 60070010 I/DEBUG ( 271): I/DEBUG ( 271): backtrace: I/DEBUG ( 271): #00 pc 0003bc30 /system/lib/libc.so (tgkill+12) I/DEBUG ( 271): #01 pc 00016675 /system/lib/libc.so (pthread_kill+52) I/DEBUG ( 271): #02 pc 00017287 /system/lib/libc.so (raise+10) I/DEBUG ( 271): #03 pc 00013ad9 /system/lib/libc.so (__libc_android_abort+36) I/DEBUG ( 271): #04 pc 00012264 /system/lib/libc.so (abort+4) I/DEBUG ( 271): #05 pc 0022f2e3 /system/lib/libart.so (art::Runtime::Abort()+170) I/DEBUG ( 271): #06 pc 000a7109 /system/lib/libart.so (art::LogMessage::~LogMessage()+1360) I/DEBUG ( 271): #07 pc 000b1217 /system/lib/libart.so (art::JniAbort(char const*, char const*)+1102) I/DEBUG ( 271): #08 pc 000b1751 /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+68) I/DEBUG ( 271): #09 pc 000b49d7 /system/lib/libart.so (art::ScopedCheck::ScopedCheck(_JNIEnv*, int, char const*)+1322) I/DEBUG ( 271): #10 pc 000bf6a5 /system/lib/libart.so (art::CheckJNI::RegisterNatives(_JNIEnv*, _jclass*, JNINativeMethod const*, int)+36) I/DEBUG ( 271): #11 pc 00003637 /data/app/com.machadocrypto.kobocoin_android_wallet-1/lib/arm/libx15.so (JNI_OnLoad+42) I/DEBUG ( 271): #12 pc 001e6757 /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::Handle<art::mirror::ClassLoader>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1610) I/DEBUG ( 271): #13 pc 0020e14f /system/lib/libart.so (art::Runtime_nativeLoad(_JNIEnv*, _jclass*, _jstring*, _jobject*, _jstring*)+534) I/DEBUG ( 271): #14 pc 00077c99 /system/framework/arm/boot.oat W/ActivityManager( 873): Process com.machadocrypto.kobocoin_android_wallet has crashed too many times: killing! I/DEBUG ( 271): I/DEBUG ( 271): Tombstone written to: /data/tombstones/tombstone_08 I/BootReceiver( 873): Copying /data/tombstones/tombstone_08 to DropBox (SYSTEM_TOMBSTONE) W/ActivityManager( 873): Force finishing activity com.machadocrypto.kobocoin_android_wallet/.WalletActivity W/WindowManager( 873): Failed looking up window W/WindowManager( 873): java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@1a0a87af does not exist W/WindowManager( 873): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8457) W/WindowManager( 873): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8448) W/WindowManager( 873): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2574) W/WindowManager( 873): at com.android.server.wm.Session.remove(Session.java:186) W/WindowManager( 873): at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2959) W/WindowManager( 873): at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5460) W/WindowManager( 873): at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3283) W/WindowManager( 873): at android.os.Handler.dispatchMessage(Handler.java:102) W/WindowManager( 873): at android.os.Looper.loop(Looper.java:135) W/WindowManager( 873): at android.os.HandlerThread.run(HandlerThread.java:61) W/WindowManager( 873): at com.android.server.ServiceThread.run(ServiceThread.java:46) W/ActivityManager( 873): Wtf, activity ActivityRecord{d0ea2ea u0 com.machadocrypto.kobocoin_android_wallet/.WalletActivity t108 f} in proc activity list not using proc ProcessRecord{3bd79516 26408:com.machadocrypto.kobocoin_android_wallet/u0a176}?!? E/lowmemorykiller( 256): Error writing /proc/26408/oom_score_adj; errno=22 E/JavaBinder( 873): !!! FAILED BINDER TRANSACTION !!! E/JavaBinder( 873): !!! FAILED BINDER TRANSACTION !!!
This is the culprit: F/libc (26408): Fatal signal 6 (SIGABRT), code -6 in tid 26408 (_android_wallet) I/DEBUG ( 271): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 271): Build fingerprint: 'motorola/falcon_retgb/falcon_umts:5.0.2/LXB22.46-28.1/1:user/release-keys' I/DEBUG ( 271): Revision: 'p3c0' I/DEBUG ( 271): ABI: 'arm' I/DEBUG ( 271): pid: 26408, tid: 26408, name: _android_wallet >>> com.machadocrypto.kobocoin_android_wallet <<< I/DEBUG ( 271): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- I/DEBUG ( 271): Abort message: 'art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: JNI RegisterNatives called with pending exception 'java.lang.ClassNotFoundException' thrown in unknown throw location' This is what should be showing: I/Adreno-EGL( 6219): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107_msm8226_LA.BF.1.1__release_AU () I/Adreno-EGL( 6219): OpenGL ES Shader Compiler Version: E031.25.01.03 I/Adreno-EGL( 6219): Build Date: 10/28/14 Tue I/Adreno-EGL( 6219): Local Branch: I/Adreno-EGL( 6219): Remote Branch: quic/l_LNX.LA.3.6 I/Adreno-EGL( 6219): Local Patches: NONE I/Adreno-EGL( 6219): Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.04.04.02.162.107 + cb93e16 + f50fe49 + d7c18e6 + 5b9a565 + 0f3a25d + 607156e + 75511aa + e4d16c0 + 686f3eb + 211a271 + dd281ee + NOTHING I/Adreno Profiler( 6219): Using libraries from system partition I/OpenGLRenderer( 6219): Initialized EGL, version 1.4 I/Adreno Profiler( 6219): Using libraries from system partition I/Adreno Profiler( 6219): Using libraries from system partition D/OpenGLRenderer( 6219): Enabling debug mode 0
I have to use an SDK, and an NDK (as opposed to an SDK - yes, a whole new world) to build an X15 compliant shared library to resolve this issue. If you goto Google Play and download the Peercoin wallet (kobocoin wallet is based on Peercoin wallet), or any other crypto wallet you can see how they perform. It's just a shame that X15/PoS/Android hasn't been cracked yet. The search had been going on for months before I joined in. Cracking the X15 hashing issue on Abe was a major step forward. Also here's one I was playing with earlier but unfortunately it's not compatible with the getvalidhashes call that is required for the X15/PoS wallet (allegedly): https://bitcointalk.org/index.php?topic=920290.msg10607718#msg10607718It will be done, but I can only hope that the app jumps into life when I fix it, rather than just getting presented with the next challenge (as I suspect will happen).
|
|
|
347
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: April 01, 2015, 01:14:32 AM
|
Sorry for the lack of proper updates.
The guts of the android wallet is now running. The hashing is working correctly and the blockchain seems fine, but the wallet rendering engine keeps crashing. The wallet is a lot further forward in that all settings seem to be correct. The kobocoinj is no longer being worked on. It's doing what it needs to do.
The challenge now is to change the build engine and rebuild the wallet UI. It's not straightforward but it's in progress.
God bless you and help you ...and send me all the right software with all the dependencies already met! Oh, the things I've seen. I can never be the same again. I feel lighter and more efficient (but dirtier and angrier at the same time). My brain now scrolls in adb log format (matrix scroll has nothing on adb logcat), and the tips of my fingers hurt! I think I have to give some sort of measure of progress: Where we were 5 days ago: If you run the kobocoin wallet on a phone, it crashes immediately. Where we are now: If you run the kobocoin wallet, the app starts, you get the white background, the actual wallet is about to load (yes... yes...), and then it crashes (boooo...). it's actually a lot of progress, but It's brutally slow and a lot more work than you can imagine, and as I said, each error message seems to open a whole new landscape of new software that takes hours just to install and get running. They're all easy enough to use when they're up and running, but you have to get them up and running first (and they will ALL defy your every move). Oh yes, they know the websites you'll visit for answers. They know them well. They planted them. They're waiting for you to come back with your big bag of fresh answers. They got a plan... They have decided to take you, and your mind, and your big bag of answers, on a wild detour for the next 5-6 hours. You will never get a chance to open up your big bag of answers. The software doesn't even take you back to where you left off. When you start it, it won't even exhibit the same behaviour (but it was working... what happened?..) Oh no, there's a whole new world out there. They want you to visit this new wondrous painful land of no documentation. They want to watch you put a keyword into google and get 2 results that lead to pages of nothing but code. Solve that, they say, and we'll give you a chance to see if your big bag of answers solves this problem. So you solve it, and the big bag of answers fails anyways (laughter all round). (NB - yeah, code can laugh)
|
|
|
348
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 30, 2015, 11:02:03 PM
|
Sorry for the lack of proper updates.
The guts of the android wallet is now running. The hashing is working correctly and the blockchain seems fine, but the wallet rendering engine keeps crashing. The wallet is a lot further forward in that all settings seem to be correct. The kobocoinj is no longer being worked on. It's doing what it needs to do.
The challenge now is to change the build engine and rebuild the wallet UI. It's not straightforward but it's in progress.
|
|
|
349
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 29, 2015, 07:53:33 PM
|
So why (some may ask) does a middle-aged Celt who's never been within 500 miles of the 'dark continent' care about an essentially African coin? - Especially when I'm so heavily involved with 2 other coins (see sig, I'm no pumper). Well, it's quite simple really. As I went through the IBOGA ritual in 2005, (In Holland) I'm spiritually/technically BWITI. Also, I'm shamed to the core of my being about what evils my race did to the people of Africa. So, from the heart, my very best wishes for success in helping the peoples of that region to see the benefits of de-centralised financial freedom Thanks. I'm really hoping it will have major benefits, especially for the unbanked or non-creditworthy.
|
|
|
350
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 28, 2015, 04:09:27 PM
|
UPDATE:There is no real update other than work is still going on with the Android wallet. A major hurdle has been cleared, but as long as it's not working, then there's no real news to report. The only update of any worth at this point is a screenshot of the application on an android phone. That is what I'm working towards. Once I have that, then testing can begin. I know progress is slow, but it's the same for every team trying to improve their platform. There's a lot of collaboration going on, but it's global (and slow), and a lot of times it's about fixing issues that people haven't seen before. I'll keep you updated.
|
|
|
353
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 27, 2015, 08:35:52 AM
|
UPDATE:Once again, hurdles are forcing improvements to the platform. Rather than fight with the address issue on the Abe explorer (now it's been upgraded for use by the Android wallet), I decided to build a new Abe explorer on dns2 that's doesn't support the android wallets but displays all addresses and information correctly. The new Abe explorer is at: http://82.211.31.186:8080/So, final setup as follows: dns1.kobocoin.com - DNS seeder & Abe Explorer (Mobile wallets only) dns2.kobocoin.com - DNS seeder & Abe Explorer (General use) The website has been updated to reflect this change. The kobocoinj and android wallet are now built with all the necessary functions included, but once again, there's an issue. The wallet compiles and installs onto the phone, but crashes when you try to run it. This should hopefully be the last hurdle before the wallet is released. Once we get past this hurdle I'll give it the kobocoin colour scheme and get it released. I'll post a link here first before uploading it to Google Play. Woow we are very close to android wallet. Is it still valid your 10k kobo bounty Let's make it 50K for first poster, 30K for second, and 20K for third as an apology for the severe delay.
|
|
|
355
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 26, 2015, 06:26:14 AM
|
UPDATE:Once again, hurdles are forcing improvements to the platform. Rather than fight with the address issue on the Abe explorer (now it's been upgraded for use by the Android wallet), I decided to build a new Abe explorer on dns2 that's doesn't support the android wallets but displays all addresses and information correctly. The new Abe explorer is at: http://82.211.31.186:8080/So, final setup as follows: dns1.kobocoin.com - DNS seeder & Abe Explorer (Mobile wallets only) dns2.kobocoin.com - DNS seeder & Abe Explorer (General use) The website has been updated to reflect this change. The kobocoinj and android wallet are now built with all the necessary functions included, but once again, there's an issue. The wallet compiles and installs onto the phone, but crashes when you try to run it. This should hopefully be the last hurdle before the wallet is released. Once we get past this hurdle I'll give it the kobocoin colour scheme and get it released. I'll post a link here first before uploading it to Google Play.
|
|
|
357
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 25, 2015, 01:30:41 AM
|
UPDATE: NEW Abe explorer is up and running at http://167.160.36.102:8080/. This is a brand new implementation of Abe. The getvalidhashes API call is now available: BUT...For some reason the addresses being displayed are incorrect. The settings are all correct in all the right places, so for now I'm not going to let it delay me. This doesn't stop the build of the android wallet as the addresses all exist correctly in the DB. For some reason they are just displaying incorrectly in Search results. This can be fixed once the Android wallet is built. Give it a try. Search an address. The results are correct but if you click on a transaction, the address reporting is incorrect. I will let you know when I get to the next step.
|
|
|
358
|
Alternate cryptocurrencies / Announcements (Altcoins) / Re: [KOBO] Kobocoin - A West African peer to peer micropayment system
|
on: March 24, 2015, 09:17:59 AM
|
UPDATE:
Hurdles as per normal. I have to implement a new feature into the Abe Explorer to allow the getvalidhashes API call which is made by the Android wallet. The module has been implemented but when I try to rebuild the Abe database it produces an error which I haven't been able to budge from for 24hrs. Working with bitcoin code is very frustrating (as anyone who's tried will tell you!).
I'm working on getting it sorted with another dev, and Matthew Mitchell, who built the original Peercoin wallet itself. I'm hoping that the next 24hrs at least brings a fix for the current issue so I can get onto solving the issue that will show up after fixing this one, and the one that will show up after that one, and the one that will show up after that one... and so on. You'll be the first to know once I get past the present hurdle.
The Abe explorer will be up and down today as I try to get this issue resolved.
|
|
|
|