I am not the kind of person who likes to speak about things or people those are really useless conversations from my perspective I'm more of a person who likes to brainstorm and come up with new ideas to make money etc etc, most of the time the aim isn't even to make money but to contribute from a set of skills I am really well developed at.
I thought I can open a topic where we can all share our great ideas and give each other feedback on the ideas, hopefully playing fair and not stealing from each other.
My idea: a free iPhone/Android top-down survival zombie MMO(TDS?), basically you would be thrown into a sandboxed postapocalyptic world where BTC is used as the main currency and all the gov backed currencies are nothing more than a less convenient form of toilet paper, the unforgiving nature of the world would force players to form their own "cities" in order to defend themselves. The world is automatically economically balanced so every player can both deposit and withdraw BTC from the game. The balance is so thin that you would count bullets and salvage food in order not to die of hunger and start all over again.
|
|
|
I don't know what you mean by 'out' transaction exactly, but if you spend some coins and have some change left over, you'll end up with a transaction where you're both spending and receiving.
Thus there'll be some overlap between the transactions shown by listunspent and transactions which spent some of your coins ('out' transactions?).
Yes okay thanks guys, I worked out the problem in the end.
|
|
|
what is listunspent?
Why are you here? Is it impossible to sign a transaction by the remainder of a zero conf "out" transaction?
|
|
|
Is there any way an "out" transaction could have gotten to listunspent?
|
|
|
i am using rpcallowip=192.168.*.* rpcport=8332 on conf and on php part require_once('jsonRPCClient.php'); $b = new jsonRPCClient(' http://user:pass@127.0.0.1:8332/');i make my calls to api like this $b->getbalance('*',0); hope that helps It's already solved but thanks for the effort, that's what counts
|
|
|
Also you can simplify things by using my library (still in development but i always push out stables releases) http://BitcoinDevKit.com10,000$ for something that already exists, amazing.
|
|
|
Had to sent a message to my host to open the port in the end, thanks for all the help guys.
|
|
|
It amazes me how no one has done this yet, it would be pretty cool if games had a dynamically adjusting economy, an economy so balanced that the "gold" within that MMORPG would become fractions of Bitcoins. This would give the Bitcoin economy a good backing as well as introduce a system where it is easy to purchase new items and no one needs to process the transactions manually, e.g. the whole global economy of that MMORPG would start at 20BTC, so when you kill a deer it drops 0.00000002BTC such as the economy is perfectly adjusted. If anyone here is a member on RunUO or played games like Ultima Online previously this should be enough to get your imagination rolling.
The whole system will be dynamically adjusted as captain Britain has originally intended to, same way Bitcoin adjusts itself.
|
|
|
Surprisingly I have found a better project that exists: www.millionbitpage.comI'm sure most of you heard about The Million Dollar Webpage, well this is the bitcoin take on the idea, you can purchase any number of pixels for a really small price, after going through a fully automatic process the image will appear seconds after your payment receives the needed confirmations, after that another person can "outbuy" your pixels if he pays 3 times the amount it cost you and so on. As of the moment the average price is 0.000075BTC per pixel, so you can purchase pixels for your forum avatars using your change and et cetera. I am also hear listening to suggestions as always! Interesting of how far this can go...
|
|
|
The logic behind these posts amazes me, it's like where does this kind of douchebaggery and need to prove oneself to be more smart than the peers arises.
You open a topic. There is instantly a reply from a person giving criticism of the structure of the code or the language itself EVEN though is unable to answer the question. You point out the hypocrisy of the situation to the person only to get a reply along the lines of "I know the answer but I won't tell it to you blah blah".
Back to 4chan/stackoverflow plz, people actually solve problems here,
|
|
|
It's PHP
Well played But could you point out how I get the address that signed that input properly?
|
|
|
Wouldn't the evolution of bitcoin take it to use different algorithms such as bcrypt by then? I name bcrypt specifically because it can be adjusted as faster computers are available down the road.
|
|
|
$arr = GetTx($client,$myAddress); $RawTx = $client->getrawtransaction($arr,1); $pieces = explode(" ", $RawTx["vin"][0]["scriptSig"]["asm"]); $myHash = hash('ripemd160',hash('sha256',$pieces[1])); $myHashStr = chr(0x00).$myHash; $myHash2 = hash('sha256',hash('sha256',$myHashStr)); $myHashStr.=substr($myHash2,0,4); echo "Hash:".$myHashStr."<br>"; echo "Base58:".base58_encode($myHashStr)."<br>";
function base58_encode($num) { $alphabet = '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'; $base_count = strlen($alphabet); $encoded = ''; while ($num >= $base_count) { $div = $num / $base_count; $mod = ($num - ($base_count * intval($div))); $encoded = $alphabet[$mod] . $encoded; $num = intval($div); } if ($num) {$encoded = $alphabet[$num] . $encoded;} return $encoded; }
What is wrong with this code?
|
|
|
I am using: <?php
require_once 'jsonRPCClient.php'; $client = new jsonRPCClient('http://user:pass@ip:8334/'); print_r($client->getinfo()); ?> And getting the error Incorrect response id (request id: 1, response id: ) even though I can connect through my own ip using Google Chrome. Bitcoind has * in the settings for allow ip at the moment
|
|
|
I am using jsonRPCClient.php, I have allowed the servers IP through the firewall and the config file and get Incorrect response id (request id: 1, response id: ), after doing the same with my ip I can connect through Chrome with the same string I put in jsonRPCClient(), what could be the problem?
|
|
|
Is there any step by step guide on how to configure more than one bitcoin server that accepts bitcoin-rpc commands?
windows: 1. go to %appdata% (or wherever it's located for your OS) 2. make a copy of bitcoin folder, and rename it something like "bitcoin2" 3. put this in bitcoin.conf (create if it doesn't exist). %appdata%\bitcoin: rpcuser=user1 rpcpassword=mypassword1
%appdata%\bitcoin2 rpcuser=user2 rpcpassword=mypassword2 port=8335 rpcport=8334 4. open the folder where bitcoind.exe is installed, shift-right click the folder, "open command window here" 5. start bitcoind.exe 6. bitcoind.exe -datadir=%appdata%\bitcoin2 congratulations. now you have 2 servers running. rpc port for server 1 is 8332, server 2 is 8334 Thanks, incredibly detailed and you all were very patient.
|
|
|
Is there any step by step guide on how to configure more than one bitcoin server that accepts bitcoin-rpc commands?
|
|
|
A VM inside the machine Srsly, Idk, but at least having a VM would work... And I'm wondering: y u want 2 clients open? Heard you like VM's so we put a VM in your VM so you can VM while you VM. Seriously though, could I perhaps run two bitcoin "headless" daemons? If so is there any guide? Maybe we could use a different wallet and listen on different ports while using the same blockchain?
|
|
|
|