Bitcoin Forum
June 20, 2018, 04:18:53 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1] 2 3 4 5 6 »
1  Other / Off-topic / Re: I spent all my saving on bitcoin, now i am broke on: November 29, 2017, 10:29:51 AM
Ciao! So what about your investment? 5 btc now worth a lot Smiley
2  Bitcoin / Project Development / Re: [FOR SALE - LOOKING FOR MAINTAINER] Kraken Exchange - Unofficial Android App on: January 27, 2016, 04:06:03 PM
At the top of the post it says it's open-source, and at the bottom of the post it says it is closed-source.
Can I ask why you are selling this instead of developing it further? Would you be interested in bringing on another developer?



i wrote that i want to sell the google play rights over the published app, so you can gain the right to manage the already published app, deploying updates, introducing features.. it has already ~400 users. If you don't like to buy the rights you can publish your own app using my source code (if you like the code, obviously)

Why i'm selling it? Because i'm not interested anymore on developing this app.. maybe if you want you can submit a pull request and i can merge your improvements with my code base and than deploy the updates on Google Play.. but i'd prefer to sell it to let another maintainer getting the job done in the right way.
3  Bitcoin / Project Development / Re: [FOR SALE - LOOKING FOR MAINTAINER] Kraken Exchange - Unofficial Android App on: January 27, 2016, 04:00:03 PM
hi mrbang0day,
please tell me , who much paid for publish this app on unique google play & then tell me info ?
thanks for taking your time , goodbye

if i got your question correctly i'd say that the price for gaining the rights over the published app on Google Play is 0.2 BTC

4  Bitcoin / Project Development / Re: [FOR SALE - LOOKING FOR MAINTAINER] Kraken Exchange - Unofficial Android App on: January 21, 2016, 10:28:16 AM
You say that the code is opensource. Can i get a link?

You can find the code here (GitHub)
if anyone wants Google Play installations/usage statistics just let me know..
Ok, thanks for the source. Will be looking into it. Have you tried to launch it, or it's not launchable at the moment


At the moment it compiles correctly using Android Studio. The app is published on Google Play
5  Economy / Service Announcements / Re: Bitaps.com Online wallet for Bitcoins, Litecoins, Dogecoins on: January 20, 2016, 06:57:30 PM
anyone using bitaps wallet??

i found that one of my full node is connected with a peer using this subver:Bitaps:0.0.1
6  Bitcoin / Project Development / Re: [FOR SALE - LOOKING FOR MAINTAINER] Kraken Exchange - Unofficial Android App on: January 20, 2016, 06:44:29 PM
You say that the code is opensource. Can i get a link?

You can find the code here (GitHub)
if anyone wants Google Play installations/usage statistics just let me know..
7  Bitcoin / Project Development / Re: [Android app] Kraken Exchange - Unofficial Android App on: January 18, 2016, 01:03:58 PM
someone wants to buy the app itself? i think it will be possible to sell the rights to manage it on google play

Why not make offer to kraken exchange itself?

got no ideas on how to introduce myself and most important thing: i do not know anyone involved with Kraken.com
8  Local / Italiano (Italian) / Re: [Android] Kraken Exchange - l'app per gestire il proprio account Kraken.com on: January 16, 2016, 12:19:42 PM
qualcuno vuole comprare i diritti dell'App sul Google Play Store? (intendo i diritti di gestirla, aggiornarla ecc), non cerco di fare i big money tranquilli.
9  Bitcoin / Project Development / Re: [Android app] Kraken Exchange - Unofficial Android App on: January 16, 2016, 12:18:45 PM
someone wants to buy the app itself? i think it will be possible to sell the rights to manage it on google play
10  Bitcoin / Project Development / Re: [Android app] Kraken Exchange - Unofficial Android App on: December 21, 2015, 09:49:58 AM
Source code released at GitHub.

11  Local / Italiano (Italian) / Re: [Android] Kraken Exchange - l'app per gestire il proprio account Kraken.com on: December 21, 2015, 09:49:12 AM
Ciao!

La mia app Kraken Exchange Unofficial per Android continua ad essere utilizzata ma sono fermo con lo sviluppo/bugfix.



Non ho molto tempo da dedicare a questa attivitą quindi ho rilasciato il codice sotto licenza GPL 3.0, lo potete trovare al seguente link GitHub.

Ciaone  Kiss
12  Economy / Goods / [WTS] Saleae Logic 8 on: September 11, 2015, 09:44:59 AM
Hi i'm selling my Logic 8 (Black), used a couple of times.
Asking BTC 0.45

International shipping available, shipping costs to be defined.

 Smiley
13  Local / Italiano (Italian) / Re: Un'occhiata ai nodi italiani on: September 09, 2015, 09:36:56 AM
da 24h ho attivato un ulteriore full node 0.11 in un datacenter in francoforte. Smiley

ai tuoi nodi bitnodes.io che indice Ni assegna ?
il mio ormai e' a zero da settimane, anche se ho centinaia di nodi connessi !


mumble, dove lo leggo quel dato?  Grin

qui https://getaddr.bitnodes.io/nodes/leaderboard

cerca il tuo ip

il mio primo nodo (ex 0.9.2.1 ora 0.9.5) ha Ni = 0.0071 ma il Px e' 8.6983
il secondo nodo (0.11) ha Ni = 0.0076 con Px = 5.5
14  Local / Beni / [CERCO] Apple iPad on: September 08, 2015, 04:38:26 PM
Ciao, cerco un Apple iPad (dalla seconda generazione in su, quindi iPad 2, iPad Air ecc)
15  Local / Italiano (Italian) / Re: Un'occhiata ai nodi italiani on: September 08, 2015, 01:37:50 PM
da 24h ho attivato un ulteriore full node 0.11 in un datacenter in francoforte. Smiley

ai tuoi nodi bitnodes.io che indice Ni assegna ?
il mio ormai e' a zero da settimane, anche se ho centinaia di nodi connessi !


mumble, dove lo leggo quel dato?  Grin
16  Local / Italiano (Italian) / Re: Un'occhiata ai nodi italiani on: September 08, 2015, 01:13:28 PM
da 24h ho attivato un ulteriore full node 0.11 in un datacenter in francoforte. Smiley
17  Bitcoin / Bitcoin Discussion / Re: Coinspark - broken with bitcoin 0.11 | devs -> need your help on: September 06, 2015, 10:46:22 AM
up  Cool
18  Economy / Computer hardware / Re: [WTS] 2x AMD FirePro W600 & 2x ATI 2460 on: September 04, 2015, 03:48:01 PM
up
19  Bitcoin / Bitcoin Discussion / Coinspark - broken with bitcoin 0.11 | devs -> need your help on: September 04, 2015, 01:51:10 PM
Hi, about a month ago a set up a bitcoind 0.9.2.1 + coinsparkd node. Everything went pretty well until yesterday when i decided to upgrade the bitcoin layer. I installed bitcoin 0.11 and now coinsparkd crash every 30mins.

Coinsparkd uses shared memory to communicate with bitcoind

Code:
coinspark@cfengine:~$ coinsparkd -asset=369721-162192-13158 start
Starting coinsparkd...

coinspark@cfengine:~$ Cannot start database server, probably server with shared memory key 12595 is already started
If you are sure there is no other server using this shared memory key, please run

ipcrm -m 12595

and try starting the server again.

This is a log where you can see the coinspark error:

Code:
coinspark@cfengine:~/.coinspark/assets/369721-162192-13158$ tail -f ./tracker.log
2015-09-04 14:00:15.445 R-5E9B86B0 R   C-0061 Mempool update successful Time  0.151s, Iterations: 3, Accepted: 161 txs, Remaining: 0 txs, Total: 161 txs
2015-09-04 14:00:20.651 R-5E9B8807 R   C-0061 Mempool update successful Time  0.165s, Iterations: 3, Accepted: 166 txs, Remaining: 0 txs, Total: 166 txs
2015-09-04 14:00:25.845 R-5E9B8966 R   C-0061 Mempool update successful Time  0.145s, Iterations: 3, Accepted: 170 txs, Remaining: 0 txs, Total: 170 txs
2015-09-04 14:00:31.062 R-5E9B8AD6 R   C-0061 Mempool update successful Time  0.176s, Iterations: 3, Accepted: 178 txs, Remaining: 0 txs, Total: 178 txs
2015-09-04 14:00:36.271 R-5E9B8C54 R   C-0061 Mempool update successful Time  0.160s, Iterations: 3, Accepted: 185 txs, Remaining: 0 txs, Total: 185 txs
2015-09-04 14:00:41.457 R-5E9B8DD8 R   C-0061 Mempool update successful Time  0.150s, Iterations: 3, Accepted: 188 txs, Remaining: 0 txs, Total: 188 txs
2015-09-04 14:00:46.585 R-5E9B8F6A R   C-0061 Mempool update successful Time  0.091s, Iterations: 3, Accepted: 195 txs, Remaining: 0 txs, Total: 195 txs
2015-09-04 14:01:21.000 R-5E9B8F6E FTL! C-0002 Timeout
2015-09-04 14:01:21.001 R-5E9B8F6E FTL! C-0057 Get mempool failed Error: 00000006
2015-09-04 14:01:21.001 R-5E9B8F6E FTL! C-0019 Error while processing mempool Error: 00000006


Before the crash:
Code:
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00003133 98304      coinspark  666        6308096    1                

After the crash
Code:
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00003133 98304      coinspark  666        6308096    0                

After searching through all the source code i found the point where the "Timeout" error have been sent out.

Github link

The method is "TrackerProcessAsyncMessage" in "tracker/tracker.cpp:63", this is the code:

Code:
/*
 * --- Asynchronous message processing. Send message, wait for [count] valid responses.
 */


cs_int32 TrackerProcessAsyncMessage(cs_int32 count)
{
    cs_int32 StopTime;
    cs_int32 err;
    
    err=CS_ERR_NOERROR;
    
    StopTime=(cs_int32)cs_TimeNow()+CS_DCT_MSG_TIMEOUT;
    cs_int32 size;
    
    size=g_Message->GetSize();
    
    cs_LogMessage(g_Log,CS_LOG_MINOR,"C-0001","Bitcoin message request: ",(cs_char*)(g_Message->GetData())+4);                      
    
    g_ProcessMessage=count;                                                     // Setting response count, if 0 receiving thread ignores all messaged
    
    err=g_Connection->SendNow(g_Message->GetData(),size);                       // Sending request
    if(err)
    {
        return err;
    }
    
    while(g_ProcessMessage)                                                     // Waiting for response, receiving thread decrements g_ProcessMessage
    {
        if((cs_int32)cs_TimeNow()>=StopTime)
        {
            cs_LogMessage(g_Log,CS_LOG_FATAL,"C-0002","Timeout","");      
            return CS_ERR_TIMEOUT;                            
        }
        
        __US_Sleep(1);
    }
    
    return g_ErrorCode;
}

So when "cs_TimeNow()" is greater or equal "StopTime", the "timeout" error will be fired.
The "StopTime" variable is
Code:
StopTime=(cs_int32)cs_TimeNow()+CS_DCT_MSG_TIMEOUT;

And he we are, CS_DCT_MSG_TIMEOUT is defined in "coinsparkd/tracker/bitcoin.h:38"
Code:
#define CS_DCT_MSG_TIMEOUT 30

The "Get mempool failed" error is triggered in "coinsparkd/tracker/block.cpp:900" into the "ProcessMemPool" method.

and the "Error while processing mempool" error is triggered in the "cs_Tracker" method into the "tracker/tracker.cpp" file at row 965:

Code:
if(g_State->m_AssetDB->m_lpHandlerShMem[CS_OFF_DB_SHMEM_HEAD_SIGNAL] == 0)
            {
                if(block>g_State->m_BlockChainHeight)
                {
                    sprintf(msg,"Blockchain height: %d",g_State->m_BlockChainHeight);
                    cs_LogMessage(g_Log,CS_LOG_MINOR,"C-0056","Processing mempool",msg);            
                    err=RemoveBlock(1);
                    if(err)
                    {
                        sprintf(msg,"Error: %08X",err);
                        cs_LogMessage(g_Log,CS_LOG_FATAL,"C-0018","Cannot clear memory pool",msg);                  
                        goto errorlbl;
                    }
                    for(mempool_attempt=0;mempool_attempt<1;mempool_attempt++)
                    {
                        err=ProcessMemPool(new_op_return_file);
                        new_op_return_file=0;
                    }
                    if(err)
                    {
                        sprintf(msg,"Error: %08X",err);
                        cs_LogMessage(g_Log,CS_LOG_FATAL,"C-0019","Error while processing mempool",msg);                  
//                        goto errorlbl;
                        err=RemoveBlock(1);
                    }
                }
            }

I'm digging into the coinspark and bitcoind 0.11 source code to understand why this is happening. Can someone help me?
20  Bitcoin / Project Development / Re: [ANN] CoinSpark lightweight bitcoin 2.0 solution for web-backed assets on: September 04, 2015, 01:19:14 PM
Hi, can we talk about coinspark into this thread?
Pages: [1] 2 3 4 5 6 »
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!