Bitcoin Forum
April 26, 2024, 07:20:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 »
1  Bitcoin / Bitcoin Technical Support / Re: getreceivedbyaddress JSON on: September 01, 2013, 04:26:08 AM
What about getreceivedbyaccount? The reason I ask is that I'm looking for a way to track users balances, and be able to manually alter them. For example a user deposits 100 BTC, then wins 10 BTC from another player in the system, heis now able to withdraw 110 BTC. Will he get a negative balance on the client then? If so that's okay.

But now what if the player buys an item from the house, his balance will decrease. Now how does the house spend those coins without making it look like a player withdrew bitcoins (not touching anyone's account balance)
2  Bitcoin / Project Development / Re: Wanting to create a secret... project on: August 31, 2013, 01:55:45 AM
Hey guys. I am reluctant to share this here as I am almost sure someone will snatch it and make a killing, but I'm hoping instead we can work together.

Elevator pitch:

You ever dread turning on the grill to make a steak? So tedious and messy, right? So here's this service called BitcoinGrill[1], you put your meat in a Ziploc[2], into an envelope[3], and mail it to:

/---- Sample Address ----/
134 Headquarters Street,
Wherever,
Canada
/---- End of Sample Address ----/

And in a short amount of time[4], you get a package at your front door (UPS, or standard mail if you're on a budget) with the same steak, only grilled. With all the spices you specified. Where do I choose those options? Good question:

BitcoinBrill.com offers a web interface where members can choose cooking options like Rare/Well done, and can check off spices, seasonings, marinade, everything.
In the future we can even make apps - people love mobile things.

There will be push notifications about your steak as it cooks. Photos - we'll get some tech-saavy grillmasters.

Fast, convenient.

We can crowdfund a small warehouse with 10 barbecues and some propane to get started.
Haven't run the numbers - but I'm sure they'll work out.

Target market: People who eat steaks (everyone - vegetarians) AND People that have Bitcoins AND People that have a Mobile phone or computer with internet access.

[1] Name can change: Maybe BitGrill, or GrillMySteakForBitcoins.co, or GrillMySteak.com or ImGoingToMailYouASteakAndYouGrillItKThxBye.com
[2] Or No-Name, or alternative brands.
[3] Parcels allowed for multiple steaks.
[4] 1-2 Weeks depending on mailing options.
3  Bitcoin / Project Development / Re: Wanting to create a secret... project on: August 31, 2013, 01:40:36 AM
A project? I'm not sure but I think a few start ups are doing something similar.

Anyway some useful tips from gurus:

Is there demand for a project these days?
How many projects does the world really need?
Maybe re brand your project as an "initiative" or "task" - will help you gain mind share faster.
4  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 30, 2013, 05:08:29 PM
Worked a couple of days, now back to just loading and spinning in game room page. Too bad, I enjoyed playing it and had some bitcoin in the account to start wagering, but after a couple of days of site hanging, probably won't bother to check back much. Also withdrew coin in case server goes offline entirely. Tried both Firefox (preferred) and Internet Explorer - same results, hangs waiting for game rooms to display.

I think an update is long overdue to address the downtime of the service.

So earlier this week, I thought it wise to do a full upgrade as Natty (the Linux version running at that time) is no longer supported, and it was becoming hard to find necessary packages for it.

After the update, everything was re-installed, including a new version of Node.js (0.10.17) to replace the old (0.8.x). Everything was upgraded smoothly, it seemed. But the webscokets are unable to communicate over the proxy now, for some reason..

Long story short.. after long sleepless nights spent debugging every possible problem, it has been narrowed down to the fact that the proxy is doing something strange with the websocket data.

At this time, the site works as it should at bitstrat.com:8002 (bypassing the proxy), but not at bitstrat.com.

If anyone understands websockets I would love some help.

I am quite embarrassed this had happened, and apologize very much to everyone who has been following this project. I hope you all know that development will continue past these rough patches, and that the project is still very much alive.

With that said, I am also looking for help from and interested JS developers to come on board, as my hours in the day are becoming quite limited. (Starting work in September).

Thanks again for sticking around. I assure you this is just a small bump along the way.

Access the game temporarily at: http://bitstrat.com:8002/ until proxy issues are fixed.

5  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 27, 2013, 04:12:43 PM
I'm here. Sorry I've been steady testing a new micro transaction implementation. Everyone's balances will remain untouched if server goes down. Last time the server wasn't working was because blockchain.info was having server issues. The game service is a bit dependent on blockchain.info at this point, will look for a better wallet management solution in the future.
6  Bitcoin / Bitcoin Technical Support / Re: getreceivedbyaddress JSON on: August 27, 2013, 04:07:03 PM
Does getreceivedaddress count the change received from outgoing transactions?

If I send 0.001 BTC and it uses a 1 BTC input, does the 0.999 count in getreceivedbyaddress next time?
7  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 23, 2013, 04:30:44 PM
While watching the first few bitcoin games (I played one too and lost lol) .. It has become obvious that using the current system, bitcoin transaction fees make micro-transactions very wasteful. Playing a game for 0.001 bitcoins means the winner will get 0.001 - 0.0005 - 0.001*3% = 0.00047! That is a very crappy return.

To fix this.. I will implement off-chain transactions for transfers between players. So bitcoin blockchain fees of 0.0005 will only occur upon withdraws in the next update. This will allow players to keep more money after every game they play, allowing them to play more, bet more, and, basically not waste 0.0005 BTC every time they play. Those tiny fees add up, especially in micro-transactions.

With the new scheme, you will be able to play games for mere Satoshi wagers without incurring fees until you actually withdraw funds.

So you can bet 0.001, and the winner will get 0.001 - 0.001*3% = 0.00097, a much, much better return and better incentive to play.

So in the mean time.. it's really just profitable to play large-wager games.

It's my honest observation, so stay tuned, and although i would love you to play wager games at this time, but for your own benefit, wait for the next update coming in a week or so Smiley.

- rs
8  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 22, 2013, 12:51:03 AM
Hey guys.

So the site had been getting some decent traffic. Some days it's busy, other days it's not that busy.

My question to the bitcoin community is.. what do you look for in a Bitcoin gaming site to feel comfortable enough to play for real bitcoins?

A summary of security features? A code review?
SSL?
Email verification?

How does one gain trust among the Bitcoin community?

Would love the feedback before diving in to developing additional games.

Thanks for everyone's support Smiley
9  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 21, 2013, 07:10:27 PM
NEW MAP! Smiley
10  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 21, 2013, 03:07:14 AM
In case anyone is following development: This morning, Bitstrat switched from testnet coins to real bitcoins.

A game has already been played for real coins today, (0.1 BTC) yay! Cheesy

Also, the game balance has been modified:

Tower damages and prices were doubled. (proportionately)
The game creep capacity per path is 500. (down from 1000)
Higher income on weak creeps (rats 2.5% ROI) ... lower income on stronger creeps (destroyer 0.5% ROI)
Same loot (prize for killing a creep) for rats (50% of cost) ... lower on stronger creeps (30% of cost for destroyer)



11  Bitcoin / Development & Technical Discussion / getting available balance of account on: August 20, 2013, 08:21:06 PM
I am trying to determine the available bitcoins in an account. What i mean is:

The confirmed balance minus any zero-confirmation transactions.

problem is.. using getBalance(1confirm) will return the full balance, not subtracting any pending transactions.

getBalance(0confirm) will include incoming transactions that have not yet been confirmed.

Would this work:

Balance(0confirm) - ( Received(0confirm) - Received(1confirm) )
12  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 19, 2013, 03:38:12 PM
Hmmm... Not too sure about the sound effects. Some of them work really well, others not so much. If you like I can go on with you and help you weed out sounds that don't work.

Also, it's worth reporting there are loads of spam accounts. I've been trying to get a legitimate opponent for a while now but I always get an afk player whose name consists of random numbers and letters. Perhaps add email confirmation as a requirement when registering so as to combat this?

Those aren't spam accounts, those are quickplayers. (People that hit quickplay before making an account/signing in)
They are people with no account, so they are generated a random name.
13  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 19, 2013, 02:47:18 PM
It's back up now.

It appears the server was hit hard last night.
There is now a load balancer to keep traffic throttled.
14  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 19, 2013, 01:28:42 PM
Why the missing 0.0001 BTC, is that an error or a fee?



The available amount means what you are able to withdraw, minus the transaction fee. If it's confusing I can apply the fee silently. But there's a 0.0001 BTC txn fee.
15  Bitcoin / Development & Technical Discussion / unknown errno 105 on: August 19, 2013, 04:52:47 AM
anyone ever run into btc errno 105. I get this error when attempting to get balance using rpc.
not sure what is causing it. It works fine 99% of the time and then it throws this.

using node bitcoin
16  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 19, 2013, 03:41:38 AM
I'd be happy to?

lol http://bitstrat.com/ <-- Cheesy



Made a reddit post if anyone cares enough to read it:
http://www.reddit.com/r/Bitcoin/comments/1kn5n8/bitcoin_tower_defense_is_nearing_launch/
17  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 19, 2013, 01:28:08 AM
NOW WITH SOUND EFFECTS!!!! Cheesy
18  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 18, 2013, 09:18:49 PM
Update:

There are now player rankings. (Get on there!)

Coming Soon:

New Maps (easy, hard, and everything in between)
Real Bitcoin Transactions (no more testnet)

I know I'm a bit late, but I just tried out the spectate mode. It's great, but I'd suggest allowing spectators talk in the chat. Perhaps with a [SPECTATOR] tag, and an option where players can choose not to see what spectators say, if spectators get irritating. Something like a /mute command.

Also: I - for some reason - keep getting logged out and then can't log back in again. Not sure if there's anything you can do about that, but I thought I'd mention it anyway. It doesn't give me an error message or anything, just refreshes the page.

Anyway, time to get myself to the top of that leaderboard. Tongue


There was an issue with session storage. Sessions would expire after 6 minutes. I now made them persist for 20 years, as it's dangerous if players get logged out mid-game. Hopefully no one has a 20-year long game or they may run into a session issue.
19  Bitcoin / Project Development / Re: Would you like to help beta-test a Bitcoin strategy game? on: August 18, 2013, 06:14:24 PM
Update:

There are now player rankings. (Get on there!)

Coming Soon:

New Maps (easy, hard, and everything in between)
Real Bitcoin Transactions (no more testnet)
20  Bitcoin / Project Development / Re: A highly-democratized, distributed, virtual organization. Possible? on: August 17, 2013, 09:09:09 PM
Here is my idea:

  Create a way for one person to pose a problem, or a challenge or something that needs people to accomplish it.

Then people with bitcoins can look through these problems and if they agree that they too want to be involved, they can pledge their own bitcoins towards that problem.

Everyone will be able to see how much is pledged toward the various problems and as the pledges reach a certain large amount, then people with solutions will start to pose their solutions to the problem.

The people who pledged toward that problem will be able to vote for the solution with their bitcoins.

If enough people vote with their bitcoins toward a particular solution, the solution gets funded and the problem gets solved. If not, people get their funds back and wait for the next solution to be proposed.

I call it BitPools Wink

I was thinking along these same lines, Elwar! Something involving crowdfunding, where people contribute whatever they can towards whatever they want. If they have money, and no skills, they can throw down money and get something in return. If they don't have money, but have skills, they can contribute anything they can to make it happen. Would require some measurement of accountability like regular meetings over Skype and planned deliverables, etc. But I think something like this could change the way things get done.

It is excellent that you have started something like this. I am very interested in seeing how it evloves!
Pages: [1] 2 3 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!