pull down to refresh

As reported by @Jon_Hodl, founders of multiple territories were only receiving revenue for one of their territories each day.
The change I just pushed made these founders whole: for each day we should've paid them revenue on multiple territories, we've back paid them for ALL territories including repaying them for the one territory they were already paid for.
A description of the cause of the bug can be found in the footnote of this comment, which might be informative for anyone else that's in an abusive relationship with postgres.
This bug has also been fixed for any future territory revenue payments. Additionally, we weren't adding territory revenue to sats stacked as seen in profiles and that's been fixed retroactively and into the future.
The following past or current owners of multiple territories suffered from this bug and should, by the time this is posted, experienced the shown increase in their wallet balances:
nymback sats
@siggy47541782
@benwehrman333332
@davidw193687
@ek131699
@AtlantisPleb109638
@MaxAWebster70078
@OneOneSeven61384
@UCantDoThatDotNet54372
@Jon_Hodl37607
@nout26488
@needcreations_19527
@south_korea_ln6663
@BlokchainB6371
@lloyddunne4829
@roytheholographicuniverse4201
@niftynei4065
@UCantDoThatDotRugged3388
@kr1851
@antic1079
@Ed_Relight87
Damn. With all those sats I need a new territory.
reply
239 sats \ 1 reply \ @ek 1 Nov
Basically investing into SN bugs at this point
reply
Exactly
reply
Haha another territory? What would it be?
reply
103 sats \ 3 replies \ @siggy47 1 Nov
Don't know. I actually already have more than I can handle.
reply
Maybe you can invest in the dog.
reply
~Stacker_Fitness could use a sponsor!
@grayruby willing to pledge 25k. We’re going to undercut @benwehrman and his 1000 sat pay-to-post ~health territory. We’re reviving the mortal community ~fitness and bringing it back from the dead. @Coinsreporter thinks it’s a great idea!
U in? 🐕
reply
Why do you need to undercut him? Just ask him to lower his fee and tell him why. More posting for him will help him become profitable. No reason to undercut him. @benwehrman thoughts?
reply
Lifetime ownership!
reply
lol
reply
64 sats \ 0 replies \ @nym 1 Nov
Linux
reply
Much sats much wow
reply
210 sats \ 1 reply \ @grayruby 1 Nov
Nice! Forced Hodl!
reply
the best hodl
reply
Beyond not owning any territory, I appreciate your honesty. A large sum for @siggy47. Now your wife is letting you stay up later on sn
reply
Wow. Glad all of that got sorted.
Looks like beers are on @siggy47
reply
42 sats \ 1 reply \ @siggy47 1 Nov
I would say so.
reply
@siggy47 ought to tip you @Jon_Hodl for your service!
reply
I had zero clue hahaha but thanks!!
reply
50 sats \ 1 reply \ @kruw 2 Nov
Good job verifying instead of trusting @Jon_Hodl !
reply
Yeah, I'm not sure that I really did all that much except for just trying to get all my due sats but it's refreshing to see k00b find the problem and push a fix so quickly.
It's good to see you more active here on SN. The lack of threaded replies on Bitcoin Talk makes it so difficult to follow conversations sometimes.
reply
Wow, thats a lot
reply
104 sats \ 6 replies \ @k00b OP 1 Nov
It's a pretty big f-up.
reply
I just wanted to note that my territory identifies as multiple territories. Haha
reply
179 sats \ 2 replies \ @siggy47 1 Nov
I had a notion something was screwy and I kept meaning to do the math. Good thing @Jon_Hodl did. When audits are available this stuff won't happen, I guess.
reply
84 sats \ 1 reply \ @k00b OP 1 Nov
It may still happen. We'll just all know when it does.
We've done several manual audits in the past when folks have reported issues and everything was right down to the millisat. This in particular was a really subtle bug that requires understanding how a single postgres update statement might not do what it appears to - we couldn't easily reason about this a priori.
reply
Must really understand the fee structure and coding well.
reply
Your response to all of it was amazing though, k00b.
Very well done.
reply
You made it right, thats what counts.
reply
63 sats \ 1 reply \ @ek 1 Nov
I thought it’d be more
reply
You got 131k, thats not too bad.
reply
64 sats \ 1 reply \ @ek 1 Nov
@benwehrman with almost 333333
reply
114 sats \ 0 replies \ @k00b OP 1 Nov
333332069 millisats so it doesn't round up sadly.
reply
for anyone else that's in an abusive relationship with postgres.
This made me chuckle
reply
21 sats \ 1 reply \ @Carresan 2 Nov
This posts speaks very highly of you, @k00b. It does not affects me as I am not a territory owner. However, the fact you acknowledge the bug and paying back to them, it means a lot. Keep up this great job. Also, congrats to @Jon_Hodl for taking the time to find out what was wrong.
reply
Yeah, k00b's response gives me a lot of faith in the direction of Stacker News.
reply
0 sats \ 1 reply \ @OT 2 Nov
Look what you did @Jon_Hodl
reply
reply