Pages:
Author

Topic: [BTC-TC] Virtual Community Exchange [CLOSED] - page 63. (Read 316457 times)

legendary
Activity: 1106
Merit: 1026
One user did respond to my email request to send the coins back!  That was encouraging.

What an honorable man / woman! Smiley


I received a lock failure on an option a few minutes ago, but the second excercise worked.

Code:
Error:

Could not get asset lock at 7780
full member
Activity: 140
Merit: 100
Asset would be activemining.. maybe its the bots.. pesky lil things  Angry
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
- Fixed the locking bug that caused several orders yesterday to be filled twice.  (or more)  This one was hard to track down.  The locking only got screwed up when someone placed an order they could not afford.  When a user did that, it cleared the lock as it exited, even though it was not the process that had taken out the lock in the first place.  Ugh.
What are the consequences here? That sounds like a horrible bug. For one my trade summary is screwed up, but how did you solve the resulting deviance in balance and stock count?

I think I posted this a couple pages back, but here's the summary:

There were several users that this bug caused to go negative share balance on.  For example, if they had 500 shares, an ask up for all 500 shares, and the ask got filled multiple times, they might have ended up with a balance of -1000 shares.  The trades might look like:

userA, 500 sold to userB for 0.0025
userA, 500 sold to userC for 0.0025
userA, 500 sold to userD for 0.0025

All in very rapid succession.

Rather than screwing over userC and userD, who both think they've made a fair trade, I substituted my personal account for userC and userD when unwinding the trade.  Thus to unwind it I did:

burnside, 500 sold to userA for 0.0025
burnside, 500 sold to userA for 0.0025

This would show up in userA's account simply as a share transfer from me, because I moved the coins manually on the command line.  In each share transfer I set the value of the trade that I was unwinding.

Definitely ugly.  It took me hours to manually unwind and I lost a pretty good amount of BTC because some users had already transferred their BTC off the exchange from the double/triple sale.   Undecided  (One user did respond to my email request to send the coins back!  That was encouraging.)

I think this bug more or less cost me around the same amount the initial IPO brought in.  It sucks, but "stuff happens".

Hey burnside.. still getting the excessive locking tim error while placing orders.. been an hour of constant tries but no good?? any problems??

What asset?  I'll see if I can dig anything up in the logs.

One thing I noticed late last night is that the bots placing lots of orders may be causing extended lock times.  When an order is placed the process is:

- lock asset
- query db for orders on the book that might fill this incoming request
- unlock asset
- insert order and related processing

Lots of bots trying to place orders at once could potentially cause a backup.  I need to put some debug code into the process to figure it out.

Cheers.
full member
Activity: 140
Merit: 100
Hey burnside.. still getting the excessive locking tim error while placing orders.. been an hour of constant tries but no good?? any problems??
hero member
Activity: 634
Merit: 500
I'd like to see what they would look like but the word Depositary Receipt
I'm starting to get attached to it ^_^

I thought long and hard about that.  I finally settled on going with the more accurate term, and with all the -PT's in there people will figure it out quickly.

I like all the new category changes. I think "Depositary Receipt" is a great name for the pass-throughs.

Good work.
sr. member
Activity: 493
Merit: 262
- Fixed the locking bug that caused several orders yesterday to be filled twice.  (or more)  This one was hard to track down.  The locking only got screwed up when someone placed an order they could not afford.  When a user did that, it cleared the lock as it exited, even though it was not the process that had taken out the lock in the first place.  Ugh.
What are the consequences here? That sounds like a horrible bug. For one my trade summary is screwed up, but how did you solve the resulting deviance in balance and stock count?
sr. member
Activity: 434
Merit: 250
Bravo! Very nice work burnside. Smiley
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
The category marked "Depositary Reciepts" could also be marked "Passthroughs" which may be less confusing for new investors.
Just a thought.
That being said, I like it! I think this new system is far better and less confusing than the previous one Smiley

Passthroughs would confuse less people so +1
Maybe add a /PT

I'd like to see what they would look like but the word Depositary Receipt
I'm starting to get attached to it ^_^

I thought long and hard about that.  I finally settled on going with the more accurate term, and with all the -PT's in there people will figure it out quickly.

Seems a bit out of line though:

Perfectionists... yeesh.  Grin
legendary
Activity: 1806
Merit: 1090
Learning the troll avoidance button :)
Site update...

In the last 24 hours or so we have:

- Added a new DB server.  We contacted the host and asked what they had ready immediately so it isn't exactly what we wanted but it is quite a bit faster.  We'll custom order a longer-term db server pair here soon.

- Fixed the deposit bug.  I introduced it around the 28th when working on the bitcoind to db transition.  Ugh.

- Fixed the locking bug that caused several orders yesterday to be filled twice.  (or more)  This one was hard to track down.  The locking only got screwed up when someone placed an order they could not afford.  When a user did that, it cleared the lock as it exited, even though it was not the process that had taken out the lock in the first place.  Ugh.

- Additional caching of 7d and 30d market values on all issues should make trades faster.  These values before were being re-calculated with every single trade.  Now we only recalculate them at periodic intervals.

- And a big change to the market page.  We've added a lot of categories to better fit the actual assets.  Please let me know if I'm way off base on any of them.

Cheers.






The category marked "Depositary Reciepts" could also be marked "Passthroughs" which may be less confusing for new investors.
Just a thought.
That being said, I like it! I think this new system is far better and less confusing than the previous one Smiley

Passthroughs would confuse less people so +1
Maybe add a /PT

I'd like to see what they would look like but the word Depositary Receipt
I'm starting to get attached to it ^_^
legendary
Activity: 1106
Merit: 1026
Yay, more contant improvements! Wink


Seems a bit out of line though:

full member
Activity: 196
Merit: 100
The category marked "Depositary Reciepts" could also be marked "Passthroughs" which may be less confusing for new investors.
Just a thought.
That being said, I like it! I think this new system is far better and less confusing than the previous one Smiley
legendary
Activity: 1806
Merit: 1090
Learning the troll avoidance button :)
Site update...

- And a big change to the market page.  We've added a lot of categories to better fit the actual assets.  Please let me know if I'm way off base on any of them.

Cheers.


Was wondering where my AM went on that list ^_^
And everything looks fine to me
Thanks
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Site update...

In the last 24 hours or so we have:

- Added a new DB server.  We contacted the host and asked what they had ready immediately so it isn't exactly what we wanted but it is quite a bit faster.  We'll custom order a longer-term db server pair here soon.

- Fixed the deposit bug.  I introduced it around the 28th when working on the bitcoind to db transition.  Ugh.

- Fixed the locking bug that caused several orders yesterday to be filled twice.  (or more)  This one was hard to track down.  The locking only got screwed up when someone placed an order they could not afford.  When a user did that, it cleared the lock as it exited, even though it was not the process that had taken out the lock in the first place.  Ugh.

- Additional caching of 7d and 30d market values on all issues should make trades faster.  These values before were being re-calculated with every single trade.  Now we only recalculate them at periodic intervals.

- And a big change to the market page.  We've added a lot of categories to better fit the actual assets.  Please let me know if I'm way off base on any of them.

Cheers.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer
Click on the "Refresh" button next to your account balance on the Wallet page.

Huh, amazing. It worked!

I've never seen that problem before, thanks!

It seems to have popped up when people started moving coins in en-masse in preparation for the Labcoin IPO.

I figured it out.  I hate to say it, but I introduced it around the 28th... Sad  Deposits should be properly crediting from here on out.

hero member
Activity: 728
Merit: 500
Click on the "Refresh" button next to your account balance on the Wallet page.

Huh, amazing. It worked!

I've never seen that problem before, thanks!

It seems to have popped up when people started moving coins in en-masse in preparation for the Labcoin IPO.
vip
Activity: 812
Merit: 1000
13
Click on the "Refresh" button next to your account balance on the Wallet page.

Huh, amazing. It worked!

I've never seen that problem before, thanks!
hero member
Activity: 728
Merit: 500
I want my deposited coins, wtf?Huh? this is fucked up!!!  moved from bitfunder to btct thought it was a goodmove, now I know I should have stuck with bitfunder. what a shady exchange, then people complain that weexchange is crappy, at least there after 6 confirmations you get your coins!!!!  here depends daily on the mood of the operator.

Geez, calm down, it's clearly a glitch and has never happened before.  Feel free to go back where no exciting IPO's come up.  Or is that why you moved here?

Hmm, odd, I just deposited 1.5995 coins to BMF's deposit address, and they didn't show up after the confirmations -- the confirmation counter just disappeared.

I assume the coins will show up later? I checked my deposit history and it looks like I'm also missing several dividend payments that were sent to my account. They just don't show up on my balance.

Click on the "Refresh" button next to your account balance on the Wallet page.
vip
Activity: 812
Merit: 1000
13
I want my deposited coins, wtf?Huh? this is fucked up!!!  moved from bitfunder to btct thought it was a goodmove, now I know I should have stuck with bitfunder. what a shady exchange, then people complain that weexchange is crappy, at least there after 6 confirmations you get your coins!!!!  here depends daily on the mood of the operator.

Geez, calm down, it's clearly a glitch and has never happened before.  Feel free to go back where no exciting IPO's come up.  Or is that why you moved here?

Hmm, odd, I just deposited 1.5995 coins to BMF's deposit address, and they didn't show up after the confirmations -- the confirmation counter just disappeared.

I assume the coins will show up later? I checked my deposit history and it looks like I'm also missing several dividend payments that were sent to my account. They just don't show up on my balance.
hero member
Activity: 658
Merit: 500
decentralize EVERYTHING...

hey burnside, I'm getting "Access temporarily denied."

what up?

One of two possibilities...

Too many page loads too fast while not logged in.

-or-

Too many failed login attempts.

Both reset automatically after some time.  (The former much faster than the latter.)

Cheers.


all good now, thanks.
legendary
Activity: 1106
Merit: 1006
Lead Blockchain Developer

hey burnside, I'm getting "Access temporarily denied."

what up?

One of two possibilities...

Too many page loads too fast while not logged in.

-or-

Too many failed login attempts.

Both reset automatically after some time.  (The former much faster than the latter.)

Cheers.
Pages:
Jump to: