Bitcoin Forum
April 19, 2024, 02:19:26 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  

Warning: Moderators do not remove likely scams. You must use your own brain: caveat emptor. Watch out for Ponzi schemes. Do not invest more than you can afford to lose.

Pages: « 1 ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 [81] 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 ... 139 »
  Print  
Author Topic: [BTC-TC] Virtual Community Exchange [CLOSED]  (Read 316297 times)
VolanicEruptor
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
August 06, 2013, 10:59:30 PM
 #1601

please do manual transfers tonight or I'm going to be fucked saddened  Shocked

1713536366
Hero Member
*
Offline Offline

Posts: 1713536366

View Profile Personal Message (Offline)

Ignore
1713536366
Reply with quote  #2

1713536366
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713536366
Hero Member
*
Offline Offline

Posts: 1713536366

View Profile Personal Message (Offline)

Ignore
1713536366
Reply with quote  #2

1713536366
Report to moderator
pascal257
Sr. Member
****
Offline Offline

Activity: 493
Merit: 262


View Profile
August 07, 2013, 12:23:34 AM
 #1602

Just found another bug, every time you try to fill an order (at least bid) directly via OAuth you get an error

Example:
OAuth ->fetch ('https://btct.co/oauth/trade', array('act' => 'ask_submit', 'ticker' => 'S.MPOE-PT', 'ask_quantity' => '1', 'ask_price' => '0.0008607'), 'POST')

Response:
Invalid auth/bad request (got a 500, expected HTTP/1.1 20X or a redirect)

Its also possible that it creates a deadlock. It seems that the system does not release the lock after this. (Just guessing) On second try I get:

Array ( [status] => error [error_message] => Received Ask Order: 1 of S.MPOE-PT @ 0.0008607 BTC: Excessive wait trying to get lock on S.MPOE-PT. )
burnside
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004


Lead Blockchain Developer


View Profile WWW
August 07, 2013, 08:30:36 AM
 #1603

Depending on whether there are some special characters which you do actually want to preserve, or whether you'd like to knock everything down to a safe least common denominator, these kind of gremlins often succumb to judicious use of utf8_decode()/utf8_encode or if necessary iconv().

iconv in newer php versions is a little bugged.

I ended up with:

Code:
preg_replace( '/[^[:print:]]/', ' ',$content);

Thanks for the input all.  It definitely threw me for a loop. 

burnside
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004


Lead Blockchain Developer


View Profile WWW
August 07, 2013, 09:21:19 AM
 #1604

Just found another bug, every time you try to fill an order (at least bid) directly via OAuth you get an error

Example:
OAuth ->fetch ('https://btct.co/oauth/trade', array('act' => 'ask_submit', 'ticker' => 'S.MPOE-PT', 'ask_quantity' => '1', 'ask_price' => '0.0008607'), 'POST')

Response:
Invalid auth/bad request (got a 500, expected HTTP/1.1 20X or a redirect)

Its also possible that it creates a deadlock. It seems that the system does not release the lock after this. (Just guessing) On second try I get:

Array ( [status] => error [error_message] => Received Ask Order: 1 of S.MPOE-PT @ 0.0008607 BTC: Excessive wait trying to get lock on S.MPOE-PT. )

Thank you.  I have found two potential points of exit from the code where the security lock was not being released prior to exiting:

  - One related to backend bitcoind failure, which I do not think was the cause here because there's logging that would have been seen if this were the case.
  - Another which may be the smoking gun was a DDoS prevention piece that was intended to run once at init, but was being called twice because of a double layer of validation in the bid/ask processing methods.  I've fixed it to only do the DDoS test the first call per run.

Hopefully it ends up being taken care of now, but I've also added more logging/debugging code a bunch of places to help out if this doesn't end up taking care of it.

Cheers.
pascal257
Sr. Member
****
Offline Offline

Activity: 493
Merit: 262


View Profile
August 07, 2013, 10:36:11 AM
Last edit: August 07, 2013, 11:09:20 AM by pascal257
 #1605

Thank you.  I have found two potential points of exit from the code where the security lock was not being released prior to exiting:

  - One related to backend bitcoind failure, which I do not think was the cause here because there's logging that would have been seen if this were the case.
  - Another which may be the smoking gun was a DDoS prevention piece that was intended to run once at init, but was being called twice because of a double layer of validation in the bid/ask processing methods.  I've fixed it to only do the DDoS test the first call per run.

Hopefully it ends up being taken care of now, but I've also added more logging/debugging code a bunch of places to help out if this doesn't end up taking care of it.

Cheers.

Have you already applied the code. I just tested it and the problem occurred again.
burnside
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004


Lead Blockchain Developer


View Profile WWW
August 07, 2013, 10:56:37 AM
 #1606

Thank you.  I have found two potential points of exit from the code where the security lock was not being released prior to exiting:

  - One related to backend bitcoind failure, which I do not think was the cause here because there's logging that would have been seen if this were the case.
  - Another which may be the smoking gun was a DDoS prevention piece that was intended to run once at init, but was being called twice because of a double layer of validation in the bid/ask processing methods.  I've fixed it to only do the DDoS test the first call per run.

Hopefully it ends up being taken care of now, but I've also added more logging/debugging code a bunch of places to help out if this doesn't end up taking care of it.

Cheers.

Have you already applied the code. I just tested it and the problem occurred again.

 Cry  yes. 

 Sad  Angry  Sad
dexX7
Legendary
*
Offline Offline

Activity: 1106
Merit: 1024



View Profile WWW
August 07, 2013, 11:50:32 AM
 #1607

Cry  yes. 

 Sad  Angry  Sad

Hmm.. I guess this time I'm the lucky one. Selling and buying works like a charm right now. Cheesy

Exocyst
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Science!


View Profile
August 07, 2013, 02:19:49 PM
 #1608

Has anyone tried to write an API trader for BTC-TC in Lua? It's the only language I ever bothered to learn, and it appears to have all the necessary support packages to make it easy enough:
- an OAuth library
- json library
- client library for executing a session in R (for integrating complex statistical model)
- sql library for storing/retrieving historical data
- Kepler project for making a web interface

Is there some obstacle to succeeding that might be escaping me?

Thoughts? Collaborators?

odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3192



View Profile
August 07, 2013, 05:47:46 PM
 #1609

Has anyone tried to write an API trader for BTC-TC in Lua? It's the only language I ever bothered to learn, and it appears to have all the necessary support packages to make it easy enough:
- an OAuth library
- json library
- client library for executing a session in R (for integrating complex statistical model)
- sql library for storing/retrieving historical data
- Kepler project for making a web interface

Is there some obstacle to succeeding that might be escaping me?

Thoughts? Collaborators?

Here's a thought: World of Warcraft lets you customize your UI with Lua plugins. You could create a BTC-TC or LTC-GLOBAL fund that holds WoW gold, and then let people buy and sell while they are playing WoW.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
Rannasha
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


View Profile
August 07, 2013, 05:50:38 PM
 #1610

Has anyone tried to write an API trader for BTC-TC in Lua? It's the only language I ever bothered to learn, and it appears to have all the necessary support packages to make it easy enough:
- an OAuth library
- json library
- client library for executing a session in R (for integrating complex statistical model)
- sql library for storing/retrieving historical data
- Kepler project for making a web interface

Is there some obstacle to succeeding that might be escaping me?

Thoughts? Collaborators?

Here's a thought: World of Warcraft lets you customize your UI with Lua plugins. You could create a BTC-TC or LTC-GLOBAL fund that holds WoW gold, and then let people buy and sell while they are playing WoW.

Unfortunately the WoW Lua-API doesn't offer any functions to access anything outside the game.
ajk
Donator
Sr. Member
*
Offline Offline

Activity: 447
Merit: 250


View Profile
August 07, 2013, 05:56:07 PM
 #1611

Ethan this is the 2nd week ive been waiting for my share transfer, I still have not received dividends for the shares I transferred out of your PT 2 weeks ago..............
burnside
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004


Lead Blockchain Developer


View Profile WWW
August 07, 2013, 06:51:40 PM
 #1612

Ethan this is the 2nd week ive been waiting for my share transfer, I still have not received dividends for the shares I transferred out of your PT 2 weeks ago..............

Frustrating for sure, but you were CC'd on the initial contact to Friedcat and the subsequent follow-up attempt.  Resends risk Friedcat accidentally making the transfer twice, so I hesitate to risk additional requests.

Cheers.
ajk
Donator
Sr. Member
*
Offline Offline

Activity: 447
Merit: 250


View Profile
August 07, 2013, 06:59:47 PM
 #1613

Ya cheers...

Can you send him a PM you have been sending him emails which either isnt getting read or skipped over, why is this such a difficult task to PM him

If this was 10 shares or something I wouldnt be crying but its 160BTC worth of shares,
bitcad
Newbie
*
Offline Offline

Activity: 59
Merit: 0



View Profile
August 07, 2013, 07:02:57 PM
 #1614

Is anyone else getting "Access temporarily denied." when they try to login? What is causing this issue?
ajk
Donator
Sr. Member
*
Offline Offline

Activity: 447
Merit: 250


View Profile
August 07, 2013, 07:03:29 PM
 #1615

what about other people have their transfers been going through,

i am tired of waiting for something that is usually done within a week but by someone who operates an exchange for many peoples shares cant do the same simple task in 2-3 weeks?

thats great
ajk
Donator
Sr. Member
*
Offline Offline

Activity: 447
Merit: 250


View Profile
August 07, 2013, 07:23:17 PM
 #1616

also I assume with the way your handling the situation your going to keep the dividends since the shares are still with your address?

also for future reference I should never try to withdraw shares just sell off and withdraw bitcoins because obviously this cant be done correctly
Lohoris
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


Bitgoblin


View Profile
August 07, 2013, 09:48:25 PM
 #1617

Here's a thought: World of Warcraft lets you customize your UI with Lua plugins. You could create a BTC-TC or LTC-GLOBAL fund that holds WoW gold, and then let people buy and sell while they are playing WoW.

Unfortunately the WoW Lua-API doesn't offer any functions to access anything outside the game.
Quite obviously.
It is well known how much Blizzard hates gold sellers, why should they do something that would help them so much, lol?

1LohorisJie8bGGG7X4dCS9MAVsTEbzrhu
DefaultTrust is very BAD.
Exocyst
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Science!


View Profile
August 08, 2013, 02:34:34 AM
 #1618

also I assume with the way your handling the situation your going to keep the dividends since the shares are still with your address?

also for future reference I should never try to withdraw shares just sell off and withdraw bitcoins because obviously this cant be done correctly

I don't know why your slamming burnside. What is he supposed to do? Friedcat isn't the most responsive guy in the world. Why don't you go raise some noise in the ASICMINER thread? (BTW, Friedcat doesn't read it, so don't bother).

ajk
Donator
Sr. Member
*
Offline Offline

Activity: 447
Merit: 250


View Profile
August 08, 2013, 02:52:01 AM
 #1619

also I assume with the way your handling the situation your going to keep the dividends since the shares are still with your address?

also for future reference I should never try to withdraw shares just sell off and withdraw bitcoins because obviously this cant be done correctly

I don't know why your slamming burnside. What is he supposed to do? Friedcat isn't the most responsive guy in the world. Why don't you go raise some noise in the ASICMINER thread? (BTW, Friedcat doesn't read it, so don't bother).

How about you mind your own business?
burnside
Legendary
*
Offline Offline

Activity: 1106
Merit: 1004


Lead Blockchain Developer


View Profile WWW
August 08, 2013, 04:32:21 AM
 #1620

also I assume with the way your handling the situation your going to keep the dividends since the shares are still with your address?

also for future reference I should never try to withdraw shares just sell off and withdraw bitcoins because obviously this cant be done correctly

Follow-up PM Sent to Friedcat.

For others in this situation I should note that normal procedure is that once Friedcat has confirmed the transfer, missed dividends are sent to your btct.co account via internal transfer.

Cheers.
Pages: « 1 ... 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 [81] 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!